/* Global Reset */
body, h1, h2, p, a {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

/* Body Styling */
body {
    background: url('https://images.pexels.com/photos/5011647/pexels-photo-5011647.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat center center fixed; /* New background image */
    background-size: cover; /* Ensure the image covers the entire page */
    background-attachment: fixed; /* Keeps the background fixed */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers the content */
    align-items: center; /* Horizontally centers the content */
    min-height: 100vh;
}

/* Header Styling */
header {
    /*background-color: rgba(255, 255, 255, 0.7); /* Transparent black background */
    color: white;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10; /* Ensures the header stays on top */
    backdrop-filter: blur(10px); /* Optional: Adds blur effect to blend with background */
}

header .logo h1 {
    font-size: 3rem;
    font-weight: bold;
}

header nav {
    margin-top: 15px;
}

header nav a {
    color: white;
    text-decoration: none;
    margin: 0 20px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #d1a7f7; /* Light purple hover */
}

/* Main Content Section */
.container {
    text-align: center;
   /* background-color: rgba(0,0,0, 0.9); /* Semi-transparent white background */
    padding: 40px;
    margin-top: 100px; /* Margin to avoid overlap with fixed header */
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Footer Styling */
footer {
    background-color: rgba(0, 0, 0, 0.7); /* Transparent black background */
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 10; /* Ensures footer stays on top */
    backdrop-filter: blur(10px); /* Optional: Adds blur effect to blend with background */
}

footer a {
    color: #d1a7f7;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    header nav a {
        font-size: 1rem;
        margin: 0 10px;
    }

    .container h2 {
        font-size: 2rem;
    }

    .container p {
        font-size: 1rem;
    }

    footer {
        font-size: 0.875rem;
    }
}