@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&display=swap');


body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

/* Modal styling */
.modal {
    display: none; 
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 40%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation-name: modalopen;
    animation-duration: 0.4s;
    text-align: center;
    border-radius: 15px;
    font-family: 'Bodoni Moda', serif;
}

@keyframes modalopen {
    from {opacity: 0}
    to {opacity: 1}
}

.modal input[type="text"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0 20px 0;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 16px;
    font-family: 'Bodoni Moda', serif;
}

#submit-button {
    background-color: #557564;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-family: 'Bodoni Moda', serif;
    border-radius: 25px;
}

#submit-button:hover {
    background-color: #445a4f;
}

.no-scroll {
    overflow: hidden;
}

.main-container{
    display: none;
}

/* Main container animation */
#main-container {
    opacity: 0; /* Hidden by default */
    transition: opacity 0.5s ease-in-out;
}

#main-container.visible {
    opacity: 1; /* Fully visible */
}

.preload {
    display: none;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.first-container-background {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
    height: 100vh;
    animation: backgroundChange 60s infinite;
}

@keyframes backgroundChange {
    0%, 28% { background-image: url("GMEngage96V4.jpg"); }
    33%, 61% { background-image: url("LS2B5838.jpg"); }
    66%, 94% { background-image: url("G&MEngage-85.JPG"); }
    99%, 100% { background-image: url("GMEngage96V4.jpg"); }
}

.first-container-weddinglogo {
    transform: scale(1.5);
    max-height: 60vh;
}

.first-container-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.first-container-columns-rows {
    display: grid;
    grid-template-rows: 50% 50%;
}

.first-container-message-container {
    margin-left: 25%;
    text-align: center;
}

.first-container-message {
    color: #ffffffc4;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: #FFF;
    font-family: "Bodoni Moda";
    font-size: 4.5vh;
    font-style: italic;
    font-weight: 600;
    line-height: 130%;
    /* 51.6px */
    letter-spacing: 3.2px;
}

.second-container-title {
    color: #000;
    margin-left: 15%;
    -webkit-text-stroke-width: 0.25px;
    -webkit-text-stroke-color: #000;
    font-family: "Bodoni Moda";
    font-size: 45px;
    font-style: italic;
    font-weight: 400;
    line-height: 130%;
    /* 58.5px */
    letter-spacing: 3.6px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.third-container {
    background-color: #557564;
}

.third-container-title {
    text-align: center;
    color: #FFF;
    -webkit-text-stroke-width: 0.25px;
    -webkit-text-stroke-color: #FFF;
    font-family: "Bodoni Moda";
    font-size: 45px;
    font-style: italic;
    font-weight: 400;
    line-height: 130%;
    /* 58.5px */
    letter-spacing: 3.6px;
    margin: 0;
    padding-top: 30px;
    padding-bottom: 30px;
}

.fourth-container{
    padding-top: 30px;
}

.fourth-container-columns-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.fourth-container-columns-rows-container {
    display: grid;
    grid-template-rows: 50% 50%;
}

.fourth-container-columns-rows-child-left {
    margin-left: 80%;
}

.fourth-container-columns-rows-child-center {
    text-align: center;
}

.fourth-container-columns-rows-child-right {
    margin-right: 80%;
}

.fourth-container-columns-rows-title-top {
    text-align: center;
    color: #557564;
    -webkit-text-stroke-width: 0.25px;
    -webkit-text-stroke-color: var(--3rd-accent, #557564);
    font-family: "Bodoni Moda";
    font-size: 85px;
    font-style: italic;
    font-weight: 400;
    line-height: 130%;
    /* 110.5px */
    letter-spacing: 6.8px;
    margin-top: 0;
}

.fourth-container-columns-rows-title-bottom {
    color: #000;
    text-align: center;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
    letter-spacing: 6px;
}

.background-for-containers {
    background-color: #557564;
}

.fifth-container-columns-container {
    display: grid;
    grid-template-columns: 100%;
}

.fifth-container-title {
    color: #FFF;
    -webkit-text-stroke-width: 0.25px;
    -webkit-text-stroke-color: #FFF;
    font-family: "Bodoni Moda";
    font-size: 2.8125rem;
    font-style: italic;
    font-weight: 400;
    line-height: 130%;
    /* 3.65625rem */
    letter-spacing: 0.225rem;
    margin-left: 15%;
}


.sixth-container-child {
    text-align: center;
}

.sixth-container-title-first {
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 1.5625rem;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
    letter-spacing: 0.39063rem;
    text-transform: uppercase;
}

.sixth-container-title-second {
    color: #FFF;
    text-align: center;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: #FFF;
    font-family: "Bodoni Moda";
    font-size: 1.5625rem;
    font-style: italic;
    font-weight: 400;
    line-height: 130%;
    /* 2.03125rem */
    letter-spacing: 0.125rem;
    cursor: pointer;
}

.no-style-link {
    color: inherit; /* Use the same color as the surrounding text */
    text-decoration: none; /* Remove the underline */
    font-size: inherit; /* Inherit font size from the parent */
    font-weight: inherit; /* Inherit font weight from the parent */
}

.seventh-container-columns-container {
    display: grid;
    grid-template-columns: 100%;
}

.seventh-container-title {
    color: #FFF;
    -webkit-text-stroke-width: 0.25px;
    -webkit-text-stroke-color: #FFF;
    font-family: "Bodoni Moda";
    font-size: 2.8125rem;
    font-style: italic;
    font-weight: 400;
    line-height: 130%;
    /* 3.65625rem */
    letter-spacing: 0.225rem;
    margin-left: 15%;
}

.eighth-container-title-first {
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 1.5625rem;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
    letter-spacing: 0.39063rem;
    text-transform: uppercase;
}

.eighth-container-title-second {
    color: #FFF;
    text-align: center;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: #FFF;
    font-family: "Bodoni Moda";
    font-size: 1.5625rem;
    font-style: italic;
    font-weight: 400;
    line-height: 130%;
    /* 2.03125rem */
    letter-spacing: 0.125rem;
}

.ninth-container-columns-container {
    display: grid;
    grid-template-columns: 100%;
}

.ninth-container-title-first {
    color: #FFF;
    text-shadow: 0px 8px 12px rgba(0, 0, 0, 0.15), 0px 4px 4px rgba(0, 0, 0, 0.30);
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: #FFF;
    font-family: Inter;
    font-size: 1.5625rem;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
    letter-spacing: 0.39063rem;
    text-transform: uppercase;
    margin-left: 70%;
    cursor: pointer;
}

.ninth-container-columns-child-icon {
    display: none;
}

.rules-and-regulations {
    max-height: 0px;
    overflow: hidden;
    transition: max-height 1s ease-out;
}

.rules-and-regulations.expanded {
    max-height: 1000px; 
}

.tenth-container-columns-container {
    display: grid;
    grid-template-columns: 100%;
}

.tenth-container-title {
    color: var(--3rd-accent, #557564);
    -webkit-text-stroke-width: 0.25px;
    -webkit-text-stroke-color: var(--3rd-accent, #557564);
    font-family: "Bodoni Moda";
    font-size: 2.8125rem;
    font-style: italic;
    font-weight: 400;
    line-height: 130%;
    /* 3.65625rem */
    letter-spacing: 0.225rem;
    margin-left: 15%;
}

.eleventh-container-child {
    text-align: center;
}

.eleventh-container-title {
    color: var(--3rd-accent, #557564);
    text-align: center;
    font-family: Inter;
    font-size: 1.5625rem;
    font-style: normal;
    font-weight: 200;
    line-height: 120.69%;
    /* 1.88575rem */
}

.eleventh-container-child-icon {
    text-align: right;
    margin-right: 10%;
    padding-bottom: 15px;
    cursor: pointer;
}

.twelfth-container {
    background-image: url("LS2B5548.jpg");
    background-size: cover;
    /* Optional, to cover the entire div */
    background-repeat: no-repeat;
    /* Optional, to avoid repeating the image */
    background-position: top;
    width: auto;
    height: auto;
}

.twelfth-container-columns-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.twelfth-container-columns-rows-container-left {
    display: grid;
    grid-template-rows: 50%;
}

.twelfth-container-columns-rows-container-right {
    display: grid;
    grid-template-rows: 50% 50%;
}

.twelfth-container-columns-rows-child {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.twelfth-container-columns-rows-child-left-top {
    display: grid;
    grid-template-rows: 15% 15% 15% 15% 15% 15%;
    justify-content: space-around;
    justify-items: start;
}

.twelfth-container-columns-rows-child-left-bottom {
    display: none;
}

.twelfth-container-columns-rows-image {
    max-width: 100%;
    max-height: 100%;
}

.twelfth-container-columns-rows-title-top {
    color: #FFF;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: #FFF;
    font-family: "Bodoni Moda";
    font-size: 2.8125rem;
    font-style: italic;
    font-weight: 400;
    line-height: 130%;
    /* 3.65625rem */
    letter-spacing: 0.225rem;
    margin-bottom: 0;
}

.twelfth-container-columns-rows-title-bottom {
    color: #FFF;
    font-family: Inter;
    font-size: 2.1875rem;
    font-style: normal;
    font-weight: 200;
    line-height: 3.375rem;
    /* 154.286% */
    letter-spacing: 0.54688rem;
    text-transform: uppercase;
}

.support-system-container-mobile {
    display: none;
}

.thirteenth-container {
    width: 100vw;
}

.thirteenth-container-title {
    color: #000;
    -webkit-text-stroke-width: 0.25px;
    -webkit-text-stroke-color: #000;
    font-family: "Bodoni Moda";
    font-size: 2.8125rem;
    font-style: italic;
    font-weight: 400;
    line-height: 130%;
    /* 3.65625rem */
    letter-spacing: 0.225rem;
    margin-left: 15%;
}

.thirteenth-container-columns-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.thirteenth-container-columns-child {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thirteenth-container-columns-rows-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.thirteenth-container-columns-rows-child {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
}

.image-container {
    width: 19rem;
    height: 35rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.image-container-child {
    width: 100%;
    height: 80%;
}

.image {
    height: 100%;
    object-fit: cover;
}

.image-details-container {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    color: white;
    min-height: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.image-container-title {
    font-size: 1.2em;
    margin: 5px 0;
}

.image-container-description {
    font-size: 1em;
    margin: 5px 0;
}

.wedding-wishes-container {
    background-color: #557564;
}

.wedding-wishes-title-container {
    padding-top: 10px;
}

.wedding-wishes-title {
    color: #FFF;
    -webkit-text-stroke-width: 0.25px;
    -webkit-text-stroke-color: #FFF;
    font-family: "Bodoni Moda";
    font-size: 2.8125rem;
    font-style: italic;
    font-weight: 400;
    line-height: 130%;
    /* 3.65625rem */
    letter-spacing: 0.225rem;
    margin-left: 15%;
}

.wedding-wishes-description-container {
    margin: 0 20% 0 20%;
}

.wedding-wishes-description {
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 1.5625rem;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
}

.wedding-wishes-banking-details-container {
    color: #FFF;
    text-align: center;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: #FFF;
    font-family: "Bodoni Moda";
    font-size: 1.5625rem;
    font-style: italic;
    font-weight: 400;
    line-height: 130%;
    /* 2.03125rem */
    letter-spacing: 0.125rem;
    padding-bottom: 10px;
    cursor: pointer;
}

.rsvp-section {
    background-color: #557564;
}

.mobile-rsvp-section {
    display: none;
}

.rsvp-section-title {
    color: #FFF;
    -webkit-text-stroke-width: 0.25px;
    -webkit-text-stroke-color: #FFF;
    font-family: "Bodoni Moda";
    font-size: 3.4375rem;
    font-style: italic;
    font-weight: 400;
    line-height: 130%;
    /* 4.46875rem */
    letter-spacing: 0.275rem;
    margin-top: 0;
    margin-left: 15%;
    padding-top: 5%;
}

.rsvp-section-container {
    display: flex;
}

.rsvp-section-container-image {
    width: 564px;
    height: 580px;
    border-radius: 2.5rem;
    opacity: 0.8;
    background: url("G&MEngage-137.JPG") lightgray 0px 0px / 564px 580px no-repeat;
    background-position: center;
    mix-blend-mode: multiply;
    transform: translateY(-20%);
}

.rsvp-section-container-form-container {
    border-radius: 2.5rem;
    background: rgba(217, 217, 217, 0.90);
    width: 81.75rem;
    height: 30rem;
    padding-top: 15px;
    padding-left: 30px;
    transform: translateX(-10%);
}

.rsvp-section-container-form-title {
    color: #000;
    font-family: Inter;
    font-size: 1.5625rem;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
}

.rsvp-section-container-form {
    display: flex;
    width: 42.625rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.rsvp-form-input {
    border-radius: 2.5rem;
    border: 2px solid #D9D9D9;
    background: var(--White, rgba(255, 255, 255, 0.60));
    display: flex;
    padding: 0.75rem 1rem;
    align-items: center;
    gap: 0.5rem;
    align-self: stretch;
}

.rsvp-section-container-form button {
    width: 6.9375rem;
    padding: 0.5rem 0.5rem;
    border-radius: 2.5rem;
    background-color: #153f29;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.15);
    border-style: none;
    cursor: pointer;
}

.rsvp-form-button-text {
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 0.9375rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5rem;
    opacity: 0.5;
}

.toggle-container {
    display: flex;
    align-items: center;
}

.toggle-title {
    color: #000;
    font-family: Inter;
    font-size: 1.5625rem;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
}

.toggle-button {
    padding: 10px 20px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    cursor: pointer;
    display: inline-block;
    margin: 5px;
    border-radius: 15px;
}

.active {
    background-color: #557564;
    color: white;
}

#formContainer {
    transition: height 0.3s ease;
}

.bottom-last-image-container {
    background-image: url("G&MEngage-41.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    width: auto;
    height: 100vh;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
}

.bottom-last-image-logo {
    width: 50%;
    transform: translateY(-40%);
}

/* Bank Account Modal styling */
.bankDetailsModal {
    display: none; 
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.bankDetailsModal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 40%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation-name: modalopen;
    animation-duration: 0.4s;
    text-align: center;
    border-radius: 15px;
    font-family: 'Bodoni Moda', serif;
}

.bankDetailsModal-content h2{
    color: #000;
    font-family: Inter;
    font-size: 1.5625rem;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
}

@keyframes modalopen {
    from {opacity: 0}
    to {opacity: 1}
}

#close-button {
    background-color: #557564;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-family: 'Bodoni Moda', serif;
    border-radius: 25px;
}

#close-button:hover {
    background-color: #445a4f;
}

/* Popup for successful from submission with animation */
/* Popup styles */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 2px solid #4CAF50;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 1000;
}

/* Checkmark animation */
.checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.circle {
    stroke: #4CAF50;
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-linecap: round;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.check {
    stroke: #4CAF50;
    stroke-width: 2;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-linecap: round;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

/* Media Query for Mobile Phones */
@media only screen and (max-width: 767px) {
    /* General adjustments */
    body, html {
        font-size: 14px;
    }

    /* Modal adjustments */
    .modal-content {
        width: 90%;
        margin: 10% auto;
    }

    /* First container adjustments */
    .first-container-background {
        background-size: 75vh;
        background-repeat: no-repeat;
        background-position-y: top;
        background-position-x: center;
        width: 100%;
        height: 50vh;
        animation: backgroundChange 60s infinite;
    }

    .first-container-weddinglogo {  
        max-height: 20vh;
    }

    .first-container-columns {
        grid-template-columns: 1fr;
    }

    .first-container-message-container {
        margin-left: 5%;
        margin-right: 50%;
        text-align: left;
    }

    .first-container-message {
        color: #FFF;
        -webkit-text-stroke-width: 0.20000000298023224px;
        -webkit-text-stroke-color: #FFF;
        font-family: "Bodoni Moda";
        font-size: 16px;
        font-style: italic;
        font-weight: 600;
        line-height: 129%; /* 20.64px */
        letter-spacing: 1.28px;
        opacity: 0.6;
    }

    /* Second container adjustments */
    .second-container-title {
        margin: 0;
        margin-block-start: 0.83em;
        margin-block-end: 0.83em;
        margin-left: 5%;
        color: #000;
        -webkit-text-stroke-width: 0.25px;
        -webkit-text-stroke-color: #000;
        font-family: "Bodoni Moda";
        font-size: 20px;
        font-style: italic;
        font-weight: 400;
        line-height: 130%; /* 26px */
        letter-spacing: 1.6px;
    }

    /* Third container adjustments */
    .third-container-title {
        padding-top: 0.83em;
        padding-bottom: 0.83em;
        color: #FFF;
        -webkit-text-stroke-width: 0.25px;
        -webkit-text-stroke-color: #FFF;
        font-family: "Bodoni Moda";
        font-size: 20px;
        font-style: italic;
        font-weight: 400;
        line-height: 130%; /* 26px */
        letter-spacing: 1.6px;
        text-align: right;
        margin-right: 5%;
    }

    /* Fourth container adjustments */

    .fourth-container-columns-rows-child-left,
    .fourth-container-columns-rows-child-right {
        margin-left: 5%;
        margin-right: 5%;
    }

    .fourth-container-columns-rows-title-top {
        color: var(--3rd-accent, #557564);
        -webkit-text-stroke-width: 0.25px;
        -webkit-text-stroke-color: var(--3rd-accent, #557564);
        font-family: "Bodoni Moda";
        font-size: 35px;
        font-style: italic;
        font-weight: 400;
        line-height: 130%; /* 58.5px */
        letter-spacing: 3.6px;
    }

    .fourth-container-columns-rows-title-bottom {
        color: #000;
        text-align: center;
        font-family: Inter;
        font-size: 12px;
        font-style: normal;
        font-weight: 200;
        line-height: normal;
        letter-spacing: 3px;
    }

    /* Fifth and Seventh container adjustments */
    .fifth-container-title,
    .seventh-container-title {
        margin-left: 5%;
        color: #FFF;
        -webkit-text-stroke-width: 0.25px;
        -webkit-text-stroke-color: #FFF;
        font-family: "Bodoni Moda";
        font-size: 20px;
        font-style: italic;
        font-weight: 400;
        line-height: 130%; /* 26px */
        letter-spacing: 1.6px;
    }

    .sixth-container-title-first,
    .eighth-container-title-first {
        color: #FFF;
        text-align: center;
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 200;
        line-height: 17px; /* 106.25% */
        letter-spacing: 4px;
        text-transform: uppercase;
    }

    .sixth-container-title-second, 
    .wedding-wishes-banking-details-container {
        color: #FFF;
        text-align: center;
        -webkit-text-stroke-width: 0.5px;
        -webkit-text-stroke-color: #FFF;
        font-family: "Bodoni Moda";
        font-size: 16px;
        font-style: italic;
        font-weight: 400;
        line-height: 130%; /* 20.8px */
        letter-spacing: 1.28px;
        text-decoration-line: underline;
    }

    .eighth-container-title-second {
        color: #FFF;
        text-align: center;
        -webkit-text-stroke-width: 0.5;
        -webkit-text-stroke-color: #FFF;
        font-family: "Bodoni Moda";
        font-size: 16px;
        font-style: italic;
        font-weight: 400;
        line-height: 130%; /* 20.8px */
        letter-spacing: 1.28px;
    }

    /* Ninth container adjustments */
    .ninth-container {
        background: rgba(255, 255, 255, 0.40);
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .ninth-container-columns-container {
        display: grid;
        grid-template-columns: 25% 50% 25%;
        align-items: center;
        justify-items: center;
    }
    
    .ninth-container-title-first {
        color: #FFF;
        text-align: center;

        /* M3/Elevation Dark/5 */
        text-shadow: 0px 8px 12px rgba(0, 0, 0, 0.15), 0px 4px 4px rgba(0, 0, 0, 0.30);
        -webkit-text-stroke-width: 0.5px;
        -webkit-text-stroke-color: #FFF;
        font-family: Inter;
        font-size: 12px;
        font-style: normal;
        font-weight: 200;
        line-height: normal;
        letter-spacing: 3px;
        text-transform: uppercase;
        margin: 0
    }

    .ninth-container-columns-child-icon {
        display: block;
        margin-right: 5%;
    }

    #mobile-accordion-info-toggle-on {
        transform: scale(-1);
    }

    /* Tenth container adjustments */
    .tenth-container-title {
        margin-left: 5%;
        color: var(--3rd-accent, #557564);
        -webkit-text-stroke-width: 0.25px;
        -webkit-text-stroke-color: var(--3rd-accent, #557564);
        font-family: "Bodoni Moda";
        font-size: 16px;
        font-style: italic;
        font-weight: 400;
        line-height: 130%; /* 20.8px */
        letter-spacing: 1.28px;
    }

    .eleventh-container-title {
        color: var(--3rd-accent, #557564);
        text-align: center;
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 200;
        line-height: 120.69%; /* 19.31px */
    }

    #accordion-toggle-off {
        display: none;
    }

    /* Twelfth container adjustments */
    .twelfth-container {
        background-image: url(LS2B5548.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .twelfth-container-columns-rows-title-top {
        text-align: left;
        flex-shrink: 0;
        color: #FFF;
        -webkit-text-stroke-width: 0.5px;
        -webkit-text-stroke-color: #FFF;
        font-family: "Bodoni Moda";
        font-size: 26px;
        font-style: italic;
        font-weight: 400;
        line-height: 130%; /* 26px */
        letter-spacing: 1.6px;
        opacity: 0.6;
    }

    .twelfth-container-columns-rows-title-bottom {
        font-size: 1.5rem;
        text-align: left;
        flex-shrink: 0;
        color: #FFF;
        font-family: Inter;
        font-size: 20px;
        font-style: normal;
        font-weight: 200;
        line-height: 25px; /* 156.25% */
        letter-spacing: 4px;
        text-transform: uppercase;
        opacity: 0.6;
    }

    .twelfth-container-columns-rows-child-left-top {
        display: none;
    }
    
    .twelfth-container-columns-rows-child-left-bottom {
        display: grid;
        grid-template-rows: 14.3% 14.3% 14.3% 14.3% 14.3% 14.3% 14.3%;
        justify-items: start;
        margin-left: 25px;
        width: 50vw;
        height: 100%;
    }

    .twelfth-container-columns-child {
        display: grid;
        align-items: end;
    }

    .twelfth-container-columns-rows-container-left {
        display: grid;
        grid-template-rows: 50%;
        align-content: center;
    }

    .twelfth-container-columns-rows-container-right {
        display: block;
    }

    .twelfth-container-columns-rows-image {
        margin-right: 5%;
        max-width: 70%;
        max-height: 70%;
    }

    /* Thirteenth container adjustments */
    .support-system-container {
        display: none;
    }

    .support-system-container-mobile {
        display: block;
        background-color: #557564;
    }

    .thirteenth-container-title {
        margin-left: 5%;
        color: #FFF;
        -webkit-text-stroke-width: 0.25px;
        -webkit-text-stroke-color: #FFF;
        font-family: "Bodoni Moda";
        font-size: 20px;
        font-style: italic;
        font-weight: 400;
        line-height: 130%; /* 26px */
        letter-spacing: 1.6px;
    }

    .thirteenth-container-title-container {
        display: flex;
    }

    .thirteenth-container-child-icon {
        display: flex;
        margin-right: 5%;
        transform: scale(-1);
        align-items: center;
    }

    .thirteenth-container-columns-container {
        flex-direction: column;
        gap: 0px;
        max-height: 0px;
        overflow: hidden;
        transition: max-height 1s ease-out;
    }

    .thirteenth-container-columns-container.expanded {
        max-height: 2000px;
        flex-direction: column;
        gap: 0px;
    }

    .thirteenth-container-columns-rows-container {
        display: flex;
        width: 100%;
        justify-content: space-evenly;
        flex-direction: row;
    }
    .image-container {
        width: 12rem;
        height: 24rem;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 40px;
        overflow: hidden;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        background-color: white;
    }

    .image-container-child {
        width: 100%;
        height: 75%;
    }

    .image-details-container {
        text-align: center;
        background-color: rgba(0, 0, 0, 0.7);
        width: 100%;
        color: white;
        min-height: 25%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .image-container-title {
        color: #FFF;
        -webkit-text-stroke-width: 0.25px;
        -webkit-text-stroke-color: #FFF;
        font-family: "Bodoni Moda";
        font-size: 15px;
        font-style: italic;
        font-weight: 400;
        line-height: 130%; /* 20.8px */
        letter-spacing: 1.28px;
    }

    .image-container-description {
        color: #FFF;
        text-align: center;
        font-family: Inter;
        font-size: 10px;
        font-style: normal;
        font-weight: 200;
        line-height: normal;
        letter-spacing: 3px;
        text-transform: uppercase;
        word-wrap: break-word;
        padding: 0 5px;
        max-width: 100%;
    }

    /* Wedding wishes adjustments */
    .wedding-wishes-container {
        background-color: #FFF;
    }

    .wedding-wishes-title-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-right: 5%;
    }

    .wedding-wishes-title {
        margin-left: 5%;
        color: #000;

        /* phone - style 1 */
        -webkit-text-stroke-width: 0.25px;
        -webkit-text-stroke-color: #000;
        font-family: "Bodoni Moda";
        font-size: 20px;
        font-style: italic;
        font-weight: 400;
        line-height: 130%; /* 26px */
        letter-spacing: 1.6px;
    }

    .wedding-wishes-description-container {
        margin: 0 5%;
        max-height: 0px;
        overflow: hidden;
        transition: max-height 1s ease-out;
    }

    .wedding-wishes-description-container.expanded {
        max-height: 1000px;
        margin: 0 5%;
    }

    .wedding-wishes-container-child-icon {
        transform: scale(-1);
    }

    .wedding-wishes-description {
        color: #000;
        text-align: center;
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 200;
        line-height: normal;
        -webkit-text-stroke-width: 0.0px;
        -webkit-text-stroke-color: #FFF;
    }

    .wedding-wishes-banking-details-container {
        color: #000;
        -webkit-text-stroke-color: #000;
        margin-top: 20px;
    }

    /* RSVP section adjustments */
    .pc-rsvp-section {
        display: none;
    }
    
    .mobile-rsvp-section {
        display: block;
    }

    .rsvp-section-container-mobile {
        background-color: #557564;
    }

    .rsvp-section-title {
        margin: 0;
        margin-left: 5%;
        color: #FFF;
        -webkit-text-stroke-width: 0.25px;
        -webkit-text-stroke-color: #FFF;
        font-family: "Bodoni Moda";
        font-size: 20px;
        font-style: italic;
        font-weight: 400;
        line-height: 130%; /* 26px */
        letter-spacing: 1.6px;
    }

    .rsvp-section-container-form-container-mobile {
        width: 90%;
        height: auto;
        transform: translateX(0);
        margin: 0;
        padding: 15px;
    }

    .rsvp-section-container-form {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .rsvp-section-container-form-title{
        color: #FFF;
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 200;
        line-height: normal;
    }

    .toggle-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .toggle-buttons-mobile-container {
        display: flex;
        justify-content: space-between;
    }

    .toggle-title-mobile {
        color: #FFF;
        -webkit-text-stroke-width: 0.25px;
        -webkit-text-stroke-color: #FFF;
        font-family: "Bodoni Moda";
        font-size: 20px;
        font-style: italic;
        font-weight: 400;
        line-height: 130%;
        letter-spacing: 1.6px;
    }

    .active {
        background-color: #5eab82;
        color: white;
    }

    /* Bottom last image adjustments */
    .bottom-last-image-container-mobile {
        background-image: url("G&MEngage-41.png");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top;
        width: auto;
        height: 30vh;
        display: flex;
        flex-direction: column;
    }

    .bottom-last-image-logo-mobile {
        width: 35%;
        transform: scale(1.2);
    }

    /* Bank Account Modal adjustments */
    .bankDetailsModal-content {
        width: 90%;
    }
}

/* Media Query for Tablets */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    body, html {
        font-size: 18px;
    }

    /* Modal adjustments */
    .modal-content {
        width: 70%;
        margin: 5% auto;
    }

    /* First container adjustments */
    .first-container-background {
        background-size: cover;
        height: 60vh;
    }

    .first-container-weddinglogo {  
        max-height: 25vh;
    }

    .first-container-columns {
        grid-template-columns: 1fr 1fr;
    }

    .first-container-message-container {
        margin-left: 5%;
        margin-right: 5%;
        text-align: center;
    }

    .first-container-message {
        font-size: 18px;
    }

    /* Second and Third container adjustments */
    .second-container-title,
    .third-container-title {
        font-size: 24px;
    }

    /* Fourth container adjustments */
    .fourth-container-columns-rows-child-left,
    .fourth-container-columns-rows-child-right {
        margin-left: 10%;
        margin-right: 10%;
    }

    .fourth-container-columns-rows-title-top {
        font-size: 40px;
    }

    .fourth-container-columns-rows-title-bottom {
        font-size: 14px;
    }

    /* Fifth and Seventh container adjustments */
    .fifth-container-title,
    .seventh-container-title {
        font-size: 24px;
    }

    /* Sixth and Eighth container adjustments */
    .sixth-container-title-first,
    .eighth-container-title-first,
    .sixth-container-title-second,
    .eighth-container-title-second {
        font-size: 18px;
    }

    /* Ninth container adjustments */
    .ninth-container-columns-container {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .ninth-container-title-first {
        font-size: 14px;
    }

    /* Tenth container adjustments */
    .tenth-container-title {
        font-size: 2.5rem;
    }

    .eleventh-container-title {
        font-size: 1.2rem;
    }

    /* Twelfth container adjustments */
    .twelfth-container-columns-rows-title-top {
        font-size: 30px;
    }

    .twelfth-container-columns-rows-title-bottom {
        font-size: 24px;
    }

    .twelfth-container-columns-rows-child-left-bottom {
        width: 40vw;
    }

    /* Thirteenth container adjustments */
    .support-system-container-mobile {
        display: none;
    }

    .support-system-container {
        display: block;
        background-color: #557564;
    }

    .thirteenth-container-title {
        font-size: 24px;
    }

    .thirteenth-container-columns-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        max-height: none;
    }

    .image-container {
        width: 14rem;
        height: 28rem;
    }

    .image-container-title {
        font-size: 18px;
    }

    .image-container-description {
        font-size: 12px;
    }

    /* Wedding wishes adjustments */
    .wedding-wishes-title {
        font-size: 24px;
    }

    .wedding-wishes-description, 
    .wedding-wishes-banking-details-container {
        font-size: 18px;
    }

    /* RSVP section adjustments */
    .mobile-rsvp-section {
        display: none;
    }

    .pc-rsvp-section {
        display: block;
    }

    .rsvp-section-container-form-container-mobile {
        width: 70%;
        margin: 0 auto;
        padding: 20px;
    }

    .rsvp-section-container-form-title {
        font-size: 18px;
    }

    /* Bottom last image adjustments */
    .bottom-last-image-container-mobile {
        height: 40vh;
    }

    .bottom-last-image-logo-mobile {
        width: 25%;
    }

    /* Bank Account Modal adjustments */
    .bankDetailsModal-content {
        width: 70%;
    }
}