@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
} 
nav{
  display: flex;
  height: 80px;
  width: 100%;
  background: #1b1b1b;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px 0 100px;
  flex-wrap: wrap;
}
nav .logo{
  color: #fff;
  font-size: 35px;
  font-weight: 600;
}
nav ul{
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}
nav ul li{
  margin: 0 5px;
}
nav ul li a{
  color: #f2f2f2;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 5px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
nav ul li a.active,
nav ul li a:hover{
  color: #111;
  background: #fff;
}
nav .menu-btn i{
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: none;
}
sub{
  font-size: 40px;
  color: red;
}
input[type="checkbox"]{
  display: none;
}
@media (max-width: 1000px){
  nav{
    padding: 0 40px 0 50px;
  }
}
@media (max-width: 850px) {
  nav .menu-btn i{
    display: block;
  }
  #click:checked ~ .menu-btn i:before{
    content: "\f00d";
  }
  nav ul{
    position: absolute;
    top: 80px;
    left: -100%;
    background: #111;
    height: 100vh;
    width: 100%;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
  }
  #click:checked ~ ul{
    left: 0;
  }
  nav ul li{
    width: 100%;
    margin: 40px 0;
  }
  nav ul li a{
    width: 100%;
    margin-left: -100%;
    display: block;
    font-size: 20px;
    transition: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
  #click:checked ~ ul li a{
    margin-left: 0px;
  }
  nav ul li a.active,
  nav ul li a:hover{
    background: none;
    color: cyan;
  }
}
body{
    background-color: #181818;
}
.bod{
    background-color: #181818;
    display: flex;
    justify-content: center;
    font-family: "Clear Sans", "Helvetica Neue"
}
h1 {
    font-size: 80px;
    line-height: 0.7;
    color: #083968;
    margin: 0px;
  }
  
  .id1{
    color: #ffc43d; 
 }
 .id2{
    color: #ef476f;
 }
 .id3{
    color: #1b9aaa;
}
.id4{
   color: #06d6a0;
}
.container {
    width: 500px;
    margin-top: 30px;
  }
  
  .info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
  }
  
  .grid{
    display: flex;
    flex-wrap: wrap;
    width: 470px;
    height: 470px;
    background-color: #000000;
    border: 7px solid #000000;
    border-radius: 6px;
    margin-top: 20px;
  }
  
  .grid div {
     width: 100px;
     height: 100px;
     margin: 7px;
     border-radius: 3px;
     background-color: #000000;
     color: #353935;
     font-weight: bold;
     text-align: center;
     font-size: 60px;
     line-height: 1.6;
   }
   
   .score-container {
     text-align: center;
     width: 90px;
     height: 80px;
     border-radius: 3px;
     background-color: #696969;
     color: #FFFFFF;
 }
   
 #score {
   font-size: 35px;
 }
 
 .score-title {
   font-size: 22px;
 }
 
 #result{
   font-size: 20px;
   color: #FFFFFF;
 }
 @media screen and (max-width: 660px){
   .grid{
     display: flex;
     flex-wrap: wrap;
     width: 410px;
     height: 410px;
     background-color: #000000;
     border: 4px solid #000000;
     border-radius: 6px;
     margin-top: 20px;
   }
   .grid div {
     width: 90px;
     height: 90px;
     margin: 5px;
     border-radius: 3px;
     background-color: #000000;
     color: #353935;
     font-weight: bold;
     text-align: center;
     font-size: 60px;
     line-height: 1.6;
   }
   .score-container {
     text-align: center;
     width: 80px;
     height: 70px;
     border-radius: 3px;
     background-color: #696969;
     color: #FFFFFF;
 }
 .info h1{
    font-size: 50px;
 }
 }
 @media screen and (max-width: 460px){
    .grid{
      display: flex;
      flex-wrap: wrap;
      width: 330px;
      height: 330px;
      background-color: #000000;
      border: 4px solid #000000;
      border-radius: 6px;
      margin-top: 20px;
    }
    .grid div {
      width: 75px;
      height: 75px;
      margin: 2px;
      border-radius: 3px;
      background-color: #000000;
      color: #353935;
      font-weight: bold;
      text-align: center;
      font-size: 60px;
      line-height: 1.6;
    }
    .score-container {
      text-align: center;
      width: 80px;
      height: 70px;
      border-radius: 3px;
      background-color: #696969;
      color: #FFFFFF;
  }
  .info h1{
    font-size: 55px;
 }
 }

 @media screen and (max-width: 350px){
    .grid{
      display: flex;
      flex-wrap: wrap;
      width: 300px;
      height: 300px;
      background-color: #000000;
      border: 4px solid #000000;
      border-radius: 6px;
      margin-top: 20px;
    }
    .grid div {
      width: 68px;
      height: 68px;
      margin: 2px;
      border-radius: 3px;
      background-color: #000000;
      color: #353935;
      font-weight: bold;
      text-align: center;
      font-size: 50px;
      line-height: 1.6;
    }
    .score-container {
      text-align: center;
      width: 80px;
      height: 70px;
      border-radius: 3px;
      background-color: #696969;
      color: #FFFFFF;
  }
}