@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');
#snow{
    position:fixed; inset:0;
    width:100vw; height:100vh;
    pointer-events:none; z-index:9999;
}
.fortune {
    background-image: url(/img/fortune/bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    /*padding-bottom: 104px;*/
    height: calc(100dvh - 126px);
}
@media screen and (max-width: 1199px){
    .fortune {
        height: calc(100dvh - 64px);
    }

}
.fortune .garland {
    display: block;
    width: 100%;
    margin: -4% 0;
}
.fortune .garland img{
    width: 100%;
}
.fortune .block-title {
    font-family: "Red Hat Display", sans-serif;
    font-optical-sizing: auto;
    font-size: 42px;
    line-height: normal;
    margin-bottom: 30px;
}
.fortune .title-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.fortune .title-box .description {
    color: #333;
    text-align: center;
    font-family: "Nunito Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 29.25px;
    /* 146.25% */
    margin-bottom: 36px;
    width: 50%;
}
.fortune .title-box .btn {
    min-width: 30%;
}

.is-hidden { display: none !important; }

.fortune .fortune-card-wrap{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 24px;

}

.fortune .flip-card{
    perspective: 1000px;
    width: min(570px, 95%);
    margin-bottom: 44px;
}

.fortune .flip-card__inner{
    position: relative;
    transform-style: preserve-3d;
    transition: transform 650ms ease;
    min-height: 221px;
}

.fortune .flip-card__inner.is-flipped{
    transform: rotateY(180deg);
}

.fortune .flip-card__face{
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    min-height: 221px;
    padding: 48px 56px;


    border-radius: 32px;
    border: 3px solid #E5E5E5;
    background: rgba(255, 255, 255, 0.50);
    backdrop-filter: blur(13.449999809265137px);

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 99999;
}

.fortune .flip-card__face--back{
    transform: rotateY(180deg);
}

.fortune .prediction-text{
    margin: 0;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
}
@media (max-width: 767px) {
    .fortune .garland {
        margin: 0;
    }
    .fortune .block-title {
        width: 241px;
        height: 96px;
        font-size: 24px;
    }
    .fortune .title-box .description {
        font-size: 18px;
        width: 301px;
        height: 88px;
    }
    .fortune  .btn {
        width: 100%;
        height: 48px;
        padding: 10px 40px;
        gap: 8px;
        font-size: 18px;
    }
    .fortune-card-wrap .block-title{
        width: 100%;
        height: fit-content;
        font-size: 24px;
    }
    .fortune .flip-card__face{
        width: 100%;
        height: 221px;
        padding: 24px;
    }
    .fortune .prediction-text{
        display: flex;
        /*width: 239px;*/
        /*height: 108px;*/
        flex-direction: column;
        justify-content: center;
        font-size: 18px;
    }
}
