:root {
  --background: white;
  --foreground: black;
  --black: black;
  --orange: #eb6925;
  --green: #90b33a;

  --nav-height: 80px;

  --font-sans: "Lato", sans-serif;
  --font-cursive: "Amatic SC", cursive;
  --font-mono: "Fira Code", monospace;
}

html {
  background-color: var(--green);
  color: var(--foreground);
  font-family: var(--font-sans);
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.nav {
  height: 120px;
  display: flex;
  padding: 0 4rem;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.2s ease-in-out;
  font-size: 1.25rem;
}

.scrolled .nav {
  backdrop-filter: blur(10px);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  padding: 0 2rem;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.2);
}

.nav_button {
  padding: 0;
  border: none;
  background-color: var(--black);
  cursor: pointer;
  text-decoration: none;
  color: var(--background);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2), 0 0 1px rgba(0, 0, 0, 0.25);
}

.nav_link {
  padding: 0;
  border: none;
  text-decoration: none;
  cursor: pointer;
  color: #222;
  padding: 0.5rem 1rem;
}

.nav_logo {
  height: 24px;
}

.nav_logo svg {
  height: 100%;
}

.header {
  display: flex;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background: url(/cover.png) no-repeat center center/cover;
  padding: 4rem;
}

.header_wrapper {
  position: absolute;
  top: 4rem;
  left: 4rem;
  right: 4rem;
  bottom: 4rem;
}

.cover {
  object-fit: cover;
  width: 100%;
  border-radius: 0.5rem;
}

.header_logo {
  position: absolute;
  /* determined visually */
  bottom: -1.25rem;
  width: 320px;
  z-index: 1;
  filter: invert(1);
}

.logo path {
  fill: #fff;
}

.header_tagline {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 3rem;
  color: white;
  margin: 0;
  text-align: right;
  line-height: 3rem;
  font-family: var(--font-cursive);
}

.green {
  color: var(--green);
  font-weight: bold;
  font-size: 5rem;
  text-shadow: 0 0 5px rgba(0, 0, 0, 1);
}

.main {
  width: 100%;
  height: 100vh;
  background: white;
  position: relative;
  font-size: 1.5rem;
  padding: var(--nav-height) 0;
  box-sizing: border-box;
  font-size: 1.25rem;
  line-height: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.75);
}

.main_wrapper {
  position: relative;
  max-width: 1200px;
  padding: 0 2rem;
}

.main_badge {
  margin: 0;
  background: var(--orange);
  color: white;
  border-radius: 9999px;
  width: 14rem;
  height: 14rem;
  position: absolute;
  top: 4rem;
  right: 4rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  line-height: 3rem;
  text-align: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  font-family: var(--font-cursive);
  transform: rotate(10deg);
}

.main_tagline {
  font-size: 2rem;
  line-height: 3rem;
}

.main_tagline strong {
  font-weight: bold;
  color: var(--green);
}

.action {
  width: 100%;
  height: 100vh;
  background: var(--green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 1.5rem;
  text-align: center;
}

.action_wrapper {
  padding: 0 2rem;
}

.action_email {
  background: black;
  color: white;
  border-radius: 0.5rem;
  border: none;
  font-size: 1.5rem;
  padding: 1rem 1.5rem;
  box-sizing: border-box;
  text-decoration: none;
  font-family: var(--font-mono);
  outline: none;
  text-align: center;
}

.action_image {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
}

.flash {
  animation: flash 0.75s;
}

@keyframes flash {
  0% {
    transform: scale(1);
  }

  25% {
    transform: scale(1.1);
    background: var(--orange);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 0 1rem;
    font-size: 1rem;
    height: 60px;
  }

  .header_tagline {
    display: none;
  }

  .scrolled .nav {
    padding: 0 1rem;
    height: 60px;
  }

  .nav_logo {
    height: 16px;
  }

  .main {
    height: auto;
    font-size: 1rem;
    line-height: 1.75rem;
  }

  .main_wrapper {
    padding: 0 1rem;
  }

  .main_badge {
    transform: none;
    border-radius: 1rem;
    width: auto;
    position: static;
    height: auto;
    padding: 0.5rem 0;
    box-shadow: none;
    margin: 2rem 0;
    font-size: 2rem;
  }

  .main_badge br {
    display: none;
  }

  .main_tagline {
    font-size: 1.25rem;
    line-height: 2.25rem;
  }

  .action {
    font-size: 1.5rem;
  }

  .action_wrapper {
    padding: 0 1rem;
  }

  .action_email {
    width: 100%;
  }

  .header_logo {
    width: 100%;
  }
}