*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: clamp(1rem, 3vw, 2rem) 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1rem);
  /* background: linear-gradient(135deg, #2b5876, #222358); */
  background-color: white;
  color: #fff;
  text-align: center;
}

main {
  padding: clamp(1rem, 5vw, 3rem);
  background-color: #222358;
  /* border-radius: 12px; */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 100%;
  border-bottom: #ed1c25 clamp(0.75rem, 2.5vw, 1.25rem) solid;
}

h1 {
  font-family: "Gothic Grotesk JNL";
  font-weight: normal;
  font-style: normal;
  margin-top: 0;
  margin-bottom: 0rem;
  max-width: calc(100% - 2rem);
  font-size: clamp(3rem, 16vw, 6.5rem);
  line-height: 0.9;
  /* letter-spacing: 0.05em; */
  color: #222358;
}

p {
  margin: 0;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

#media-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(100%, 640px);
  margin: 0 auto;
}

#media-container img,
#media-container video {
  display: block;
  border-radius: clamp(6px, 2vw, 12px);
  width: 100%;
  height: auto;
  max-height: min(64vh, 360px);
  object-fit: contain;
  background-color: #161743;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

#media-container video {
  aspect-ratio: 16 / 9;
}

small {
  color: #aaaaaa;
  display: block;
  font-size: clamp(0.68rem, 1.8vw, 0.75rem);
  line-height: 1.45;
}

section {
  display: flex;
  justify-content: center;
  width: min(calc(100% - 2rem), 640px);
  margin: 0 auto;
  padding-bottom: env(safe-area-inset-bottom);
}

@media (max-width: 480px) {
  body {
    justify-content: center;
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  body {
    justify-content: center;
    gap: 0.5rem;
  }

  h1 {
    font-size: clamp(2.25rem, 12vh, 4rem);
  }

  main {
    padding: 0.75rem;
  }

  #media-container img,
  #media-container video {
    max-height: 48vh;
  }
}
