body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: url('https://cdn.wallpapersafari.com/83/87/homjEO.jpg');
    color: #333;
}

a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

/* Header Styling */
header {
    background: linear-gradient(to right, #333, gray);
    padding: 10px 0;
}

nav {
    display: flex;
    justify-content: center; /* Center-align the nav items */
    align-items: center;
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline;
    margin-right: 0px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
}

nav ul li a:hover {
    background-color: gray;
}

.container {
    max-width: flex;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Main Content */
main {
    text-align: center;
    padding: 10px;
}

h2 {
    color: white;
    margin-bottom: 1.5rem;
}

/* Lab Buttons */
.lab-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.lab-buttons .button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    text-decoration: none;
    background-color: gray;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.lab-buttons .button:hover {
    background-color: black;
    transform: scale(1.05);
}

.lab-buttons .button:active {
    transform: scale(0.95);
}

/* Responsive Design */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    header nav ul li {
        margin: 10px 0;
    }

    .lab-buttons {
        flex-direction: column;
    }
}
