body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
    align-items: center;
    display: flex;
    justify-content: center;
}

.sketch-container {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    background-color: #182e35;
}

.content {
    background-image: url('../bg2.jpg');
    padding-top: 30px;
    position: absolute;
    width: 50%;
    height: 100%;
    overflow: hidden;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    flex-direction: column;
    text-align: center;
    overflow-y: scroll;
    scrollbar-color: #182e35 #f5f5f5;
    scrollbar-width: thin;
}

.datelocal {
    display: flex;
    flex-direction: row;
    font-family: "Poppins";
    font-size: 32px;
    font-weight: 400;
    margin-top: 20px;
}

.date {
    border-right: 1px solid #182e35;
    padding-right: 30px;
}

.location {
    padding-left: 30px;
}

.header {
    display: flex;
    flex-direction: row;
    font-family: "Poppins";
    font-size: 32px;
    font-weight: normal;
    margin: 75px 0 8px 0;
    letter-spacing: 3px;
    color: #182e35;
}

.datetime {
    display: flex;
    flex-direction: row;
    font-family: "Poppins";
    font-size: 20px;
    font-weight: 400;
    margin: 5px 0;
    letter-spacing: 3px;
    color: #182e35;
}

.schd-normaltext {
    font-family: "Poppins";
    font-size: 14px;
    font-weight: normal;
    max-width: 65%;
    color: #182e35;
    letter-spacing: 1px;
    margin: 4px 0;
}

.schd-footer {
    font-family: "Poppins";
    font-size: 14px;
    font-weight: normal;
    max-width: 65%;
    color: #182e35;
    letter-spacing: 1px;
    margin: 50px 0 200px 0;
}

.btn {
    margin-top: 10px;
    background-color: #182e35;
    color: white;
    /* Text color for contrast */
    border: none;
    /* Remove default border */
    padding: 20px 40px;
    /* Adjust padding as needed */
    font-family: Poppins;
    font-size: 20px;
    /* Adjust font size */
    cursor: pointer;
    /* Indicate it's clickable */
    border-radius: 4px;
    /* Optional: slight rounded corners */
    /* Optional: Remove default shadow for a flatter look */
    box-shadow: none;
    /* Optional: Add a subtle hover effect */
    transition: background-color 0.3s ease;
}

.content-container {
    position: relative;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    flex-direction: column;
}

.subheader {
    font-family: "Poppins";
    font-size: 18px;
    text-align: left;
    color: #182e35;
    font-weight: bold;
    margin-top: 20px;
    max-width: 90%;
}

.normaltext {
    font-family: "Poppins";
    font-size: 16px;
    text-align: left;
    color: #182e35;
    font-weight: normal;
    margin-top: 20px;
    max-width: 90%;
}

.footer {
    font-family: "Poppins";
    font-size: 16px;
    text-align: left;
    font-weight: normal;
    color: #182e35;
    margin: 50px 0 200px 0;
    max-width: 90%;
}

.rsvp {
    margin: 0;
    font-weight: 900;
}

.wide-img {
    margin-top: 40px;
    max-width: 90%;
}

.normal-img {
    margin-top: 40px;
    max-width: 50%;
}

.main-nav ul {
    display: flex;
    /* Aligns items in a row */
    list-style-type: none;
    /* Removes bullets */
    margin: 0;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    /* Ensures bar doesn't overflow rounded corners */
    font-family: Poppins;
}

/* 4. Style the navigation links */
.main-nav a {
    display: block;
    /* Makes the whole area clickable */
    padding: 1rem 1.5rem;
    /* Adds spacing */
    text-decoration: none;
    /* Removes default underline */
    color: #182e35;
    font-weight: 500;
    position: relative;
    /* CRITICAL: Establishes positioning context for the ::after element */
}

/* 5. Create the highlight bar using the ::after pseudo-element */
.main-nav a::after {
    content: '';
    /* Required for pseudo-elements */
    position: absolute;
    /* Positions relative to the <a> tag */
    bottom: 0;
    /* Aligns to the bottom */
    left: 0;
    /* Aligns to the left */
    width: 100%;
    /* Matches the width of the link */
    height: 3px;
    /* Thickness of the bar */
    background-color: #182e35;
    /* Highlight color */

    /* Animation: Start hidden (scaled to 0 width) */
    transform: scaleX(0);
    transform-origin: left;
    /* Animates from the left side */
    transition: transform 0.3s ease-out;
    /* Smooth animation */
}

/* 6. On hover, animate the bar to 100% width */
.main-nav a:hover::after {
    transform: scaleX(1);
    /* Scales to full width on hover */
}

/* Optional: Change text color on hover for more feedback */
.main-nav a:hover {
    color: #1f3b44;
    ;
}

@media screen and (max-width: 1240px) {

    /* Adjust breakpoint as needed */
    .content {
        width: 75%;
    }
}

@media screen and (max-device-width: 720px) {

    /* Adjust breakpoint as needed */
    .content {
        width: 100%;
        height: 60%;
        scrollbar-width: wide;
        /* For mobile screens */
    }

    .main-nav a {
        font-size: 20px;
    }

    .header {
        font-size: 36px;
    }

    .subheader {
        font-size: 28px;
    }

    .normaltext {
        font-size: 22px;
    }

    .footer {
        font-size: 22px;
    }

    .btn {
        font-size: 26px;
    }

    .schd-normaltext {
        font-size: 22px;
    }

    .schd-footer {
        font-size: 22px;
    }

    .datetime {
        font-size: 26px;
    }

    .scout {
        font-size: 18px;
    }
}