html, body {
    margin: 0;
    padding: 0;
    font-family: "Baskervville", serif;
    font-weight: 400;
    font-style: normal;
    background-color: #faf5f1;
    letter-spacing: 0.2em;
    width: 100%;
}

.baskervville-sc-regular {
    font-family: "Baskervville SC", serif;
    font-weight: 400;
    font-style: normal;
  }

  .text-overlay {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    color: #FFFFFF;
    font-family: "Baskervville SC", serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.text-overlay .title {
    font-size: 5rem;
}

.text-overlay .date {
    font-size: 4rem;
}

.header-image-container {
    position: relative;
    width: 100%;
    height: 1900px;
    overflow: hidden;
    background-image: url('the-frankes-city-hall.jpg'); /* Replace with your image URL */
    background-size: cover; /* Ensures the image covers the container */
    background-position: center center; /* Centers the image */
}

.header-image {
    width: 100%;
    height: auto;
    display: block;
}

.green-container {
    width: 100%;
    margin: 0;
    text-align: center;
    background-color: #444C27;
    color: #faf5f1;
}

.overjoyed {
    font-size: 2rem;
    color: #faf5f1;
    opacity: 0.9;
    border-bottom: 5px solid #434B26;
    border-top: 5px solid #434B26;
    background-image: url('vines.png');
    background-color: #444C27;
    background-position: center;
    background-size: cover;
    padding: 50px 0px;
    width: 100%;
    margin: 0;
    font-weight: 200;
    text-align: center;
    line-height: 1.2;
    letter-spacing: -0.1px;
    display: flex;
    flex-direction: row; /* Align children in a row */
    justify-content: space-between; /* Pushes items to the edges */
    align-items: center; /* Aligns items vertically */
    position: relative;
}

.overjoyed-left {
    text-align: left; /* Ensures text aligns left */
    max-width: 600px; /* Optional: Limits content width */
    margin-left: 15%;
}

.overjoyed a {
    margin-right: 15%; /* Adds spacing from the right edge */
    display: inline-block;
}

.overjoyed img {
    max-width: 80%; /* Adjusts image height */
    height: auto; /* Ensures aspect ratio is maintained */
}

.weekend-details {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    margin: 20px auto 50px auto;
    margin-top: 80px;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.connector {
    width: 3px;
    margin: 10px auto;
}

.event-section {
    color: #000000;
    padding: 0px;
    border-radius: 10px;
    margin-bottom: 0px;
    margin-top: 60px;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.event-image {
    transform: scale(0.8);
}

.event-section h1 {
    margin: 0;
    text-transform: uppercase;
}

.event-section h2 {
    margin: 0;
    font-size: 1.5rem;
}

.event-details {
    font-size: 1.3rem;
    letter-spacing: -0.1px;
}

.accommodations-section {
    display: flex;
    align-items: stretch;
    border-bottom: 5px solid #434B26;
    border-top: 5px solid #434B26;
}

.accommodations-image, .accommodations-text {
    flex-grow: 1;
    width: 50%;
}

.accommodations-image {
    object-fit: cover;
}
.accommodations-text {
    background-image: url('vines2.png');
    background-size: cover;
    font-size: 1.5rem;
    line-height: 1.2;
    text-align: left;
    padding: 75px;
    overflow: hidden;
    letter-spacing: -0.1px;
}

.accommodations-text h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.accommodations-text p {
    margin-bottom: 10px;
}

.hotel-recommendations-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #faf5f1;
    padding: 40px 40px;
}

.hotel {
    width: 45%;
    /* max-width: 300px; */
    margin: 20px;
    text-align: center;
    color: #000000;
}

.hotel p {
    text-align: center;
    letter-spacing: -0.1px;
}

.hotel p a {
    display: inline-block; /* Center-align the link within the paragraph */
    text-decoration: underline; /* Optional: Keep the underline for links */
    color: inherit; /* Ensure the link matches the parent text color */
    text-align: center !important; /* Center-align the text */
}

#figs {
    background-image: url('figs.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#birch {
    background-image: url('birch.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#maple {
    background-image: url('maple.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#cherries {
    background-image: url('cherries.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.hotel h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.hotel p {
    font-size: 1rem;
    margin: 0;
}

.hotel-recommendations-container p a {
    color: #000000;
    text-decoration: underline;
}

.hotel-recommendations-container p a:hover {
    text-decoration: none;
}

.button-div {
    text-align: center;
    width: 100%;
    margin: 10px 0px 50px 0px;
}

img.button {
    width: 400px;
    border-radius: 10px;
}

.quote-section {
    border-bottom: 5px solid #434B26;
    border-top: 5px solid #434B26;
    position: relative;
    background-image: url('quote-photo-min.png');
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 40px;
}

.stairwell {
    width: 40%;
    margin-left: -25px;

}

.quote-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

#jacuzzi {
    margin-left: -50px;
}

.quote-overlay {
    position: relative;
    z-index: 2;
    max-width: 400px;
    text-align: right;
    margin-right: 158px;
}

.quote-text {
    font-size: 1.7rem;
    line-height: 1.3;
    color: #434B26;
    font-weight: bold;
    letter-spacing: -0.1px;
}

.quote-author {
    font-size: 1.2rem;
    margin-top: 20px;
    font-style: italic;
}

.footnote {
    color: #274232;
    background-color: #faf5f1;
    padding: 40px 0 40px 0;
    text-align: center;
    border-bottom: 5px solid #434B26;
}

.more-weekend-details {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    margin: 20px auto 50px auto;
    margin-top: 80px;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.more-weekend-details h2{
    margin-left: 20px;
    margin-bottom: -20px;
    font-size: 3rem;
    font-family: 'Baskervville SC', serif;
    margin-bottom: 40px;

}

.designer-credit {
    position: relative;
    display: inline-block;
    width: 100%;
    background-image: url('leaves.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 50px 0;
    text-align: center;
}

.designer-text {
    font-weight: 400;
}

.rotunda {
    width: 40%;
    margin-left: -25px;
}

.tim-keller {
    text-align: left;
    max-width: 600px;
    margin-top: 100px
}

.tim-keller p {
    font-size: 2.3rem;
    line-height: 1.6;
    color: #434B26;
}

/* Responsive styling (Mobile) */
@media (max-width: 768px) {
    .header-image-container {
        background-size: 200%;
        background-position: center bottom; /* Focus on the top of the image */
        height: 600px; /* Reduce height to fit smaller screens */
    }

    .hotel {
        min-width: 210px;
        margin: 30px;
        line-height: 1.5em;
    }

    .hotel p a {
        display: inline-block; /* Centers the link text inside its block */
        text-decoration: underline; /* Keeps the underline for links */
        color: inherit; /* Match the text color to the parent */
        text-align: center; /* Center-align the text inside the link */
        white-space: nowrap; /* Prevents text from breaking into multiple lines */
        max-width: 100%; /* Ensures the text does not overflow outside the container */
    }

    .accommodations-section {
        flex-direction: column; /* Stack items vertically */
    }

    .accommodations-image {
        width: 100%; /* Full width for the image */
        height: auto; /* Maintain aspect ratio */
    }

    .accommodations-text {
        flex-grow: 1;
        width: 100%;
        padding: 25px;
        font-size: 1.3rem;
        text-align: left;
        background-image: url('vines2.png');
        background-size: cover;
        box-sizing: border-box; /* Include padding in width */
        overflow-wrap: break-word;
        word-wrap: break-word;
        margin: 0 auto;
        max-width: 100%;
        font-weight: 200;
    }
    .accommodations-text h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    .stairwell {
        width: 100%;
        margin-left: 0;
        margin-bottom: 20px;
    }
    .text-overlay {
        flex-direction: column;
        align-items: left;
        margin: 0px;
        padding: 0px;
        margin-left: 0px;
        position: fixed;
        text-align: center;
    }

    .text-overlay .title, .text-overlay .date {
        font-size: 2.5rem;
        margin: 0px 0px 0px 0px;
        text-align: center;
    }

    .overjoyed {
        padding: 20px 0;
        font-size: 1.4rem;
        display: block;
    }

    .overjoyed-left {
        max-width: auto; /* Optional: Limits content width */
        margin: 20px;
        text-align: center;
    }

    .overjoyed a {
        margin: 20px 0px 0px 0px;
        transform: scale(0.7);
    }

    .weekend-details {
        width: 100%;
        max-width: 1200px;
        margin: 10px;
        text-align: center;
        margin: 10px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .weekend-details h2 {
        margin-left: 20px;
        margin-bottom: -20px;
    }

    .more-weekend-details h2 {
        margin-left: 20px;
        margin-bottom: -20px;
    }

    .weekend-details img {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .event-section p {
        padding: 15px;
    }

    .event-section h3 {
        padding: 15px;
    }

    .weekend-details p {
        margin-right: 10px;
    }

    #jacuzzi {
        margin-left: 0px;
    }

    .details {
        font-size: 1.5rem;
        padding: 40px 0;
    }

    .rotunda {
        width: 100%;
        margin-left: 0px;
    }

    .crest-container {
        position: relative;
        display: flex;
        background-color: none;
        justify-content: center;
        z-index: 10;
        margin-top: -60px;
    }

    .tim-keller {
        text-align: left;
        max-width: 600px;
        margin-top: 0px;
    }
    
    .tim-keller p {
        font-size: 2rem;
        line-height: 1.6;
        color: #434B26;
    }

    img.button {
        width: 300px;
        border-radius: 10px;
    }

    .crest {
        width: 100px;
    }

    #welcome {
        width: 60%;
    }

    #jacuzzi {
        width: 90%;
    }

    #croissant {
        width: 40%;
    }

    .quote-overlay {
        margin-right: 0;
    }

    .event-section {
        color: #000000;
        padding: 0px;
        margin-bottom: 0px;
        margin-top: 60px;
        display: block;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    
        
    .event-section div {
    padding: 0 20px;
    }

    .event-section h2 {
        font-size: 1.2rem;
    }

    .event-section img {
        text-align: center;
    }

    .event-details {
        font-size: 1.2rem;
    }

    .footnote {
        background-color: #faf5f1;
        font-size: 1.2rem;
        padding: 20px 0;
    }
}