@import url("https://fonts.googleapis.com/css2?family=Spline+Sans+Mono:ital,wght@0,300..700;1,300..700&display=swap");

body {
  margin: 0;
  min-height: 100vh;
  background-color: #283538;
  font-family: "Spline Sans Mono", monospace;
  color: #f0f8ff;
}

nav {
  width: 80%;
  display: flex;
  top: 20px;
  left: 10%;
  margin-left: 0;
  background-color: #2d5f5f;
  height: 50px;
  align-items: center;
  justify-content: center;
  border: solid 2px #e3e9ea;
  border-radius: 12px;
  position: fixed;
  z-index: 10;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

nav ul {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  gap: 20px;
  list-style: none;
}

nav ul li a {
  color: #f0f8ff;
  text-decoration: none;
}
nav ul li a:hover {
  color: #9aa4ab;
  transition: color 0.2s ease;
}
main {
  width: 80%;
  margin: 0 auto;
  padding-top: 105px;
  padding-bottom: 45px;
  text-align: center;
}

.video-top {
  max-width: 520px;
  margin: 0 auto 20px;
}

header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: #e3e9ea;
}

.desc {
  color: #9aa4ab;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  text-align: center;
}

.video {
  width: 80%;
  margin: 0 auto;
  overflow: hidden;
  border: 2px solid #e3e9ea;
  border-radius: 12px;
}

.video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #172325;
}

@media (max-width: 768px) {
  nav {
    width: 95%;
    left: 2.5%;
    height: auto;
    padding: 8px 0;
  }

  nav ul {
    flex-direction: row;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li a {
    font-size: 0.85rem;
  }

  main {
    width: 95%;
  }

  .video {
    width: 95%;
  }

  header h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  nav ul {
    gap: 6px;
  }

  nav ul li a {
    font-size: 0.75rem;
  }

  header h1 {
    font-size: 1.5rem;
  }

  .video-top {
    max-width: 100%;
  }
}