* {
    box-sizing: border-box; /* Ensures all elements include padding and borders in their width calculation */
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%; /* Ensures the html and body are full width */
    min-height: 100vh; /* Full height of the viewport */
    overflow-x: hidden; /* Prevents horizontal scrolling caused by overflow */
}

*, *:before, *:after { /* Apply box-sizing to all elements */
    box-sizing: inherit;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures the body takes at least the height of the viewport */
}

header {
    width: 100%;
    height: 100px;
    background-image: url("/images/header-bg.png");
    background-repeat: repeat-x;
/*    background-color: #fcc301;*/
    text-align: center; /* Center content horizontally */
    display: flex; /* Use flexbox for easy alignment */
    justify-content: space-between;*/ /* Distributes space between and around content items along the main-axis */
    align-items: center; /* Align items vertically at center */
    position: fixed;
    top: 0;
    z-index: 1;
}

.column {
    flex: 1; /* Gives each column equal width */
    display: flex;
    align-items: center; /* Centers content vertically within each column */
    justify-content: center; /* Centers content horizontally within each column */
}

hero {
    width: 100%;
    height: 100px;
    text-align: center; /* Center content horizontally */
    display: flex; /* Use flexbox for easy alignment */
    position: relative;
    top: 0;
}

.background-image {
    width: 100%;
    height: auto; /* Adjust as necessary */
    position: relative;
    top: 0;
    left: 0;
    z-index: -2;
}

#bigheaderimage {
    height: 80px;
}

#headerLogo {
    height: 80px;
}

.headerTitle {
    text-align: center;
}

#headerul {
    list-style: none;
    text-align: right;
    padding: 0;
}

.headerli {
    display: inline;
    margin-right: 20px;
}

.topFooter, .bottomFooter {
    width: 100%;
/*    background-color: #fcc301; */
    text-align: center; /* Center content horizontally */
    display: flex;
    justify-content: center; /* Align items horizontally at center */
    align-items: center; /* Align items vertically at center */
}

.topFooter {
    height: 80px;
    width: 100%;
/*    background-color: #fcc301;*/
    background-image: url("/images/footer-t-bg.png");
    background-repeat: repeat-x;
    position: fixed;
    bottom: 80px; /* Adjusted to fixed positioning */
    text-align: center;
    display: flex;
    justify-content: center; /* Align items horizontally at center */
    align-items: center; /* Align items vertically at center */
    border-bottom: 1px solid white; /* Adds a white line at the bottom */
}

.bottomFooter {
    position: fixed;
    background-image: url("/images/footer-b-bg.png");
    background-repeat: repeat-x;
    bottom: 0;
    height: 80px;
}

#footerLogo {
    height: 60px;
}

main {
    width: 75%;
    align-self: center; 
    padding-top: 1000px; /* Adjust this value so that the main content starts below the header and hero image */
    padding: 20px;
    padding-bottom: 200px;
}

main2 {
    width: 75%;
    align-self: center;
    padding: 20px;
    padding-top: 125px; /* Adjust this value so that the main content starts below the header and hero image */
    padding-bottom: 200px;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    flex: auto;
}

.block-separator {
    border: none;
    border-top: 2px solid;
    width: 75%;
    align-items: center;
    opacity: 75%;
    color:gray;
    z-index: -10;
}

.textOverlay {
    position: relative;
    width: 300px;
    height: auto;
    margin-left: 20%;
    top: 0;
    margin-right: auto;
    z-index: -1;
}

/*
.overlay-title-1 {
    position: absolute;
    top: 200px;
    left: -300px;
  color: white;
}

.overlay-title-2 {
    position: absolute;
    top: 250px;
    left: -250px;
  color: white;
}
*/


/* For the Form*/
form {
    width: 60%;
    background: white;
    margin-top: 150px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px #ccc;
    justify-content: center; /* Align items horizontally at center */
    align-items: center; /* Align items vertically at center */
    text-align: left; /* Center content horizontally */
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px;
    margin-top: 8px;
    margin-bottom: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    background-color: #0056b3;
    color: white;
    border: none;
    padding: 10px 20px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
}

button:hover {
    background-color: #004494;
}

@media (max-width: 600px) {
    header {
        height: 50px;
        background-image: url("/images/header-bg-s.png");
    }

    #headerLogo {
        height: 30px;
        padding: 0;
        margin: 0;
    }

    #bigheaderimage {
        height: 40px;
    }

    .headerTitle {
        font-size: .4em;
        padding: 0;
        margin: 0;
    }

    .headerli {
        font-size: .4em;
        margin-right: 5%;
        padding: 0;
        margin: 0;
    }

    .topFooter {
        height: 40px;
        bottom: 40px; /* Adjusted to fixed positioning */
        background-image: url("/images/footer-t-bg-s.png");
    }
    
    #footerLogo {
        height: 30px;
    }

    .bottomFooter {
        height: 40px;
        background-image: url("/images/footer-b-bg-s.png");
        font-size: .4em;
    }

}