/* General Styles */
body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #003d4d; /* Dark teal */
    color: white; /* White text */
}

/* Header Section */
header {
    background-color: #004c66; /* Lighter teal */
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* Wraps items for smaller screens */
}

.logo {
    height: 80px;
    width: 80px;
    border-radius: 50%; /* Circular logo */
    background-color: white; /* White background */
    padding: 10px;
}

/* Site Title */
.site-title {
    font-size: 36px;
    margin: 0;
    flex-grow: 1; /* Allows the title to occupy available space */
    text-align: center;
}

/* Navigation Bar */
nav {
    width: 100%;
    background-color: #007e99; /* Navigation background */
    padding: 10px 0;
    display: flex;
    justify-content: center;
}

.navigation {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.navigation li a {
    text-decoration: none;
    color: white;
    padding: 10px 15px;
    background-color: #004c66; /* Button background */
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.navigation li a:hover {
    background-color: #005b73; /* Hover color */
}

/* Main Content */
main {
    text-align: center;
    padding: 50px 20px;
}

main h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

/* Footer */
footer {
    text-align: center;
    background-color: #004c66;
    color: white;
    padding: 10px;
}

/* Logo at Bottom */
.bottom-logo {
    margin: 20px auto;
    height: 80px;
    width: 80px;
    border-radius: 50%;
    background-color: white;
    padding: 10px;
    display: block;
}

/* Responsive Adjustments */

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .site-title {
        font-size: 28px;
    }

    .logo {
        height: 60px;
        width: 60px;
    }

    .navigation {
        gap: 10px;
    }

    .navigation li a {
        padding: 8px 12px;
        font-size: 14px;
    }

    main {
        padding: 30px 15px;
    }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
    header {
        flex-direction: column; /* Stacks the header elements */
        align-items: center;
    }

    .logo {
        height: 50px;
        width: 50px;
    }

    .site-title {
        font-size: 20px;
        text-align: center;
    }

    .navigation {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .navigation li a {
        width: 80%; /* Buttons take more width */
        text-align: center;
    }

    main {
        padding: 20px 10px;
    }

    main h2 {
        font-size: 22px;
    }

    .bottom-logo {
        height: 60px;
        width: 60px;
    }
}
