@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Great+Vibes&display=swap');

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

html {
    background: #f7f4ec;

    background-image: repeating-linear-gradient(45deg,
            #f7f4ec,
            #f7f4ec 10px,
            #f5f0e4 10px,
            #f5f0e4 11px);
}

body {
    font-family: Arial, sans-serif;
    width: 100%;

    margin: 0;
    padding: 0;

    display: flex;
    justify-content: center;
    align-items: center;


}

/* first section wedding invation */
.wesite-body {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;
    overflow-x: hidden;
}

.wedding-invition {
    width: 100%;

    height: 100vh;
    height: 100dvh;
    margin: 0px auto;
    position: relative;
    overflow: hidden;


}

.wedding-invition-video {
    width: 100%;
    height: 100%;

    object-fit: fill;
    display: block;
    border: none;
    outline: none;

}

.wedding-invition-content {
    position: absolute;

    top: 40%;
    left: 0;

    width: 100%;

    transform: translateY(-50%);

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    line-height: 1.8;
    z-index: 10;

    text-align: center;
}

.wedding-invition-name1 {
    margin: 0;
    padding: 0 20px 0px 0px;

    color: rgb(187, 9, 9);

    font-family: "Great Vibes", cursive;
    font-size: clamp(35px, 6vw, 55px);
    letter-spacing: 3px;
    font-weight: 500;
    white-space: nowrap;
    display: block;

    visibility: visible;
    opacity: 2;

    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.wedding-invition-content p {
    font-family: "Great Vibes", cursive;
    font-size: clamp(35px, 8vw, 55px);
    letter-spacing: 3px;
    font-weight: 500;
    color: #000000;
    text-align: center;
}

/* all-people section */
#all-people {
    width: 100%;
    min-height: 100dvh;
    margin: 0 auto;

    background-image: url("../Pink\ Indian\ Wedding\ Invitation\ \(1\).png");
    background-size: 100% 100%;
    background-position: center top;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
}



.all-people-content {
    width: 90%;
    max-width: 450px;

    color: #FBC683;

    font-family: "Cormorant Garamond", serif;

    line-height: 1.4;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.all-people-icon {
    width: 100px;
    height: 100px;
    padding-right: 10px;
}


.name-text1 {
    margin: 0;
    padding: 0;

    font-size: 20px;
    font-weight: 600;

    line-height: 1.5;
}


.name-subha {
    margin: 25px 0 35px 0;
    padding: 0;

    font-family: "Great Vibes", cursive;

    font-size: 55px;
    font-weight: 400;

    line-height: 0.95;

    color: #FBC683;
}

.name-subha span {
    font-family: "Cormorant Garamond", serif;

    font-size: 35px;
    font-weight: 600;
}

.son-of {
    margin: 0 0 15px 0;
    padding: 0;

    font-size: 18px;
    font-weight: 500;

    letter-spacing: 1px;
}

.wedding-date {
    margin: 25px 0 10px 0;
    padding: 0;

    font-size: 18px;
    font-weight: 600;

    letter-spacing: 0.5px;
}

.wedding-place {
    margin: 0;
    padding: 0;

    font-size: 17px;
    font-weight: 500;

    letter-spacing: 0.5px;
}

@media (max-width: 500px) {

    .all-people-content {
        width: 88%;
    }

    .name-text1 {
        font-size: 17px;
    }

    .name-subha {
        font-size: 45px;
        margin: 20px 0 30px;
    }

    .name-subha span {
        font-size: 30px;
    }

    .son-of {
        font-size: 16px;
    }

    .wedding-date {
        font-size: 16px;
        margin-top: 20px;
    }

    .wedding-place {
        font-size: 15px;
    }
}


/* haldi section */
#haldi-section {
    width: 100%;

    height: 100vh;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border: 0;
    outline: 0;
    background: #ffff;

}

.haldi-video {
    height: 100%;
    width: 100%;
    object-fit: fill;
    /* transform: scale(1.05); */
    object-fit: fill;
    border: none;
    outline: none;
}

.haldi-content {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;

    z-index: 2;

    color: #030605;
    font-family: 'Great Vibes', cursive;
}

.haldi-name {
    margin: 0 0 30px 0px;
    font-family: 'Great Vibes', cursive;
    font-size: clamp(35px, 10vw, 55px);
    font-family: 'Great Vibes', cursive;
}

.haldi-date {
    margin: 0 0 30px 0px;
    font-size: clamp(20px, 5vw, 30px);
    font-family: 'Great Vibes', cursive;
}

.haldi-place {
    margin: 0 0 80px 0px;
    font-family: 'Great Vibes', cursive;
    font-size: clamp(16px, 4vw, 22px);
    line-height: 1.3;
}

/* mehndi section */
#mehndi-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin: 0px auto;
}

#mehndi-video {
    height: 100%;
    width: 100%;
    display: block;
    object-fit: fill;
}

#mehndi-content {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: center;
    z-index: 2;
    color: #16301E;
    font-family: 'Great Vibes', cursive;

}

#mehndiName {
    margin: 0 0 15px;

    font-family: 'Great Vibes', cursive;
    font-size: clamp(40px, 10vw, 55px);


}

#mehndiDate {
    margin: 8px 0;
    font-family: 'Great Vibes', cursive;
    font-size: clamp(18px, 5vw, 30px);


}

#mehndiPlace {
    margin: 8px 0;

    font-family: 'Great Vibes', cursive;
    font-size: clamp(14px, 6vw, 30px);
    font-weight: 400;

    line-height: 1.5;
}

/* sangeet-night-section */
#sangeet-night {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin: 0px auto;
}

#sangeet-video {
    height: 100%;
    width: 100%;
    display: block;
    object-fit: fill;
}

.sangeet-content {
    width: 100%;
    position: absolute;
    top: 30%;
    left: 3%;
    color: #F9D797;
    text-align: center;
    font-family: 'Great Vibes', cursive;

}


.sangeet-name {


    font-weight: 400;
    font-family: 'Great Vibes', cursive;
    font-size: clamp(30px, 10vw, 50px);
    line-height: 1.4;


}


.sangeet-date {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(20px, 6vw, 28px);
    line-height: 1.3;

}


.sangeet-place {

    font-family: 'Great Vibes', cursive;
    font-size: clamp(20px, 4vw, 25px);

    line-height: 1.5;

}

/* marriage-section */
#marriage-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin: 0px auto;

}

.marriage-video {
    height: 100%;
    width: 100%;
    display: block;
    object-fit: fill;
}

.marriage-content {
    position: absolute;
    top: 30%;
    left: 1%;

    text-align: center;
    z-index: 2;
    line-height: 1.9;
    color: rgb(71, 161, 87);
}

.marriage-name {
    font-size: clamp(30px, 6vw, 50px);
    font-weight: 500;
    font-family: 'Great Vibes', cursive;

}

.marriage-date {
    font-size: clamp(20px, 6vw, 28px);
    font-weight: 400;
    font-family: "Great Vibes", cursive;

}

.marriage-place {
    font-family: "Great Vibes", cursive;
    font-size: clamp(25px, 6vw, 35px);
    font-weight: 300;

}

/* gallery section */

#gallery {
    width: 100%;
    max-width: 500px;

    min-height: 65px;

    margin: 0 auto;

    padding: 30px 15px 35px 15px;

    box-sizing: border-box;

    background: #fff8f5;

    overflow: hidden;
}


.gallery-container {
    width: 100%;
    max-width: 470px;

    margin: 0 auto;
}

.gallery-heading {
    text-align: center;

    margin-bottom: 25px;
}

.gallery-heading span {
    display: block;

    font-family: "Montserrat", sans-serif;

    font-size: clamp(10px, 2.5vw, 13px);

    letter-spacing: 3px;

    color: #9c7c2b;

    margin-bottom: 5px;
}

.gallery-heading h2 {
    margin: 0;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(35px, 9vw, 48px);

    font-weight: 600;

    color: #8d183f;
}

.gallery-line {
    width: 55px;
    height: 2px;

    margin: 8px auto 0;

    background: #9c7c2b;
}

.gallery-grid {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    grid-auto-rows: 150px;

    gap: 8px;
}

.gallery-item {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    border-radius: 12px;

    background: #eee;
}


/* Images */

.gallery-item img {
    width: 100%;
    height: 100%;

    display: block;


    background-size: contain;

    transition: transform 0.5s ease;
}


/* Videos */

.gallery-item video {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: fill;
}




.gallery-large {
    grid-column: span 2;

    grid-row: span 2;
}

.video-icon {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: 42px;
    height: 42px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.85);

    color: #8d183f;

    font-size: 15px;

    padding-left: 2px;

    pointer-events: none;
}

.gallery-item:hover img {
    transform: scale(1.05);
}


/* =================================
   320px - 360px
================================= */

@media (max-width: 360px) {

    #gallery {
        padding: 35px 10px;
    }

    .gallery-grid {
        grid-auto-rows: 125px;

        gap: 6px;
    }

    .gallery-item {
        border-radius: 9px;
    }

    .video-icon {
        width: 34px;
        height: 34px;

        font-size: 12px;
    }
}


/* =================================
   361px - 389px
================================= */

@media (min-width: 361px) and (max-width: 389px) {

    #gallery {
        padding-left: 12px;
        padding-right: 12px;
    }

    .gallery-grid {
        grid-auto-rows: 140px;

        gap: 7px;
    }
}


/* =================================
   390px - 430px
================================= */

@media (min-width: 390px) and (max-width: 430px) {

    #gallery {
        padding-left: 15px;
        padding-right: 15px;
    }

    .gallery-grid {
        grid-auto-rows: 150px;

        gap: 8px;
    }
}


/* =================================
   431px - 500px
================================= */

@media (min-width: 431px) and (max-width: 500px) {

    #gallery {
        padding-left: 18px;
        padding-right: 18px;
    }

    .gallery-grid {
        grid-auto-rows: 165px;

        gap: 9px;
    }
}


/* venece-section */

#venue-section {
    width: 100%;
    max-width: 500px;
    min-height: 50vh;
    margin: 0 auto;
    padding: 18px 16px 35px 16px;

    box-sizing: border-box;

    background: #fff8f5;

    display: flex;
    justify-content: center;
}


/* Main Container */

.venue-container {
    width: 100%;
    max-width: 460px;

    margin: 0 auto;

    text-align: center;
}


/* =========================
   HEADING
========================= */

.venue-heading {
    margin-bottom: 25px;
}

.venue-small-title {
    display: block;

    font-family: "Montserrat", sans-serif;

    font-size: clamp(10px, 2.5vw, 15px);

    letter-spacing: 3px;

    color: #9c7c2b;

    margin-bottom: 7px;
}

.venue-heading h2 {
    margin: 0;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(30px, 5vw, 33px);

    font-weight: 500;

    color: #8d183f;
}

.venue-line {
    width: 55px;
    height: 2px;

    margin: 8px auto 0;

    background: #9c7c2b;
}


/* =========================
   VENUE CARD
========================= */

.venue-card {
    width: 100%;

    /* background: white; */

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);

    margin-bottom: 15px;
}


/* Venue Content */

.venue-content {
    padding: 20px 15px 22px;
}

.venue-content h3 {
    margin: 0 0 10px;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(24px, 6vw, 32px);

    color: #9c7c2b;
}

.venue-address {
    margin: 0 0 15px;

    font-family: "Montserrat", sans-serif;

    font-size: clamp(12px, 3vw, 15px);

    line-height: 1.6;

    color: #555;
}

.venue-date {
    margin: 0;

    font-family: "Montserrat", sans-serif;

    font-size: clamp(11px, 2.8vw, 14px);

    line-height: 1.6;

    color: #777;
}

.venue-date strong {
    color: #8d183f;
}


/* =========================
   GOOGLE MAP
========================= */

.map-wrapper {
    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    border-radius: 16px;

    margin-bottom: 18px;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;

    border: 0;

    display: block;
}


/* =========================
   DIRECTION BUTTON
========================= */

.direction-btn {
    display: flex;

    width: 100%;

    height: 48px;

    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    border-radius: 30px;

    background: #8d183f;

    color: white;

    text-decoration: none;

    font-family: "Montserrat", sans-serif;

    font-size: 14px;

    font-weight: 600;

    letter-spacing: 0.5px;

    transition: 0.3s;
    margin-top: 40px;
}

.direction-btn:active {
    transform: scale(0.97);
}


/* =========================
   VERY SMALL MOBILE
   320px - 360px
========================= */

@media (max-width: 360px) {

    #venue-section {

        padding: 20px 12px 20px 12px;
    }

    .venue-card {
        border-radius: 14px;
    }

    .venue-content {
        padding: 6px 12px 18px;
    }

    .map-wrapper {
        border-radius: 12px;
    }

}


/* =========================
   390px+ MOBILE
========================= */

@media (min-width: 390px) {

    #venue-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .venue-container {
        max-width: 464px;
    }

}


/* =========================
   500px
========================= */

@media (min-width: 480px) {

    #venue-section {
        padding-left: 20px;
        padding-right: 20px;
    }

}

/* rsve-section */



#rsvp {
    width: 100%;
    max-width: 500px;

    min-height: 56vh;

    margin: 0 auto;

    padding: 0px 15px;

    box-sizing: border-box;

    background:
        linear-gradient(rgba(255, 248, 245, 0.94),
            rgba(255, 248, 245, 0.94));

    overflow: hidden;
}


/* =====================================
   CONTAINER
===================================== */

.rsvp-container {
    width: 100%;
    max-width: 460px;

    margin: 0 auto;
}


/* =====================================
   HEADING
===================================== */

.rsvp-heading {
    text-align: center;

    margin-bottom: 25px;
}

.rsvp-subtitle {
    display: block;

    font-family: "Montserrat", sans-serif;

    font-size: clamp(10px, 2.5vw, 13px);

    letter-spacing: 3px;

    color: #9c7c2b;

    margin-bottom: 5px;
}

.rsvp-heading h2 {
    margin: 0;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(42px, 11vw, 55px);

    line-height: 1;

    color: #8d183f;

    font-weight: 600;
}

.rsvp-line {
    width: 55px;
    height: 2px;

    margin: 10px auto 12px;

    background: #9c7c2b;
}

.rsvp-heading p {
    max-width: 330px;

    margin: auto;

    font-family: "Montserrat", sans-serif;

    font-size: clamp(11px, 3vw, 14px);

    line-height: 1.6;

    color: #777;
}


/* =====================================
   RSVP CARD
===================================== */

.rsvp-card {
    width: 100%;

    box-sizing: border-box;

    padding: clamp(20px, 5vw, 30px);

    background: rgba(255, 255, 255, 0.96);

    border-radius: 22px;

    border: 1px solid rgba(156, 124, 43, 0.25);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.09);
}


/* =====================================
   FORM GROUP
===================================== */

.form-group {
    width: 100%;

    margin-bottom: 18px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    font-family: "Montserrat", sans-serif;

    font-size: clamp(11px, 2.8vw, 13px);

    font-weight: 600;

    color: #6f1837;
}


/* =====================================
   INPUT / SELECT / TEXTAREA
===================================== */

.form-group input,
.form-group select,
.form-group textarea {

    width: 100%;

    box-sizing: border-box;

    border: 1px solid #ead9dc;

    border-radius: 10px;

    outline: none;

    background: #fffafa;

    color: #444;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;

    transition: 0.25s;
}


/* Input */

.form-group input,
.form-group select {

    height: 48px;

    padding: 0 14px;
}


/* Textarea */

.form-group textarea {

    padding: 12px 14px;

    resize: vertical;

    min-height: 90px;
}


/* Focus */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

    border-color: #9c7c2b;

    background: white;

    box-shadow:
        0 0 0 3px rgba(156, 124, 43, 0.08);
}


/* Placeholder */

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}


/* =====================================
   ATTENDANCE
===================================== */

.attendance-group {
    margin-bottom: 20px;
}

.attendance-group>p {

    margin: 0 0 10px;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;

    font-weight: 600;

    color: #6f1837;
}


/* Options */

.attendance-options {

    display: flex;

    flex-direction: column;

    gap: 9px;
}


/* Option */

.attendance-option {

    position: relative;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 11px 12px;

    border: 1px solid #ead9dc;

    border-radius: 10px;

    cursor: pointer;

    background: #fffafa;
}


/* Hide radio */

.attendance-option input {

    position: absolute;

    opacity: 0;

}


/* Icon */

.attendance-option span {

    width: 27px;
    height: 27px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border: 1px solid #d9c5ca;

    color: #8d183f;

    font-size: 14px;
}


/* Text */

.attendance-option strong {

    font-family: "Montserrat", sans-serif;

    font-size: 11px;

    color: #555;
}


/* Selected */

.attendance-option:has(input:checked) {

    border-color: #9c7c2b;

    background: #fffaf0;
}

.attendance-option:has(input:checked) span {

    background: #8d183f;

    border-color: #8d183f;

    color: white;
}


/* =====================================
   SUBMIT BUTTON
===================================== */

.rsvp-submit {

    width: 100%;

    min-height: 50px;

    border: none;

    border-radius: 30px;

    background: #8d183f;

    color: white;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 0.5px;

    cursor: pointer;

    transition: 0.25s;
}

.rsvp-submit:active {

    transform: scale(0.97);
}


/* =====================================
   BOTTOM
===================================== */

.rsvp-bottom {

    text-align: center;

    margin-top: 25px;

}

.rsvp-bottom p {

    margin: 0 0 7px;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(17px, 4.5vw, 21px);

    font-style: italic;

    color: #8d183f;
}

.rsvp-bottom span {

    font-size: 20px;

    color: #9c7c2b;
}


/* =====================================
   320px - 360px
===================================== */

@media (max-width: 360px) {

    #rsvp {

        padding: 20px 10px 8px 10px;
    }

    .rsvp-card {
        padding: 18px 14px;


        border-radius: 17px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group input,
    .form-group select {
        height: 45px;
    }

    .form-group textarea {
        min-height: 80px;
    }

}


/* =====================================
   361px - 389px
===================================== */

@media (min-width: 361px) and (max-width: 389px) {

    #rsvp {
        padding-left: 12px;
        padding-right: 12px;
    }

}


/* =====================================
   390px - 430px
===================================== */

@media (min-width: 390px) and (max-width: 430px) {

    #rsvp {
        padding-left: 15px;
        padding-right: 15px;
    }

    .rsvp-card {
        padding: 24px 20px;
    }

}


/* =====================================
   431px - 500px
===================================== */

@media (min-width: 431px) and (max-width: 500px) {

    #rsvp {
        padding-left: 18px;
        padding-right: 18px;
    }

    .rsvp-card {
        padding: 28px 25px;
    }

}

/* thank you section */
/* =====================================
   THANK YOU SECTION
===================================== */

#thank-you {

    width: 100%;
    max-width: 500px;

    height: 80vh;
    height: 80dvh;

    margin: 0 auto;

    box-sizing: border-box;
    padding: 0px 15px 220px 15px;
    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    background:
        linear-gradient(rgba(255, 248, 245, 0.94),
            rgba(255, 248, 245, 0.94));

    overflow: hidden;
}


/* =====================================
   CONTAINER
===================================== */

.thank-container {

    width: 100%;

    max-width: 440px;

    margin: auto;

    padding: clamp(35px, 8vw, 55px);


    box-sizing: border-box;

    position: relative;

    border: 1px solid rgba(156, 124, 43, 0.35);

    border-radius: 25px;

    background: rgba(255, 255, 255, 0.65);

}


/* =====================================
   DECORATION
===================================== */

.thank-decoration {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 16px;

    margin-bottom: 22px;

    color: #9c7c2b;
    margin-top: -20px;

}

.thank-decoration span {

    font-size: 16px;

}

.thank-decoration span:nth-child(2) {

    font-size: 25px;

    color: #8d183f;

}


/* =====================================
   SMALL HEADING
===================================== */

.thank-small {

    margin: 22px 30px 24px 50px;

    font-family: "Montserrat", sans-serif;

    font-size: clamp(12px, 2.5vw, 14px);

    letter-spacing: 3px;

    color: #9c7c2b;


}


/* =====================================
   THANK YOU
===================================== */

.thank-container h2 {

    margin: 0;

    font-family: "Great Vibes", cursive;

    font-size: clamp(46px, 15vw, 50px);

    line-height: 1.2;

    font-weight: 400;

    color: #8d183f;

}


/* =====================================
   LINE
===================================== */

.thank-line {

    width: 65px;

    height: 2px;

    margin: 14px auto 22px;

    background: #9c7c2b;

}


/* =====================================
   MESSAGE
===================================== */

.thank-message {

    max-width: 330px;

    margin: 0 auto 10px;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(16px, 4.5vw, 20px);

    line-height: 1.5;

    color: #666;
    margin-left: 30px;

}


/* =====================================
   COUPLE NAMES
===================================== */

.thank-names {

    margin-top: 28px;
    margin-bottom: 10px;
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

}

.thank-names span {

    font-family: "Great Vibes", cursive;

    font-size: clamp(30px, 8vw, 42px);

    color: #8d183f;

}

.thank-names b {

    font-family: "Cormorant Garamond", serif;

    font-size: 25px;

    font-weight: 400;

    color: #9c7c2b;

}


/* =====================================
   DATE
===================================== */

.thank-date {

    font-family: "Montserrat", sans-serif;

    font-size: clamp(10px, 2.7vw, 15px);

    letter-spacing: 1px;
    line-height: 3px;
    color: #888;
    margin-top: 30px;
}


/* =====================================
   BOTTOM
===================================== */

.thank-bottom {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-top: 10px;

}

.thank-bottom a {

    text-decoration: none;
}

.backbtn {
    padding-top: 20px;
    font-size: 20px;
    color: rgb(179, 12, 62);

}


/* =====================================
   320px - 360px
===================================== */

@media (max-width: 360px) {

    #thank-you {

        padding: -1px 10px 0px 10px
    }

    .thank-container {

        padding: 30px 15px;

        border-radius: 18px;

    }

    .thank-decoration {

        margin-bottom: 16px;

    }

    .thank-line {

        margin-bottom: 17px;

    }

    .thank-names {

        margin-top: 22px;

    }

    .thank-bottom {

        margin-top: 25px;

    }

}


/* =====================================
   361px - 389px
===================================== */

@media (min-width: 361px) and (max-width: 389px) {

    #thank-you {

        padding-left: 12px;

        padding-right: 12px;

    }

}


/* =====================================
   390px - 430px
===================================== */

@media (min-width: 390px) and (max-width: 430px) {

    #thank-you {

        padding-left: 15px;

        padding-right: 15px;

    }

    .thank-container {

        padding-left: 22px;

        padding-right: 22px;

    }

}


/* =====================================
   431px - 500px
===================================== */

@media (min-width: 431px) and (max-width: 500px) {

    #thank-you {

        padding-left: 18px;

        padding-right: 18px;

    }

    .thank-container {

        max-width: 450px;

        padding: 55px 30px;

    }

}
/* Mobile: bound the Sangeet offset and let the closing card grow with its copy. */
@media (max-width: 768px) {
    .wesite-body { min-width: 0; }
    .wesite-body .wedding-invition-content { padding-inline: 20px; }
    .wesite-body .wedding-invition-name1 {
        max-width: 100%;
        padding: 0;
        white-space: normal;
        overflow-wrap: anywhere;
        font-size: clamp(30px, 8vw, 48px);
        line-height: 1.25;
    }

    .wesite-body #all-people { padding-block: 48px; }
    .wesite-body .all-people-content > * { max-width: 100%; overflow-wrap: anywhere; }
    .wesite-body .name-subha { line-height: 1.15; }
    .wesite-body #haldi-section,
    .wesite-body #mehndi-section,
    .wesite-body #sangeet-night,
    .wesite-body #marriage-section {
        display: grid;
        align-content: start;
        height: auto;
        min-height: 100svh;
        padding: var(--event-top, 30svh) 20px 80px;
    }

    .wesite-body #mehndi-section { --event-top: 28svh; }
    .wesite-body .haldi-video,
    .wesite-body #mehndi-video,
    .wesite-body #sangeet-video,
    .wesite-body .marriage-video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .wesite-body .haldi-content,
    .wesite-body #mehndi-content,
    .wesite-body .sangeet-content,
    .wesite-body .marriage-content {
        position: relative;
        inset: auto;
        transform: none;
        width: 100%;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .wesite-body .haldi-place { margin-bottom: 0; }
    .wesite-body .haldi-content > * { max-width: 100%; }
    .wesite-body .marriage-place { font-size: clamp(20px, 6vw, 30px); line-height: 1.5; }
    .wesite-body .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wesite-body .gallery-item { min-width: 0; }
    /* These gallery PNGs contain invitation artwork: show the complete artwork. */
    .wesite-body .gallery-item img { object-fit: contain; }
    .wesite-body .gallery-item video { object-fit: contain; }
    .wesite-body .venue-content,
    .wesite-body .rsvp-heading,
    .wesite-body .form-group small { overflow-wrap: anywhere; }
    .wesite-body .form-group { min-width: 0; }
    .wesite-body .form-group input,
    .wesite-body .form-group select,
    .wesite-body .form-group textarea { min-width: 0; font-size: 16px; }
    .wesite-body .attendance-option strong { min-width: 0; overflow-wrap: anywhere; }
    .wesite-body .attendance-option:focus-within { outline: 2px solid #9c7c2b; outline-offset: 2px; }
    .wesite-body #thank-you { height: auto; min-height: 0; padding: 32px 16px 16px; }
    .wesite-body .thank-container { padding: 32px 20px; overflow-wrap: anywhere; }
    .wesite-body .thank-small { margin: 22px 0 24px; }
    .wesite-body .thank-message { margin-inline: auto; }
    .wesite-body .thank-names { flex-wrap: wrap; }
    .wesite-body .thank-names span { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
    .wesite-body .thank-date { line-height: 1.5; }
}
