/* General styling */
body {
    background-color: black; /* Sets the background color of the website */
    margin: 0; /* Removes default margin */
    color: white; /* Sets text color to white for better contrast */
    font-family: Arial, sans-serif; /* Sets a clean font */
}

/* Navigation bar styling */
nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centers logo and menu items horizontally */
    align-items: center; /* Aligns items vertically */
    background: linear-gradient(to right, rgba(0, 0, 255, 0.45), rgba(255, 192, 203, 0.45)); /* Gradient background */
    padding: 15px 20px;
    position: fixed; /* Keeps the menu at the top */
    top: 0;
    width: 100%; /* Full width */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Adds shadow for depth */
    z-index: 1000; /* Ensures it stays above other content */
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
}

.logo img {
    max-height: 50px; /* Sets a fixed height for the logo */
    margin-right: 10px; /* Adds space between logo image and text */
}

.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

nav a {
    text-decoration: none;
    color: white; /* White text for menu items */
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Light hover effect */
}

/* Content box styling */
.content-box {
    margin: 100px auto; /* Centers the box vertically and horizontally */
    padding: 20px;
    border: 2px solid white; /* White border around the box */
    border-radius: 15px; /* Rounded corners */
    width: 90%; /* Makes the box responsive to device width */
    max-width: 800px; /* Limits the width on larger screens */
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2); /* Adds a subtle shadow */
    text-align: center; /* Centers content inside the box */
}

.content-box img {
    border-radius: 10px; /* Rounded corners for the image */
    border: 2px solid white; /* White border around the image */
    max-width: 150px; /* Sets a fixed width for the image */
    height: auto; /* Maintains aspect ratio */
    margin-bottom: 20px; /* Adds space below the image */
}

.content-box h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.content-box h2 {
    font-size: 1.8em;
    margin-top: 20px;
    text-decoration: underline;
}

.content-box p {
    font-size: 1.2em;
    line-height: 1.6;
    margin: 10px 0;
}

.content-box ul {
    margin: 10px 0;
    padding-left: 20px;
}

.content-box ul li {
    font-size: 1.2em;
    margin-bottom: 10px;
}

@media (max-width: 700px) {
    nav {
        padding: 12px 12px;
    }

    .logo {
        width: 100%;
        justify-content: center;
        margin-right: 0;
    }

    .menu {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    nav a {
        padding: 8px 12px;
        font-size: 0.95rem;
    }

    .content-box {
        margin-top: 140px;
    }
}