@font-face {
    font-family: 'Romantic';
    src: url('romantic_6/Romantic.ttf') format('truetype'),
         url('romantic_6/Romantic.otf') format('opentype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 107%;
    overflow: hidden;
    background-color: rgb(255, 214, 221);
}

.main {
    background-image: url(images/vbackground.jpg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: -1;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.08); }
    28% { transform: scale(1); }
    42% { transform: scale(1.06); }
    56% { transform: scale(1); }
}

@keyframes loveGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(241, 85, 85, 0.4),
                     0 0 40px rgba(255, 182, 193, 0.3);
    }
    50% {
        text-shadow: 0 0 30px rgba(241, 85, 85, 0.7),
                     0 0 60px rgba(255, 182, 193, 0.5),
                     0 0 80px rgba(255, 192, 203, 0.3);
    }
}

#question {
    font-size: 4rem;
    font-family: 'Romantic', serif;
    color: rgb(241, 85, 85);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    top: -20vh;
    animation: heartbeat 1.5s ease-in-out infinite;
}

#question.said-yes {
    animation: loveGlow 1s ease-in-out infinite;
}

.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    position: relative;
    top: -20vh;
}

.buttons button {
    font-size: 2rem;
    font-family: 'Romantic', serif;
    padding: 1rem 2rem;
    border-radius: 10px;
    background-color: rgb(241, 85, 85);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    &:hover {
        background-color: white;
        color: rgb(241, 85, 85);
    }
}

#home {
    font-size: 2rem;
    font-family: 'Romantic', serif;
    color: rgb(241, 85, 85);
    margin-top: 2rem;
    text-align: center;
    position: relative;
    display: none;
}

#home.said-no {
    display: block;
    position: relative;
    top: 30vh;
    animation: heartbeat 2s ease-in-out infinite;
    &:hover {
        color: white;
        text-decoration: none;
    }
}

.said-yes-layout {
    display: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    border-radius: 10px;
    width: 84.7%;
    height: 40%;
    position: relative;
    bottom: 24%;
    background-color: white;
    padding: 5px;
}

.couplepics {
    height: 37%;
    width: 32%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 10px 0 rgba(211, 53, 138, 0.5);
    position: relative;
    opacity: 0;
    transition: opacity 0.8s ease;

}

.said-yes-layout h1 {
    opacity: 0;
    font-size: 1.8rem;
    font-family: 'Romantic', serif;
    color: rgb(241, 85, 85);
    position: relative;
    padding: 0 5%;
    transition: opacity 0.8s ease-out;
}

#itinerary {
    opacity: 1 !important;
    height: 50px;
    width: 50px;
    position: relative;
    left: 16%;
    top: 9%;
}

#finalcut {
    opacity: 1;
    height: 50px;
    width: 50px;
    position: relative;
    left: 35%;
}

