/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fdd835;
    color: #00274C;
}

/* Header styles */
header {
    background-color: #00274C;
    color: white;
    border-radius: 15px; /* Rounded corners for the header */
    margin: 20px; /* Center header and add spacing */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 500px; /* Adjusted max-width for wider layout */
    display: flex;
    justify-content: center; /* Center the content inside the header */
    align-items: center; /* Vertically align the content */
    height: 80px; /* Ensure the header has a consistent height */
}

/* Navigation container */
.nav-container {
    display: flex;
    justify-content: center; /* Center the text horizontally */
    align-items: center; /* Center text vertically */
    width: 100%; /* Make sure it spans the entire width */
}

/* Separate container for the hamburger menu */
.hamburger-container {
    display: flex;
    justify-content: flex-end;
    position: fixed; /* Makes sure the hamburger menu stays fixed on top */
    top: 20px; /* Position it slightly down from the top of the page */
    right: 20px; /* Position it to the right side of the screen */
    z-index: 1000; /* Ensure it appears above other content */
    height: 60px; /* Match the header height */
}

/* Hamburger dropdown menu */
.hamburger-menu {
    list-style: none;
    display: none; /* Hidden by default */
    flex-direction: column;
    background-color: white;
    color: black;
    position: absolute;
    right: 0;
    top: 70px; /* Adjust to drop below the header */
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.hamburger-menu li {
    padding: 10px 0;
}

/* Dropdown button styling */
.dropdown {
    display: flex;
    align-items: center;
}

.dropdown-toggle {
    background-color: #00274C;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 25%; /* Rounded button */
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
    height: 80px; /* Match height of the header for consistency */
    width: 80px; /* Create a square button */
    margin-top: 20px;
}

.dropdown-toggle:hover {
    background-color: #283593;
}

/* Language selector styles */
.language-selector {
    padding: 20px;
    background-color: white;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    max-width: 165px;
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping of radio buttons and labels */
    align-items: center; /* Align the items vertically in the center */
    justify-content: space-between; /* Space out the elements */
}

.language-selector label {
    margin-right: 10px; /* Add some space between the label and radio button */
}

.language-selector input[type="radio"] {
    margin: 0 5px; /* Space between radio buttons */
}

/* Adjust the button to align with the radio buttons */
.language-selector button {
    margin-left: 10px; /* Add some space to the left of the button */
}

.content {
    padding: 20px;
}

/* Button styling */
button {
    padding: 10px 15px;
    border: none;
    background-color: #00274C;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #283593;
}

.blue-box-container {
    background-color: #FFD700; /* Yellow background for the container */
    padding: 20px;
}

.blue-box {
    background-color: #003366; /* Dark blue background for the box */
    color: white;
    border-radius: 10px;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.blue-box h3 {
    margin: 0 0 10px;
    font-size: 1.8em;
}

.blue-box p {
    margin: 10px 0;
}

.blue-box ul {
    list-style-type: disc;
    margin: 10px 0 10px 20px;
    padding-left: 20px;
}

.blue-box ul li {
    margin: 5px 0;
}

/* Language selector section with image */
/* Language selector section with images */
.language-selector-container {
    display: flex;
    justify-content: space-between; /* Space between the language selector and images */
    align-items: flex-start; /* Align the content at the top */
    background-color: #FFD700;
    margin: 20px;
    padding: 20px;
    border-radius: 8px;
    position: relative; /* Position the image correctly */
    gap: 20px; /* Adds space between elements */
}

/* Container for both images */
.images-container {
    display: flex;
    gap: 20px; /* Space between the images */
    flex-grow: 1; /* Allow the container to take up the remaining space */
}

/* Make both images flexible and allow them to take up space */
.language-selector-container img {
    flex-grow: 1; /* Allow the images to grow and fill available space */
    max-width: 50%; /* Limit the image size */
    height: auto;
    object-fit: cover; /* Maintain aspect ratio while covering the container */
    border-radius: 15px;
}

/* Specific adjustments for Dearborn Logo */
.images-container img:first-child {
    max-width: 30%; /* Limit Dearborn logo size */
    object-fit: contain; /* Ensure the logo maintains its aspect ratio */
}

/* Welcome text box */
.welcome-box {
    background-color: #00274C;
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin: 20px;
    margin-top: 20px; /* Reduce the gap between the image and the welcome box */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    line-height: 1.6;
}

.welcome-box h2 {
    margin-top: 0;
    color: #fdd835; /* Yellow for "Welcome" header */
}

.welcome-box ul {
    list-style-type: none;
    padding-left: 0;
}

.welcome-box ul li {
    margin: 10px 0;
}

.welcome-box ul li::before {
    content: "-";
    margin-right: 10px;
}   

.community-image {
    max-height: 10px; /* Adjust the height of the image */
    width: auto; /* Maintain aspect ratio */
    margin-left: 50px; /* Add space between the language selector and image */
    border-radius: 15px;
}

/* Sign-in container */
.signin-container {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    margin: 40px auto;
}

/* Header for the sign-in page */
.signin-header {
    background-color: #00274C; /* Michigan Blue */
    color: #fdd835; /* Maize Yellow */
    padding: 20px;
    border-radius: 10px;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Form styling */
.signin-form .form-group {
    margin-bottom: 15px;
    text-align: left;
}

.signin-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.signin-form input {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.signin-form input:focus {
    border-color: #00274C;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 39, 76, 0.5);
}

/* Buttons */
.btn-primary {
    background-color: #00274C;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #283593; /* Slightly lighter blue */
}

/* Message styling */
.signin-message {
    color: red;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Alternative options */
.signin-alt-options {
    margin-top: 20px;
    font-size: 0.9em;
}

.signin-alt-options a {
    color: #00274C;
    text-decoration: none;
    font-weight: bold;
}

.signin-alt-options a:hover {
    text-decoration: underline;
}

/* Sign-up container */
.signup-container {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    margin: 40px auto;
}

/* Header for the sign-up page */
.signup-header {
    background-color: #00274C; /* Michigan Blue */
    color: #fdd835; /* Maize Yellow */
    padding: 20px;
    border-radius: 10px;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Form styling */
.signup-form .form-group {
    margin-bottom: 15px;
    text-align: left;
}

.signup-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.signup-form input {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.signup-form input:focus {
    border-color: #00274C;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 39, 76, 0.5);
}

/* Buttons */
.btn-primary {
    background-color: #00274C;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #283593; /* Slightly lighter blue */
}

/* Message styling */
.signup-message {
    color: red;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Alternative options */
.signup-alt-options {
    margin-top: 20px;
    font-size: 0.9em;
}

.signup-alt-options a {
    color: #00274C;
    text-decoration: none;
    font-weight: bold;
}

.signup-alt-options a:hover {
    text-decoration: underline;
}
