/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Body Styling */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    color: #333;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../image/1.png');
    background-size: cover;
    background-position: center;
    opacity: 0.65;
    z-index: -1;
}

body {
    background-color: rgba(244, 244, 249, 0.8);
}

/* Header Styling (as Nav) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    background-color: transparent; /* Changed from green to transparent */
    color: #333; /* Changed from white to dark text */
    padding: 10px 20px;
    z-index: 10;
}

header h1 {
    display: none; /* Hide the heading completely */
}

header p {
    font-size: 1rem;
}

/* Main Section */
main {
    text-align: center;
    background: rgba(255, 255, 255, 0.8); /* Changed to RGBA for transparency */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    margin-top: 80px; /* Offset for fixed header */
}

main h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #333;
}

/* Buttons Styling */
button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 15px;
    margin: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #45a049;
}

button:active {
    background-color: #3e8e41;
}

/* Responsive Design */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.5rem;
    }

    main h2 {
        font-size: 1.25rem;
    }
}

/* Navigation Bar Styles */
.nav-bar {
    display: flex;
    justify-content: center;
    background-color: rgba(76, 175, 80, 0.85); /* Semi-transparent green */
    padding: 10px; /* Padding for the nav bar */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 2px 4px rgba(172, 163, 163, 0.1); /* Subtle shadow for depth */
    margin-top: 5px; /* Reduced space above the nav bar */
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px 20px; /* Padding for links */
    border-radius: 5px; /* Rounded corners for links */
    transition: background-color 0.3s, transform 0.2s; /* Smooth transitions */
    background-color: rgba(62, 142, 65, 0.8); /* Darker green with 80% opacity */
    margin: 0 5px; /* Space between links */
}

.nav-link:hover {
    background-color: rgba(54, 124, 60, 0.8); /* Slightly darker shade with 80% opacity on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

@media (max-width: 600px) {
    header h1 {
      display: none;
    }
  }
