* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Confillia Bold", sans-serif;
  font-weight: bolder;
}

body {
  width: 100vw;
  height: 100vh;
  background: #a80000;
  overflow: hidden;
    /* Hide any potential scrollbars */
    touch-action: none;
    /* Prevent touch actions that can lead to accidental scrolling */

}

nav {
  position: fixed;
  width: 100%;
  padding: 30px 20px; /* shorthand */
  display: flex;
  justify-content: space-between;
  z-index: 2;
  align-items: center;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 2em;
  border-top: 1px solid rgba(0, 0, 0, 0.25);
  font-family: "Confillia Bold", sans-serif;
}

nav a,
footer a {
  text-decoration: none;
  color: #0f0f0f;
  font-family: "Confillia Bold", sans-serif;
  /* padding: 0 1em; */
}

.logo a {
  font-weight: bolder;
  font-size: 16px;
}

nav .logo a,
nav .contact a {
  font-size: 16px !important;
  font-weight: bolder;
  line-height: 1;
}

.wrapper {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#svg {
  position: fixed;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.text {
  text-decoration: none;
  font-family: "Confillia Bold", sans-serif;
  font-size: 175px;
  font-weight: bolder;
  line-height: 175px;
  color: #0f0f0f;
  height: 175px;
  overflow: hidden;
  text-transform: uppercase;
}

div {
  display: flex;
}

.text:hover .letter,
.text.play .letter {
  transform: translateY(-100%);
}

.text .letter {
  display: inline-block;
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

.letter:nth-child(1) {
  transition-delay: 0s;
}

.letter:nth-child(2) {
  transition-delay: 0.015s;
}

.letter:nth-child(3) {
  transition-delay: 0.03s;
}

.letter:nth-child(4) {
  transition-delay: 0.045s;
}

.letter:nth-child(5) {
  transition-delay: 0.06s;
}

.letter:nth-child(6) {
  transition-delay: 0.075s;
}

.letter:nth-child(7) {
  transition-delay: 0.09s;
}

.letter:nth-child(8) {
  transition-delay: 0.105s;
}

.letter:nth-child(9) {
  transition-delay: 0.12s;
}

.letter:nth-child(10) {
  transition-delay: 0.135s;
}

.letter:nth-child(11) {
  transition-delay: 0.15s;
}

.letter:nth-child(12) {
  transition-delay: 0.165s;
}

a:link {
  color: black;
  background-color: transparent;
  text-decoration: none;
}

a:visited {
  color: black;
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: white;
  background-color: transparent;
}

a:active {
  color: black;
  background-color: transparent;
}

/* ipad pro */
@media screen and (max-width: 1200px) {
   .text {
    font-size: 80px;
  }
  .links {
    font-size: 16px;
  }
  .location {
    font-size: 16px;
  }
  .mail {
    font-size: 16px;
  }
  .container {
    padding: 0 1em;
  }
    .text {
      line-height: 150px;
      height: 150px;
    }
}

/* ipad */
@media screen and (max-width: 900px) {
  .text {
    font-size: 50px;
  }

  .links {
    font-size: 16px;
  }

  .location {
    font-size: 16px;
  }

  .mail {
    font-size: 16px;
  }

  .container {
    padding: 0 1em;
  }

  .text {
    line-height: 100px;
    height: 100px;
  }
}


/* mobile display */
@media screen and (max-width: 600px) {
  .text {
    font-size: 40px;
  }

  .links {
    font-size: 14px;
  }

  .location {
    font-size: 12px;
  }

  .mail {
    font-size: 12px;
  }

  .container {
    padding: 0 1em;
  }

  .text {
    line-height: 90px;
    height: 90px;
  }
}