h1 {
    font-family: "Playwrite TZ", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

p {
    font-family: "Playwrite DE Grund", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-align: center;
}

body {
    background-color: #FFA3B6;
    color: #ffe9ee;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;

}

#confettiCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10; /* Ensure confetti is in front */
}

.foldedCard {
    background-color: #FF597A;
    padding: 30px;
    border-radius: 10px;
    max-width: 50%;
    min-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative; /* Changed to relative */
    z-index: 1;
    text-align: center;
}

.foldedCard::before {
    content: '';
    position: absolute;
    top: 50px; /* Adjust this value to push the line down */
    left: 0;
    width: 100%;
    height: 5px; /* Line thickness */
    background-color: black;
}

.foldedCard h1:first-of-type {
    margin-top: 35px; /* Adjust this value to move the first h1 element closer to the second */
}

.foldedCard h1 {
    margin: 0 0; /* Default margin for h1 elements */
}

.foldedCard p {
    color: #ffe9ee;
    font-family: "Playwrite DE Grund", serif;
    font-size: 1.5em;
}

.mainBox {
    background-color: #FF597A;
    padding: 30px;
    border-radius: 10px;
    max-width: 50%;
    min-width: 400px;
    display: none;
    flex-direction: column;
    min-height: 30%;
    text-align: center;
}

@media (max-width: 600px) {
    .container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
    
    }
    .mainBox {
        max-width: 70%;
        min-width: auto;
        padding: 20px;
        height: 60%;
        overflow-y: none;
    }
    .foldedCard {
        max-width: 70%;
        min-width: auto;
        padding: 20px;
        font-size: 1em;

    }
}

#fix {
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

#fix.showf {
    visibility: visible;
    opacity: 1;
}

.btnBox {
    display: flex;
    justify-content: center;
    gap: 50px;


}

.btnBox button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #FFA3B6;
    color: #ffe9ee;
    font-family: "Playwrite DE Grund", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    cursor: pointer;
}

#lolBtn {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#lolBtn.show {
    opacity: 1;
}

.yesBtn {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.yesBtn.show {
    opacity: 1;
}

.heartBox {
    display: none;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 20px;
    flex-direction: column;
}

.heartBox img.heart {
    height: 50vh;
    width: auto
}
@media (max-width: 600px) {
    .heartBox {
        width: 100vw;
        height: auto;
    }

    .heartBox img.heart {
        width: 90vw;
        height: auto;
    }
}

.heartBox img.cat {
    position: absolute;
    top: 130px; /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    width: 250px; /* Adjust as needed */
    height: auto;
}

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    color: #ffe9ee;
    font-family: "Playwrite DE Grund", serif;
    font-size: 2em; /* Adjust as needed */
    text-align: center;
    position: relative;
}

.marquee.top {
    margin-bottom: 10px; /* Adjust as needed */
}

.marquee.bottom {
    margin-top: 10px; /* Adjust as needed */
}

.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 10s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}