body, html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-family: 'Roboto', sans-serif;
    font-family: 'Playfair Display', sans-serif;
}
.signature {
    font-family: 'Stalemate', cursive;
    font-weight: normal;
    font-size: 48px;
}

body.meh {
    scroll-padding-top: 40px; /* Height of the fixed header */
}

header {
    /* background: url('../images/roy_and_lorena_sea.jpg') no-repeat center center; */
    /* background: url('../images/header-random-2048x1366.jpg') no-repeat center center; */
    background: url('../images/roy_and_lorena_field.png') no-repeat center center;
    background-size: cover;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.1); /* Semi-transparent background for the entire nav */
    width: 100%; /* Ensure it spans the entire width of the header */
    height: 100vh; /* Initial full viewport height */
    top: 0;
    left: 0;
    z-index: 1000;
    transition: height 0.3s ease; /* Smooth transition for height change */
    font-family: 'Oswald Extra-Light', sans-serif;
    font-weight: normal;
    font-size: 42px;
    border-bottom: 1px solid silver;
}
body.scrolled header {
    height: 200px; /* Initial full viewport height */
}

header p {
    color: white;
    text-align: center;
    font-size: 48px;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    transition: height 0.3s ease;
    height: 80px;

    font-weight: normal;
    font-size: 24px;
}

/* Adjusted for scrolled state */
body.scrolled header nav ul {
    height: 40px; /* Height after scrolling */
}

h1, h2, h3 {
    font-family: 'Oswald Extra-Light', sans-serif;
    font-weight: normal;
    font-size: 42px;
}
h1 {
    font-size: 48px;
}
h2 {
    font-size: 42px;
}
h3 {
    font-size: 32px;
}

#hero-placeholder {
    height: 230px;
    width: 100%;
}

section.our-big-day {
}

/* When the header is scrolled, adjust the margin-top for #our-big-day */
/* body.scrolled section.our-big-day {
    padding-top: 300px; /* Adjust this value to the new height of the header when scrolled */
} */

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    text-decoration: none;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
}

section {
    padding: 10px 20px;
    text-align: center;
    transition: padding-top 0.3s ease; /* Smooth transition for padding-top */
    width: 90%;
    max-width: 1024px;
    margin: 0 auto;
    font-size: 24px;
}

section div.the-stuff-you-need-to-know {
    background-color: #e5eaf5;
    padding: 5px;
}

section div.rsvp-intro {
    background-color: #e5eaf5;
    padding: 5px;
    margin-bottom: 10px;
}
section div.taxi,
section div.accommodation {
    width: 47%;
    min-width: 250px;
    display: inline-block;
}
section div.taxi {
    background-color: #e5eaf5;
    padding: 5px;
    margin-bottom: 10px;
}
section div.accommodation {
    background-color: #e5eaf5;
    padding: 5px;
    margin-bottom: 10px;
}
@media only screen and (max-width: 500px) {
    section div.taxi {
        float: none;
        width: 98%;
        padding: 5px;
        margin-bottom: 10px;
    }
    section div.accommodation {
        float: none;
        width: 98%;
        padding: 5px;
        margin-bottom: 10px;
    }
}

a.section-target {
    position: relative;
    top: -230px;
}

.first-section {
    margin-top: 5px;
}


section ul.taxi,
section ul.hotel {
    list-style-type: none;
    padding-left: 30px;
    text-align: left;

}
section ul.taxi li,
section ul.hotel li {
    white-space: nowrap;
    font-size: 20px;
}
/* body.scrolled header + .first-section {
    padding-top: 80px; /* Adjusted padding when header is scrolled */
} */

body.scrolled section {
    padding: 20px 20px;
}
body.scrolled section.first-section {
    padding: 20px 20px;
}

h2 {
    font-weight: 700;
    margin-bottom: 20px;
}

p {
    text-align: justify;
}
    
    form {
    display: flex;
    flex-direction: column;
    width: 300px;
    margin: auto;
    text-align: left;
    font-size: 18px;
    background-color: #e5eaf5;
    padding: 10px;
    }
    
    form input, form textarea, form label {
    margin-bottom: 5px;
    padding: 10px;
    font-family: 'Roboto', sans-serif;
    }
    
    form button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    }

    form label {
        color: #858585;
        padding-left: 0;
    }

    form label.adults input,
    form label.child input {
        margin-right: 10px;
    }
    form input.guest-count {
        margin-right: 5px;
    }
    
    footer {
    text-align: center;
    padding: 20px;
    font-size: 0.8em;
    }

    
    textarea {
        font-size: 16px; /* Example font size */
        line-height: 1.5; /* Line height as a multiplier of the font size */
        height: calc((16px * 1.5 * 4) + (10px * 2)); /* font-size * line-height * number of lines */
        width: 100%; /* Adjust the width as needed */
        box-sizing: border-box; /* Include padding and border in the element's total width and height */
    }

    @font-face {
        font-family: 'Oswald Regular';
        font-style: normal;
        font-weight: normal;
        src: local('Oswald Regular'), url('../fonts/Oswald[wght].woff') format('woff');
        }
        
    
        @font-face {
        font-family: 'Oswald Regular';
        font-style: normal;
        font-weight: normal;
        src: local('Oswald Regular'), url('../fonts/Oswald-RegularItalic.woff') format('woff');
        }
        
    
        @font-face {
        font-family: 'Oswald Extra-Light';
        font-style: normal;
        font-weight: normal;
        src: local('Oswald Extra-Light'), url('../fonts/Oswald-Extra-LightItalic.woff') format('woff');
        }
        
    
        @font-face {
        font-family: 'Oswald ExtraLight';
        font-style: normal;
        font-weight: normal;
        src: local('Oswald ExtraLight'), url('../fonts/Oswald-ExtraLight.woff') format('woff');
        }
        
    
        @font-face {
        font-family: 'Oswald Light';
        font-style: normal;
        font-weight: normal;
        src: local('Oswald Light'), url('../fonts/Oswald-Light.woff') format('woff');
        }
        
    
        @font-face {
        font-family: 'Oswald Light';
        font-style: normal;
        font-weight: normal;
        src: local('Oswald Light'), url('../fonts/Oswald-LightItalic.woff') format('woff');
        }
        
    
        @font-face {
        font-family: 'Oswald Medium';
        font-style: normal;
        font-weight: normal;
        src: local('Oswald Medium'), url('../fonts/Oswald-Medium.woff') format('woff');
        }
        
    
        @font-face {
        font-family: 'Oswald Medium';
        font-style: normal;
        font-weight: normal;
        src: local('Oswald Medium'), url('../fonts/Oswald-MediumItalic.woff') format('woff');
        }
        
    
        @font-face {
        font-family: 'Oswald Demi-Bold';
        font-style: normal;
        font-weight: normal;
        src: local('Oswald Demi-Bold'), url('../fonts/Oswald-Demi-BoldItalic.woff') format('woff');
        }
        
    
        @font-face {
        font-family: 'Oswald DemiBold';
        font-style: normal;
        font-weight: normal;
        src: local('Oswald DemiBold'), url('../fonts/Oswald-DemiBold.woff') format('woff');
        }
        
    
        @font-face {
        font-family: 'Oswald Bold';
        font-style: normal;
        font-weight: normal;
        src: local('Oswald Bold'), url('../fonts/Oswald-Bold.woff') format('woff');
        }
        
    
        @font-face {
        font-family: 'Oswald Bold';
        font-style: normal;
        font-weight: normal;
        src: local('Oswald Bold'), url('../fonts/Oswald-BoldItalic.woff') format('woff');
        }
        
    
        @font-face {
        font-family: 'Oswald Heavy';
        font-style: normal;
        font-weight: normal;
        src: local('Oswald Heavy'), url('../fonts/Oswald-Heavy.woff') format('woff');
        }
        
    
        @font-face {
        font-family: 'Oswald Heavy';
        font-style: normal;
        font-weight: normal;
        src: local('Oswald Heavy'), url('../fonts/Oswald-HeavyItalic.woff') format('woff');
        }
        
    
        @font-face {
        font-family: 'Oswald Regular Regular';
        font-style: normal;
        font-weight: normal;
        src: local('Oswald Regular Regular'), url('../fonts/Oswald-Regular.woff') format('woff');
        }
        
    
        @font-face {
        font-family: 'Oswald Stencil Bold';
        font-style: normal;
        font-weight: normal;
        src: local('Oswald Stencil Bold'), url('../fonts/Oswald-Stencil.woff') format('woff');
        }