/* Base Desktop Styles */
#thankyou {
    position: relative;
    z-index: 10;
    height: 100vh;
}

.boxthankyou {
    position: relative;
    top: 23vh;
    width: auto;
    max-width: 55vw;
    border-radius: 30px;
    height: auto;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.35);
}

.img_thankyou {
    margin-top: 5vh;
    object-fit: contain;
    width: 26svw;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
}

.thankyoubg {
    background-image: url('bkgxluna/bkg_red_thank.png');
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 13%;
    left: 0;
    width: 100%;
    height: 90vh;
    z-index: -1;
    pointer-events: none;
}

 .thankyou_text p{
        font-size: 14px;
text-align: center;
        line-height:2;
        /* margin: 50px; */
        margin: 0;
      padding-right: 115px;
        padding-left: 115px;    }

.btn_submitanotherdesk {
    display: block;
    margin-top: 5vh;
    object-fit: contain;
    width: 20svw;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
}

.btn_submitanotherhp {
    display: none;
}

.tnctextthankyou {
    position: relative;
    margin-top: 4svh;
    padding-bottom: 4svh;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.tnctextthankyou p {
    font-size: 13px;
    color: black;
    text-align: center;
    line-height: 0;
}

.text-center {
    text-align: center;
}

/* Hover Effects */
a[href="index.html#formnnutella"]:hover .btn_submitanotherdesk,
a[href="index.html#formnnutella"]:hover .btn_submitanotherhp {
    opacity: 0.8;
    transform: translateX(-50%) scale(1.05);
    transition: all 0.3s ease;
}

/* Mobile & Small Tablet Styles */
@media screen and (max-width: 40em) {
    #thankyou {
        height: 120svh;
        top: 15vh;
        margin-bottom: 14svh;
    }

    .boxthankyou {
        top: 30svh;
        max-width: 87vw;
        border-radius: 10px;
        box-shadow: 0 8px 32px 0 rgba(0,0,0,0.35);
    }

    .img_thankyou {
        width: 55vw;
    }

 
.thankyoubg {
    background-image: url('bkgxluna/bkg_redthankyoumobile.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* top: 3svh; */
    height: 100%;
    /* padding-bottom: 20vh; */
    z-index: -1;
    pointer-events: none;
}
    .thankyou_text {
        /* font-size: 15px; */
        /* line-height: unset; */
        /* width: 80%; */

    }
    .thankyou_text p{
        font-size: 10px;
text-align: center;
        line-height:2;
        /* margin: 50px; */
        margin: 0;
      padding-right: 7px;
        padding-left: 7px;    }

    .btn_submitanotherdesk {
        width: 55vw;
    }

    .tnctextthankyou {
        margin-top: 5svh;
        width: 95%;
        
    }

    .tnctextthankyou p {
         font-size: 10px;
    
        color: black;
        text-align: center;
        line-height: 1.5;
        margin: 0;
    }
}

/* Medium Tablet & Large Mobile Landscape */
@media screen and (min-width: 40.1em) and (max-width: 53em) {
    #thankyou {
        height: 100svh;
    }

    .boxthankyou {
        top: 20svh;
        max-width: 87vw;
        border-radius: 10px;
        box-shadow: 0 8px 32px 0 rgba(0,0,0,0.35);
    }

    .img_thankyou {
        width: 55vw;
    }

    
.thankyoubg {
    background-image: url('bkgxluna/bkg_red.png');
    background-position: center;
    background-size: 120%;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

    .thankyou_text {
        font-size: 15px;
        line-height: unset;
    }

    .btn_submitanotherdesk {
        width: 55vw;
    }

    .tnctextthankyou {
        margin-top: 12svh;
        width: 70%;
    }

    .tnctextthankyou p {
        font-size: 8px;
        line-height: unset;
    }
}

/* Samsung Galaxy Z Fold Inner Screen Landscape */
@media screen and (min-width: 2160px) and (max-width: 2300px) and (orientation: landscape) {
    #thankyou {
        height: 100svh;
    }

    .boxthankyou {
        top: 20svh;
        max-width: 50vw;
        border-radius: 10px;
        box-shadow: 0 8px 32px 0 rgba(0,0,0,0.35);
    }

    .img_thankyou {
        width: 35vw;
    }

      
.thankyoubg {
    background-image: url('xluna/bkg_hp.jpg');
    background-position: center;
    background-size: 120%;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

    .thankyou_text {
        font-size: 18px;
        line-height: unset;
    }

    .btn_submitanotherdesk {
        width: 35vw;
    }

    .tnctextthankyou {
        margin-top: 8svh;
        width: 60%;
    }

    .tnctextthankyou p {
        font-size: 12px;
        line-height: unset;
    }
}