body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a2e; /* Dark background */
    color: #eaeaea; /* Light text color for contrast */
}



header {
    background: url('images/cover.avif') no-repeat center center; /* Background image for header */
    background-size: cover; /* Change to 'cover' to fill the width of the header */
    color: #fff;
    padding: 165px 0; /* Padding for header */
    text-align: center;
    background-color: #16213e; /* Dark blue for header and footer */
}

.logo {
    max-width: 100px; /* Adjusted logo size to be smaller */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensures the logo is a block element */
    margin: 10px auto; /* Center the logo with margin */
}

.categories {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    margin: 20px 0; /* Space between categories and header/footer */
    background-color: #16213e; /* Change category background to white */
    color: #fff; /* Set text color to black for visibility */
    border-radius: 8px; /* Optional: rounded corners */
    padding: 20px; /* Optional: padding for better spacing */
}

.category {
    background-color:  #0f3460; /* Darker blue for sections */
; /* Ensure each category has a white background */
    border: 1px solid #eaeaea; /* Optional: border for better separation */
    border-radius: 8px; /* Optional: rounded corners */
    padding: 10px; /* Optional: padding for better spacing */
    text-align: center;
    width: 30%; /* Fixed width for all categories */
    margin: 0 10px; /* Space between categories */
}

.category img {
    max-width: 250px; /* Fixed size for all category images */
    height: auto; /* Maintain aspect ratio */
}

.category h2 a {
    display: inline-block; /* Make the link behave like a block element */
    padding: 10px 20px; /* Add padding to the link */
    background-color: #007BFF; /* Button background color */
    color: #fff; /* Button text color */
    border-radius: 5px; /* Rounded corners */
    text-decoration: none; /* Remove underline */
    transition: transform 0.3s ease; /* Smooth transition for scaling */
}

.category h2 a.animate {
    animation: pulse 1s infinite; /* Add pulse animation */
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1); /* Scale up */
    }
}

footer {
    text-align: center;
    padding: 20px 0; /* Increased padding for footer */
    background: #333;
    color: #fff;
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: #16213e; /* Dark blue for header and footer */
}

.instructions, .about-us {
    background-color: #0f3460; /* Darker blue for sections */
    border-radius: 8px; /* Optional: rounded corners */
    padding: 20px; /* Optional: padding for better spacing */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.instructions h2, .about-us h2 {
    color: #fff; /* Changed text color to white */
}

.instructions p, .about-us p {
    color: #fff; /* Changed text color to white */
}

h2 {
    color: #fff; /* Changed text color to white */
}
