@font-face {
    font-family: 'Miriam Libre';
    src: url('../fonts/MiriamLibre-Regular.woff2') format('woff2'),
        url('../fonts/MiriamLibre-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Larsseit';
    src: url('../fonts/Larsseit-Light.woff2') format('woff2'),
        url('../fonts/Larsseit-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

body {
  overflow-x: hidden;
}

@media screen and (max-width: 640px) {
  .text-content {
    justify-content: space-between;
    height: 94vh;
  }
  h1 img {
    width: 150px;
  }
}
@media screen and (min-width: 641px) {
  .grid-container-fluid {
    height: 100vh;
  }
  .grid-x {
    height: 100vh;
  }
  .text-content {
    justify-content: center;
    height: 100vh !important;
  }
  h1 img {
    width: 300px;
  }
}
@media screen and (min-width: 1024px) {
  h1 img {
    width: 300px;
  }
}

video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  height: auto;
  width: 100vw;
  object-fit: cover;
}

.video-container {
  position: relative;
}

.text-content {
  color: #FFF;
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: 2rem;
  height: fit-content;
  padding-bottom: 1rem;
}

h1, h2, p {
  margin: 3rem 0;
}

h2 {
  font-family: 'Miriam Libre';
  line-height: 1.1;
  font-size: 3.6rem;
}

h2 span {
  white-space: nowrap;
}

p {
  font-family: 'Larsseit';
  font-size: 1.1rem;
}

a, a:hover, a:visited, a:focus, a:active {
  font-family: 'Miriam Libre';
  text-transform: uppercase;
  padding: 5px 10px;
  background-color: #47f5fc;
  color: #360f6a;
  border-radius: 6px;
  font-size: 1.1rem;
}
