* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    position: relative;
    font-family: Arial, sans-serif;
    background-image: url('../images/background4k.png');
    background-color: #1a1a1a;
    background-position: 0 0; /* Initial position (top-left) */
    background-repeat: repeat; /* Allow background to repeat */
    background-size: 3840px 2160px; /* Adjust based on the image size */
    color: white;
    min-height: 100vh; /* Full viewport height */
    display: flex;
    flex-direction: column;
    animation: moveBackground 30s linear infinite; /* Smooth infinite animation */
}

@keyframes moveBackground {
    0% {
        background-position: 0 0; /* Start at the top-left */
    }
    100% {
        background-position: 500px 500px; /* Move to bottom-right */
    }
}


body::before {
    content: ''; /* Required for pseudo-element */
    position: absolute; /* Positioning for the overlay */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1); /* Dark gradient overlay */
    z-index: 1; /* Ensure the overlay is above the background image */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    z-index: 2; /* Ensure header is above the overlay */
    position: relative; /* Required for the z-index to work */
    background-color: #ffffff08;
    box-shadow: 0 0px 200px rgba(0, 0, 0, 0.5), 0 0px 9px rgb(255 255 255 / 12%) inset;
    backdrop-filter: blur(2px);
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo-image {
  height: 100%; /* Adjust the height to match the div */
  max-height: 40px; /* Set a maximum height for the image */
  margin-right: 6px; /* Add some space between the image and text */
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
}

.banner {
    text-align: center;
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    position: relative;
    z-index: 2; /* Ensure banner content is above the overlay */
}

.banner h1 {
    font-size: 50px;
    color: #ffd700;
}

.banner p {
    font-size: 20px;
    margin: 20px 0;
}

.banner button {
    padding: 10px 30px;
    font-size: 18px;
    background-color: #ff805054;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-top: 12px;
    box-shadow: 0 0px 11px rgb(0 0 0 / 20%), 0 0px 5px 2px rgb(255 255 255 / 20%) inset;
}

.banner button:hover {
    background-color: #ff7f5073;
}

.games-section {
    padding: 25px 20px; /* Reduced horizontal padding for smaller screens */
    text-align: center;
    background-color: #ffffff08;
    margin-bottom: 50px;
    z-index: 2; /* Ensure game section is above the overlay */
    position: relative; /* Required for the z-index to work */
    box-shadow: 0 0px 200px rgba(0, 0, 0, 0.5), 0 0px 9px rgb(255 255 255 / 12%) inset;
    backdrop-filter: blur(2px);
}

.games-section h2 {
    margin-bottom: 25px;
    font-size: 32px;
}

.games-container {
    display: flex;
    flex-wrap: wrap; /* Allow cards to wrap */
    justify-content: center; /* Center the items */
    gap: 20px; /* Space between cards */
}

.game-card {
    background-color: #ffffff17;
    padding: 10px;
    width: 200px;
    border-radius: 10px;
    transition: transform 0.3s;
    text-align: center;
    margin: 10px;
    box-shadow: 0 0px 30px rgba(0, 0, 0, 0.2), 0 0px 6px rgb(255 255 255 / 19%) inset;
}

.game-card img {
    max-width: 100%;
    border-radius: 7px;
}

.game-card h3 {
    font-size: 18px; /* Slightly smaller text */
    padding-top: 6px;
}

.game-card:hover {
    transform: scale(1.05);
}

.shade-text {
    text-shadow: 0 0px 15px rgba(238, 255, 0, 0.47); /* Add shadow */
}

/* Media query for smaller screens */
@media (max-width: 600px) {
    .games-section {
        padding: 25px 10px; /* Adjust padding for smaller screens */
    }

    .game-card {
        width: 150px; /* Adjust card width */
    }
}

/*footer {
    background-color: #222;
    text-align: center;
    padding: 20px;
    width: 100%;
}*/
