body {
	background: rgb(25,138,21);
background: -moz-linear-gradient(0deg, rgba(25,138,21,1) 0%, rgba(1,13,15,1) 82%, rgba(0,0,0,1) 100%);
background: -webkit-linear-gradient(0deg, rgba(25,138,21,1) 0%, rgba(1,13,15,1) 82%, rgba(0,0,0,1) 100%);
background: linear-gradient(0deg, rgba(25,138,21,1) 0%, rgba(1,13,15,1) 82%, rgba(0,0,0,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#198a15",endColorstr="#000000",GradientType=1);
	background-size: cover;
  background-attachment: fixed;
}
.wrapper {
    max-width: 1200px;
    width: 90%;
    margin: 20px auto;
    background: #1e1e1e;
    border: 2px solid #0AF800;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255, 235, 59, 0.7);
    overflow: hidden;
    padding: 20px;
    color: white;
    text-align: center;
    position: relative;
}
h1 {color: rgba(196,213,17,1)}
h2 {
	color: rgba(196,213,17,1);
	text-decoration: none;
}
h3 a {
  text-decoration: none;
  color: inherit; /* Keeps the text color same as h3 */
}

h3 a:hover {
  text-decoration: none; /* Ensures no underline on hover */
}
h3,h4,h5,h6 {font-size: 20px;}
.header {
    display: flex;
    flex-direction: column; /* Stack logo and nav vertically */
    align-items: center; /* Center horizontally */
}
.text-content{
    font-size: 18px;
	
}
.logo-container {
    margin-bottom: 10px; /* Space between logo and nav */
}

.logo-container img {
    width: 100%; /* Image fills the container */
    height: auto;
    display: block;
}

.main-nav ul {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* Key property for wrapping */
    justify-content: center; /* Center the links */
    list-style: none; /* Remove bullet points */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

.main-nav a {
    text-decoration: none;
    color: #fff; /* Default link color */
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.main-nav a:hover {
    background-color: #4CAF50; /* Green background on hover */
    color: white; /* White text on green hover */
}

/* Optional: Add media queries for even finer control */
@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column; /* Vertical navigation on smaller screens */
        align-items: center; /* Center the links */
        gap: 10px;
    }

    .main-nav li {
        width: 100%; /* Make links full width */
        text-align: center; /* Center text within the link */
    }
    .main-nav a{
        display: block; /* Make the whole list item clickable */
    }
}

/* Optional: Style the active/current link */
   a.active,
   a:active{
    background-color: #fff; /* Green background for active/clicked link */
    color: white;
}
.ads-section {
    text-align: center; /* Center the ads */
    margin-top: 40px; /* Space above the ads section */
    padding: 20px; /* Add some padding around the ads section */
    border-top: 1px solid #ccc; /* Add a top border to separate the ads */
    background-color: #f8f8f8; /* Light background for the ad section*/
}

.ads-section h2 {
    margin-bottom: 10px;
    color: #777; /* Slightly darker heading */
}

.ads-section #ad-container-1, .ads-section #ad-container-2 { /* Style the individual ad containers */
    margin: 10px 0; /* Space between ads */
    /* Add any other styling you want for the ad containers */
    min-height: 50px; /* Example min height to prevent collapse if no ad is present */
    border: 1px dashed #ddd; /* Example border to show ad space */
}

/* Main Content */
.intro-section {
    text-align: center;
    margin-right: 0;
    margin-left: 0;
    size: 16px;
}
.info-section {
    text-align: center;
    margin: 40px 0;
    size: 18px;
}

.games-overview {
    margin: 40px 0;
}

.game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.game-card {
    border: 1px solid #fff;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add box-shadow transition */
    background-color: #0CA22B; /* Light background for cards */
	text-decoration: none;
}

.game-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow on hover */
}

.game-card img {
    width: 100%;
    height: auto;
    display: block; /* Prevents image from affecting layout */
}

.game-card h3 {
    margin: 10px 0;
    color: #fff; /* Darker heading color */
	text-decoration: none;
}

.game-card p {
    padding: 0 10px 10px;
    color: #fff; /* Slightly lighter text color */
}
/* game.css - Styles specific to the game page */

.game-section {
    text-align: center; /* Center game content */
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 40px;
}
.game-card a {
  text-decoration: none;
}

.game-card a h3 {
  text-decoration: none;
  color: #fff; /* Ensures the text color is the same as h3 */
}
#game-area {
    /* Style the area where the game is displayed */
    border: 1px solid #fff;
    margin-bottom: 20px;
	height: 640px;
	width: 100%;
}

#game-controls {
    /* Style the game controls area */
    margin-bottom: 20px;
}

#game-info {
    /* Style the game information area */
}
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f0f0f0;
    padding: 20px;
    text-align: center;
    z-index: 1000; /* Asigură afișarea deasupra altor elemente */
  }

  #cookie-banner a {
    color: #007bff;
    text-decoration: none;
  }

  #cookie-preferences {
    display: none; /* Inițial ascuns */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
  }

  #cookie-preferences label {
    display: block;
    margin-bottom: 10px;
  }
.disclaimer-container {
    max-width: 800px; /* Adjust as needed */
    margin: 20px auto; /* Center the disclaimer */
    padding: 20px;
    border: 1px solid #fff;
    border-radius: 5px;
}

.disclaimer-container h2, .disclaimer-container h3 {
    margin-top: 1em; /* Space headings */
}

.disclaimer-container p {
    margin-bottom: 1em; /* Space paragraphs */
    line-height: 1.6; /* Improve readability */
}

/* Optional: Style links within the disclaimer */
.disclaimer-container a {
    color: #007bff; /* Example link color */
    text-decoration: none;
}

.disclaimer-container a:hover {
    text-decoration: underline;
}
/* Footer */
.footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #ccc;
    color: #17C315; /* Slightly lighter footer text */
}

.footer a {
    color: #007bff; /* Example link color */
    text-decoration: none;
    transition: color 0.3s ease; /* Smooth link color transition */
}

.footer a:hover {
    color: #0056b3; /* Darker link color on hover */
}
#joc {
width: 100%;
height: 100%;
background-color: black;
}
#joc:-webkit-full-screen {
width: 100%;
height: 100%;
}
#joc:-moz-full-screen {
width: 100%;
height: 100%;
}
#joc:-ms-fullscreen {
width: 100%;
height: 100%;
}
#joc:fullscreen {
width: 100%;
height: 100%;
}
button {
      background-color: #4CAF50; /* Green background */
      border: none;
      color: white;
      padding: 15px 32px;
      text-align: center;
      text-decoration: none;
      display: inline-block;
      font-size: 16px;
      margin: 4px 2px;
      cursor: pointer;
      border-radius: 8px; /* Rounded corners */
      transition: background-color 0.3s ease; /* Smooth transition */
    }
button:hover {
      background-color: #3e8e41; /* Darker green on hover */
    }
button:active{
        background-color: #2e6e31;
    }