
body {
  background: linear-gradient(180deg, hsla(227, 100%, 12%, 1) 16%, hsla(174, 39%, 50%, 1) 100%);
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: white;
  scroll-behavior: smooth;
}

.nav {
  background-color: rgba(0, 13, 61, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  z-index: 1000;
}

.nav .nav-link {
  color: white;
  text-decoration: none;
  font-size: 1.2em;
  padding: 10px;
  transition: opacity 0.3s ease;
}

.nav .nav-link:hover {
  opacity: 0.8;
}

.dropdown {
  position: relative;
}

.dropdown .dropbtn {
  color: white;
  background-color: transparent;
  font-size: 1.2em;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(0, 13, 61, 0.8);
  min-width: 160px;
  z-index: 1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.title-container {
  text-align: center;
  margin: 50px 0;
}

.title-container h1 {
  font-size: 3em;
}

.title-container p {
  font-size: 1.2em;
  margin-top: 10px;
}

.videos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
}

.game-section {
  width: 100%; 
  max-width: 700px;
  margin-bottom: 20px;
  text-align: center;
  align-self: center; 
}

.game-section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: azure;
  text-align: center;
}

.videos {
  display: flex;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 20px;
  -webkit-overflow-scrolling: touch;

}

.video {
  width: 200px;
  height: 150px;
  margin-right: 10px;
  cursor: pointer;
  overflow: hidden;
  flex: 0 0 auto;
  position: relative;

}

.video img {
  width: 100%;
  border-radius: 5px;
  height: auto;
}

.videos-container {
  display: flex;
  flex-direction: column;
  align-items: center; 
  margin: 20px;
  text-align: center;
}


h1{
    font-size: 4em;
    margin-bottom: 20px;
    margin-top: 125px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.949);
}

h2{
    font-size: 2em;
    margin-bottom: 20px;
    margin-top: 125px;
    text-shadow: 0 0 20px rgba(177, 173, 173, 0.949);
    color: azure;
    text-align: center;
}



.videos-container a {
    display: block;
    text-align: center;
    margin-top: 20px;
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
    
}

.videos-container a {
    background-image: linear-gradient(
      to right,
      #ffffff,
      #ebe5e5 50%,
      #54b3d6 50%
    );
    background-size: 200% 100%;
    background-position: -100%;
    display: inline-block;
    padding: 5px 0;
    position: relative;
    -webkit-background-clip: Text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease-in-out;
  }
  
  a:before {
    content: '';
    background: #54b3d6;
    display: block;
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    transition: all 0.3s ease-in-out;
  }
  
  a:hover {
   background-position: 0;
  }
  
  a:hover::before {
    width:100%;
  }

  @media (max-width: 768px) {


    .top-container h1 {
      font-size: 1.5em;
    }
  
    .top-container p {
      font-size: 1em;
    }
  
    .games-container {
      grid-template-columns: 1fr;
    }
  
    .nav {
      flex-wrap: nowrap;
      overflow-x: auto;
    }
    
    .nav .dropdown {
      display: none;
    }
  
    .nav-links {
      display: flex;
      flex-direction: row;
      position: static;
      top: auto;
      left: auto;
      background-color: transparent;
      width: auto;
    }
  
    .nav-link {
      padding: 15px;
      border-radius: 0;
    }
  
    .nav-toggle {
      display: none;
    }

    .videos {
        overflow-x: auto;
        flex-wrap: nowrap;
        scroll-behavior: smooth;
      }
    
      .video {
        width: 150px; 
        height: 100px; 
        margin-right: 5px; 
      }
    
      .game-section h2 {
        font-size: 1.5em; 
        margin-bottom: 10px;
        margin-top: 20px;
      }
    
      .videos-container a {
        font-size: 0.9em; 
      }
  
  }