@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;1,300;1,400;1,500&display=swap');

@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@700&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,900&family=Montserrat:wght@300;600;900&family=Oswald&family=Paytone+One&family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;1,200&family=Shadows+Into+Light&display=swap");

/* Icon set - http://ionicons.com/ */
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
@import url(https://fonts.googleapis.com/css?family=Raleway:400,800);


*,
*::before,
*::after {
    box-sizing: border-box;
    
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Kanit', sans-serif;
    background-color: #12034c;
}

nav{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 70px;
  background: #c3c7ce;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 99;
}
nav .navbar{
  height: 100%;
  max-width: 1250px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  /* background: red; */
  padding: 0 50px;
}
.navbar .logo a{
  font-size: 30px;
  color: #777;
  text-decoration: none;
  font-weight: 600;
}
.navbar .logo img{
 height: 70px;
 margin-top: 5px;
}
nav .navbar .nav-links{
  line-height: 70px;
  height: 100%;
}
nav .navbar .links{
  display: flex;
}
nav .navbar .links li{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 0 14px;
}
nav .navbar .links li a{
  height: 100%;
  text-decoration: none;
  white-space: nowrap;
  color: #777;
  font-size: 20px;
  margin-bottom: 1rem;
  font-weight: 500;
}
nav .navbar .links li a:hover{
  color: #313030;
}
.links li:hover .htmlcss-arrow,
.links li:hover .js-arrow{
  transform: rotate(180deg);
  }
nav .navbar .links li .arrow{
  /* background: red; */
  height: 100%;
  width: 22px;
  line-height: 70px;
  text-align: center;
  margin-bottom: 1rem;
  display: inline-block;
  color: #777;
  transition: all 0.3s ease;
}
nav .navbar .links li .sub-menu{
  position: absolute;
  top: 70px;
  left: 0;
  line-height: 40px;
  background: #c3c7ce;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 4px 4px;
  display: none;
  z-index: 2;
}
nav .navbar .links li:hover .htmlCss-sub-menu,
nav .navbar .links li:hover .js-sub-menu{
  display: block;
}
.navbar .links li .sub-menu li{
  padding: 0 22px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.navbar .links li .sub-menu a{
  color: #777;
  font-size: 15px;
  margin-bottom: 0;
  font-weight: 500;
}
.navbar .links li .sub-menu .more-arrow{
  line-height: 40px;
}
.navbar .links li .htmlCss-more-sub-menu{
  /* line-height: 40px; */
}
.navbar .links li .sub-menu .more-sub-menu{
  position: absolute;
  top: 0;
  left: 100%;
  border-radius: 0 4px 4px 4px;
  z-index: 1;
  display: none;
}
.links li .sub-menu .more:hover .more-sub-menu{
  display: block;
}

.navbar .nav-links .sidebar-logo{
  display: none;
}
.navbar .bx-menu{
  display: none;
}
@media (max-width:920px) {
  nav .navbar{
    max-width: 100%;
    padding: 0 25px;
  }
  nav .navbar .logo a{
    font-size: 27px;
  }
  nav .navbar .links li{
    padding: 0 10px;
    white-space: nowrap;
  }
  nav .navbar .links li a{
    font-size: 15px;
  }
  nav .navbar .links li .sub-menu{
    position: absolute;
    top: 50px;
    left: -300%;
    line-height: 30px;
    background: #c3c7ce;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 4px 4px;
    display: none;
    z-index: 2;
  }
  .navbar .links li .sub-menu a{
    color: #777;
    font-size: 12px;
    margin-bottom: 0;
    font-weight: 500;
    margin-left: -40px;
  }
}
@media (max-width:800px){

  nav .navbar{
    max-width: 100%;
    padding: 0 17px;
  }
  nav .navbar .logo a{
    font-size: 27px;
  }
  nav .navbar .links li{
    padding: 0 2px;
    white-space: nowrap;
  }
  nav .navbar .links li a{
    font-size: 12px;
  }
  .navbar .logo img{
    height: 50px;
    margin-top: 5px;
   }
   nav .navbar .links li .sub-menu{
    position: absolute;
    top: 50px;
    left: -300%;
    line-height: 30px;
    background: #c3c7ce;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 4px 4px;
    display: none;
    z-index: 2;
  }
  .navbar .links li .sub-menu a{
    color: #777;
    font-size: 12px;
    margin-bottom: 0;
    font-weight: 500;
    margin-left: -40px;
  }
}



  @media screen and (min-width: 380px)and (max-width:430px) {
  html{
    font-size: 12px;
  }
  nav .navbar{
    max-width: 100%;
    padding: 0 10px;
  }
  nav .navbar .logo a{
    font-size: 27px;
  }
  nav .navbar .links li{
    padding: 0 2px;
    white-space: nowrap;
  }
  nav .navbar .links li a{
    font-size: 12px;
  }
  .navbar .logo img{
    height: 40px;
    margin-top: 1px;
   }
   nav .navbar .links li .sub-menu{
    position: absolute;
    top: 50px;
    left: -300%;
    line-height: 30px;
    background: #c3c7ce;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 4px 4px;
    display: none;
    z-index: 2;
  }
  .navbar .links li .sub-menu a{
    color: #777;
    font-size: 12px;
    margin-bottom: 0;
    font-weight: 500;
    margin-left: -40px;
  }
}
@media screen and (min-width: 300px)and (max-width:380px) {
  html{
    font-size: 8px;
  }
  nav .navbar{
    max-width: 100%;
    padding: 0 3px;
  
    display: flex;
  
  }
  nav .navbar .logo a{
    font-size: 27px;
  }
  nav .navbar .links li{
    padding: 0 1px;
    white-space: nowrap;
  }
  nav .navbar .links li a{
    font-size: 10px;
  }

  .navbar .logo img{
    height: 30px;
    margin-top: 1px;
   }
   nav .navbar .links li{
    position: relative;
    align-items: left;
    justify-content: space-between;
    list-style: none;
    padding: 0 3px;
  }
  nav .navbar .links li .sub-menu{
    position: absolute;
    top: 50px;
    left: -300%;
    line-height: 30px;
    background: #c3c7ce;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 4px 4px;
    display: none;
    z-index: 2;
  }
  .navbar .links li .sub-menu a{
    color: #777;
    font-size: 12px;
    margin-bottom: 0;
    font-weight: 500;
    margin-left: -40px;
  }
}
@media (max-width:370px){
  nav .navbar .nav-links{
  max-width: 100%;
} 
nav .navbar .links li .sub-menu{
  position: absolute;
  top: 50px;
  left: -300%;
  line-height: 30px;
  background: #c3c7ce;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 4px 4px;
  display: none;
  z-index: 2;
}
.navbar .links li .sub-menu a{
  color: #777;
  font-size: 12px;
  margin-bottom: 0;
  font-weight: 500;
  margin-left: -40px;
}
}

#abc .planery{
  
    max-width: 1000px;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    font-size: 40px;
    font-weight: bold;
    color: white;
    margin-left: 5rem;
}
.planery{
    position: absolute;
}


#abc{
    
    height: 100%;
    background-image:radial-gradient(#7285a230, #6981bd54), url(images/hard1.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width:100%;
    background-attachment: fixed;
    height:100vh;
   
  
  }

  #abc h1{
    color: white;
    text-align: center;
    font-size: 60px;
    margin-top: 7rem;
    margin-left: 3REM;
    margin-right: 3rem;
  }
  #abc p{
    color: white;
    text-align: center;
    font-size: 30px;
    margin-top: -2REM;

  }
  #abc .button{
margin-left: 40%;
margin-right: 40%;
background-color: #12034c;
  }
  .button {
    background-color: #12034c;
    border-radius: 15px;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    cursor: pointer;
  }
  .button:hover {
    
        letter-spacing: .2rem;
       
}
/*********about*********/

.about p{
  margin-left: 4rem;
  margin-right: 4rem;
  color: #d5d3d3;
  text-align: center;
  margin-bottom: 5rem;

}
.machine {
 
  height: 100%;
  background-image:radial-gradient(#19376530, #223d8354), url(images/machine.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width:100%;
  height:70vh;
  background-attachment: fixed;
}
.machine p{
  margin-left: 4rem;
  margin-right: 4rem;
  color: #d5d3d3;
  text-align: center;
  

}
.machine h2{
  margin-top: 4rem;
}
  /*******banner********/
  h2{
    font-size: 40PX;
    align-items: center;
    color: white;
    text-align: center;
  }
  .container {
    width  : 100%;
  
    background-color: #12034c;
  }
  
  .container:after{
    clear   : both;
    display : table;
    content : '';
  }
  
  .bg-items {
    padding: 20px;
    width  : 240px;
    height : 250px;
    margin : 20px;
    margin-left: 2rem;
    background-color : #2c4a90;
    
    float  : left;
    cursor : pointer;
    box-shadow : 3px 3px 5px 0px rgba(0,0,0,0.5);
  }
  
  .items {
    width  : 240px;
    height : 240px;
    position: relative;
    overflow: hidden;
    background-color: #102B46;
  }
  
  .details {
    background-color : rgba(0,0,0,0.5);
    width            : 220px;
    height           : 140px;
    padding          : 10px;
    top : 0;
    left: 0;
    font-family : georgia;
    color       : #fff;
    opacity : 0;
    transition : opacity .8s;
  }
  
  .details h3 {
    margin-bottom : 20px;
  }
  
  .details h6 {
    text-align : right;
    margin-top : 40px;
  }
  
  .details p {
    font-size : 14px;
    font-style: italic;
    text-align: center;
    line-height : 20px;
  }
  
  .items:hover .details {
    opacity : 1;
    transition : opacity .2s .3s;
  }
  
  .items div {
    position : absolute;
  }
  
 
  /* two */
  
  .two {
    width : inherit;
    height: inherit;
    background-color : #2f66e788;
    transition   : all .3s;
    left   : 0;
    bottom : 100%;
  }
  
  .items:hover .two {
    transform : rotate(180deg);
    left   : 0;
    bottom : 0;
    transition   : all .3s;
  }
  
  
  

  /* Footer ====================================*/
  
  /* Footer ====================================*/
 
  footer{
    background: #c3c7ce;
    background: #c3c7ce;
    background-color: ;
    padding-top: 1rem;
    font-size: 13px;
    
    color: #777;
  }
  .footer-container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-left: 0rem;
    margin-right: 0;
    
  }
  .footer-container > div h4{
  margin-bottom: 1.2rem;
  color: #777;
  
  }
  .footer a{
    text-decoration: none;
  }
  .footer-2 a{
    text-decoration: none;
    list-style: none;
  }
  .footer-1 p{
  list-style: none;
    color: #777;
  }
  footer ul li{
   list-style: none;
    color: #777;
    list-style: none;
  }
  footer ul li a{
    color: #777;
    list-style: none;
  }
  footer ul li a:hover{
    text-decoration: underline;
  }
  .footer a{
    color: #777;
  }
  .footer-2 a{
    font-size: 13px;
  }
  .footer ul li a{
    font-size: 13px;
    line-height: 1;
    list-style: none;
    text-decoration: none;
  }
  .footer-socials{
    display: flex;
   
    font-size: 13px;
    margin-top: 2rem;
  }
  .footer-copyright{
    text-align: center;
    margin-top: 1rem;
    font-size: 25px;
    padding: 1.2rem;
    border-top: 1px solid var(--color-bg2);
  }
  .footer-4{
  margin-right: 0rem;
  }
  @media screen and (max-width:800px) {
    
    .footer-container{
      grid-template-columns: repeat(2, 1fr);
      text-align: center;
      gap: 2rem;
      margin-left: 2rem;
      margin-right: 2rem;
  }
  .footer-1 p{
      margin: 1rem auto;
  }
  }
  
  @media screen and (min-width: 200px)and (max-width:500px) {
    html{
      font-size: 12px;
    }
   
    .footer-container{
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .footer-1 p{
        margin: 1rem auto;
    }
  }
  

  @media screen and (max-width:800px) {
    .container{
        width: var(--container-width-md);
        margin: 0 1rem ;
        overflow: hidden;
  
    }
  }
  
  
  /* media query on phones */
  @media screen and (min-width: 500px)and (max-width:800px) {
  
    html{
      font-size: 15px;
    }
    .container{
        width: var(--container-width-sm);
    }
    #abc h1{
      color: white;
      text-align: center;
      font-size: 40px;
      margin-top: 7rem;
      margin-left: 2rem;
      margin-right: 2rem;
    }
    #abc .button{
      margin-left: 37%;
      margin-right: 35%;
      background-color: #12034c;
        }
   
  }
  
  
  /* media query on extra small */
  @media screen and (min-width: 200px)and (max-width:500px) {
    html{
      font-size: 12px;
    }
    
    #abc h1{
      color: white;
      text-align: center;
      font-size: 25px;
      margin-top: 7rem;
      margin-left: 2rem;
      margin-right: 2rem;
    }
    #abc .button{
      margin-left: 24%;
      margin-right: 20%;
      background-color: #12034c;
        }
    .container{
        width: var(--container-width-xs);
        margin: 0 1rem ;
        overflow: hidden;
    }
    
   
  }
  
  
  