/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: url('../PICTURES/Background_01.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: #333;
}

.container {
    background: rgba(230, 247, 255, 0.9);
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
    box-sizing: border-box;
}

h2 {
    color: #004d99;
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 20px;
}

label {
    font-size: 1.2em;
    color: #004d99;
    display: block;
    margin-bottom: 5px;
}

input {
    width: 90%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

button {
    background-color: #004d99;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #003366;
    transform: scale(1.05);
}

header {
    background: rgb(4, 42, 67);
padding: 20px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
animation: slideIn 1s ease-out;
position: fixed; /* Make the header fixed at the top */
width: 100%; /* Ensure the header covers the full width */
z-index: 1000; /* Ensure the header is above other content */
top: 0; /* Aligns the header with the top of the viewport */
height: auto; /* Allow the height to adjust automatically based on content */
}
header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    height: 50px;
    margin-right: 15px;
}

header .logo span {
    font-size: 1.5em;
    font-weight: bold;
    color: #fff;
}

nav {
    display: flex;
    gap: 15px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #f0f0f0;
}

@media (max-width: 930px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    .container {
    background: rgba(230, 247, 255, 0.9);
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin-top: 300px;
    width: 90%;
    box-sizing: border-box;
}
    nav {
        flex-direction: column;
        gap: 10px;
    }

    nav a {
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    header {
padding: 15px 10px; /* Adjust padding for smaller screens */
}
    header .logo img {
        height: 40px;
    }

    header .logo span {
        font-size: 1.2em;
    }

    .container {
    background: rgba(230, 247, 255, 0.9);
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin-top: 300px;
    width: 90%;
    box-sizing: border-box;
}

    h2 {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    header {
        padding: 15px 10px;
        gap: 10px;
    }

    header .logo img {
        height: 30px;
    }

    header .logo span {
        font-size: 1em;
    }

    nav a {
display: inline-block; /* Ensure the links behave like buttons */
font-size: 14px; /* Adjust font size for mobile view */
color: #fff; /* Text color */
text-decoration: none; /* Remove underline */
background-color: rgba(111, 197, 255, 0.35); /* Button background color */
padding: 10px 0; /* Add vertical padding for a consistent appearance */
width: 150px; /* Set a fixed width for all buttons */
text-align: center; /* Center-align the text */
border: 2px solid #6fc5ff; /* Add a border matching the background color */
border-radius: 5px; /* Rounded corners for buttons */
transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

nav a:hover {
background-color: rgb(91, 177, 230); /* Slightly darker shade on hover */
border-color: #5bb0e6; /* Match border color with hover background */
transform: scale(1.05); /* Slight scaling effect */
}

nav a:active {
background-color: #4a9bcc; /* Even darker shade when clicked */
border-color: #4a9bcc;
}

    .container {
    background: rgba(230, 247, 255, 0.9);
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin-top: 300px;
    width: 90%;
    box-sizing: border-box;
}

    h2 {
        font-size: 1.5em;
    }

    input, button {
        width: 100%;
    }
    input {
    width: 90%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

}