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

:root {
  --p-font: "Bellota Text", cursive;
  --header-font: "Plaster", cursive;
  --section-title-font: "Fredoka", sans-serif;
  --roboto-font: "Roboto Slab", serif;
  --raleway-font: "Raleway", sans-serif;
  --color-gold: #f6e58d;
  --color-white: #ecf0f1;
  --color-black: #2f3640;
  --color-grey: #7f8c8d;
}

body {
  margin: 0;
  font-family: var(--roboto-font);
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--color-white);
  background-color: var(--color-black);
}

h1 {
  margin-top: 0;
  font-family: var(--header-font);
  color: var(--color-white);
  text-transform: uppercase;
}

h2 {
  margin: 0 0 0.65em;
  font-family: var(--section-title-font);
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-white);
}

p {
  margin-top: 0;
  margin-bottom: 1.25em;
}

.container {
  width: 92%;
  margin: 0 auto;
}

.nav-toggle {
  font-size: 3rem;
  color: var(--color-white);
  margin-left: 0.25em;
  margin-top: 0;
  position: absolute;
  z-index: 100;
  cursor: pointer;
  opacity: 0.8;
}

.nav {
  width: 100%;
  visibility: hidden;
  height: 0;
}

.nav--visibile {
  visibility: visible;
  height: auto;
}

.nav__list {
  list-style: none;
  text-align: center;
  margin-top: 1em;
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.nav__item {
  margin-top: 0.5em;
}

.nav__link {
  color: var(--color-white);
  text-decoration: none;
  font-family: var(--raleway-font);
  font-weight: 200;
  text-transform: uppercase;
  transition: 0.2s ease-in-out;
  font-size: 1.6rem;
}

.nav__link:hover {
  text-shadow: var(--color-gold) 3px 3px 3px;
}

.title-section {
  margin-top: 3.5em;
  text-align: center;
}

.title-text {
  font-family: var(--raleway-font);
  font-weight: 800;
  text-shadow: var(--color-black) 2px 2px 5px;
  font-size: 3.1rem;
  line-height: 1;
  margin-bottom: 0.3em;
}

.role-meta {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--p-font);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 300;
}

.coach-body {
  max-width: 780px;
  padding: 3.5em 0 5em;
}

.coach-section {
  margin-bottom: 3.25em;
}

.coach-section p,
.coach-list {
  font-family: var(--p-font);
  font-weight: 300;
}

.coach-list {
  margin: 0;
  padding-left: 1.3em;
}

.coach-list li {
  margin-bottom: 1em;
  padding-left: 0.25em;
}

.coach-list li::marker {
  color: var(--color-gold);
}

.coach-list strong {
  font-weight: 700;
}

.applying-section {
  padding-top: 0.5em;
}

.email-link {
  color: var(--color-white);
  text-decoration: underline 2px dotted var(--color-white);
  text-underline-offset: 4px;
}

.email-link:hover {
  color: var(--color-gold);
}

.apply-button {
  display: inline-block;
  margin-top: 1.25em;
  padding: 0.7em 1.15em;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  font-family: var(--raleway-font);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.2s ease-in-out;
}

.apply-button:hover {
  color: var(--color-black);
  background-color: var(--color-white);
}

@media (min-width: 800px) {
  body {
    font-size: 1.25rem;
  }

  .nav-toggle {
    visibility: hidden;
  }

  .nav {
    visibility: visible;
    height: auto;
  }

  .nav__list {
    display: flex;
  }

  .nav__item {
    margin-left: 2em;
  }

  .title-section {
    margin-top: 4em;
  }

  .title-text {
    font-size: 5rem;
  }

  .role-meta {
    font-size: 1.2rem;
  }

  .coach-body {
    padding-top: 4em;
  }

  h2 {
    font-size: 2.4rem;
  }
}
