/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #161616; /* Change background to black */
  color: #ffffffd5; /* Change font color to white */
}



.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #eeeeee33;
  z-index: 16;
}

.scroll-progress-bar {
  height: 100%;
  width: 0;
  background: #0084ff;
  transition: width 0.2s ease-out;
}



/* Nav Bar */
 .navbar {
  display: flex; 
  justify-content: flex-start;
  background-color: #161616; 
  padding: 5px 10px 10px;
  position: sticky; 
  width: 100%;
  top: 12vw; 
  z-index: 10;
  overflow-x: auto; 
  overflow-y: hidden; 
  font-family: "Oswald", serif ;
  letter-spacing: 2px;
  font-weight: 700;
  -webkit-overflow-scrolling: touch; 
  font-style: oblique 20deg;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none; 
  box-shadow: inset 4px 3px 3px 0px #111, 
  inset -2px -4px 4px 0px #333; 
}

 /* Nav Links */
 .nav-links {
  list-style: none;
  display:flex; 
  gap: 5px; 
  justify-content: flex-start;
  align-items: flex-start;
  scroll-snap-type: x mandatory;
 }

 .nav-links li {
  position: relative;
  cursor: pointer;
  scroll-snap-align: start;
  user-select: none; 
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5px;
  width: 120px; /* Adjust size */
  height: 80px; /* Maintain 3:2 ratio */
  overflow: hidden;
 }

 .nav-text {
  position: absolute;
  overflow: auto;
  bottom: -10px;
  width: 110%; 
  color: white;
  font-size: 20px;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.6);
  line-height: 18px;
  padding: 0px 0px 10px 0px;
  border-radius: 3px;
  z-index: 12;
  transform: translateX(-50%);
}
 .content {
  position: relative;
  width: 100%;
  height: 100%;
}
.nav-links video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 5px;
    border-radius: 15px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-links img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}
 .nav-links::-webkit-scrollbar {
  display: none; /* Hide scrollbar */
}


 /* Hover Effect */
 .nav-links :hover {
  /* background-color: #7678f169; */
  background: rgba(255, 100, 100, 0); 
  color: rgb(156, 255, 138); 
  z-index: 10; 
  text-shadow:  
   2px 1px 0 black,
   1.56px  1.45px 0 rgb(0, 195, 255);  
}

.nav-links :hover img {
  border-radius: 50vw !important;
  transform: scale(1.4);
  background-color: #7678f169;
  color: #000000;
}

.nav-links:hover  .nav-text {
transition: none;
}



 .hidden {
  display: none;
}

 /* Active Link */
 .nav-links .active {
  font-size: 200px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  background-color: rgba(0, 0, 0, 0.6); 
  color: #06ac51 !important; 
  border-radius: 5px;
}
 .nav-links .active  .nav-text {
  color: #11f31c;
 }
 
.nav-links li .content {
  transition: opacity 0.3s ease;
}

.nav-links li.video-active .content {
  opacity: 0 !important;
}

.nav-links li video {
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.nav-links li.video-active video {
  opacity: 1;
  z-index: 3;
}

.nav-links li:hover .content {
  transition-delay: 0.3s;
}

/* Ensure video is clickable */
.nav-links li {
  position: relative;
  z-index: 1;
}

.pagination {
  text-align: center;
  top: -10px;
  margin : 2.5vw 0;
}

.pagination :hover {
  transform: scale(1.3);
  background-color: #0084ff;
  animation: pulse 2s infinite;
}

.pagination:hover #page_numbers {
  background-color: rgba(255, 0, 0, 0);
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

#next_page, #prev_page {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background-color: #007bff;
  color: rgb(255, 255, 255);
  border-radius: 15%;
  animation: pulse 2s infinite;
}


#next_page:hover, #prev_page:hover {
  background-color: #007bff;
  color: white;
}
.pagination a {
  color: white;
  background: #333;
  padding: 5px 10px;
  margin: 5px;
  cursor: pointer;
  border-radius: 5px;
}

.pagination a.active {
  background: #f00;
}

#pageCounter {
  font-size: 16px;
  padding: 8px 10px 3px;
  border: 2px solid #007bff;
  font-weight: bold;
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
  animation: pulse 2s infinite;
  cursor: pointer;
}

#next_10, #prev_10 {
  position: relative;
  width: 70px;
  font-size: 20px;
  padding: 2px 0px 5px;
  height: auto;
  font-weight: bold;
  color: rgb(255, 255, 255);
  text-shadow: 0 0 1px #0ff, 0 0 1px #0ff, 0 0 1px #0ff;
  background-color: black;
  border-radius: 6px;
}

.prev-icon55, .next-icon55 {
  position: relative;
  top: 8px;  
  width: 25px;
  height: auto;
  transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth transition */
}

.prev-icon55:hover, .next-icon55:hover {
  background-color: #00000000;
  transform: scale(1.2); 
  opacity: 0.8; 
}

#pageCounter:hover, #next_10:hover, #prev_10:hover {
  background-color: #000;
  box-shadow: 0 0 5px #0ff, 0 0 7px #0ff, 0 0 1px #0ff;
}






/* slider bar  */
.hero {
  position: relative;
  width: 100%;
  height: 70vw; 
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #161616; 
  overflow: hidden;
  /* z-index: 11; */
 }

 /* Slider Container */
 .slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
 }

 /* Slider Wrapper */
 .slider {
  display: flex;
  position: relative;
  transition: transform 1s ease-in-out;
  height: 100%;
  width: 100%;
  
 }

 .slide
 .slider-container,
 .slider {
  pointer-events: none; 
 }

 .slide a {
  pointer-events: auto !important; 
 } 


 /* Individual Slide */
 .slide {
  min-width: 100%;
  position: absolute;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
 }


 .slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2; 
  transition: opacity 0.6s ease-in-out;
 }

 /* Slide Image */
 .slide img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #161616;
  opacity: 0.9;
  transition: all 0.3s ease-in-out;

  /* Mask with fades from all four sides */
  -webkit-mask-image: 
      linear-gradient(to right, transparent 0.3s, #161616 0%, #161616 70%, transparent 0%),
      linear-gradient(to bottom, transparent 0%, #161616 40%, #161616 60%, transparent 100%);
  mask-image: 
      linear-gradient(to right, transparent -1%, #161616 10%, #161616 50%, transparent 100%),
      linear-gradient(to bottom, transparent 1%, #161616 10%, #161616 40%, transparent 100%);
  -webkit-mask-composite: intersect;
  mask-composite: intersect;
  mask-repeat: no-repeat;
  mask-size: none;
 }

 .slide img:hover {
  transform: scale(1.18);
  border-radius: 10px;
  filter: brightness(0.9);
}

 /* Overlay Text */
 .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px; 
  text-align: left;
  color: #fff;
  transform: translateX(0) !important;
  opacity: 1 !important;
  animation: slideText 0.6s ease-in-out forwards;
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
 } 


 @keyframes slideText {
  from {
      transform: translateX(100%);
      opacity: 0;
  }
  to {
      transform: translateX(0);
      opacity: 1;
  }
 }

 /* Slide-in effect */
 .slide-in {
  transform: translateX(0);
  opacity: 1;
 }

 .fade-out {
  opacity: 0;
 }

 .game-name2{
    animation: slideText 0.6s ease-in-out forwards;
  
 }



 /* Game Name Animation */
 .game-name2 {
  position: absolute;
  z-index: 4;
  opacity: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin-top: -50px;  */
  overflow: visible; 
  pointer-events: auto !important; 
  animation: slideIn 0.9s ease-in-out 0.1s forwards ;
  -webkit-filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.8));  
  filter: drop-shadow(10px 5px 0px rgba(0, 0, 0, 0.8));
 }

 @keyframes slideIn {
  from {
      transform: translateX(-100%);
      opacity: 0;
  }
  to {
      transform: translateX(0);
      opacity: 1;
  }
 }



.game_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 188, 212, 0.3);
}

 .game-name2 img {
  right: 5%;
  bottom: 50vw;
  width: 35vw;
  position: relative;
  pointer-events: auto !important;
  mask-image: none !important;  
  -webkit-mask-image: none !important;
  opacity: 1 !important;  
  filter: none !important; 
  background: none !important;
  height: auto;
  animation: zoomInOut 1s ;
  will-change: transform ;
  transition: transform 0.3s ease-in-out;
 }

 @keyframes zoomInOut {
  0% {
    transform: translatey(100%) scale(0.1);
    opacity: 0;
  }
  50% {
    transform: translatey(10%) scale(2);
    opacity: 1;
  }
  100% {
    transform: translatey(0%) scale(1);
    opacity: 1;
  }
}
 .game-name2 img:hover {
  transform: scale(1.5) translateX(5vw) translateY(3vw);
  cursor: pointer;
  transform-origin: center center;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
 }


 /* Progress Bar */
 .progress-bar {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 5px;
  background: #444;
 }


 .progress-active {
  background: rgb(0, 94, 126);
  animation: progressFill 5s linear forwards;
 } 

 @keyframes progressFill {
  from {
      width: 0%;
  }
  to {
      width: 100%;
  }
 }

 /* Progress Bar Container */
 .slider-bar {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  z-index: 3;
 }

 .slider-bar .progress {
  width: 50px;
  height: 3px;
  background: rgba(55, 0, 255, 0.3);
  overflow: hidden;
 }

 .slider-bar .progress::after {
  content: '';
  display: block;
  height: 100%;
  width: 0;
  background: #ffffffd8;
 }


 /* Text Styles */
 .details {
  position: relative;
  right:5px ;
  word-spacing: 5px;
  font-size: 20px;
  font-family: "Alkatra", serif;
  animation: slideText 0.6s ease-in-out forwards;
 }

 .details b {
  width: 30px;
  height: 30px;
  line-height: 35px;
  font-size: 20px;
  background-color: rgb(4, 4, 238);
  color: white;
  text-align: center;
  border-radius: 20%;
  display: inline-block;
  font-weight: bolder;
 }

 .gapop {
  word-spacing: 1px;
  padding-left: 5px;
  padding-right: 5px;
  animation: slideText 0.6s ease-in-out forwards;
 }

 @media screen and (min-width: 550px) {
  .prev, .next {
     font-size : 67px ;
  }
  .nav-links .active {
      font-size: 25px ;
  }
  .nav-links a {
      font-size: 20px;
  }
 
 }



.progret {
  background-color: #161616;
  color:#ffffff;
}


.games_content {
    display: flex;
    flex-wrap: wrap;
    color: #ffffff;
    gap: 20px;
    justify-content: center;
    padding: 10px;
    width: 100%;
}

.game_card {
    position: relative;
    width: 42.169vw;
    border-radius: 8px;
    transition: transform 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
}

.image-link {
  position:relative;
  z-index: 5;
  
}


.game_card::after {
  top: -0px;
  right: 0px;
  width: 75px;
  height: 75px;
  content: '';
  position: absolute;
  background-image: url("Web img/G-LOGO/Lohaput\ logo\ Favicion.png"); 
  background-size: cover;
  background-position: center;
 animation: flip3D 3s ease-in-out infinite;
  z-index: 7;
  pointer-events: none;
}

@keyframes flip3D {
  0% {
    transform: perspective(400px) rotateY(0deg);
  }
  /* 50% {
    transform: perspective(400px) rotateY(180deg);
  } */
  100% {
    transform: perspective(400px) rotateY(360deg);
  }
}


.game_card:hover::after { 
  transform: scale(1.2); 
  transition: transform 0.2s ease-in-out;
}

@keyframes pulse2 {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 15; }
  100% { transform: scale(1); opacity: 1; }
}

.game_card img {
 
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease, filter 0.3s ease;
    border-radius: 5%;

  -webkit-mask-image: 
  linear-gradient(to right, rgba(22, 22, 22, 0.788) 10%, rgba(22, 22, 22, 1) 100%, rgba(22, 22, 22, 1) 5%, rgba(22, 22, 22, 0.85) 1%),
  linear-gradient(to bottom, transparent 0%, #161616 40%, #161616 60%, transparent 95%);

  mask-image: 
  linear-gradient(to right, rgba(22, 22, 22, 0) 1%, rgb(16, 16, 16) 5%, rgba(16, 16, 16, 16) 8%, rgba(22, 22, 22, 0.85) 100%),  
  linear-gradient(to left, rgba(16, 16, 16, 0) 0%, rgb(16, 16, 16) 5%, rgb(16, 16, 16) 8%, rgba(16, 16, 16, 0.85) 100%),  

  linear-gradient(to top, transparent 5%, #161616 20%, #161616 40%, transparent 800%); 
 
-webkit-mask-composite: intersect;
mask-composite: intersect;

mask-repeat: no-repeat;
mask-size: contain;


}

.game_card:hover img {
    transform: scale(1.5) translateY(25px);
    filter: blur(3px);
    filter: opacity(40%);
}

.hover_content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    z-index: 6;
    pointer-events: none;
}

.game_card:hover .hover_content {
    opacity: 1;
    visibility: visible;

}

.version {
  position: absolute;
    bottom: 5px;
    left: 4px;
    text-align: start;
    background: rgba(0, 191, 255, 0.9);
    color: white;
    padding: 4px 8px;
    font-size: 1.2rem;
    max-width: 22vw;
    border-radius: 7px;
    overflow: hidden;
    white-space: nowrap;
    transform: translateY(-10px);
    transition: transform 0.3s ease;
    font-family: "Acme", sans-serif
}

.download-icon {
  position: absolute;
  font-size: 26px;
    bottom: 1px;
    right: 8px;
    width: 42px;
    height: 42px;
    background: #4CAF50;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    transform: translateY(-10px);
    transition: transform 0.3s ease;
}

.game-card:hover .download-icon {
    transform: translateY(0);
  }
  
  .border-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    animation: border-run 1.5s infinite linear;
  }
  
  @keyframes border-glow {
    from { border-color: white; }
    to { border-color: lightgreen; }
  }
  
  .game_info {
    line-height:15px;
    font-size: 20px;
    position: absolute;
    bottom: 55px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    letter-spacing: 2px;
    font-family: "Alkatra", system-ui;
}

.game_info b {
  position: relative;
  background-color: blue; 
  color: white;
  left: 1vw; 
  width: 25px; 
  height: 28px; 
  font-size: 18px; 
  line-height: 35px; 
  text-align: center; 
  border-radius: 20%; 
  display: inline-block; 
  font-weight: bolder; 
}

.favorite-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  background: none !important;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: #ffd700; 
  z-index: 8;
  transform: scale(1); /* Default size */
    transition: transform 0.5s ease-in-out;
}


.far.fa-star, 
.fas.fa-star { 
  background: none !important;
  color: #ffd700;
}

.far.fa-star:hover, 
.fas.fa-star:hover { 
  transform: scale(1.2); /* Increase size */
  text-shadow: 0 0 5px #0ff, 0 0 7px #0ff, 0 0 1px #0ff;
}


/* .favorite-link {
  padding: 10px 20px;
  background: #ffd700;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
}
*/

.favorite-list-page {
  display: none;
} 

.favorite-items {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.favorite-fullsize {
  max-width: 300px;
  margin: 10px;
  border: 3px solid #ffd700;
}

.remove-btn {
  display: block;
  margin: 10px auto;
  padding: 5px 15px;
  background: #ff4444;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.game_name_wrapper {
  position: absolute;
  bottom: 3px;
  left: 10px;
  width: 100%;  
  overflow: hidden;
  white-space: nowrap;
  
}

.game_name {
  font-size: 22px;
  letter-spacing: 0.3vw;
  color: #ffffff;
  font-weight: bolder;
  display: inline-block;
  position: relative;
  font-family: "Overlock SC", sans-serif;
  transform: translateX(0);
  }

  .scrolling {
    animation: scrollText linear infinite;
  }
  
  @keyframes scrollText {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(calc(-50%));
    }
  }

.game_card:hover .game_name {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}


@media screen and (max-width: 350px) {
  
 .hero {
    height: 75vw; 
 }
 .game-name2 img {
  right: 10%;
  bottom: 55vw;
  width: 45vw;
 }

 .details {
  word-spacing: 3px;
  font-size: 18px;
 }

 .details b {
  width: 25px;
  height: 25px;
  line-height: 28px;
  font-size: 20px;
 }

 .game_card::after {
  width: 60px;
  height: 60px;
 }

.game_name {
  font-size: 20px;
}
  
 .game_card {
  width: 40vw;
}

  .game_info {
    font-size: 17px;
    bottom: 45px;
  }
    
  .download-icon {
   font-size: 25px;
   width: 35px;
   height: 35px;
    }

  .version {
    padding: 3px 6px;
    font-size: 1.1rem;
    max-width: 70px;
    }
  .navbar{
    top: 12vw;
   }

   .nav-links li{
     width: 110px;
     height: 70px;
   }

   .nav-text{
     bottom: -14px;
     font-size: 17px;
   }
}

@media screen and (max-width: 299px) {
  .hero {
    height: 75vw;
 }

 .game-name2 {
  right: 70%;
  bottom: -15vw;
  width: 5vw;
 }

 .details {
  word-spacing: 0px;
  font-size: 15px;
 }

 .game_card::after {
  top: 0px;
  right: 0px;
  width: 30vw;
  height: 30vw;
 }

 .details b {
  width: 23px;
  height: 23px;
  line-height: 28px;
  font-size: 18px;
 }

  .game_name {
    font-size: 30px;
   }

   .game_card {
      width: 100%;
    }
    
  .game_info {
    bottom: 60px;
    font-size: 25px;
    line-height: 25px;
  }

  .favorite-btn {
  font-size: 35px;
  }
    .download-icon {
     bottom: 5px; 
     width: 50px;
     height: 50px;
    }

    .version {
      bottom: 5px;
      padding: 3px 3px;
      font-size: 1.8em;
      max-width: 140px;
    }

    .navbar{
     top: 12vw;
    }

    .nav-links li{
      width: 100px;
      height: 60px;
    }

    .nav-text{
      bottom: -14px;
      font-size: 15px;
    }

  .pagination a {
   padding: 5px 9px;
   margin: 3px;
  }
  #next_page, #prev_page {
    font-size: 16px;
  }

  }

  @media screen and (min-width: 395px){
    .navbar{
      top: 11vw;
     }
  }
   @media screen and (min-width: 455px){
    .hero {
      height: 65vw;
   }

   .game-name2 img {
   right: 5%;
   bottom: 50vw;
   width: 50vw;
   }
  
   .details {
    word-spacing: 5px;
    font-size: 25px;
    right: 5px;
   }
  
   .details b {
    width: 33px;
    height: 33px;
    line-height: 38px;
    font-size: 25px;
   }
  
   .game_name {
   font-size: 25px;
   letter-spacing: 0.3vw;
   }

   .game_card {
     width: 43.95vw;
   }

   .favorite-btn {
     font-size: 35px;
     }

   .game_info {
     bottom: 55px;
     font-size: 25px;
     line-height: 25px;
     left: 10px;
   }
   .download-icon {
    font-size: 25px;
    width: 50px;
    height: 50px;
   }
  
   .version {
     padding: 3px 8px;
     font-size: 1.6em;
     max-width: 28vw;
     left: 10px;
     bottom: 5px;
   }
   .navbar{
     top: 10vw;
    }

 .pagination a {
   padding: 5px 10px;
   margin: 7px;
   font-size: 23px;
  }
  #next_page, #prev_page {
    padding: 5px 12px;
    font-size: 25px;
  }
  #next_10, #prev_10 {
   width: 100px;
   height: 50px;
   font-size: 30px;
   padding: 0px 0px 5px;
  }
  .prev-icon55, .next-icon55 {
   top: 8px;  
    width: 40px;
  }
  #pageCounter {
    font-size: 22px;
    padding: 8px 10px 3px;
    position: relative;
    top: -4px;
    border: 2px solid #007bff;
    }
 }

    @media screen and (min-width: 500px){
      .navbar{
        top: 9.3vw;
       }
    }

  @media screen and (min-width: 550px){
    .hero {
      height: 55vw;
   }
   .game-name2 img {
    right: 5%;
    bottom: 43vw;
    width: 45vw;
   }
   .details {
    word-spacing: 5px;
    font-size: 25px;
    right: 0px;
   }
  
  
  .game_name {
    font-size: 22px;
    letter-spacing: 0.3vw;
  }
  .game_card {
    width:28.7vw;
  }
  .game_info {
    bottom: 55px;
    font-size: 23px;
    line-height: 20px;
    left: 10px;
  }
  .game_info b {
  width: 28px; 
  height: 28px; 
  font-size: 18px; 
  line-height: 35px; 
  }
  .download-icon {
   font-size: 30px;
   width: 45px;
   height: 45px;
  }

  .version {
    bottom: 5px;
    padding: 1px 6px;
    font-size: 1.6rem;
    max-width:16vw;
  }
  .navbar{
    top: 8.5vw;
   }

   .nav-links li{
     width: 130px;
     height: 90px;
   }

   .nav-text{
     bottom: -9px;
     font-size: 22px;
   }
  }

  @media screen and (min-width: 610px){
    .navbar{
      top: 8vw;
     }
 .game_card::after {
   top: -8px;
   width: 90px;
   height: 90px;
  }
  }
    @media screen and (min-width: 680px){
    .hero {
        height: 60vw;
     }

     .game-name2 img {
      right: 5%;
      bottom: 50vw;
      width: 45vw;
     }

     .details {
      word-spacing: 5px;
      font-size: 30px;
      left: 5px;
     }

    .game_name {
      font-size: 25px;
      letter-spacing: 0.2vw;
    }

    .version {
      max-width: 19vw;
      font-size: 1.7rem;
    }
    .game_info {
      line-height: 20px;
      font-size: 25px;
    }
    .game_info b {
      width: 32px; 
      height: 32px;
      bottom: 0.5vw;
      font-size: 22px; 
      line-height: 35px; 
      }
      .navbar{
      top: 7.5vw;
     }
  
     .nav-links li{
       width: 140px;
       height: 95px;
     }
  
     .nav-text{
       bottom: -8px;
       font-size: 24px;
     }
    }
   
  @media screen and (min-width: 710px){
   .navbar{
    top: 7vw;
   }
    }   

  @media screen and (min-width: 770px){
   .navbar{
    top: 6.7vw;
   }
    }

    @media screen and (min-width: 801px){

    .hero {
     height: 55vw;
     }

  .game-name2 img {
      right: 0%;
      bottom: 43vw;
      width: 40vw;
     }

    .game_name {
      font-size: 27px;
      letter-spacing: 0.18vw;
    }
    .favorite-btn {
    font-size: 50px;
    left: 15px;
    top: 15px;
    }
    .game_card {
      width:30vw;
    }
    .game_info {
      line-height: 28px;
      font-size: 33px;
      bottom: 79px;
    }
    .game_info b {
    width: 40px; 
    height: 35px;
    font-size: 25px; 
    line-height: 45px; 
      }
    .download-icon {
    width: 60px;
    height: 60px;
    font-size: 40px;
    bottom: 5px;
    right: 15px;
    }
  
    .version {
      bottom: 10px;
      max-width: 18vw;
      padding: 3px 6px;
      font-size: 2rem;
    }
    .nav-links li{
      width: 140px;
      height: 90px;
    }
    .navbar{
      top: 7.5vw;
     }
    .nav-text{
      bottom: -8px;
      font-size: 24px;
    }

    .pagination a {
      padding: 1vw 2vw;
      margin: 1vw;
      font-size: 2.5vw;
     }
     #next_page, #prev_page {
       padding: 1.1vw 2vw;
       font-size: 2.5vw;
     }
     #next_10, #prev_10 {
      width: 12vw;
      height: 4vw;
      font-size: 4vw;
      padding: 0.5vw 0vw 6.5vw;
     }
     .prev-icon55, .next-icon55 {
      top: 1vw;  
      width: 5vw;
     }
     #pageCounter {
       font-size: 2.2vw;
       padding: 1vw 2vw 1vw;
       position: relative;
       top: -1vw;
       border: 0.5vw solid #007bff;
    }

 .game_card::after {
   top: -8px;
   width: 120px;
   height: 120px;
  }
    }

   @media screen and (min-width: 900px){
   .navbar{
    top: 7vw;
    }
  }


    @media screen and (min-width: 970px){
      .hero {
        height: 55vw;
     }

     .game-name2 img {
      right: 5%;
      bottom: 45vw;
      width: 45vw;
     }

     .details {
      word-spacing: 5px;
      font-size: 33px;
      left: 5px;
     }
    
     .details b {
      width: 38px;
      height: 38px;
      line-height: 48px;
      font-size: 30px;
     }
      .version {
        max-width: 21vw;
      }
      
    .game_name {
      font-size: 30px;
      letter-spacing: 0.1vw;
    }
    .download-icon {
      width: 65px;
      height: 65px;
      font-size: 40px;
      bottom: 5px;
      right: 20px;
      }
   .navbar{
     top: 6.6vw;
    }


     
  }


  @media screen and (min-width: 1024px) {

  .hero {
    height: 53vw;
  }
  .game_name {
    font-size: 25px;
    letter-spacing: 0.2vw;
  }

  .games_content {
    margin-top: 20px;
  }
  .game_card {
    width: 22vw;
  }

 .game_card::after {
   top: -8px;
   width: 100px;
   height: 100px;
  }

  .game_info {
    bottom: 65px;
    line-height: 25px;
    font-size: 29px;
  }

  .game_info b {
    width: 35px; 
    height: 35px;
    font-size: 23px; 
    line-height: 40px; 
  }

  .download-icon {
    bottom: 5px;
    right:10px;
    width: 50px;
    height: 50px;
    font-size: 35px;
  }
  
  .version {
    bottom: 10px;
    left: 15px;
    padding: 3px 6px;
    font-size: 1.7rem;
    max-width: 140px;
  }
  .nav-links li{
    width: 150px;
    height: 100px;
  }
  .navbar{
    top: 6.6vw;
   }
  .nav-text{
    bottom: -8px;
    font-size: 24px;
  }
    }

    @media screen and (min-width: 1050px){
      .navbar{
       top: 6.3vw;
      }

      .pagination a {
        padding: 0.5vw 1.2vw;
        margin: 1vw;
        font-size: 3vw;
       }
       #next_page, #prev_page {
         padding: 0.7vw 1.4vw;
         font-size: 2.5vw;
       }
       #next_10, #prev_10 {
        width: 10vw;
        height: 2vw;
        font-size: 3vw;
        padding: 0vw 0vw 5vw;
       }
       .prev-icon55, .next-icon55 {
        top: 1vw;  
        width: 4vw;
       }
       #pageCounter {
         font-size: 2.2vw;
         padding: 0.2vw 1vw 0.2vw;
         position: relative;
         top: -0.5vw;
         border: 0.5vw solid #007bff;
      }
    }

    @media screen and (min-width: 1100px){
      .hero {
        height: 44vw;
     }
     
     .game-name2 img {
      right: 5%;
      bottom: 38vw;
      width: 36vw;
     }

     .details {
      word-spacing: 5px;
      font-size: 40px;
      left: 5px;
     }
    
     .details b {
      width: 45px;
      height: 45px;
      line-height: 58px;
      font-size: 38px;
     }
      .game_card {
        width: 22.5vw;
      }


      .game_info {
        line-height: 22px;
        bottom: 57PX;
        left: 15px;
        font-size: 26px;
      }
      .game_info b {
        width: 30px; 
        height: 28px;
        left: 5px;
        bottom: 0px;
        font-size: 20px; 
        line-height: 40px; 
      }

        .download-icon {
        bottom: 0px;
        right:10px;
        width: 50px;
        height: 50px;
        font-size: 30px;
        }
        .favorite-btn {
          font-size: 38px;
          left: 15px;
          top: 15px;
        }
        .version {
          bottom: 5px;
          padding: 3px 6px;
          font-size: 1.6rem;
          max-width: 15vw;
        }
        .navbar{
          top: 6.3vw;
         }
    }
    @media screen and (min-width: 1200px){
      .navbar{
        top: 5.3vw;
       }
    }

@media screen and (min-width: 1240px){
  .navbar{
   top: 5vw;
  }
 }

 @media screen and (min-width: 1270px){
  .navbar{
   top: 5.7vw;
  }
 }
 @media screen and (min-width: 1300px){
  .navbar{
   top: 5.8vw;
  }
 }
 @media screen and (min-width: 1340px){
  .navbar{
   top: 5.6vw;
  }
 }
  @media screen and (min-width: 1350px){
  .hero {
    height: 50vw;
  } 

  .game-name2 img {
   right: 5%;
   bottom: 40vw;
   width: 45vw;
  }

  .details {
   word-spacing: 5px;
   font-size: 50px;
   left: 5px;
  }
  
  .details b {
   width: 55px;
   height: 55px;
   line-height: 68px;
   font-size: 46px;
  }

  .game_name {
   font-size: 35px;
   letter-spacing: 0.1vw;
  }

  .favorite-btn {
    font-size: 43px;
  }

  .download-icon {
    bottom: 0px;
    right:15px;
    width: 65px;
    height: 65px;
    font-size: 35px;
  }

  .version {
    left: 18px;
    padding: 2px 6px;
    max-width: 16vw;
    font-size: 2.3rem;
  }

  .game_info {
    line-height: 32px;
    bottom: 70PX;
    left: 15px;
    font-size: 35px;
  }
   .game_info b {
    width: 50px; 
    height: 40px;
    left: 5px;
    bottom: 0px;
    font-size: 28px; 
    line-height: 55px; 
  }
  .navbar {
   padding: 1vw 1vw 1vw;
   top: 5.5vw; 
  }
  .nav-links{
    gap: 1vw; 
  }
  .nav-links .active {
    border-radius: 1.8vw;

  }
  .nav-links li{
    border-radius: 2.2vw;
    width: 11.5vw;
    height: 7.5vw;
  }
  
  .nav-text{
    bottom: -1vw;
    font-size: 1.8vw;
    line-height: 2vw;
    padding: 0px 0px 1vw 0px;
  }
}

@media screen and (min-width: 1400px){
  .navbar{
   top: 4.9vw;
  }
  
   .game_card::after {
    top: -8px;
    width: 120px;
    height: 120px;
   }
 }

 @media screen and (min-width: 1550px){
  .navbar{
   top: 4.6vw;
  }
 }
  @media screen and (min-width: 1600px) {
    .hero {
      height: 50vw;
   }
   .details {
    word-spacing: 5px;
    font-size: 60px;
    left: 20px;
   }
  
   .details b {
    width: 70px;
    height: 70px;
    line-height: 80px;
    font-size: 55px;
   }
    .game_card {
      width:23vw;
    }
    .game_name {
      font-size: 38px;
      letter-spacing: 0.1vw;
    }

    .game_card::after {
    top: -8px;
    width: 140px;
    height: 140px;
   }

    .download-icon {
    bottom: 10px;
    right: 15px;
    width: 80px;
    height: 80px;
    font-size: 50px;
    }
    .favorite-btn {
      left: 20px;
      font-size: 55px;
    }
    .game_info {
      line-height: 32px;
      bottom: 85PX;
      left: 15px;
      font-size: 35px;
    }
    .version {
    left: 18px;
    bottom: 13px;
    padding: 3px 6px;
    font-size: 2.5rem;
    max-width: 270px;
    }

    .navbar{
      top: 4.5vw;
     }
  }
    @media screen and (min-width: 1850px){
      .hero {
        height: 50vw;
     } 
    
  .game_name {
    font-size: 40px;
    letter-spacing: 0.1vw;
  }
     .game_card::after {
      top: -0.5vw;
      width: 9vw;
      height: 9vw;
     }
     .favorite-btn {
      top: 22px;
      left: 18px;
      font-size: 60px;
    }
  .game_info {
      line-height: 45px;
      font-size: 50px;
      bottom: 100px;
      left: 20px;
    }
    .game_info b {
      width: 70px; 
      height: 55px;
      left: 5px;
      bottom: 0px;
      font-size: 40px; 
      line-height: 75px; 
    }
  .download-icon {
      bottom: 8px;
      right: 15px;
      width: 85px;
      height: 85px;
      font-size: 55px;
      }
  
  .version {
        bottom: 15px;
        padding: 4px 6px;
        font-size: 2.8rem;
        max-width: 16vw;
      }
  }

  @media screen and (min-width: 1900px){
    .navbar{
     top: 5vw;
    }
   }

  @media screen and (min-width: 1980px){
    .hero {
      height: 49.5vw; 
    } 
    .version {
      bottom: 15px;
      padding: 3px 6px;
      font-size: 3.3rem;
      max-width: 16vw;
    }
  }
  @media screen and (min-width:2100px){
    .hero {
      height: 49vw;
   }
   .details {
    word-spacing: 5px;
    font-size: 3.5vw;
    left: 2vw;
   }
   .game_name {
    font-size: 45px;
    letter-spacing: 0.1vw;
  }
   .details b {
    width: 5vw;
    height: 3.9vw;
    line-height: 5vw;
    font-size: 3.5vw;
   }
    .version {
      max-width: 250px;
    }
    .download-icon {
      bottom: 8px;
      right: 25px;
      width: 95px;
      height: 95px;
      font-size: 60px;
      }
  }
  
  @media screen and (min-width: 2300px){
      .hero {
        height: 48vw;
     } 
    .game_card {
      width:18.9vw;
    }

     .favorite-btn {
      top: 0.8vw;
      left: 1vw;
      font-size: 3vw;
    }
    .game_info {
      bottom: 3.8vw;
      line-height: 2vw;
      font-size: 2.2vw;
    }
    .game_info b {
      width: 2.5vw;
      height: 2vw;
      left: 0.4vw;
      bottom: 0.3vw;
      font-size: 1.6vw; 
      line-height: 2.2vw; 
    }
    .download-icon {
      bottom: 0.3vw;
      right: 1vw;
      width: 4vw;
      height: 4vw;
      font-size: 3vw;
      }
      .game_name {
        font-size: 1.6vw;
        letter-spacing: 0.1vw;
      }
    .version {
      bottom: 0.8vw;
      left: 0.6vw;
      padding: 0.1vw 0.9px;
      font-size: 1.8vw;
      max-width: 11vw;
    }
  .navbar{
   top: 4.5vw;
  }
  }

 @media screen and (max-height: 500px) {
.hero {
  flex-grow: 1;
  align-self: stretch;
  height: 41vw ;
 }
}

@media screen and (max-height: 350px) {
.hero {
  flex-grow: 1;
  align-self: stretch;
  height: 35vw ;
 }
}

@media (min-width: 9000px) and (max-height: 7000px) {
  .games_content {
  justify-content: start;
  }
  .game_card {
    width: 17.2vw;
  }
  .tool_nav {
  --start-scroll: 1vw;
  --end-scroll: 52vw;
  --max-translate: 51vw;
  }
}
@media (min-width: 8000px) and (max-height: 6000px) {
  .games_content {
  justify-content: start;
  }
  .game_card {
    width: 17.1vw;
  }
  .tool_nav {
  --start-scroll: 1vw;
  --end-scroll: 52vw;
  --max-translate: 49vw;
  }
}
@media (min-width: 7500px) and (max-height: 5500px) {
  .games_content {
  justify-content: start;
  }
  .game_card {
    width: 17.1vw;
  }
  .tool_nav {
  --start-scroll: 1vw;
  --end-scroll: 52vw;
  --max-translate: 49vw;
  }
}
@media (min-width: 6500px) and (max-height: 5000px) {
  .games_content {
  justify-content: start;
  }
  .game_card {
    width: 17vw;
  }
    .tool_nav {
  --start-scroll: 1vw;
  --end-scroll: 52vw;
  --max-translate: 49vw;
  }
}
@media (min-width: 5000px) and (max-height: 4500px) {
  .games_content {
  justify-content: start;
  }
  .game_card {
    width: 17vw;
  }
  .tool_nav {
  --start-scroll: 1vw;
  --end-scroll: 45vw;
  --max-translate: 48vw;
  }
}
@media (min-width: 3800px) and (max-height: 3000px) {
  .games_content {
  justify-content: start;
  }
  .game_card {
    width: 16.8vw;
  }
  .tool_nav {
  --start-scroll: 1.5vw;
  --end-scroll: 48vw;
  --max-translate: 50vw;
  }
}
@media (min-width: 3300px) and (max-height: 2800px) {
  .games_content {
  justify-content: start;
  }
  .game_card {
    width: 16.3vw;
  }
  .tool_nav {
  --start-scroll: 1.5vw;
  --end-scroll: 48vw;
  --max-translate: 50vw;
  }
}
@media (min-width: 2800px) and (max-height: 2500px) {
  .games_content {
  justify-content: start;
  }
  .game_card {
    width: 16.3vw;
  }
  .tool_nav {
  --start-scroll: 3vw;
  --end-scroll: 50vw;
  --max-translate: 50vw;
  }
}
@media (min-width: 2300px) and (max-height: 2100px) {
  .games_content {
  justify-content: start;
  }
  .game_card {
    width: 16.2vw;
  }
  .tool_nav {
  --start-scroll: 3vw;
  --end-scroll: 50vw;
  --max-translate: 50vw;
  }
}
@media (min-width: 2000px) and (max-height: 1800px) {
  .games_content {
  justify-content: start;
  }
  .game_card {
    width: 20.2vw;
  }
  .tool_nav {
  --start-scroll: 3vw;
  --end-scroll: 50vw;
  --max-translate: 52vw;
  }
}

@media (min-width: 1500px) and (max-height: 1400px) {
  .games_content {
  justify-content: start;
  }
  .game_card {
    width: 20vw;
  }
  .tool_nav {
  --start-scroll: 3vw;
  --end-scroll: 50vw;
  --max-translate: 52vw;
  }
}
@media (min-width: 1600px) and (max-height: 1400px) {
  .games_content {
  justify-content: start;
  }
  .game_card {
    width: 20vw;
  }
    .tool_nav {
  --start-scroll: 3vw;
  --end-scroll: 50vw;
  --max-translate: 52vw;
  }
}
@media (min-width: 1024px) and (max-height: 1100px) {
  .games_content {
  justify-content: start;
  }
  .game_card {
    width: 19.5vw;
    
  }
  .tool_nav {
  --start-scroll: 3vw;
  --end-scroll: 42vw;
  --max-translate: 45vw;
  }
} 
@media (min-width: 1350px) and (max-height: 1100px) {
  .tool_nav {
  --start-scroll: 3vw;
  --end-scroll: 50vw;
  --max-translate: 52vw;
  }
}

