* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  max-width: 100%;
  font-size: 10px;
  font-family: "Space Grotesk", sans-serif;
}

nav {
  background-color: rgba(45, 45, 42, 1);
  width: 100vw;
  max-width: 100%;
  height: 50px;
  position: fixed;
  z-index: 1;
}

nav ul {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  list-style: none;
  height: 100%;
}

nav ul li {
  text-align: center;
}

nav ul li a {
  color: white;
  font-size: clamp(1.2rem, 2vw, 2rem);
  text-decoration: none;
  transition: all 0.2s ease-out;
}

nav ul li a:hover {
  color: #00a7e1;
}

.solid {
  margin-bottom: 40px;
  border: 2px solid #00a7e1;
}

/* HOME */
#home {
  margin: auto;
  width: 100vw;
  height: 100vh;
  max-width: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url(./Asset/DeepField.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  margin-bottom: 25px;
}

#home > div {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(7px) saturate(120%);
  -webkit-backdrop-filter: blur(7px);
  border-radius: 10px;
}

#home > div h1 {
  font-family: "Bai Jamjuree", sans-serif;
  color: white;
  font-size: clamp(4rem, 10vw, 10rem);
  letter-spacing: 10px;
  text-align: center;
}

#home > div h2 {
  font-family: "Bai Jamjuree", sans-serif;
  color: white;
  letter-spacing: 5px;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  text-align: center;
}

/* ABOUT */
#about {
  height: auto;
  width: 100vw;
  padding: 0px 5% 0px 5%;
}

#about h2 {
  font-size: clamp(2.4rem, 3vw, 4.2rem);
  text-align: left;
  color: #00a7e1;
}

#about div {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 50px;
  margin-bottom: 120px;
}

#about div img {
  width: 35vw;
  border-radius: 15px;
  transition: transform 0.1s ease-out;
}

#about div img:hover {
  transform: scale(110%);
}

#about :is(p, cite, b) {
  line-height: 1.5;
  font-size: clamp(1.5rem, 1.6vw, 3.6rem);
  text-align: justify;
}

#about div figcaption {
  font-size: clamp(1rem, 1vw, 2rem);
}

footer {
  background-color: black;
  height: auto;
}

footer div {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}

footer h2 {
  width: 100%;
  text-align: center;
  color: white;
  font-size: clamp(14px, 2.5vw, 24px);
  margin: auto;
}

footer a {
  width: clamp(50px, 5%, 100px);
}
