/* General styling */
body {
    margin: 0;
    font: normal 14px/20px 'Roboto', sans-serif;
    height: 100%;
    background-color: #242424;
    color: #fff;
}

/* Navbar styling */
.navbar {
    background-color: #333;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 40px;
    height: 40px;
}

.site-title {
    margin-left: 10px;
    font-size: 20px;
    color: #fff;
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #00ff00;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 160px;
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #555;
}

/* Game Selection styling */
.game-selection {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background-color: #242424;
}

.game-card {
    background-color: #333;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    width: 200px;
}
/* Hover animation */
.game-card {
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: scale(1.05);
    background-color: black;
}

.game-card img {
    width: 100%;
    border-radius: 8px;
}

.game-card h2 {
    margin-top: 10px;
    font-size: 18px;
    color: #fff;
}

.game-card button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #3498db;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.game-card button:hover {
    background-color: #2980b9;
}

/* Footer styling */
.footer {
    background-color: #333;
    padding: 40px;
    color: #fff;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-container div {
    margin-bottom: 20px;
}

.footer-container h2 {
    margin-bottom: 20px;
    color: #00ff00;
}

.footer-container ul {
    list-style-type: none;
}

.footer-container ul li {
    margin-bottom: 10px;
}

.footer-container ul li a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.footer-container ul li a:hover {
    color: #00ff00;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    color: #00ff00;
}

/* Loading Screen */
#loading-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #242424;
    z-index: 9999;
}

.loader {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loading-screen p {
    margin-top: 10px;
    color: #fff;
}

/* Welcome Page */
#welcome-page {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #242424;
    color: #fff;
}

#welcome-page h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

#welcome-page p {
    font-size: 18px;
}

/* Main Page background */
#main-page {
    background-image: url('/Image/logo.png'); /* Replace 'your-background-image.jpg' with the path to your image */
    background-size: cover;
    background-position: center;
}

/* Mouse pointer animation */
#main-page {
    cursor: none;
}

.pointer {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: cyan;
    pointer-events: none;
}
