

* {
  scroll-behavior: smooth;
  box-sizing:border-box;
}

html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  color: #1b1b32;
  font-family: Helvetica, sans-serif;
  margin: 0;
  min-height: 100vh;
}

header {
  width: 100%;
  height: 200px;
  background-color: #1b1b32;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#face {
  width: max(10rem, 10vw);
  background-color: #0a0a23;
  aspect-ratio: 10 / 10;
  padding: 0.4rem;
}

h1 {
  color: #ed174c;
  font-size: min(5vw, 1.2em);
  text-align: center;
}

nav {
  width: 50%;
  max-width: 300px;
  height: 50px;
}

nav > ul {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  align-items: center;
  padding-inline-start: 0;
  margin-block: 0;
  height: 100%;
}

nav > ul > li {
  color: #dfdfe2;
  margin: 0 0.2rem;
  padding: 0.2rem;
  display: block;
}

nav > ul > li:hover {
  background-color: #dfdfe2;
  color: #1b1b32;
  cursor: pointer;
}

li > a {
  color: inherit;
  text-decoration: none;
}

main {
  padding-top: 50px;
    background:
    linear-gradient(
      rgba(245, 246, 247, 0.8),
      rgba(245, 246, 247, 0.8)
    ),
    url(https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/70a2b46c-e6cc-42e3-b8b5-7ec3a704e4b3/d9g9uwh-acb7068c-71c3-43d9-8913-d1f3305450d5.jpg/v1/fill/w_1000,h_664,q_75,strp/lebron_james_wallpaper_by_hps74_d9g9uwh-fullview.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7ImhlaWdodCI6Ijw9NjY0IiwicGF0aCI6Ii9mLzcwYTJiNDZjLWU2Y2MtNDJlMy1iOGI1LTdlYzNhNzA0ZTRiMy9kOWc5dXdoLWFjYjcwNjhjLTcxYzMtNDNkOS04OTEzLWQxZjMzMDU0NTBkNS5qcGciLCJ3aWR0aCI6Ijw9MTAwMCJ9XV0sImF1ZCI6WyJ1cm46c2VydmljZTppbWFnZS5vcGVyYXRpb25zIl19.FIZ7M7anIxtqgaik1kgBWb9JNIKFm8bz75XsAyjat0s);

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

section {
  width: 80%;
  margin: 0 auto 10px auto;
  max-width: 600px;
}

h1,
h2 {
  font-family: Verdana, Tahoma;
}

h2 {
  border-bottom: 4px solid #dfdfe2;
  margin-top: 0px;
  padding-top: 60px;
}

.info {
  padding: 10px 0 0 5px;
}

.formrow {
  margin-top: 30px;
  padding: 0px 15px;
}

input {
  font-size: 1rem;
}

.info label, .info input {
  display: inline-block;
}

.info input {
  width: 50%;
  text-align: left;
}

.info label {
  width: 10%;
  min-width: 55px;
  text-align: right;
}

.question-block {
  text-align: left;
  display: block;
  width: 100%;
  margin-top: 20px;
  padding-top: 5px;
}

h3 {
  margin-top: 5px;
  padding-left: 15px;
  font-size: 1.375rem;
}

h3::before {
  content: "Question #";
}

.question {
  border: none;
  padding-bottom: 0;
}

.answers-list {
  list-style: none;
  padding: 0;
}

button {
  display: block;
  margin: 40px auto;
  width: 40%;
  padding: 15px;
  font-size: 1.438rem;
  background: #d0d0d5;
  border: 3px solid #3b3b4f;
}

button:hover {
    background-color: #002B5C;
    color: #d0d0d5;
    transition: 0.5s ease-in-out;
}

button:active {
    transform: scale(0.95);
    transition: 0.5s ease-in-out;
}

button a {
  text-decoration: none;
  color: inherit;
}

button a:hover {
    background-color: #002B5C;
    color: #d0d0d5;
    transition: 0.5s ease-in-out;
}

button a:active {
    transform: scale(0.95);
    transition: 0.5s ease-in-out;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.question-block, .answer {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.highlight-video {
  display: block;
  width: min(900px, 90%);
  margin: 30px auto;
  border-radius: 12px;
  background-color: black;
}

#thank-you {
  text-align: center;
  font-size: 2rem;
  padding-top: 20px;
  padding-bottom: 20px;
}

@media (max-width: 768px) {

  header {
    width: 100%;
    height: auto;
    min-height: 200px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 15px;
    gap: 15px;
  }

  #face {
    width: 120px;
  }

  h1 {
    font-size: 1.4rem;
    margin: 5px 0;
  }

  nav {
    width: 100%;
    max-width: none;
    height: auto;
  }

  nav > ul {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin: 0;
    padding: 0;
  }

  nav > ul > li {
    width: auto;
    margin: 0;
    padding: 5px 10px;
    text-align: center;
  }

  nav a {
    display: block;
    white-space: nowrap;
  }

  main {
    width: 100%;
    padding-top: 20px;
    background-attachment: scroll;
  }

  section {
    width: 90%;
    max-width: 100%;
  }

  .question-block,
  .answer {
    grid-template-columns: 1fr;
  }

  button {
    width: 80%;
  }

  .highlight-video {
    width: 90%;
  }
}