
body {
  margin: 0;
  font-family: Verdana, sans-serif;
  background-color: #00008B;
  color: white;
}


#LOGOWEB {
  text-align: center;
  margin: 30px auto;
}

#LOGOWEB img {
  max-width: 100%;
  height: auto;
}

#LOGOWEB p,
#LOGOWEB h5 {
  margin: 10px 0;
}


nav {
  background-color: #9028c5;
  padding: 10px;
  text-align: center;
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links li {
  display: inline-block;
  margin: 0 10px;
}
/* Project Banner */
.project-banner {
  text-align: center;
  margin: 60px auto 30px;
}

.project-banner img {
  max-width: 600px;
  height: auto;
  border-radius: 10px;
}


.Project_select_Sec {
  background-color: #9028c5;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  border-radius: 10px;
  box-sizing: border-box;
     margin-bottom: 60px;
}

.project-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px; /*change the gap between  project slect and footer*/
}

.project-grid a img {
  max-width: 220px;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.project-grid a img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Astro site 2 Rave Section */
.rave-section {
  text-align: center;
  margin-top: 40px;
}

.rave-section img {
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.rave-section img:hover {
  transform: scale(1.03);
}

.Ad-left {
  position: absolute;
  left: 50px;             
  top: 557px;         
  bottom: 100px;       
  width: 313px;       
  text-align: center;
 
}

.Ad-right {
  position: absolute;
  right: 50px;           
  top: 557px;
  bottom: 100px;       
  width: 313px;     
  text-align: center;
}


.Ad-left img,
.Ad-right img {
  max-width: 97%;     
  height: 665px;       
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

/* Mobile ad hidden by default */
.Ad-Mobile {
  display: none;
}

/* Mobile ad image styling */
.Ad-Mobile img {
  max-width: 100%;   
  width: 313px;      
  height: auto;      
  display: block;
  margin: 0 auto;    /* center horizontally */
  border-radius: 8px;
}

/* Responsive tweaks: show mobile ad, hide side ads */
@media (max-width: 768px) {
  .Ad-left,
  .Ad-right {
    display: none; /* hide side ads */
  }

  .Ad-Mobile {
    display: block; /* show mobile ad */
    margin: 20px 0;
  }

  .Ad-Mobile img {
    width: 250px; /* shrink further on small screens */
  }
}

footer {
  background-color: #9028c5;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-section img {
  width: 250px;
  margin-bottom: 10px;
}

.footer-section h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin: 5px 0;
}

.footer-section a {
  color: white;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}




/* Responsive Tweaks */
@media (max-width: 768px) {
  .slideshow-container {
    max-width: 100%;
    margin: 20px;
  }

  .content-grid {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
  }

  .GameIndexNav ul {
    flex-direction: column;
    gap: 10px;
  }

  .footer-grid {
    flex-direction: column;
    align-items: center;
  }
}