/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #87CEEB; /* Sky blue background to match your picture */
    color: #333;
}

nav {
    background-color: #333;
    color: #fff;
    padding: 1em;
    text-align: center;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

nav li {
    position: relative; /* Add this to make dropdowns work */
    margin-right: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
}

.dropdown .dropbtn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    padding-top: 25%;
    left: -2em;
    max-width: 100%; /* Add this to constrain dropdown width */
}

.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #f1f1f1; color: #333;}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Add this to position dropdowns relative to their parent elements */
nav li:last-child .dropdown-content {
    left: auto;
    right: -2em; /* Position the last dropdown to the left of its parent */
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2em;
}

header a {
    width: 100%;
    text-align: center;
}

header img {
    width: 80%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2em;
}

section {
    background-color: #fff;
    padding: 1em;
    padding-left: 2em;
    margin-top: -1em;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

h1 {
    text-align: center;
}
