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

:root {
  --accent-color: #fff;
  --bg-color: #000;
}

* {
  box-sizing: border-box;
  padding: 0;
  text-decoration-line: none !important;
}

html, body {
  background-color: var(--bg-color);
  color: var(--accent-color);
  position: relative;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  font-family: 'Quantico', sans-serif!important;
}

.overlay-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden; /* This gets toggled by JS */
}


.overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 450px;
  text-align: center;
  padding: 0rem 1rem;
  box-sizing: border-box;
  transition: transform 0.1s linear 0s;
  transform-origin: top center;
}


.logo-video {
    width: 240px;
    max-width: 80vw;
    border-radius: 0.5rem;
    mix-blend-mode: multiply;
    z-index: 1;
  }
  

h1 {
  font-size: 3rem;
  margin: 0px;
  letter-spacing: 0.2em;
  line-height: .9em;
}

.intro {
    min-width: 420px;
    max-width: 520px;
    margin: 0px;
    font-size: 14px;
}

.section {
  display: flex;
  align-items: center;
  align-content: stretch;
  flex-direction: column; 
  margin: 0;
  margin-top: 10px;
}

.section-title {
  margin-bottom: 10px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}





@media (max-height: 550px), (max-width: 350px) {
  .overlay-wrapper {
    transform: scale(1);
  }
  body {
    overflow-y: auto;
  }
}


/* Manual media queries

@media (max-height: 850px) {
  .overlay {
    transform: scale(0.95);
  }
}

@media (max-height: 800px) {
  .overlay {
    transform: scale(0.9);
  }
}

@media (max-height: 750px), (max-width: 520px) {
  .overlay {
    transform: scale(0.85);
  }
}

@media (max-height: 700px), (max-width: 412px) {
  .overlay {
    transform: scale(0.8);
  }
}

@media (max-height: 650px), (max-width: 375px) {
  .overlay {
    transform: scale(0.75);
  }
  body {
    overflow-y: auto;
  }
}

@media (max-height: 600px), (max-width: 350px) {
  .overlay {
    transform: scale(0.7);
  }
  body {
    overflow-y: auto;
  }
}

  */