@import url('https://fonts.googleapis.com/css2?family=Dongle&family=Grenze+Gotisch:wght@100..900&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sniglet:wght@400;800&display=swap');

*{

  outline: none;
  box-sizing: border-box;
}

body {
    color: rgb(170, 170, 170);
    background-color: #08101d;
    font-family: "Kanit", sans-serif;
}
.container {
    padding: 0px 50px;
}
    nav{
        background: #171c24;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        height: 70px;
        padding: 0 100px;
      }
      nav .logo{
        color: #fff;
        font-size: 30px;
        font-weight: 600;
        letter-spacing: -1px;
      }
      nav .nav-items{
        display: flex;
        flex: 1;
        padding: 0 0 0 40px;
      }
      nav .nav-items li{
        list-style: none;
        padding: 0 15px;
      }
      nav .nav-items li a{
        color: #fff;
        font-size: 18px;
        font-weight: 500;
        text-decoration: none;
      }
      nav .nav-items li a:hover{
        color: #ff3d00;
      }
      nav form{
        display: flex;
        height: 40px;
        padding: 2px;
        background: #1e232b;
        min-width: 18%!important;
        border-radius: 2px;
        border: 1px solid rgba(155,155,155,0.2);
      }
      nav form .search-data{
        width: 100%;
        height: 100%;
        padding: 0 10px;
        color: #fff;
        font-size: 17px;
        border: none;
        font-weight: 500;
        background: none;
      }
      nav form button{
        padding: 0 15px;
        color: #fff;
        font-size: 17px;
        background: #ff3d00;
        border: none;
        border-radius: 2px;
        cursor: pointer;
      }
      nav form button:hover{
        background: #e63600;
      }
      nav .menu-icon,
      nav .cancel-icon,
      nav .search-icon{
        width: 40px;
        text-align: center;
        margin: 0 50px;
        font-size: 18px;
        color: #fff;
        cursor: pointer;
        display: none;
      }
      nav .menu-icon span,
      nav .cancel-icon,
      nav .search-icon{
        display: none;
      }
a {
    color: rgb(132, 184, 197);
    text-decoration: none;
}

.sub{
    color: rgb(81, 204, 128);
}


.test {
  list-style-type: none;

  height: 80px;
  padding: 2px;
  background: #1e232b;
  min-width: 18% !important;
  border-radius: 30px;
  border: 10px solid rgba(155, 155, 155, 0.2);
  text-align: center;
}
.test2 {
  list-style-type: none;

  height: 115px;
  padding: 2px;
  background: #1e232b;
  min-width: 18% !important;
  border-radius: 30px;
  border: 10px solid rgba(155, 155, 155, 0.2);
  text-align: center;
  line-height: 0.7;
}


.bem{
    color:  rgb(0, 231, 135);
    text-align: center;
    line-height: 0.5;
}
.nem{
    color:  rgb(0, 231, 135);
    text-align: center;
}
.peinci{
    padding: 20px 30px;
}

ul{
    text-align: center;
    padding: 0 10%;
    list-style-type: none;

}
footer img {
    width: 40px;
    height: 40px;
}

footer {
    display: flex;
    justify-content: center;

}

footer a {
    margin: 12px;
    text-align: center;

}
.cop{
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    
}

@media (max-width: 1245px) {
    nav{
      padding: 0 50px;
    }
  }
  @media (max-width: 1140px){
    nav{
      padding: 0px;
    }
    nav .logo{
      flex: 2;
      text-align: center;
    }
    nav .nav-items{
      position: fixed;
      z-index: 99;
      top: 70px;
      width: 100%;
      left: -100%;
      height: 100%;
      padding: 10px 50px 0 50px;
      text-align: center;
      background: #14181f;
      display: inline-block;
      transition: left 0.3s ease;
    }
    nav .nav-items.active{
      left: 0px;
    }
    nav .nav-items li{
      line-height: 40px;
      margin: 30px 0;
    }
    nav .nav-items li a{
      font-size: 20px;
    }
    nav form{
      position: absolute;
      top: 80px;
      right: 50px;
      opacity: 0;
      pointer-events: none;
      transition: top 0.3s ease, opacity 0.1s ease;
    }
    nav form.active{
      top: 95px;
      opacity: 1;
      pointer-events: auto;
    }
    nav form:before{
      position: absolute;
      content: "";
      top: -13px;
      right: 0px;
      width: 0;
      height: 0;
      z-index: -1;
      border: 10px solid transparent;
      border-bottom-color: #1e232b;
      margin: -20px 0 0;
    }
    nav form:after{
      position: absolute;
      content: '';
      height: 60px;
      padding: 2px;
      background: #1e232b;
      border-radius: 2px;
      min-width: calc(100% + 20px);
      z-index: -2;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
    }
    nav .menu-icon{
      display: block;
    }
    nav .search-icon,
    nav .menu-icon span{
      display: block;
    }
    nav .menu-icon span.hide,
    nav .search-icon.hide{
      display: none;
    }
    nav .cancel-icon.show{
      display: block;
    }
  }
  .content{
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    transform: translate(-50%, -50%);
  }
  .content header{
    font-size: 30px;
    font-weight: 700;
  }
  .content .text{
    font-size: 30px;
    font-weight: 700;
  }
  .space{
    margin: 10px 0;
  }
  nav .logo.space{
    color: red;
    padding: 0 5px 0 0;
  }
  
  @media (max-width: 980px){
    nav .menu-icon,
    nav .cancel-icon,
    nav .search-icon{
      margin: 0 20px;
    }
    nav form{
      right: 30px;
    }
    .test {
      list-style-type: none;
    
      height: 110px;
      padding: 2px;
      background: #1e232b;
      min-width: 18% !important;
      border-radius: 30px;
      border: 10px solid rgba(155, 155, 155, 0.2);
      text-align: center;
    }
    .test2 {
      list-style-type: none;
    
      height: 190px;
      padding: 2px;
      background: #1e232b;
      min-width: 18% !important;
      border-radius: 30px;
      border: 10px solid rgba(155, 155, 155, 0.2);
      text-align: center;
      line-height: 1.1;
    }
  }
  
  @media (max-width: 600px){
    nav .menu-icon,
    nav .cancel-icon,
    nav .search-icon{
      margin: 0 10px;
      font-size: 16px;
  }
  .test {
    list-style-type: none;
  
    height: 150px;
    padding: 2px;
    background: #1e232b;
    min-width: 18% !important;
    border-radius: 30px;
    border: 10px solid rgba(155, 155, 155, 0.2);
    text-align: center;
  }
  .test2 {
    list-style-type: none;
  
    height: 270px;
    padding: 2px;
    background: #1e232b;
    min-width: 18% !important;
    border-radius: 30px;
    border: 10px solid rgba(155, 155, 155, 0.2);
    text-align: center;
    line-height: 1.3;
  }
  .bem{
    color:  rgb(0, 231, 135);
    text-align: center;
    line-height: 1;
}
  }
  @media (max-width: 540px){
    nav .menu-icon,
    nav .cancel-icon,
    nav .search-icon{
      margin: 0 10px;
      font-size: 16px;
  }
  .test {
    list-style-type: none;
  
    height: 180px;
    padding: 2px;
    background: #1e232b;
    min-width: 18% !important;
    border-radius: 30px;
    border: 10px solid rgba(155, 155, 155, 0.2);
    text-align: center;
  }
  .test2 {
    list-style-type: none;
  
    height: 290px;
    padding: 2px;
    background: #1e232b;
    min-width: 18% !important;
    border-radius: 30px;
    border: 10px solid rgba(155, 155, 155, 0.2);
    text-align: center;
    line-height: 1.3;
  }
  .bem{
    color:  rgb(0, 231, 135);
    text-align: center;
    line-height: 1;
}
  }
  @media (max-width: 485px){
    nav .menu-icon,
    nav .cancel-icon,
    nav .search-icon{
      margin: 0 10px;
      font-size: 16px;
  }
  .test {
    list-style-type: none;
  
    height: 220px;
    padding: 2px;
    background: #1e232b;
    min-width: 18% !important;
    border-radius: 30px;
    border: 10px solid rgba(155, 155, 155, 0.2);
    text-align: center;
  }
  .test2 {
    list-style-type: none;
  
    height: 370px;
    padding: 2px;
    background: #1e232b;
    min-width: 18% !important;
    border-radius: 30px;
    border: 10px solid rgba(155, 155, 155, 0.2);
    text-align: center;
    line-height: 1.3;
  }
  .bem{
    color:  rgb(0, 231, 135);
    text-align: center;
    line-height: 1;
}
  }
  @media (max-width: 400px){
    nav .menu-icon,
    nav .cancel-icon,
    nav .search-icon{
      margin: 0 10px;
      font-size: 16px;
  }
  .test {
    list-style-type: none;
  
    height: 290px;
    padding: 2px;
    background: #1e232b;
    min-width: 18% !important;
    border-radius: 30px;
    border: 10px solid rgba(155, 155, 155, 0.2);
    text-align: center;
  }
  .test2 {
    list-style-type: none;
  
    height: 440px;
    padding: 2px;
    background: #1e232b;
    min-width: 18% !important;
    border-radius: 30px;
    border: 10px solid rgba(155, 155, 155, 0.2);
    text-align: center;
    line-height: 1.3;
  }
  .bem{
    color:  rgb(0, 231, 135);
    text-align: center;
    line-height: 1;
}
  }
  @media (max-width: 368px){
    nav .menu-icon,
    nav .cancel-icon,
    nav .search-icon{
      margin: 0 10px;
      font-size: 16px;
    }
    .test {
      list-style-type: none;
    
      height: 390px;
      padding: 2px;
      background: #1e232b;
      min-width: 18% !important;
      border-radius: 30px;
      border: 10px solid rgba(155, 155, 155, 0.2);
      text-align: center;
    }
    .test2 {
      list-style-type: none;
    
      height: 540px;
      padding: 2px;
      background: #1e232b;
      min-width: 18% !important;
      border-radius: 30px;
      border: 10px solid rgba(155, 155, 155, 0.2);
      text-align: center;
      line-height: 1.3;
    }
    .bem{
      color:  rgb(0, 231, 135);
      text-align: center;
      line-height: 1;
    }
  }
  
  