/* Lambotype Font */
@font-face {
  font-family: 'Lambotype';
  src:
    url('/assets/fonts/Lambotype/Lambotype-Variable.woff2') format('woff2'),
    url('/assets/fonts/Lambotype/Lambotype-Variable.woff') format('woff');
  font-weight: 100 900;
  font-stretch: 0% 100%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lambotype';
  src:
    url('/assets/fonts/Lambotype/LambotypeItalic-Variable.woff2') format('woff2'),
    url('/assets/fonts/Lambotype/LambotypeItalic-Variable.woff') format('woff');
  font-weight: 100 900;
  font-stretch: 0% 100%;
  font-style: italic;
  font-display: swap;
}

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

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

body {
  font-family:
    'Lambotype',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  background-color: #0a0a0a;
  color: #ffffff;
}

.container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.content {
  position: absolute;
  top: 0;
  left: 10%;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 60px;
  z-index: 2;
}

.logo-container {
  margin-top: 100px;
}

.logo {
  width: 176px;
  height: auto;
  display: block;
}

.logo-underline {
  width: 176px;
  height: 4px;
  background-color: #f4c430;
  margin-top: 20px;
}

.main-heading {
  font-family: 'Lambotype', sans-serif;
  font-size: 8.3125rem;
  font-weight: bold;
  line-height: 9.375rem;
  text-transform: uppercase;
  letter-spacing: 0;
  font-stretch: 15%;
  color: #ffffff;
  opacity: 1;
}

.subtitle {
  font-size: 1.5625rem;
  line-height: 1.8125rem;
  color: #e0e0e0;
  letter-spacing: 0;
}

.subtitle p {
  margin-bottom: 11px;
  font-weight: 100;
}

.subtitle p:last-of-type {
  margin-bottom: 58px;
}

.download-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.download-buttons a {
  display: block;
  transition: transform 0.2s ease;
}

.download-buttons a:hover {
  transform: scale(1.05);
}

.store-badge {
  height: 48px;
  width: auto;
}

.car-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.car-image picture,
.car-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

/* Tablet styles */
@media (max-width: 1024px) {
  .content {
    padding: 40px;
  }

  .main-heading {
    font-size: 5rem;
  }

  .subtitle {
    font-size: 1rem;
  }
}

/* Mobile styles */
@media (max-width: 768px) {
  .container {
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .content {
    position: relative;
    padding: 36px 24px;
    max-width: 100%;
    align-items: center;
    text-align: center;
    left: 0;
  }

  .logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
  }

  .logo {
    width: 120px;
  }

  .logo-underline {
    width: 120px;
  }

  .main-heading {
    font-size: 4.5rem;
    line-height: 5.25rem;
    margin-top: 22px;
  }

  .subtitle {
    font-size: 1.125rem;
    line-height: 1.5rem;
  }

  .subtitle p {
    margin-bottom: 8px;
  }

  .subtitle p:last-of-type {
    margin-bottom: 45px;
  }

  .download-buttons {
    flex-direction: row;
    align-items: center;
  }

  .store-badge {
    height: 44px;
  }

  .car-image {
    position: fixed;
    min-height: 100vh;
  }

  .car-image img {
    object-position: center center;
    opacity: 1;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .content {
    padding: 36px 20px;
    left: 0;
  }

  .subtitle {
    font-size: 1.125rem;
    /*margin-bottom: 32px;*/
  }

  .car-image {
    min-height: 300px;
  }
}
