@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: #e9e6e6;
}

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: -50%;
  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;
   }
  
}



  @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;
}
}


/**************** header**************/

.banner{
    position: relative;
    overflow: ;
    height: 50vh;
    
   
}
.banner-container{
    display: grid;
    align-items: flex-start;
    height: 100%;
    margin-left: 90px;
    
    
}

    
.banner {

    background-image:linear-gradient(rgba(225, 216, 216, 0.221), rgba(254, 254, 248, 0.263)), url(images/globe.jpg) ;
    height: 70%; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

.banner-left h2{
    margin-left: 29rem;
    color: #f7f7f7;
    font-weight: bolder;
    margin-top: 7rem;
    font-size: 60px;
    line-height: 1;
}
.banner p{
    margin-bottom: 9rem;
    margin-left: 32rem;
    color: white;
}



 /**team****/
 .teacher{
  background:#f9f9f9;
}

.teacher .card-container{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding:0rem 0;
  margin-right: 3REM;
  margin-left: 3rem;
  gap: 2REM;
}

.teacher .card-container .card{
  padding:1rem;
  margin: 1rem;
  background:#fff;
  text-align: center;
  width:15rem;
  height: 25rem;
  box-shadow: 0 .3rem .5rem rgba(0,0,0,.3);
}

.teacher .card-container .card img{
  height: 240px;
  width:200PX;
  object-fit: cover;
  transition: transform .5s ease;
}

.teacher .card-container .card:hover img{
  color:#28137c;
  transform: scale(1.2);
}

.teacher .card-container .card h3{
  color: black;
  font-size: 1.2rem;
  padding:0rem 0;
}
.teacher .card-container .card:hover h3{
  color: #28137c;
  font-size: 1.2rem;
  padding:0rem 0;
}

.teacher .card-container .card a{
  font-size: 16px;
  color:#666;
}
.button {
  background-color: #1b0b5e;
  border-radius: 15px;
  color: #fff;
  padding: 8px 27px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  cursor: pointer;
}
 .teacher .button .btn a{  
  color: white;
}
.button:hover {
  
      letter-spacing: .2rem;
     
}






 /*******team*******/
.ourteam{
  background-color: #a5bed6;
}
 .team{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-left: 5rem;
  margin-right: 5rem;
  
 }
 .team  img{
  margin-left: 6rem;
  height: 60%;
  width: 300px;
 }
.team .writting{
 
}
/*****about******/
h1{
    text-align: center;
    font-size: 40px;
}
p{
    margin-left: 4rem;
    margin-right: 4rem;
    font-size: 18px;
    text-align: center;
}


  
  
  /*****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 (max-width:1500px){

 
} 
@media (max-width:900px){

  html{
    font-size: 17px;
  }
  

 
.banner-container{
  margin-left: 70px;
}

.banner h2{
  margin-left: 18rem;
  margin-top: 7rem;
  font-size: 60px;
}

.teacher .card-container{
  grid-template-columns: repeat(2, 1fr);
}

.teacher .card-container .card{
  margin: 2rem;
  width:16rem;
  height: 28rem;
  box-shadow: 0 .3rem .5rem rgba(0,0,0,.3);
}

.teacher .card-container .card img{
  height:16rem;
  width:80%;
}


}


@media (max-width:650px){

  html{
    font-size: 12px;
  }
  
 
.banner-container{
  margin-left: 60px;
}
.banner h2{
  margin-left: 18rem;
  margin-top: 7rem;
  font-size: 40px;
}

h1{
  text-align: center;
  font-size: 35px;
}
p{
  margin-left: 2rem;
  margin-right: 2rem;
  font-size: 15px;
  text-align: center;
}

.teacher .card-container .card{
  padding:1rem;
  margin: 1rem;
 
  width:25rem;
  height: 30rem;
 
}



}
@media (max-width: 470px){
  .banner h2{
    margin-left: 12rem;
    margin-top: 7rem;
    font-size: 35px;
  }
  
.teacher .card-container{
  grid-template-columns: repeat(2, 1fr);
}

.teacher .card-container .card{
  margin: 2rem;
  width:13rem;
  height: 28rem;
  box-shadow: 0 .3rem .5rem rgba(0,0,0,.3);
}

.teacher .card-container .card{
  padding:1rem;
  margin: 1rem;
 
  width:25rem;
  height: 30rem;
 
}
.teacher .card-container .card img{
  height:16rem;
  width:80%;
}
}

@media (max-width:370px){

  html{
    font-size: 10px;
  }
  .banner-container{
    margin-left: 40px;
  }
 
  .banner p{
    margin-bottom: 7rem;
    margin-left: 15rem;
    margin-right: 2rem; 
  }
  h1{
    text-align: center;
    font-size: 30px;
  }
  p{
    margin-left: 1rem;
    margin-right: 1rem;
    font-size: 10px;
    text-align: center;
  }
  .banner h2{
    margin-left: 14rem;
    margin-top: 7rem;
    font-size: 25px;
  }
  
.teacher .card-container .card{
  padding:1rem;
  margin: 1rem;
 
  width:25rem;
  height: 32rem;
 
}
  
}



@media (max-width:300px){

  html{
    font-size: 7px;
  }
  .banner-container{
    margin-left: 40px;
  }
  
  .banner h2{
    margin-left: 18rem;
    margin-top: 7rem;
    font-size: 25px;
  }
  

       
  .container{
    width: var(--container-width-xs);
    margin: 0 1rem ;
    overflow: hidden;
}


}
