* {
  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;
}

#intro {
  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/hubbleservc.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  margin-bottom: 25px;
}

#intro > h1 {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  backdrop-filter: blur(7px) saturate(120%);
  -webkit-backdrop-filter: blur(7px);
  color: white;
  font-family: "Bai Jamjuree", sans-serif;
  font-size: clamp(4rem, 6vw, 9rem);
  letter-spacing: 6px;
}

#content {
  height: auto;
  margin: 0 2% 0 2%;
}

#content h2 {
  font-size: clamp(2.4rem, 2.5vw, 4.2rem);
  background-color: #00a7e1;
  padding: 10px;
  border-radius: 5px;
}

#content h3 {
  font-size: clamp(2rem, 1.8vw, 3.6rem);
  padding: 10px;
}

#content section {
  margin-top: 40px;
}

#content > section > div {
  padding: 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

#content :is(p, b, ul, li) {
  font-size: clamp(1.4rem, 1.4vw, 2.8rem);
  line-height: 1.5;
}

#content ul {
  list-style-type: square;
  margin-left: 20px;
}

#content figure {
  width: 35vw;
}

#content figcaption {
  font-size: clamp(1.2rem, 1vw, 1.4rem);
  padding: 5px;
}

#content img {
  width: 100%;
  border-radius: 10px;
}
