/* ===========================
   HERO
=========================== */

.tw-hero{
    position:relative;
    height:100vh;
    overflow:hidden;
    background:#000;
}

/* Desktop Image */

.tw-hero__desktop,
.tw-hero__mobile{
    position:absolute;
    inset:0;
}

.tw-hero__desktop img,
.tw-hero__slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* Mobile hidden */

.tw-hero__mobile{
    display:none;
}

/* Overlay */

.tw-hero__overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.08);
    z-index:2;
}

/* Content */

.tw-hero__content{
    position:relative;
    z-index:3;
    width:min(1200px,92%);
    height:100%;
    margin:auto;
    display:flex;
    align-items:center;
}

/* Card */

.tw-hero__card{

    width:360px;

    background:#811d2a;

    border-radius:10px;

    padding:45px;

    color:#fff;

    text-align:center;

}

.tw-hero__title{

    font-size:30px;

    line-height:1;

    margin-bottom:18px;
    font-family: 'Great Vibes',cursive;

}

.tw-hero__date{

    margin-bottom:18px;
    font-family:'Great Vibes',cursive;
    letter-spacing: 5px;
    font-size: 18px;

}



/* ---------------------------------------------------------
   COUNTDOWN
   --------------------------------------------------------- */

.wed-hero__countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.wed-hero__countdown-item {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 57px;

    background: #ffffff;
    color: #000000;

    font-family: Arial, Helvetica, sans-serif;
}

.wed-hero__countdown-item > span {
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
}

.wed-hero__countdown-item > small {
    display: block;

    margin-left: 1px;

    font-size: 25px;
    font-weight: 400;
    line-height: 1;
}


.tw-hero__caption{

    margin-top:15px;

    font-style:italic;
    font-family: 'Great Vibes',cursive;
    letter-spacing: 5px;
    font-size: 15px;

}


/* ======================================
   LOVE STORY
====================================== */

.tw-story{
    padding:100px 0 0;
    background:#fff;
}

.tw-story__container{
    width:min(1400px,100%);
    margin:auto;
}

.tw-story__header{
    width:min(900px,90%);
    margin:0 auto 70px;
    text-align:center;
}

.tw-story__title{
    font-size:3.2rem;
    color:#8B1E2D;
    margin-bottom:18px;
    font-family: 'Great Vibes',cursive;
}

.tw-story__divider{
    width:85%;
    max-width:950px;
    height:1px;
    background:#8B1E2D;
    margin:0 auto 35px;
}

.tw-story__intro{
    font-size:1.1rem;
    line-height:2;
    color:#1f2b55;
    font-family:'Cormorant Garamond',serif;
}

.tw-story__bottom{
    display:grid;
    grid-template-columns:1fr 1fr;
}

.tw-story__content{
    background:#811d2a;
    color:#fff;
    padding:70px 60px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    font-family:'Cormorant Garamond',serif;
    text-align: center;
}

.tw-story__text{
    line-height:2;
}

.tw-story__logo{
    margin-top:70px;
}

.tw-story__logo img{
    width:220px;
}

.tw-story__image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* ===================================
   INVITATION
=================================== */

.tw-invite{
    background:#efefef;
    
}

.tw-invite__container{
    width:min(1400px,94%);
    margin:0 auto;

    display:flex;
    justify-content:center;
    align-items:center;
}

.tw-invite__image{
    width:85%;
    max-width:390px;
    display:block;
    margin:0 auto;
}


/* =========================================================
   RSVP SECTION
========================================================= */

.tw-rsvp-section {
    width: 80%;
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    min-height: 570px;

    background: #811d2a;

    box-sizing: border-box;

    overflow: hidden;
}


/* =========================================================
   RSVP IMAGE
========================================================= */

.tw-rsvp-image {
    width: 100%;
    height: 100%;

    overflow: hidden;
}


.tw-rsvp-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   RSVP CONTENT
========================================================= */

.tw-rsvp-content {
    order: -1;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

    padding: 60px 52px;

    background: #811d2a;

    color: #ffffff;

    box-sizing: border-box;
}


/* =========================================================
   TITLE
========================================================= */

.tw-rsvp-title {
    margin: 0;

    color: #ffffff;

    font-family: "Great Vibes", cursive;

    font-size: 40px;

    font-weight: 400;

    line-height: 1.2;
}


/* =========================================================
   TITLE LINE
========================================================= */

.tw-rsvp-line {
    width: 150px;

    height: 1px;

    margin: 15px 0 28px;

    background: #ffffff;
}


/* =========================================================
   TEXT
========================================================= */

.tw-rsvp-text {
    max-width: 470px;

    margin: 0 0 18px;

    color: #ffffff;

    font-size: 17px;

    font-weight: 400;

    line-height: 1.8;
}


.tw-rsvp-deadline {
    margin: 8px 0 10px;

    color: #ffffff;

    font-size: 17px;

    font-weight: 600;

    line-height: 1.6;
}


.tw-rsvp-closing {
    margin: 0 0 32px;

    color: #ffffff;

    font-size: 17px;

    font-weight: 400;

    line-height: 1.6;
}


/* =========================================================
   RSVP BUTTON
========================================================= */

.tw-rsvp-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 155px;

    padding: 14px 30px;

    background: #ffffff;

    color: #811d2a;

    border: 1px solid #ffffff;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    letter-spacing: 1.5px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.tw-rsvp-button:hover {
    background: transparent;

    color: #ffffff;

    transform: translateY(-2px);
}


/* ===================================
   RSVP SECTION
=================================== */

.tw-rsvp {
    display: flex;
    width: 80%;
    margin: 80px auto;
    align-items: stretch;
}


/* IMAGE */

.tw-rsvp__image {
    order: 2;
    width: 50%;
    overflow: hidden;
}

.tw-rsvp__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* FORM */

.tw-rsvp__form-section {
    order: 1;
    width: 50%;
    background: #811d2a;
    color: #fff;
    padding: 48px 52px 45px;
    box-sizing: border-box;
}



/* ===================================
   TITLE
=================================== */

.tw-rsvp__title {
    margin: 0 0 58px;
    font-size: 2.7rem;
    font-weight: 400;
    line-height: 1.15;
    font-family: 'Great Vibes',cursive;
}


/* ===================================
   INPUTS
=================================== */

.tw-rsvp__field {
    width: 100%;
    margin-bottom: 32px;
}

.tw-rsvp__field input {
    display: block;

    width: 100%;
    height: 54px;

    padding: 0 22px;

    box-sizing: border-box;

    border: 1px solid #d8d8d8;
    border-radius: 4px;

    background: #f8f8f8;
    color: #111;

    font-family:'Cormorant Garamond',serif;
    font-size: 16px;

    transition: border-color .2s ease;
}

.tw-rsvp__field input:focus {
    outline: none;
    border-color: #fff;
}

.tw-rsvp__field input::placeholder {
    color: #111;
    opacity: 1;
}


/* ===================================
   QUESTIONS
=================================== */

.tw-rsvp__question {
    padding-bottom: 30px;
    margin-bottom: 24px;

    border-bottom: 1px solid rgba(255,255,255,.7);
}

.tw-rsvp__question-title {
    margin: 0 0 13px;

    font-size: 16px;
    line-height: 1.5;
    font-family:'Cormorant Garamond',serif;
}


/* ===================================
   OPTIONS
=================================== */

.tw-rsvp__options {
    display: flex;
    align-items: center;
    gap: 28px;
}

.tw-rsvp__option {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    font-size: 15px;
    font-family:'Cormorant Garamond',serif;
    
}

.tw-rsvp__option input {
    appearance: none;
    -webkit-appearance: none;

    width: 18px;
    height: 18px;

    margin: 0;

    border: 2px solid #fff;
    border-radius: 4px;

    background: #fff;

    cursor: pointer;

    position: relative;
}

.tw-rsvp__option input:checked {
    background: #811d2a;
}

.tw-rsvp__option input:checked::after {
    content: "";

    position: absolute;

    width: 6px;
    height: 6px;

    top: 4px;
    left: 4px;

    border-radius: 1px;

    background: #fff;
}


/* ===================================
   ADDITIONAL GUEST NOTE
=================================== */

.tw-rsvp__note {
    margin: -2px 0 16px;

    font-size: 12px;
    line-height: 1.55;

    opacity: .85;
}


/* ===================================
   ADDITIONAL GUEST FIELDS
=================================== */

.tw-rsvp__additional-guest {
    display: none;
}

.tw-rsvp__additional-guest--visible {
    display: block;
}

.tw-rsvp__guest-title {
    margin: 0 0 22px;
    font-size: 18px;
    font-weight: 400;
}

/* ===================================
   SUBMIT BUTTON
=================================== */

.tw-rsvp__submit {
    width: 100%;
    height: 54px;

    margin-top: 5px;

    border: none;
    border-radius: 4px;

    background: #fff;
    color: #811d2a;

    font-family: inherit;
    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition:
        opacity .2s ease,
        transform .2s ease;
}

.tw-rsvp__submit:not(:disabled):hover {
    transform: translateY(-1px);
}

.tw-rsvp__submit:disabled {
    opacity: .5;
    cursor: not-allowed;
}


/* ===================================
   SPINNER
=================================== */

.tw-rsvp__spinner {
    display: none;

    width: 18px;
    height: 18px;

    margin: 0 auto;

    border: 2px solid rgba(129,29,42,.25);
    border-top-color: #811d2a;

    border-radius: 50%;

    animation: tw-rsvp-spin .7s linear infinite;
}

.tw-rsvp__submit--loading
.tw-rsvp__submit-text {
    display: none;
}

.tw-rsvp__submit--loading
.tw-rsvp__spinner {
    display: block;
}

@keyframes tw-rsvp-spin {

    to {
        transform: rotate(360deg);
    }

}


/* ===================================
   MESSAGE
=================================== */

.tw-rsvp__message {
    margin-top: 18px;

    font-size: 14px;
    line-height: 1.5;
}

.tw-rsvp__message--success {
    color: #fff;
}

.tw-rsvp__message--error {
    color: #ffd1d1;
}

     
 /* =========================================================
   FOOTER
========================================================= */

.tw-footer {
    width: 100%;

    height: 470px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: space-between;

    padding: 75px 20px 48px;

    background: #ffffff;

    box-sizing: border-box;
}


/* =========================================================
   LOGO
========================================================= */

.tw-footer__logo {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
}


.tw-footer__logo img {
    display: block;

    width: 225px;
    height: auto;

    object-fit: contain;
}


/* =========================================================
   COPYRIGHT
========================================================= */

.tw-footer__copyright {
    margin: 0;

    padding: 0;

    color: #111111;

    font-family: inherit;

    font-size: 16px;

    font-weight: 400;

    line-height: 1.4;

    text-align: center;
}

/* ==========================================
   RSVP SUCCESS POPUP
========================================== */

.tw-rsvp__success-modal {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    box-sizing: border-box;

    background: rgba(0, 0, 0, 0.55);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


/* ==========================================
   SHOW MODAL
========================================== */

.tw-rsvp__success-modal--visible {
    opacity: 1;
    visibility: visible;
}


/* ==========================================
   MODAL CONTENT
========================================== */

.tw-rsvp__success-modal-content {
    position: relative;

    width: 100%;
    max-width: 430px;

    padding: 50px 40px 40px;

    box-sizing: border-box;

    background: #ffffff;

    border-radius: 6px;

    text-align: center;

    transform: translateY(20px) scale(0.97);

    transition:
        transform 0.3s ease;
}


.tw-rsvp__success-modal--visible
.tw-rsvp__success-modal-content {
    transform: translateY(0) scale(1);
}


/* ==========================================
   CLOSE X
========================================== */

.tw-rsvp__success-close {
    position: absolute;

    top: 15px;
    right: 18px;

    width: 32px;
    height: 32px;

    padding: 0;

    border: none;

    background: transparent;

    color: #811d2a;

    font-size: 28px;

    line-height: 1;

    cursor: pointer;
}


/* ==========================================
   SUCCESS ICON
========================================== */

.tw-rsvp__success-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    margin: 0 auto 22px;

    border-radius: 50%;

    background: #811d2a;

    color: #ffffff;

    font-size: 30px;
}


/* ==========================================
   TITLE
========================================== */

.tw-rsvp__success-title {
    margin: 0 0 12px;

    color: #811d2a;

    font-size: 28px;

    font-weight: 500;

    line-height: 1.2;
}


/* ==========================================
   MESSAGE
========================================== */

.tw-rsvp__success-text {
    margin: 0 auto 28px;

    max-width: 320px;

    color: #555555;

    font-size: 15px;

    line-height: 1.6;
}


/* ==========================================
   CLOSE BUTTON
========================================== */

.tw-rsvp__success-button {
    width: 100%;

    height: 50px;

    border: none;

    border-radius: 4px;

    background: #811d2a;

    color: #ffffff;

    font-family: inherit;

    font-size: 15px;

    cursor: pointer;

    transition: opacity 0.2s ease;
}


.tw-rsvp__success-button:hover {
    opacity: 0.9;
}

.rsvp-info-grid{

    grid-template-columns:repeat(2,1fr);

}
    
 /* ==========================================
   OUR LOVE PICTURES
========================================== */

.tw-gallery {
    width: 100%;
    padding: 85px 0 60px;
    background: #ffffff;
    box-sizing: border-box;
}


/* ==========================================
   HEADING
========================================== */

.tw-gallery__heading {
    text-align: center;
    margin-bottom: 40px;
}


.tw-gallery__title {
    margin: 0;

    color: #811d2a;

    font-family: "Great Vibes", cursive;

    font-size: 42px;
    font-weight: 400;

    line-height: 1.2;
}


.tw-gallery__line {
    width: 255px;
    height: 1px;

    margin: 14px auto 0;

    background: #811d2a;
}


/* ==========================================
   DESKTOP GALLERY
========================================== */

.tw-gallery__slider {
    position: relative;

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 20px;

    width: 83.5%;
    max-width: 1200px;

    margin: 0 auto;
}


/* ==========================================
   GALLERY IMAGES
========================================== */

.tw-gallery__slide {
    width: 100%;

    /*
     * Matches the proportions in the
     * desktop reference.
     */
    aspect-ratio: 0.965 / 1;

    overflow: hidden;
}


.tw-gallery__slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ==========================================
   DESKTOP - HIDE MOBILE CONTROLS
========================================== */

.tw-gallery__counter {
    display: none;
}


.tw-gallery__dots {
    display: none;
}

/* =========================================================
   ASO EBI & RSVP INFORMATION
========================================================= */

.tw-info-section {
    width: 100%;

    padding: 20px 0 80px;

    background: #ffffff;

    box-sizing: border-box;
}


/* =========================================================
   CONTAINER
========================================================= */

.tw-info-container {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 72px;

    width: 83.5%;
    max-width: 1200px;

    margin: 0 auto;

    box-sizing: border-box;
}


/* =========================================================
   INFORMATION CARD
========================================================= */

.tw-info-card {
    position: relative;

    min-height: 440px;

    overflow: hidden;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    box-sizing: border-box;
}


/* =========================================================
   BACKGROUND IMAGES
========================================================= */

.tw-info-card--asoebi {
    background-image: url("../images/35.jpeg");
}


.tw-info-card--rsvp {
    background-image: url("../images/36.jpeg");
}


/* =========================================================
   DARK OVERLAY
========================================================= */

.tw-info-card__overlay {
    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.48);

    z-index: 1;
}


/* =========================================================
   CONTENT
========================================================= */

.tw-info-card__content {
    position: relative;

    z-index: 2;

    width: 100%;

    padding: 48px 50px;

    color: #ffffff;

    box-sizing: border-box;
}


/* =========================================================
   TITLE
========================================================= */

.tw-info-card__title {
    margin: 0;

    color: #ffffff;

    font-family: inherit;

    font-size: 42px;
    font-weight: 400;

    line-height: 1.1;
}


/* =========================================================
   TITLE LINE
========================================================= */

.tw-info-card__line {
    width: 230px;

    height: 1px;

    margin: 17px 0 32px;

    background: #ffffff;
}


/* =========================================================
   SUBTITLE
========================================================= */

.tw-info-card__subtitle {
    margin: 0 0 22px;

    color: #ffffff;

    font-family: inherit;

    font-size: 20px;

    font-weight: 400;

    line-height: 1.3;
}


/* =========================================================
   DETAILS
========================================================= */

.tw-info-card__details p {
    margin: 0 0 7px;

    color: #ffffff;

    font-size: 16px;

    line-height: 1.45;
}


.tw-info-card__details strong {
    font-weight: 700;
}


/* =========================================================
   NOTE
========================================================= */

.tw-info-card__note {
    margin-top: 22px;
}


.tw-info-card__note h3 {
    margin: 0 0 5px;

    color: #ffffff;

    font-family: inherit;

    font-size: 20px;

    font-weight: 400;
}


.tw-info-card__note p {
    margin: 0 0 4px;

    color: #ffffff;

    font-size: 16px;

    line-height: 1.5;
}

/* =========================================================
   JOIN US / VENUE
========================================================= */

.tw-join-section {
    width: 100%;

    padding: 85px 0 70px;

    background: #ffffff;

    box-sizing: border-box;
}


/* =========================================================
   HEADING
========================================================= */

.tw-join-heading {
    width: 100%;

    margin: 0 0 68px;

    text-align: center;

    box-sizing: border-box;
}


.tw-join-title {
    display: block;

    margin: 0;
    padding: 0;

    color: #811d2a;

    font-family: "Great Vibes", cursive;

    font-size: 42px;
    font-weight: 400;
    font-style: normal;

    line-height: 1.2;

    text-align: center;
}


.tw-join-line {
    width: 125px;

    height: 1px;

    margin: 12px auto 0;

    background: #811d2a;
}


/* =========================================================
   DESKTOP CONTENT
========================================================= */

.tw-join-container {
    display: grid;

    grid-template-columns: 1fr 1fr;

    width: 83.5%;
    max-width: 1200px;

    height: 440px;

    margin: 0 auto;

    box-sizing: border-box;
}


/* =========================================================
   VENUE IMAGE
========================================================= */

.tw-join-image {
    width: 100%;
    height: 100%;

    overflow: hidden;
}


.tw-join-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   MAP
========================================================= */

.tw-join-map {
    width: 100%;
    height: 100%;

    overflow: hidden;
}


.tw-join-map iframe {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    border: 0;
}

/* =========================================================
   WEDDING VIDEO SECTION
   ========================================================= */

.wed-video {
    position: relative;

    width: 100%;
    height: 100vh;
    min-height: 700px;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #111;
}


/* =========================================================
   BLURRED BACKGROUND
   ========================================================= */

.wed-video__background {
    position: absolute;

    top: -10%;
    left: -10%;

    width: 120%;
    height: 120%;

    overflow: hidden;

    z-index: 1;
}


.wed-video__background-media {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: blur(25px);

    transform: scale(1.1);

    opacity: 0.55;
}


/* Darken the background */

.wed-video__background::after {
    content: "";

    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.35);

    pointer-events: none;
}


/* =========================================================
   MAIN VIDEO CONTAINER
   ========================================================= */

.wed-video__container {
    position: relative;

    z-index: 2;

    height: 100%;
    max-height: 100vh;

    aspect-ratio: 9 / 16;

    flex-shrink: 0;

    overflow: hidden;

    background: #000;

    border-radius: 12px;

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   MAIN VIDEO
   ========================================================= */

.wed-video__media {
    display: block;

    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: cover;

    background: #000;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .wed-video {
        height: auto;
        min-height: 0;

        padding: 40px 20px;
    }


    .wed-video__container {
        width: min(80vw, 600px);
        height: auto;

        aspect-ratio: 9 / 16;
    }

}


/*------------------------------------
    RESPONSIVE
-------------------------------------*/

@media(max-width:768px){
    
       .wed-video {
        width: 100%;

        height: auto;
        min-height: 0;

        padding: 0;

        display: block;

        background: #000;
    }


    .wed-video__background {
        position: absolute;

        top: -10%;
        left: -10%;

        width: 120%;
        height: 120%;
    }


    .wed-video__background-media {
        filter: blur(18px);

        transform: scale(1.08);

        opacity: 0.4;
    }


    .wed-video__container {
        position: relative;

        width: 100%;
        height: auto;

        aspect-ratio: 9 / 16;

        border-radius: 0;

        box-shadow: none;
    }


    .wed-video__media {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }
    
        .tw-rsvp-section {
        width: 100%;
        max-width: none;

        margin: 0;

        display: flex;

        flex-direction: column;

        min-height: 0;
    }


    /* ---------------------------------------------
       IMAGE FIRST
    --------------------------------------------- */

    .tw-rsvp-image {
        order: 1;

        width: 100%;

        height: 315px;
    }


    .tw-rsvp-image img {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }


    /* ---------------------------------------------
       CONTENT
    --------------------------------------------- */

    .tw-rsvp-content {
        order: 2;

        width: 100%;

        padding: 45px 30px 50px;

        align-items: flex-start;
    }


    /* ---------------------------------------------
       TITLE
    --------------------------------------------- */

    .tw-rsvp-title {
        font-size: 32px;

        line-height: 1.25;
    }


    .tw-rsvp-line {
        width: 120px;

        margin: 12px 0 25px;
    }


    /* ---------------------------------------------
       TEXT
    --------------------------------------------- */

    .tw-rsvp-text {
        max-width: none;

        font-size: 16px;

        line-height: 1.75;

        margin-bottom: 15px;
    }


    .tw-rsvp-deadline {
        font-size: 16px;

        margin-top: 8px;
    }


    .tw-rsvp-closing {
        font-size: 16px;

        margin-bottom: 28px;
    }


    /* ---------------------------------------------
       BUTTON
    --------------------------------------------- */

    .tw-rsvp-button {
        width: 100%;

        box-sizing: border-box;

        padding: 15px 25px;
    }
    
    .tw-footer {
        height: 205px;

        padding: 18px 20px 28px;
    }


    .tw-footer__logo img {
        width: 125px;
    }


    .tw-footer__copyright {
        font-size: 15px;
    }
    
        .tw-info-section {
        padding: 20px 0 0;
    }


    /* ---------------------------------------------
       STACK CARDS
    --------------------------------------------- */

    .tw-info-container {
        display: flex;

        flex-direction: column;

        gap: 20px;

        width: 100%;
        max-width: none;

        margin: 0;
    }


    /* ---------------------------------------------
       CARDS
    --------------------------------------------- */

    .tw-info-card {
        width: 100%;

        min-height: 0;

        background-position: center;
    }


    /* ---------------------------------------------
       ASO EBI HEIGHT
    --------------------------------------------- */

    .tw-info-card--asoebi {
        min-height: 505px;
    }


    /* ---------------------------------------------
       RSVP HEIGHT
    --------------------------------------------- */

    .tw-info-card--rsvp {
        min-height: 310px;
    }


    /* ---------------------------------------------
       CONTENT
    --------------------------------------------- */

    .tw-info-card__content {
        padding: 58px 50px 50px;
    }


    /* ---------------------------------------------
       TITLE
    --------------------------------------------- */

    .tw-info-card__title {
        font-size: 40px;
    }


    /* ---------------------------------------------
       LINE
    --------------------------------------------- */

    .tw-info-card__line {
        width: 75%;

        max-width: 293px;

        margin: 14px 0 32px;
    }


    /* ---------------------------------------------
       SUBTITLE
    --------------------------------------------- */

    .tw-info-card__subtitle {
        margin-bottom: 22px;

        font-size: 20px;
    }


    /* ---------------------------------------------
       DETAILS
    --------------------------------------------- */

    .tw-info-card__details p {
        margin-bottom: 6px;

        font-size: 16px;

        line-height: 1.45;
    }


    /* ---------------------------------------------
       NOTE
    --------------------------------------------- */

    .tw-info-card__note {
        margin-top: 22px;
    }


    .tw-info-card__note h3 {
        font-size: 20px;
    }


    .tw-info-card__note p {
        font-size: 16px;

        line-height: 1.65;

        margin-bottom: 2px;
    }
    
     .tw-rsvp__success-modal {
        padding: 20px;
    }


    .tw-rsvp__success-modal-content {
        max-width: 100%;

        padding: 45px 28px 30px;
    }


    .tw-rsvp__success-title {
        font-size: 25px;
    }


    .tw-rsvp__success-text {
        font-size: 14px;
    }

}
/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .wed-video {
        min-height: auto;

        padding: 50px 20px;
    }


    .wed-video__container {
        width: min(600px, 80vw);
    }

}


/* ===========================
   MOBILE
=========================== */

@media (max-width:768px){
    
     .background-image{
    display: none;
  }
   .video-foreground {
        width: 100%;
        height: auto;
      }
    
       .wed-video {
        min-height: auto;

        width: 100%;

        padding: 0;

        background: #000000;
    }


    /* Keep the blurred background on mobile,
       but make it more subtle */

    .wed-video__background {
        inset: -10%;
    }


    .wed-video__background-media {
        filter: blur(18px);

        opacity: 0.4;
    }


    /* Main video */

    .wed-video__container {
        width: 100%;

        max-width: none;

        aspect-ratio: 9 / 16;

        border-radius: 0;

        box-shadow: none;
    }
    
     .wed-hero__countdown {
        gap: 3px;
    }


    .wed-hero__countdown-item > span {
        font-size: 25px;
    }

     .tw-join-section {
        padding: 45px 0 0;
    }


    /* ---------------------------------------------
       HEADING
    --------------------------------------------- */

    .tw-join-heading {
        margin-bottom: 22px;
    }


    .tw-join-title {
        font-size: 32px;
    }


    .tw-join-line {
        width: calc(100% - 24px);

        max-width: 368px;

        margin-top: 10px;
    }


    /* ---------------------------------------------
       CONTENT
    --------------------------------------------- */

    .tw-join-container {
        display: block;

        width: 100%;
        max-width: none;

        height: auto;

        margin: 0;
    }


    /* ---------------------------------------------
       HIDE VENUE IMAGE ON MOBILE
    --------------------------------------------- */

    .tw-join-image {
        display: none;
    }


    /* ---------------------------------------------
       MAP
    --------------------------------------------- */

    .tw-join-map {
        width: 100%;

        height: 438px;
    }


    .tw-join-map iframe {
        width: 100%;
        height: 100%;
    }
     .tw-gallery {
        padding: 55px 0 0;
    }


    /* ----------------------------------------
       TITLE
    ---------------------------------------- */

    .tw-gallery__heading {
        margin-bottom: 28px;
    }


    .tw-gallery__title {
        font-size: 34px;
    }


    .tw-gallery__line {
        width: 150px;

        margin-top: 10px;
    }


    /* ----------------------------------------
       SLIDER
    ---------------------------------------- */

    .tw-gallery__slider {

        display: block;

        width: 100%;

        margin: 0;

        aspect-ratio: 1 / 1;

        overflow: hidden;

        background: #ffffff;

        touch-action: pan-y;
    }


    /* ----------------------------------------
       SLIDES
    ---------------------------------------- */

    .tw-gallery__slide {

        position: absolute;

        inset: 0;

        width: 100%;
        height: 100%;

        aspect-ratio: auto;

        opacity: 0;

        visibility: hidden;

        transform: translateX(20px);

        transition:
            opacity 0.35s ease,
            transform 0.35s ease,
            visibility 0.35s ease;
    }


    .tw-gallery__slide--active {

        position: relative;

        opacity: 1;

        visibility: visible;

        transform: translateX(0);
    }


    .tw-gallery__slide img {

        width: 100%;
        height: 100%;

        object-fit: cover;
    }


    /* ----------------------------------------
       COUNTER
    ---------------------------------------- */

    .tw-gallery__counter {

        position: absolute;

        top: 14px;
        right: 10px;

        display: flex;

        align-items: center;
        justify-content: center;

        min-width: 42px;
        height: 32px;

        padding: 0 10px;

        box-sizing: border-box;

        background: rgba(255, 255, 255, 0.95);

        border-radius: 18px;

        color: #222222;

        font-size: 13px;

        font-weight: 500;

        z-index: 5;
    }


    /* ----------------------------------------
       DOTS
    ---------------------------------------- */

    .tw-gallery__dots {

        display: flex;

        align-items: center;
        justify-content: center;

        gap: 4px;

        width: 100%;

        height: 30px;

        background: #ffffff;
    }


    .tw-gallery__dot {

        width: 8px;
        height: 8px;

        padding: 0;

        border: none;

        border-radius: 50%;

        background: #d2d2d2;

        cursor: pointer;
    }


    .tw-gallery__dot--active {

        background: #811d2a;

    }
    
    .tw-hero{
        height:auto;
    }

    /* Hide desktop image */
    .tw-hero__desktop{
        display:none;
    }

    /* Show slideshow */
    .tw-hero__mobile{
        display:block;
        position:relative;
        width:100%;
        height:37vh; /* Reduced height */
        overflow:hidden;
    }

    .tw-hero__slide{
        position:absolute;
        inset:0;
        opacity:0;
        transition:opacity 1s ease;
    }

    .tw-hero__slide--active{
        opacity:1;
    }

    .tw-hero__slide img{
        width:100%;
        height:100%;
        object-fit:cover;
    }

    /* Remove overlay from mobile if you don't want the dark tint */
    .tw-hero__overlay{
        display:none;
    }

    /* Content sits below the slideshow */
    .tw-hero__content{
        display:block;
        width:100%;
        height:auto;
    }

    /* Full-width card */
    .tw-hero__card{
        width:100%;
        max-width:none;
        border-radius:0;
        margin:0;
        padding:28px 20px 32px;
    }

    .tw-hero__title{
        font-size:2.9rem;
    }

    .tw-hero__digit{
        width:54px;
        height:54px;
        font-size:2.3rem;
    }

        .tw-story{
        padding-top:70px;
    }

    .tw-story__header{
        width:90%;
        margin-bottom:40px;
    }

    .tw-story__title{
        font-size:2.5rem;
    }

    /* Smaller divider */
    .tw-story__divider{
        width:120px;
        margin:0 auto 25px;
    }

    .tw-story__intro{
        font-size:1rem;
        line-height:1.8;
    }

    /* Image before burgundy panel */
    .tw-story__bottom{
        display:flex;
        flex-direction:column;
    }

    .tw-story__image{
        order:1;
    }

    .tw-story__content{
        order:2;
        padding:40px 28px;
    }

    .tw-story__logo{
        display:flex;
        justify-content:center;
        margin-top:40px;
    }

    .tw-story__logo img{
        width:170px;
    }
    
    .tw-invite{
        padding:20px 0;
    }

    .tw-invite__container{
        width:100%;
    }

    .tw-invite__image{
        width:100%;
        max-width:100%;
    }
}
    /* ===================================
   MOBILE
=================================== */

@media (max-width: 768px) {

     .tw-rsvp {
        width: 100%;
        margin: 0;
        flex-direction: column;
    }

    .tw-rsvp__image {
        order: 1;
        width: 100%;
    }

    .tw-rsvp__image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .tw-rsvp__form-section {
        order: 2;
        width: 100%;
        padding: 36px 39px 45px;
        box-sizing: border-box;
    }


    /* TITLE */

    .tw-rsvp__title {
        margin-bottom: 36px;

        font-size: 2rem;
        line-height: 1.2;
    }


    /* INPUTS */

    .tw-rsvp__field {
        margin-bottom: 22px;
    }

    .tw-rsvp__field input {
        height: 54px;
        padding: 0 21px;

        font-size: 16px;
    }


    /* QUESTIONS */

    .tw-rsvp__question {
        padding-bottom: 28px;
        margin-bottom: 14px;
    }

    .tw-rsvp__question-title {
        margin-bottom: 12px;

        font-size: 17px;
    }


    /* OPTIONS */

    .tw-rsvp__options {
        gap: 24px;
    }


    /* NOTE */

    .tw-rsvp__note {
        font-size: 12px;
        line-height: 1.5;
    }
}


