@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #6fc5ff; /* Set the background color to #6fc5ff */
    animation: fadeIn 1.5s ease-in-out;
    background: url('../PICTURES/Background_01.jpg') no-repeat center center fixed;
    background-size: cover; /* Ensure the image covers the entire background */
}

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;
    width: 100%; /* Ensure the header spans the full width */
    box-sizing: border-box; /* Include padding in the width calculation */
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    height: 60px;
    margin-right: 15px;
    animation: bounceIn 1.5s ease-in-out;
}

header .logo span {
    font-size: 30px;
    font-weight: bold;
    color: #fff;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #333;
}

nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s;
    position: absolute;
    bottom: -5px;
    left: 0;
}

nav a:hover::after {
    width: 100%;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

@keyframes bounceIn {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

main {
    text-align: center;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

main .description {
    background: rgba(4, 42, 67, 0.84);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 900px; /* Ensure the description doesn't overflow */
    width: 100%; /* Full viewport width */
    margin: 0 auto; /* Centers the description horizontally */
    overflow: hidden; /* Ensures content stays inside the container */
}

main .description img {
    max-width: 100%; /* Full width for images within description */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 10px;
}

main .description h1 {
    font-size: 24px; /* Smaller font size for mobile */
    margin-bottom: 10px;
    line-height: 1.4; /* Add line height for better readability */
}

main .description p {
    font-size: 16px; /* Adjust paragraph font size */
    line-height: 1.6; /* Improve readability */
}

main .description a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #fff;
    color: rgb(4, 42, 67);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

main .description a:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

footer {
background: #333;
color: #fff;
text-align: center;
padding: 10px 20px;
position: fixed; /* Fix the footer to the bottom */
left: 0;
width: 100%; /* Ensure full width */
bottom: 0;
}


footer p {
    margin: 0;
    font-size: 14px;
}

/* Center the Search Button */
@media (max-width: 1024px) {
    .main-container {
        width: 90%; /* Reduce width for medium screens */
    }

    main .description h1 {
        font-size: 28px; /* Adjust for medium-sized screens */
    }
}

@media (min-width: 1025px) {
    header {
        flex-direction: row; /* Default direction for larger screens */
        justify-content: space-between;
        align-items: center;
        padding: 20px 15px; /* More padding for larger screens */
    }

    .logo img {
        max-width: 150px; /* Increase logo size for large screens */
    }

    main .description h1 {
        font-size: 32px; /* Increase font size for larger screens */
    }

    nav {
        flex-direction: row; /* Horizontal menu items */
        gap: 30px; /* Spacing between menu items */
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column; /* Stack header elements vertically */
        text-align: center;
        gap: 15px; /* Add spacing between elements in the header */
        padding: 15px 10px; /* Adjust padding for smaller screens */
    }

    header .logo img {
        max-width: 150px; /* Increase logo size for large screens */
    }

    nav {
        flex-direction: column; /* Stack menu items vertically */
        align-items: center;
        gap: 20px; /* Add more space between menu items */
    }

    main .description img {
        max-width: 100%; /* Full width for images within description */
    }

    main .description h1 {
        font-size: 20px; /* Reduce font size for smaller screens */
    }

    main .description p {
        font-size: 14px; /* Smaller text for better fit */
    }
}

@media (max-width: 480px) {
    header {
background: rgb(4, 42, 67);
padding: 20px;
display: flex;
justify-content: center; /* Center the logo and navigation */
align-items: center;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
width: 100%; /* Ensure the header spans the full width */
box-sizing: border-box; /* Include padding in the width calculation */
}


    header .logo {
        margin-bottom: 10px; /* Add space between the logo section and the menu */
    }

    header .logo img {
        height: 30px; /* Smaller logo for mobile view */
        margin-right: 10px;
    }

    header .logo span {
        font-size: 20px; /* Smaller font size to fit in one line */
        white-space: nowrap; /* Prevent text wrapping */
    }

    nav {
flex-direction: column;
align-items: center;
gap: 10px; /* Space between menu items */
}

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;
}

main .description {
background: rgba(4, 42, 67, 0.84);
color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
text-align: center;
max-width: 500px; /* Ensure a maximum width for smaller screens */
margin: 0 auto; /* Centers the description horizontally */
padding-left: 0px; /* Add padding to left side */
padding-right: 0px; /* Add padding to right side */
overflow: hidden; /* Ensures content stays inside the container */
top: 0; /* Offset the description box to align with header */
}


main .description img {
    max-width: 80%; /* Full width for images within description */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 10px;
}

main .description h1 {
    font-size: 24px; /* Smaller font size for mobile */
    margin-bottom: 10px;
    line-height: 1.4; /* Add line height for better readability */
}

main .description p {
    font-size: 16px; /* Adjust paragraph font size */
    line-height: 1.6; /* Improve readability */
}

main .description a:hover {
    background-color: rgba(255, 255, 255, 0.8);
}
}