
#site-logo {
    position: absolute;
    top:30px;
    left: 50px;
    width: 150px; /* Adjust as needed */
    height: auto;
    cursor: pointer;
	    margin-bottom: 0;
    padding-bottom: 0;
	transition: transform 0.5s ease-in-out;
}
#site-logo:hover {
   /* transform: rotate(360deg);*/
}



.home-button {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background 0.3s;
}

.home-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}


.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.header-top h1 {
    margin: 0;
    font-size: 24px;
}



body {
      background-image: url('background.avif'); /* Replace with your actual image */
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      background-attachment: fixed;
      margin: 0;
      padding: 0;
      font-family: sans-serif;
}

main {
    flex-grow: 1; /* Pushes footer down */
		 min-height: 600px; 
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(34, 34, 34, 0.8); /* Match header */
    color: white;
    width: 100%;
}

nav {
    margin-top: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 0;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ffcc00;
}

/* Featured Section */
.featured {
    width: 100%;
    max-width: 100vw;
    display: flex;
    justify-content: space-between; /* Distributes items evenly */
    align-items: center;
    flex-wrap: nowrap; /* Prevent wrapping, keep them in one line */
    gap: 15px; /* Adjust spacing */
    padding: 10px 20px; /* Adds some padding */
}

.featured .game {
    width: 180px; /* Adjust size */
	 flex: 1; /* Makes each game block take equal space */
    max-width: 20%; /* Ensures 5 blocks fit in one row */
    height: 220px;
    background-color: #ddd;
    border-radius: 15px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevents image overflow */
    transition: transform 0.2s ease-in-out;
}

.featured .game img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.featured .game:hover {
    transform: scale(1.25); /* Slight zoom effect */
}

.slideshow {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slideshow img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    background-color: white;
    border-radius: 10px;
}

.slideshow button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s ease;
}

.slideshow button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev { left: 10px; }
.next { right: 10px; }

/* Game Grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    padding: 15px;
    flex-grow: 1;
    max-width: 1000px;
    margin: 10px; /* Reduce extra spacing */
	margin-top: 20px; /* Remove any extra space at the top */
    margin-left: 120Px;
	padding-top: 0;
}

.game {
    background: rgba(221, 221, 221, 0.9);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s, opacity 0.3s;
    position: relative;
    overflow: hidden; /* Prevent content overflow */
}

.game img {
    width: 100%;  /* Make sure images fit within their containers */
    height: auto; /* Maintain aspect ratio */
    max-height: 150px; /* Limit height */
    object-fit: cover; /* Ensure images don't overflow */
    border-radius: 10px; /* Keep rounded corners */
	transition: transform 0.2s ease-in-out;
}

.game-grid img:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

.game h3,
.game p {
    opacity: 0; /* Hide text by default */
    transition: opacity 0.3s;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 5px;
	  text-align: center;
    width: 80%;
}

.game:hover h3,
.game:hover p {
    opacity: 1;
}



.game:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Ad Spaces */
.container {
	    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    gap: 20px;
    flex-wrap: wrap;
}

#loading-indicator {
    display: none; /* Hidden by default */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px; /* Keeps it at the bottom */
}

.spinner {
    width: 40px;
    height: 40px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (min-width: 769px) { /* Applies to desktop screens */
    #featured-games, .game-grid {
        width: 100%;
		max-width: 1200px; 
        display: flex;
        justify-content: center; /* Center the games */
        flex-wrap: wrap; /* Ensures wrapping */
        gap: 10px;
    }
}
@media (min-width: 769px) { /* Applies to desktop screens */
    .featured {
        width: 100%;
		max-width:1200px; 
        display: flex;
        justify-content: center; /* Centers the featured games */
        flex-wrap: wrap; /* Ensures proper wrapping */
        gap: 15px; /* Adjust spacing between featured items */
    }

    .featured .game {
        flex: 1 1 calc(20% - 15px); /* Distribute evenly for 5 blocks */
        max-width: 200px; /* Adjust width as needed */
    }
}

@media (max-width: 768px) {
    .game-grid {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* Adjusts columns dynamically */
        gap: 10px;
        justify-content: center;
        padding: 10px;
    }

    .game {
        max-width: 100%;
    }
}


.privacy-container {
    max-width: 800px; /* Limits the content width */
    margin: 20px auto; /* Centers the content */
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left; /* Aligns text inside the container */
	display: block; /* Ensure it's visible */

}

h1 {
    text-align: center; /* Centers the heading */
}

h2 {
    color: #007bff;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}
p {
    color: #333; /* Dark text to contrast with light background */
    font-size: 16px; /* Ensure readable size */
}


