@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;700&display=swap');

html,body{
  font-family: 'Noto Sans Thai', sans-serif;
  margin: 0 auto;
  overflow-x: hidden;
  width: 100%;
  height: 100%;
}
.appbar{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  background: rgb(0, 88, 171);
  color: white;
}
.register{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
h2{
  margin-bottom: 1rem;
}
h3{
  margin-top: 1rem;
  margin-bottom: 1rem;
}
form{
  display: grid;
  margin: 3rem;
  height: 100%;
}
.flex{
  display: grid;
  grid-template-columns: 250px 250px;
  column-gap: 1rem;
}
input[type=text],input[type=email],input[type=password]{
  min-width: 250px;
  height: 40px;
  padding: 12px 20px;
  margin: 2px 0 1rem 0;
  box-sizing: border-box;
  font-family: 'Noto Sans Thai', sans-serif;
  font-size: 16px;
}
input[type=checkbox]{
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 1rem;
}
.pdpa{
  display: flex;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.line{
  width: 100%;
  border: 2px solid rgb(0, 88, 171);
  border-radius: 10px;
}
.bt{
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}
button{
  width: 40%;
  height: 50px;
  background-color: rgba(51, 51, 51, 0.05);
  border-radius: 8px;
  border-width: 0;
  color: #333333;
  cursor: pointer;
  display: inline-block;
  list-style: none;
  text-align: center;
  font-size: 16px;
  font-family: 'Noto Sans Thai', sans-serif;

}
.bt-cancel{
  background-color: white;
  color: black;
  border: 2px solid #e7e7e7;
}

.bt-save {
  background-color: rgb(5, 171, 110);
  color: white;
}

@media screen and (max-width: 625px) {
  h2{
    margin-top: 1rem;
  }
  form{
    width: 250px;
    margin-top: 1rem;
  }
  .flex{
    display: grid;
    grid-template-columns: 60px;
  }
  .box{
    display: grid;
  }
}