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

@font-face {
  font-family: 'Azteca';
  src: url('assets/fonts/Azteca-SemiBold.woff2') format('woff2'),
       url('assets/fonts/Azteca-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
}

.teaser-container {
  width: 100%;
  min-height: 100svh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: url('assets/desk-teaserbackground.webp') center center no-repeat;
  background-size: cover;
  color: white;
  text-align: center;
  padding: 20px;
  padding-bottom: 15vh;
}

@supports not (height: 100dvh) {
  .teaser-container { height: 100vh; }
}

.teaser-logo {
  width: 50vw;
  min-width: 380px;
  max-width: 850px;
  height: auto;
  margin-bottom: 160px;
}

.teaser-subtitle {
  font-family: 'Azteca', sans-serif;
  font-size: 32px;
  color: #ffffff;
  font-weight: 400;
  line-height: 44.8px;
  margin-bottom: 10px;
}

.teaser-title {
  font-family: 'Azteca', sans-serif;
  font-size: 40px;
  color: #ffffff;
  font-weight: 600;
  line-height: 56px;
}

/* Mobile */
@media (max-width: 768px) {
  .teaser-container {
    background: url('assets/mobile-teaser-background.webp') center center no-repeat;
    background-size: cover;
    justify-content: flex-start;
    padding-top: 15vh;
  }

  .teaser-logo {
    width: 380px;
    max-width: 85%;
    margin-bottom: 120px;
  }

  .teaser-subtitle {
    font-size: 24px;
    margin-bottom: 5px;
    font-weight: 50;
  }

  .teaser-title {
    font-size: 30px;
  }
}

/* 404 */
.teaser-container h1 {
  font-family: 'Azteca', sans-serif;
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 12px;
}

.teaser-container h2 {
  font-family: 'Azteca', sans-serif;
  font-size: 24px;
  font-weight: 400;
}

.btn-404 {
  font-family: 'Azteca', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  border: 2px solid #6fbf73;
  border-radius: 8px;
  padding: 8px 20px;
  margin-top: 2rem;
  display: inline-block;
}

.btn-404:hover {
  background-color: rgba(255, 255, 255, 0.15);
}
