.scene2{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, calc(-50% + 100vh), 0);
  will-change: transform, opacity;
}

.scene2_text{
    color: white;
    font-family: "Comic Relief", "Noto Color Emoji", system-ui, sans-serif;
    font-size: 25px;
    text-align: center;
    font-weight: 600;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -100%);
    white-space: nowrap;
    opacity: 0;
}


.scene2 > h2.scene2_text:first-of-type{
    top: -180px;
}

.scene2 > h2.scene2_text:nth-of-type(2){
    top: 180px;
}

.hearts{
    position: relative;
}

#offHeart, #onHeart {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#onHeart{
    opacity: 0;
    display: none;
}

.buttons{
    display: flex;
    gap: 20px;
    position: absolute;
    bottom: 60px;
    opacity: 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    font-weight: 600;
    color: #fff;

    width: 40px;
    height: 40px;

    background: linear-gradient(145deg, #ff4d4d, #d93636);
    border: none;
    border-radius: 50%;

    cursor: pointer;
    transition: all 0.15s ease;

    box-shadow: 
        0 6px 0 #000000,
        0 6px 12px rgba(0, 0, 0, 0.2);
}


.button_active {
    transform: translateY(4px);
    box-shadow: 
        0 0 0 #a61e1e,
        0 3px 6px rgba(0, 0, 0, 0.2);
}

.flyToCenter{
    animation: flyToCenter 0.8s linear forwards;
}

.fadeIn{
    animation: fadeIn 1.5s linear forwards;
}

.fadeOut{
    animation: fadeOut 1.5s linear forwards;
}