:root {
  --white: white;
  --black: black;
}

body {
  color: #000;
  font-family: "Spock Ess Alt 2", sans-serif;
  font-size: 16px;
  line-height: 24px;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.landing-hero {
  width: 100vw;
  height: 100vh;
  grid-row-gap: 24px;
  text-align: center;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-top: 10vh;
  padding-bottom: 24px;
  display: flex;
  position: relative;
}

.landing-hero-mani {
  z-index: 0;
  width: 90%;
  height: 17vw;
  max-height: 30vh;
  max-width: 1680px;
  background-image: url('../images/base-mani.svg');
  background-position: 50% 100%;
  background-repeat: no-repeat;
  background-size: contain;
  margin-left: auto;
  margin-right: auto;
  position: absolute;
  top: auto;
  bottom: 0%;
  left: 0%;
  right: 0%;
}

.landing-hero-logo {
  width: 24vw;
  height: 24vw;
  max-height: 400px;
  max-width: 400px;
  min-height: 320px;
  min-width: 320px;
  pointer-events: none;
  background-color: rgba(255, 255, 255, 0);
}

.hidden {
  display: none;
}

.landing-hero-logo-mask {
  width: 100%;
  height: 100%;
}

.landing-hero-8xmille {
  width: 240px;
  height: 250px;
  background-image: url('../images/8xmille-xl-l.svg');
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: auto;
  position: absolute;
  top: 48px;
  bottom: auto;
  left: -4px;
  right: auto;
}

.landing-hero-8xmille.xl-l {
  width: 260px;
  height: 280px;
  left: -6px;
  transform: rotate(0);
}

.landing-hero-8xmille.m, .landing-hero-8xmille.s {
  display: none;
}

.landing-hero-h3 {
  color: #f26539;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 24px;
  font-weight: 900;
}

.landing-hero-bottom {
  z-index: 1;
  grid-row-gap: 8px;
  flex-direction: column;
  align-items: center;
  display: flex;
  position: relative;
}

.landing-hero-bottom.s {
  display: none;
}

.landing-hero-h1 {
  background-color: #fff;
  margin-top: 0;
  margin-bottom: 0;
  padding: 2px 10px;
  font-size: 17px;
  line-height: 24px;
}

.landing-hero-h1.s {
  display: none;
}

.landing-hero-h2 {
  background-color: #fff;
  margin-top: 0;
  margin-bottom: 0;
  padding: 2px 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.landing-hero-h2.m, .landing-hero-h2.s {
  display: none;
}

.landing-hero-top {
  grid-row-gap: 16px;
  flex-direction: column;
  display: flex;
}

.txt-highlight {
  background-color: var(--white);
  padding-left: 8px;
  padding-right: 8px;
  display: inline;
}

.footer-text {
  background-color: #fff;
  padding: 2px 10px;
}

.footer-text-s, .landing-hero-8xmille-text {
  display: none;
}

@media screen and (max-width: 991px) {
  .landing-hero {
    padding-top: 24vh;
  }

  .landing-hero-mani {
    width: 100%;
    height: 200px;
    max-height: none;
    background-size: cover;
  }

  .landing-hero-logo {
    width: 40vw;
    height: 40vw;
    min-height: auto;
    min-width: auto;
  }

  .landing-hero-8xmille.xl-l {
    width: 200px;
    height: 210px;
    top: 32px;
    left: -4px;
  }
}

@media screen and (max-width: 767px) {
  .landing-hero {
    height: 110vw;
    padding-top: 40px;
  }

  .landing-hero-mani {
    height: 40vw;
  }

  .landing-hero-logo {
    width: 40vw;
    height: 40vw;
  }

  .landing-hero-8xmille.xl-l {
    display: none;
  }

  .landing-hero-8xmille.m {
    width: 32vw;
    height: 35vw;
    background-image: url('../images/8xmille-m.svg');
    background-position: 100% 100%;
    display: block;
    position: relative;
    top: -2vw;
    left: auto;
    right: -.5vw;
  }

  .landing-hero-h2.xl-l {
    display: none;
  }

  .landing-hero-h2.m {
    display: block;
  }

  .landing-hero-h2.s {
    display: none;
  }

  .landing-hero-top {
    width: 100%;
    grid-row-gap: 32px;
  }

  .landing-hero-logo-container {
    grid-column-gap: 16vw;
    justify-content: flex-end;
    display: flex;
  }
}

@media screen and (max-width: 479px) {
  body {
    font-size: 15px;
  }

  .landing-hero {
    height: auto;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .landing-hero-mani {
    height: 120vw;
    background-image: url('../images/base-mani-s.svg');
    background-position: 50% 0;
    background-size: cover;
    flex: none;
    justify-content: center;
    align-items: center;
    display: flex;
    position: relative;
  }

  .landing-hero-logo {
    width: 64vw;
    height: 64vw;
    margin-left: auto;
    margin-right: auto;
  }

  .landing-hero-8xmille.m {
    display: none;
  }

  .landing-hero-8xmille.s {
    width: 40vw;
    height: 40vw;
    background-image: url('../images/8xmille-s.svg');
    flex: none;
    display: block;
    position: relative;
    top: 0;
    left: -3vw;
  }

  .landing-hero-h3 {
    font-size: 24px;
  }

  .landing-hero-bottom.xl-m {
    display: none;
  }

  .landing-hero-bottom.s {
    display: flex;
  }

  .landing-hero-h1 {
    font-size: 16px;
  }

  .landing-hero-h1.xl-m {
    display: none;
  }

  .landing-hero-h1.s {
    display: block;
  }

  .landing-hero-h2 {
    font-size: 15px;
  }

  .landing-hero-h2.m {
    font-size: 15px;
    display: none;
  }

  .landing-hero-h2.s {
    font-size: 15px;
    display: block;
  }

  .landing-hero-logo-container, .footer-text-s {
    display: block;
  }

  .landing-hero-8xmille-text {
    width: 36px;
    height: 220px;
    background-image: url('../images/8xmille-s-testo.svg');
    background-position: 50% 0;
    background-repeat: no-repeat;
    background-size: contain;
    flex: none;
    padding: 0;
    display: block;
  }
}


@font-face {
  font-family: 'Spock Ess Alt 2';
  src: url('../fonts/spockessalt2-regular-webfont.woff') format('woff'), url('../fonts/SpockEssAlt2-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Spock Ess Alt 2';
  src: url('../fonts/spockessalt2-black-webfont.woff') format('woff'), url('../fonts/SpockEssAlt2-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}