@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,400;1,500&display=swap");

body {
  margin: 0px;
}

.text1 {
  width: 100%;
}

.text1 h1 {
  text-align: center;
  margin-top: 20%;
}

* {
  font-family: "Kanit", sans-serif;
}

.page-2 {
  background-color: aliceblue;
  width: 100%;
  height: 1050px;
}

.page-1 {
  background-color: white;
  width: 100%;
  height: 100vh;
}

.header {
  width: 100%;
  display: flex;
  align-items: center;
}
.header ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px;
  text-decoration: none;
  color: black;
  margin-left: 20px;
  list-style-type: none;
}

.header li {
  margin-left: 10px;
  margin-right: 10px;
}

.header a {
  text-decoration: none;
  color: black;
  display: block;
  transition: 0.3s;
  white-space: nowrap;
  font-size: large;
}

.header img {
  width: 180px;
  margin-left: 10px;
}
.header a:hover {
  color: rgb(253, 17, 17);
}

*::-webkit-scrollbar {
  width: 16px;
}

*::-webkit-scrollbar-track {
  background: #ffffff;
}

*::-webkit-scrollbar-thumb {
  background-color: #a6a6a6;
  border-radius: 10px;
  border: 3px solid #ffffff;
}

@media only screen and (max-width: 800px) {
  .header ul {
    flex-direction: column;
    display: block;
    margin: 0px;
  }
  .header {
    flex-direction: column;
    align-items: flex-start;
    background-color: #ececec;
  }
  .text1 {
    flex-direction: column;
  }
}
