@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;700&display=swap');
html{
  font-family: 'Noto Sans Thai', sans-serif;
  font-size: 18px;
  height: 100%;
}
h1,h2,h3{
  margin: 0;
}
h1{
  font-size: 2rem;
}
h2{
  font-size: 1.3rem;
}
h3{
  font-size: 1rem;
}
.title-name{
  margin-left: 1rem;
  color: white;
}
.navbar{
  background-color: rgb(0, 88, 171);
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
}
.toggle-btn{
  display: none;
}
.menu{
  display: flex;
  margin-left: auto;
}
.vl{
  border-left: 2px solid rgb(255, 255, 255);
  height: 80px;
}
button{
  font-family: 'Noto Sans Thai', sans-serif;
  background-color: rgb(0, 88, 171);
  color: white;
  border: none;
  height: 80px;
  width: 12vw;
  transition-duration: 0.4s;
}

.dropbtn {
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropdown-bt {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  width: 12vw;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: center;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dropdown-bt:hover .dropdown-content {
  display: block;
}

.dropdown-bt:hover .dropbtn {
  background-color: #f1f1f1;
  color: black;
}

.navbar-menu{
  font-size: 1rem;
  font-weight: 700;
}
.navbar-menu:hover{
  background-color: white;
  color: black;
}
.footer{
  height: 20vh;
  border-top: 4px solid #F6F6F6;
  background-color: white;
  position: relative;
  display: flex;
  justify-content: center;
  bottom: 0;
  left: 0;
}
.logos{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 80%;
  margin-left: 3rem;
  margin-right: 3rem;
}
.logo{
  height: 5rem;
}

@media screen and (max-width: 900px) {
  .logos{
    width: 100%;
  }
  .logo{
    height: 4rem;
  }
}

img {
  display: inline;
  margin: 0 auto;
  height: 100%;
  width: auto;
}
body {
  min-height: 100vh;
}


@media screen and (max-width: 800px) {
  html{
    font-size: 16px;
  }
  h1{
    font-size: 1.8rem;
  }
  h2{
    font-size: 1.2rem;
  }
  h3{
    font-size: 1.1rem;
  }
  .navbar{
    display: grid;
    align-items: center;
  }
  .title-name{
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .menu{
    display: none;
  }
  .menu.open{
    display: grid;
    width: 100%;
    position: absolute;
    top: 80px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  }
  .toggle-btn{
    display: grid;
    margin-right: 1rem;
  }
  .tg{
    margin: 2px;
    border: 3px solid white;
    border-radius: 5px;
    width: 2rem;
  }
  .vl{
    display: none;
  }
  .navbar-menu{
    z-index: 9;
    height: 50px;
    width: 100%;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
  }
  .dropdown-content{
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .logos{
    display: grid;
    justify-items: center;
    grid-template-columns: auto auto auto auto;
  }
}

@media screen and (max-width: 425px) {
  .logo{
    height: 3rem;
  }
}