body {
    height: 200vh;
    background: hsla(227, 100%, 12%, 1);

    background: linear-gradient(180deg, hsla(227, 100%, 12%, 1) 34%, rgb(222, 174, 29) 100%);
    
    background: -moz-linear-gradient(180deg, hsla(227, 100%, 12%, 1) 34%, hsla(0, 71%, 44%, 1) 100%);
    
    background: -webkit-linear-gradient(270deg, hsla(227, 100%, 12%, 1) 34%, rgb(51, 159, 44%, 8) 100%);
    
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#000D3D", endColorstr="#BF2020", GradientType=1 );

    background-attachment: fixed;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    transition: 0.5s;
    margin-top: 60px;  
    align-items: center;
    height: 100vh;
}

.nav {
    background-color: rgba(0, 13, 61, 0.8);
    padding: 20px;
    position: fixed;
    top: 0;
    z-index: 10;
    opacity: 1; 
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
    color: white;
    padding: 14px 16px;
    transition: opacity 225ms ease-in-out;
}

.fetch_logo {
    color: whitesmoke;
    padding-right: 30px;
    height: auto;
    font-size: 200%;
}

.nav-link {
    position: relative;
    color: white;
    text-decoration: none;
    display: inline;
    font-size: 1.4em;
    padding: 10px;
    border-radius: 35%; 
    transition: 0.3s;
    margin-right: 30px; 
    opacity: 150%;
}

.nav-link::before {
    content: ' ';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75px; 
    height: 40px; 
    background-color: rgba(255, 255, 255, 0); 
    border-radius: 50%;
    transition: background-color 0.3s ease; 
    z-index: -1; 
}

.nav-link:hover::before {
    background-color: rgba(255, 255, 255, 0.3); 
}

.dropdown {
    float: left;
    overflow: hidden;
    transition: opacity 225ms ease-in-out;
}

.dropdown .dropbtn {
    font-family: Arial, sans-serif;  
    border: none;
    outline: none;
    font-size: 1.4em;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    transition: opacity 0.3s ease, background-color 0.3s ease;;
    margin: 0;
}


.title-container {
    text-align: center;
    margin: 20px;
}

.title-container h1 {
    margin: 0;
    font-size: 2.5em;
}

.title-container p {
    margin: 5px 0 0;
    color: #777;
}

.pictures-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-group {
    background-color: rgba(255, 255, 255, 0);
    border-radius: 8px;
    margin: 20px;
    padding: 20px;
    width: 80%;
    box-shadow: 0 4px 8px rgba(119, 119, 119, 0.1);
    text-align: center;
   

}

.game-group h2 {
    text-align: center;
    font-size: 2em;
    margin: 0 0 20px;
}

.image-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.imgLink:hover{
    transform: scale(1.5);
    transition: transform .5s ease-in-out;
}

.imgLink {
    border: none;
    background: none;
    transition: transform .5s ease-in-out;
    border-radius: 5px;
}

.imgLink img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
    border-radius: 5px;
}

.imgLink:active img, .imgLink:focus img {
    width: 900px;
    height: 500px;
}

  
  .game-group a {
    background-image: linear-gradient(
      to right,
      #c687f9,
      #ae59f4 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;
    text-align: center;
  }
  
  .game-group a:before {
    content: '';
    background: #54b3d6;
    display: block;
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    transition: all 0.3s ease-in-out;
  }
  
  .game-group a:hover {
    background-position: 0;
  }
  
  .game-group a:hover::before {
    width: 100%;
  }


h1{
    padding-top: 80px;
    font-size: 6em;
    margin-bottom: 20px;
    margin-top: 125px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.949);
    color: white;
}

.title-container p {
    color: white;
    font-size: 1.2em;
    margin-top: 10px;
    }

h2{
    color: white;
}


@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;
    }

    .imgLink:hover{
        transform: none;
        transition: none
    }
    
    .imgLink {
        border: none;
        background: none;
        transition: none;
    }
    
  

  }