/* RESET */
*, *::before, *::after {
  box-sizing: border-box;
}

body, h1, h2, h3, h4, p, figure, blockquote,dl, dd {
  margin: 0;
}

ul[role='list'], ol[role='list'] {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  font-family: 'Comfortaa', sans-serif;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img, picture {
  max-width: 100%;
  display: block;
}

input, button, textarea, select {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* BASICS */
.wrapper {
  width: 80%;
  min-width: 25ch;
  margin-left: auto;
  margin-right: auto;
  margin-inline: auto;
}

.site-head, .site-foot {
  display: flex;
  align-items: center;
}

.site-head {
  position: absolute;
  width: 100%;
  min-height: 20vh;
  z-index: 1;
}

.site-foot {
  background: #7a4a0a;
  min-height: 15vh;
  color: #fff;
}

.brand {
  width: 10vw;
  max-width: 15ch;
  min-width: 10ch;
}

/* Video */
.video {
  width: 100%;
  padding-top: 56.25%;
  position: relative;
}

.video > iframe {
  position:absolute;
  top: 0;
  left:0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}


a {
  color: #fff;
  text-decoration-style: wavy;
  text-decoration-thickness: 1px;
  text-decoration-color: #ffd00d;
}
/* GRID */
main {
  display: grid;
  grid-template-rows: 20vh 10vh 1fr 1fr;
  gap: 3rem;
  background: #7a4a0a;
}

.copy {
  color:#fff;
  font-size:1.2rem;
  font-size: clamp(1rem, calc(1rem + 1vw), 1.5rem);
}
.intro {
  grid-row: 2/4;
  grid-column: 1;
  align-self:flex-end;
  font-size: clamp(1rem, calc(1rem + 1vw), 2rem);
}

.copy h1 {
  line-height: 1.1;
  margin-bottom: 1rem;

}

.video-outer .copy {
  padding-bottom: 2rem;
}

.btn {
  display: inline-block;
  background: #e5faff;
  color:#343434;
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 2px 2px 4px rgba(0,0,0,.2);
  border: solid #ffd00d 2px;
  text-decoration: none;
  transition: all 250ms ease;
  font-weight: bold;
}

.btn:hover {
  background: #ffd00d;
  border: solid #e5faff 2px;
}
main svg {
  grid-row: 1/5;
  grid-column:1;
}

.video-outer {
  grid-row: 4;
  grid-column:1;
  align-self:flex-end;
}

@media (min-width:800px) {
  main {
    grid-template-rows: 20vh 1vh 1fr 1fr;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    position:relative;
    overflow-x: hidden;
    overflow-y: clip;
  }

  main svg {
    grid-row: 1/-1;
    grid-column: 1/-1;
    position:absolute;
    bottom: -70vh;
    width:120%;
    left:-20%;
  }

  .intro {
    grid-column: 2;
    align-self: center;
    z-index:1;
    color: #343434;
  }

  .intro a {
    color: inherit;
  }

  .copy h1 {
    font-size: calc(2.5em + 1vw);
  }
  .video-outer {
    grid-column:2;
    z-index:1;
  }

}

@media (min-width: 800px) and (max-width: 1000px) {
  main svg {
    bottom: -50vh;
  }
}
