*
{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body
{
  background: #111;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  overflow-x: hidden;
}
header
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px 100px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .logo
{
  color: #fff;
  text-transform: uppercase;
  font-size: 2em;
  font-weight: 700;
  text-decoration: none;
}

.toggle
{
  position: relative;
  width: 60px;
  height: 60px;
  border: 0;
  background: url(/menu.png) no-repeat center / 30px;
  cursor: pointer;
}
.toggle.active
{
  background: url(/close.png) no-repeat center / 25px;
}
.toggle:focus-visible,
a:focus-visible
{
  outline: 2px solid #0f6af1;
  outline-offset: 4px;
}
.main
{
  position: absolute;
  right: 0;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: 140px 100px 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111;
  transition: right 0.5s;
  z-index: 2;
}
.main.active
{
  right: 300px;
}

.main video
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}
.overlay
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 70%);
}
.text
{
  position: relative;
  z-index: 10;
}

.text h1
{
  font-size: 5em;
  font-weight: 800;
  color: #fff;
  line-height: 1em;
  text-transform: uppercase;
}
.text p
{
  font-size: 1.1em;
  color: #fff;
  margin: 20px 0;
  font-weight: 400;
  max-width: 700px;
}
.text a.button
{
  display: inline-block;
  font-size: 1em;
  background: #fff;
  padding: 10px 30px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  margin-top: 10px;
  color: #111;
  letter-spacing: 2px;
  transition: 0.2s;
}
.text a.button:hover
{
  letter-spacing: 6px;
}

ol.instructions
{
  font-size: 1.1em;
  color: #fff;
  margin: 20px 30px;
  font-weight: 400;
  max-width: 700px;
}

.store-badge
{
  display: inline-block;
  margin-top: 10px;
  transition: transform 0.2s;
}
.store-badge:hover
{
  transform: scale(1.04);
}
.download
{
  display: block;
  width: 220px;
  max-width: 60vw;
  height: auto;
}

footer
{
  position: absolute;
  z-index: 10;
  left: 100px;
  right: 100px;
  bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.social
{
  display: flex;
  align-items: center;
}
.social li
{
  list-style: none;
}
.social li a
{
  display: inline-block;
  margin-right: 20px;
  filter: invert(1);
  transform: scale(0.5);
  transition: 0.5s;
}
.social li a:hover
{
  transform: scale(0.5) translateY(-15px);
}
.legal a
{
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85em;
  text-decoration: none;
  margin-left: 20px;
}
.legal a:hover
{
  color: #fff;
}

.menu
{
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
}
.menu ul li
{
  list-style: none;
  line-height: 2em;
}
.menu ul li a
{
  text-decoration: none;
  font-size: 24px;
  color: #111;
}
.menu ul li a:hover,
.menu ul li a[aria-current="page"]
{
  color: #0f6af1;
}

/* Tablets and small laptops */
@media (max-width: 991px)
{
  header
  {
    padding: 30px 40px;
  }
  .main
  {
    padding: 120px 40px 110px;
  }
  footer
  {
    left: 40px;
    right: 40px;
  }
  .text h1
  {
    font-size: 4em;
  }
}

/* Phones */
@media (max-width: 600px)
{
  header
  {
    padding: 20px;
  }
  header .logo
  {
    font-size: 1.5em;
  }
  .main
  {
    padding: 100px 20px 110px;
  }
  .main.active
  {
    right: 240px;
  }
  .menu
  {
    width: 240px;
  }
  footer
  {
    left: 20px;
    right: 20px;
    bottom: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .social li a
  {
    margin-right: 0;
  }
  .legal a
  {
    margin: 0 20px 0 0;
  }
  .text h1
  {
    font-size: 2.6em;
  }
  .text p,
  ol.instructions
  {
    font-size: 1em;
  }
  .download
  {
    width: 180px;
  }
}

@media (prefers-reduced-motion: reduce)
{
  .main,
  .store-badge,
  .social li a,
  .text a.button
  {
    transition: none;
  }
}
