@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100&family=Ubuntu:wght@300&display=swap');

* {
    margin: 0;
    padding: 0;
}
html{
    scroll-behavior: smooth;
}

body {
    font-family: 'Ubuntu', sans-serif;
    
}

body::before {
    content: '';
    background: url("https://img.freepik.com/free-vector/neon-game-controllers-joysticks-game-console_32996-1086.jpg?w=2000") no-repeat center center/cover;
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: -1;
}
::-webkit-scrollbar {
    height: 12px;
    width: 14px;
    background: transparent;
    z-index: 12;
    overflow: visible;
}
::-webkit-scrollbar-track{
    background: #1b2838;
}
::-webkit-scrollbar-thumb{
    width: 10px;
    background-color: #434953;
    border-radius: 10px;
    z-index: 12;
    border: 4px solid rgba(0,0,0,0);
    background-clip: padding-box;
    transition: background-color .32s ease-in-out;
    margin: 4px;
    min-height: 32px;
    min-width: 32px;
}
::-webkit-scrollbar-corner {
    background: #202020;
}
::selection {
    background: #54a5d4;
    text-shadow: 1px 1px 2px #000000aa;
    color: #fff;
}
hr {
    background-color: grey;
    border: 0px;
    height: 1px;
    width: 100%;
    opacity: 0.5;
}
#main {

    background: #171a21;
    height: 125px;
    display: flex;
    position: sticky;
    top: 0px;
    left: 0px;
    gap: 1rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#ham{
position: absolute;
top: 3rem;
left: 1.5rem;
color: white;
font-size: 2rem;
cursor: pointer;
}

nav ul{
    display: flex;
    gap: 1rem;
}
nav a{
  color: white;
  text-decoration: none;
}
.in{
  position: absolute;
  top: 72px;
  right: 0px;
}
nav input {
  position: relative;
  right: 0px;
  top: 0px;
  color: white;
  height: 2rem;
  width: 12rem;
  border-radius: 6px;
  background-color: #2a475e;

}

nav input:hover {
  border: 1px solid #66c0f4;
}

nav button {
  position: relative;
  right: 38px;
  top: 12px;
  aspect-ratio: 1/1;
  width: 2.1rem;
  color: #2a475e;
  background: #000000 url("https://img.favpng.com/10/4/11/computer-icons-search-box-button-clip-art-png-favpng-7TdWywgFBhJ2y81D9kE6nhjbT.jpg") no-repeat center center/cover;
  border: 1px solid #000000;
  border-radius: 3px;
}

nav button:hover {
  border: 1px solid #000000;
  background-color: #000000;
  filter: invert(100%);
}


 .micon{
     cursor: pointer;
}
#sid{
    position: fixed;
    top: 165px;
    left: 0px;
    transform: translateX(-160%);
    transition: transform 0.25s ease-in-out;
  }
  
  #sid::before{
    content: '';
    background-color: #171a21;
    width: 122px;
    height: 100vh;
    position: absolute;
    top: -42px;
    left: 0px;
    z-index: -1;
    opacity: 1;
    
  }
  #sid ul{
    display: grid;
    row-gap: 20px;
    place-items: center;
    
    
  }
  #sid li{
    list-style: none;
    cursor: pointer;
  }
  #sid a{
    text-decoration: none;
    color: white;
  }
  
  #sid li:hover::before{
    content: '';
    background-color: #a5a5a5;
    width: 122px;
    height: 30px;
    position: absolute;
    left: 0px;
    opacity: 0.2;
    z-index: -1;
  }

.container{
    margin: 0;
    padding: 0;
    height: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.slider{
    width: 800px;
    height: 500px;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
  }
  
  .slides{
    width: 500%;
    height: 500px;
    display: flex;
  }
  
  .slides input{
    display: none;
  }
  
  .slide{
    width: 20%;
    transition: 2s;
  }
  
  .slide img{
    width: 800px;
    height: 500px;
  }
  
  /*css for manual slide navigation*/
  
  .navigation-manual{
    position: absolute;
    width: 800px;
    margin-top: -40px;
    display: flex;
    justify-content: center;
  }
  
  .manual-btn{
    border: 2px solid #40D3DC;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
  }
  
  .manual-btn:not(:last-child){
    margin-right: 40px;
  }
  
  .manual-btn:hover{
    background: #40D3DC;
  }
  
  #radio1:checked ~ .first{
    margin-left: 0;
  }
  
  #radio2:checked ~ .first{
    margin-left: -20%;
  }
  
  #radio3:checked ~ .first{
    margin-left: -40%;
  }
  
  #radio4:checked ~ .first{
    margin-left: -60%;
  }
  
  /*css for automatic navigation*/
  
  .navigation-auto{
    position: absolute;
    display: flex;
    width: 800px;
    justify-content: center;
    margin-top: 460px;
  }
  
  .navigation-auto div{
    border: 2px solid #40D3DC;
    padding: 5px;
    border-radius: 10px;
    transition: 1s;
  }
  
  .navigation-auto div:not(:last-child){
    margin-right: 40px;
  }
  
  #radio1:checked ~ .navigation-auto .auto-btn1{
    background: #40D3DC;
  }
  
  #radio2:checked ~ .navigation-auto .auto-btn2{
    background: #40D3DC;
  }
  
  #radio3:checked ~ .navigation-auto .auto-btn3{
    background: #40D3DC;
  }
  
  #radio4:checked ~ .navigation-auto .auto-btn4{
    background: #40D3DC;
  }
  footer{
      position:absolute;
        
  }
        