/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.logo {
    position: fixed; /* Fixed position to keep it in place while scrolling */
    bottom: 10px; /* Distance from the bottom */
    right: 10px; /* Distance from the right */
    width: 60px; /* Adjust the size of the logo */
    height: auto; /* Maintain aspect ratio */
    z-index: 1000; /* Ensure it stays on top of other elements */
    opacity: 0.8; /* Slightly transparent for a subtle look */
    transition: opacity 0.3s ease; /* Smooth hover effect */
}

.logo:hover {
    opacity: 1; /* Fully visible on hover */
}

body {
    font-family: 'Silkscreen', cursive;
    background-image: url('bg.jpg'); /* Add your background image here */
    background-size: cover; /* Ensures the image covers the entire background */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed; /* Keeps the background fixed while scrolling */
    color: hwb(229 21% 26%); /* Retro text color */
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 30px;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #edcf12; /* Retro border */
    box-shadow: 0 0 15px rgba(237, 207, 18, 0.6); /* Glowing effect */
}

header h1 {
    font-family: 'Press Start 2P', cursive; /* Retro gaming font */
    font-size: 2.5rem;
    font-weight: 400;
    color: #edcf12; /* Retro yellow text */
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(237, 207, 18, 0.8); /* Glowing text effect */
}

header p {
    font-family: 'Press Start 2P', cursive; /* Retro gaming font */
    font-size: 1.1rem;
    color: #f28f0a; /* Retro orange text */
    text-shadow: 0 0 10px rgba(242, 143, 10, 0.8); /* Glowing text effect */
}

/* Navigation Bar */
nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
    padding: 15px;
    border-radius: 15px;
    border: 2px solid #dc3b18; /* Retro border */
    box-shadow: 0 0 15px rgba(220, 59, 24, 0.6); /* Glowing effect */
}

nav button {
    background-color: #dc3b18; /* Retro red button */
    border: none;
    border-radius: 25px;
    color: #fff;
    padding: 12px 24px;
    font-size: 1rem;
    font-family: 'Silkscreen', cursive; /* Retro font */
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav button:hover {
    background-color: #edb605; /* Retro yellow on hover */
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(237, 182, 5, 0.8); /* Glowing effect on hover */
}

nav button:active {
    transform: translateY(0);
}

/* Main Content Area */
main {
    font-family: 'Courier', sans-serif;
    width: 100%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent white background for readability */
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #68c7c1; /* Retro border */
    box-shadow: 0 0 15px rgba(104, 199, 193, 0.6); /* Glowing effect */
    text-align: center;
}

#game-container {
    margin-top: 20px;
}

#game-container p {
    font-size: 1.1rem;
    color: #333; /* Darker text color for contrast */
}

/* Footer */
footer {
    font-family: 'Courier', sans-serif;
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: #68c7c1; /* Retro cyan text */
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
    padding: 10px;
    border-radius: 15px;
    border: 2px solid #68c7c1; /* Retro border */
    box-shadow: 0 0 15px rgba(104, 199, 193, 0.6); /* Glowing effect */
}

/* Retro Shapes (Responsive) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(237, 207, 18, 0.1) 10%, transparent 15.01%);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
    animation: moveShapes 10s linear infinite;
}

@keyframes moveShapes {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    nav button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    main {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8rem;
    }

    header p {
        font-size: 0.9rem;
    }

    nav button {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    main {
        padding: 10px;
    }
}
/* new code */
/* General Styles */
body {
    font-family: 'Press Start 2P', cursive;
    background-color: #f0f0f0;
    text-align: center;
    padding: 20px;
    margin: 0;
}

header {
    margin-bottom: 20px;
}

h1 {
    color: #f57171;
    font-size: 2.5rem;
}

p {
    color: #555;
    font-size: 1rem;
}

/* Navigation Bar */
nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.game-section {
    background-color: #ffa4fa;
    opacity: 0.8;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 45%;
    max-width: 500px;
}

.game-section h2 {
    font-size: 1.5rem;
    color: #007bff;
    margin-bottom: 15px;
}

button {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    margin-top: 20px;
    color: #00f4fc;
    font-size: 0.9rem;
}

/* Logo */
.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
}
