@import url('https://fonts.googleapis.com/css2?family=Gothic+A1:wght@400;700;900&display=swap');

:root {
  /* Colors */
  --theme-color-one: #2f4ef7;
  --theme-color-two: #f87849;
  --theme-color-three: #003488;
  --text-color-light: #ffffff;
  --text-color-dark: #282629;

  /* Numbers */
  --crop-mark-offset: 25px;

  --hover-color: #FFD074;
  --active-color: #792042;

  --el-transition-time: 0.5s;
}

html {
  scroll-snap-type: mandatory;
  scroll-snap-type: y mandatory;
}

/*
 * Classes
 */
.is-sr-only {
  clip: rect(0,0,0,0) !important;
  border: none !important;
  height: .01em !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: .01em !important;
}

.button:hover {
  color: var(--hover-color);
}

.button:active {
  color: var(--active-color);
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Gothic A1', sans-serif;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  color: white;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  min-height: 100%;
  background: #555;
}

svg text {
  font-weight: 900;
}

main {
  display: flex;
  height: 100vh;
  flex-flow: column nowrap;
}

.focus-out #landing-container {
  opacity: 0;
}

#landing-container {
  position: absolute;
  height: 100%;
  width: 67vw;
  overflow: hidden;
  align-self: center;
  transition: opacity 2s ease;

  display: flex;
  flex-flow: column nowrap;
  align-items: flex-end;
  justify-content: flex-end;
}

#headline {
  height: 25vh;
}

.title {
  dominant-baseline: central;
  text-anchor: start;
}

#cta {
  margin-bottom: 13vh;
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.5rem;
  font-weight: 900;
  cursor: pointer;
  background: 0;
  border: 0;
  color: white;
}

#cta span {
  font-size: 3rem;
  position: relative;
  bottom: 0.2rem;
  transition: color var(--el-transition-time) ease;
}

svg.play {
  fill: white;
  cursor: pointer;
  transition: fill var(--el-transition-time) ease;
} 

#cta:hover span,
#form-submit:hover span {
  color: var(--hover-color);
}

svg.play:hover {
  fill: var(--hover-color);
}

#cta:active span,
#form-submit:active span {
  color: var(--active-color);
}

svg.play:active {
  fill: var(--active-color);
}

.menu-close #menu-container {
  opacity: 0;
  visibility: hidden;
}

#menu-container {
  flex: 1 1 0;
  position: fixed;
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  transition: opacity 0.5s ease;
  opacity: 1;
}

#blurb-container {
  flex: 1 1 0;
  padding: 2rem;
  padding-right: 3rem;
  position: relative;
  right: 0;
  transition: right 1s ease;
}

.menu-close #blurb-container {
  right: 100vw;
}

#blurb-container p {
  font-weight: 700;
  font-size: 2rem;
  text-align: right;
}

#sub-headline text {
  text-align: end;
  font-family: "Gothic A1";
  font-size: 4.5vw;
  dominant-baseline: central;
  text-anchor: start;
}

#sub-headline tspan {
  text-anchor: end;
}

#video-thumbs-container {
  flex: 2 2 0;
  display: flex;
  flex-flow: column nowrap;
  width: 100%;
  gap: 3rem;
}

.video-thumb-container {
  position: relative;
}

.video-thumb-container video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.video-overlay {
  height: 100%;
  width: 100%;
  box-shadow: inset 0 -70px 30px rgba(0,0,0,0.7);
  position: absolute;
  top: 0;
  cursor: pointer;
}

.video-overlay svg {
  width: 100px;
  opacity: 0.7;
  fill: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: fill var(--el-transition-time) ease;
}

.video-overlay:hover svg {
  fill: var(--hover-color);
}

.video-overlay:active svg {
  fill: var(--active-color);
}

.video-overlay h3 {
  position: absolute;
  bottom: 0;
  padding: 0.7rem 1.4rem;
  margin: 0;
  font-size: 2rem;
}

#form-container {
  flex: 1 1 0;
  display: flex;
  flex-flow: column nowrap;
  gap: 1rem;
  padding: 4rem;
  position: relative;
  left: 0;
  transition: left 1s ease;
}

.menu-close #form-container {
  left: 100vw;
}

#close-menu {
  position: absolute;
  top: 1rem;
  right: 1rem;
  fill:white;
  cursor: pointer;
  transition: fill var(--el-transition-time) ease;
}

#close-menu:hover {
  fill: var(--hover-color);
}

#close-menu:active {
  fill: var(--active-color);
}

#form-container h3 {
  font-size: 2rem;
}

#form-container input[type="text"],
#form-container textarea {
  background: transparent;
  border: 0;
  border-bottom: 4px solid white;
  color: white;
  resize: none;
  outline: none;
  padding: 0.5rem;
  transition: border-color var(--el-transition-time) ease;
}

#form-container input[type="text"]::placeholder,
#form-container textarea::placeholder {
  opacity: 1;
  font-family: 'Gothic A1', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
}

#form-container input[type="text"]:focus,
#form-container textarea:focus {
  border-color: var(--active-color);
}

#form-container textarea {
  height: 30vh;
}

#form-submit {
  align-self: flex-end;
  background: 0;
  border: 0;
  color: white;
  font-weight: 900;
  font-size: 2rem;
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  cursor: pointer;
}

#form-submit span {
  transition: color var(--el-transition-time) ease;
}

#form-submit svg {
  position: relative;
  bottom: 0.3rem;
  fill: white;
  transition: fill var(--el-transition-time) ease;
}

/*
 * Background
 */

