@font-face {
    font-family: 'Trench'; 
    src: url(../fonts/TrenchThin-16R0.otf) format('opentype'); 
  
  }
  
@font-face {
    font-family: 'Nexa'; 
    src: url(../fonts/Nexa-ExtraLight.ttf) format('truetype'); 
  
  }

@font-face {
    font-family: 'Nexa Heavy'; 
    src: url(../fonts/Nexa-Heavy.ttf) format('truetype'); 
  
  }
  

@font-face {
    font-family: 'STERION'; 
    src: url(../fonts/Sterion-BLLld.ttf) format('truetype'); 
  
  }

*,
*::before ,
*::after {
      box-sizing: border-box;
      
    }
  

body {
    margin: 80px 0 0 0;
    padding: 0;
    background-color: black;
}

.header_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: 160px;
    width: 100%;
  }

  .global_background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    filter: brightness(0) blur(30px);
    animation: fade-in 5s forwards;
  }


  @keyframes fade-in {
    100% {
      filter: brightness(0.4) blur(0.08rem);
    }
    
  }

  .background-container {
    background-image: url('catalog_images/grid.svg');
    background-size: 40% auto; 
    background-repeat: repeat; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    -webkit-box-shadow: inset 0px 0px 114px 103px rgba(0,0,0,1);
    -moz-box-shadow: inset 0px 0px 114px 103px rgba(0,0,0,1);
    box-shadow: inset 0px 0px 114px 103px rgba(0,0,0,1);
  }

  .animated_background-container {
    background-image: url('catalog_images/grid_frame1.svg');
    background-size: 40% auto; 
    background-repeat: repeat; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    -webkit-box-shadow: inset 0px 0px 114px 103px rgba(0,0,0,1);
    -moz-box-shadow: inset 0px 0px 114px 103px rgba(0,0,0,1);
    box-shadow: inset 0px 0px 114px 103px rgba(0,0,0,1);
    animation: frame_switch 10s infinite ;
  }

@keyframes frame_switch {
  0% {
    background-image: url('catalog_images/grid_frame1.svg');
    filter: brightness(1) blur(0px);
  }
  33.32% {
    background-image: url('catalog_images/grid_frame1.svg');
    filter: brightness(0) blur(5px);
  }
  33.33% {
    background-image: url('catalog_images/grid_frame2.svg');
    filter: brightness(1) blur(0px);
  }
  66.65% {
    background-image: url('catalog_images/grid_frame2.svg');
    filter: brightness(0) blur(5px);
  }
  66.66% {
    background-image: url('catalog_images/grid_frame3.svg');
    filter: brightness(1) blur(0px);
  }
  99.99% {
    background-image: url('catalog_images/grid_frame3.svg');
    filter: brightness(0) blur(5px);
  }
  100% {
    background-image: url('catalog_images/grid_frame1.svg');
  }
}

.bar_icon {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 25%;
    margin-left: 30px;
    margin-top: -3rem;
  }  
  
  
.header-title {
    margin: 0 0 1rem 0;
   padding: 4px;
   font-size: 6rem; 
   font-family: 'Nexa', sans-serif;
   font-weight: 500;
   letter-spacing: -3px;
   line-height: 1.2;
   background-image: linear-gradient(to right, #f3f3f3, #0ff, #0ff, #f3f3f3);
   color: #000;
   background-size: 200% auto; 
   background-clip: text;
   background-position: 0% center;
   margin-bottom: 100px;
   transform: scaleX(0.8);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent; 
    text-align: center;
   filter: drop-shadow(0 0 0rem #0ff);
   animation: filterglowoff 4s ease-out infinite alternate-reverse, animatedText 6s infinite alternate-reverse;
   }
   
@keyframes filterglowoff {
       from {
           filter: drop-shadow(0 0 0.75rem #0ff);
       }
       to {
           filter: drop-shadow(0 0 0rem #0ff);
       }
   }
   
@keyframes animatedText {
       from {
           background-position: 0% center;
       }
       to {
           background-position: 200% center;
       }
   }

.dropdown {
  position: relative;
  z-index: 4;
  top: 60px;
}

.dropdown select {
  background-color: #000;
  font-family: 'Oswald', sans-serif;
  color: white;
  cursor: pointer;
  padding-right: 50px;
  padding-left: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 1.2rem; 
  border: 2px solid #ffffff; 
  transition: all 0.5s ease;


}

.dropdown select:focus {
  outline: none;
  border-color: #0ff; 
  filter: drop-shadow(0px 0px 0.5rem rgba(0, 255, 255, 0.315));

}


.dropdown:hover select {
  border-color: #0ff; 
  filter: drop-shadow(0px 0px 0.5rem rgba(0, 255, 255, 0.315));
}
   
   .wrapper {
    display: grid;
    margin: 80px;
    margin-top: 70px;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 2fr);
    margin-bottom: 300px;
    position: relative;
    z-index: 1;
    gap: 4rem;
}

.wrapper > * {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: white 2px solid;
    margin: 80px;
    margin-left: auto;
    margin-right: auto;
    transition: border 0.1s ease-in-out;
    position: relative;
}

.grid-item {
  display: flex; 
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  overflow: hidden;
  height: 50vh;
  position: relative;
}


.wrapper > *:hover {
    border: #0ff 2px solid;
}

.wrapper > *:active {
    border: #ec1dff 2px solid;
}

.grid-item:hover p {
    color: black;
    background-color: #0ff;
    filter: drop-shadow(0px 0px 0.25rem #0ff);
}



.grid-item:active p {
    color: white;
    background-color: #ec1dff;
    filter: drop-shadow(0px 0px 0.25rem #ec1dff);
}

.grid-item:hover .catalog_item {
    transform: scale(1.1);
}

.catalog_item {
    width: 70%;
    min-width: 250px;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease-in-out, filter 0.2s ease-in-out;
}

.game_display_container {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: auto;

}

.game_display {
    width: 120px;
    
}




.grid-item p {
    margin: 0;
    width: 100%;
    padding: 12px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: black;
    transition: background-color 0.1s, color 0.1s, filter 0.1s;
}

.bike_name {
    font-size: 1.2rem;
}

.price {
    font-family: 'Nexa', sans-serif;
    font-size: 1.1rem;

}




@media screen and (min-width: 1001px) {
    .wrapper {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 50vh);
    }

}

@media screen and (max-width: 1000px) {
    .wrapper {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 50vh);
    }
    .animated_background-container, .background-container {
      background-size: 60%;
    }
}

@media screen and (max-width: 775px) {
    .wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 50vh);
    }

    .animated_background-container, .background-container {
      background-size: 60%;
    }
}
  