:root {
  --dark: #161c26;
  --light: #ffffff;
  --salmon: #f49f7d;
  --grey: #acacac;
  --sun-size: calc(300px + 30vw);
  --swiper-navigation-size: 20px;
  --swiper-theme-color: var(--salmon);
}

html {
  color: #222;
  font-size: 1.0625em;
  line-height: 1.47059;
}

@font-face {
  font-family: "Favorit Book";
  src: url("../fonts/ABCFavorit-Book.woff2") format("woff2"),
    url("../fonts/ABCFavorit-Book.woff") format("woff");
}

@font-face {
  font-family: "Favorit Light";
  src: url("../fonts/ABCFavorit-Light.woff2") format("woff2"),
    url("../fonts/ABCFavorit-Light.woff") format("woff");
}

@font-face {
  font-family: "Favorit Medium";
  src: url("../fonts/ABCFavorit-Medium.woff2") format("woff2"),
    url("../fonts/ABCFavorit-Medium.woff") format("woff");
}

@font-face {
  font-family: "Favorit Bold";
  src: url("../fonts/ABCFavorit-Bold.woff2") format("woff2"),
    url("../fonts/ABCFavorit-Bold.woff") format("woff");
}

@font-face {
  font-family: "Favorit Light Extended";
  src: url("../fonts/ABCFavoritExtended-Light.woff2") format("woff2"),
    url("../fonts/ABCFavoritExtended-Light.woff") format("woff");
}

body {
  width: 100vw;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--dark);
  background: var(--light);
  font-family: "Favorit Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.dark {
  background: var(--dark);
  color: var(--light);
}

.bg-dark {
  background: var(--dark);
}

.col-light {
  color: var(--light);
}

.col-dark {
  color: var(--dark);
}

.col-grey {
  color: var(--grey);
}

.col-salmon {
  color: var(--salmon);
}

.fade {
  transition: background 5s ease, color 5s ease;
}

#logo {
  position: absolute;
  top: 0;
  right: 0;
  padding: 32px 24px;
  z-index: 20;
}

#logo svg {
  width: 128px;
  color: black;
  transition: inherit;
  cursor: pointer;
}

.dark #logo svg {
  color: var(--light);
}

.text-1 {
  font-family: 'Favorit Light Extended';
  font-size: 42px;
  line-height: 45px;
}

.text-2 {
  font-family: 'Favorit Light Extended';
  font-size: 30px;
  line-height: 38px;
}

.text-3 {
  font-family: 'Favorit Light';
  font-size: 17px;
  line-height: 25px;
}

.text-4 {
  font-family: 'Favorit Light';
  font-size: 16px;
  line-height: 25px;
}

.text-5 {
  font-family: 'Favorit Light Extended';
  font-size: 17px;
  line-height: 25px;
}

.text-6 {
  font-family: 'Favorit Book';
  font-size: 20px;
  line-height: 30px;
}

.text-7 {
  font-family: 'Favorit Book';
  font-size: 14px;
  line-height: 22px;
}

.text-8 {
  font-family: 'Favorit Bold';
  font-size: 14px;
  line-height: 22px;
}

.text-9 {
  font-family: 'Favorit Book';
  font-size: 14px;
  line-height: 25px;
}

.text-10 {
  font-family: 'Favorit Book';
  font-size: 14px;
  line-height: 20px;
}

.text-11 {
  font-family: 'Favorit Bold';
  font-size: 17px;
  line-height: 25px;
}

.wrapper-1 {
  max-width: 899px;
}

.wrapper-2 {
  max-width: 680px;
}

.wrapper-3 {
  max-width: 1150px;
}

.wrapper-centered {
  margin: auto;
}

.line {
  width: 1px;
  margin: auto;
  background: var(--dark);
  transform: scaleY(1);
  transform-origin: top;
  transition: transform 0.5s ease;
}

.line-s {
  height: 160px;
}

.line-l {
  height: 315px;
}

.dark .line {
  background: #acacac;
}

.cta {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all 300ms ease;
}

.cta:hover {
  color: var(--salmon);
}

.cta.col-salmon:hover {
  color: var(--dark);
}

.bg-dark .cta.col-salmon:hover {
  color: var(--light);
}

.arrow::before {
  content: "\21B3";
  padding-right: 0.5em;
}

.underline {
  display: inline-block;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--salmon);
}



.section-1 {
  height: 670px;
}

.payoff {
  position: absolute;
  bottom: 35px;
  left: 24px;
  width: 241px;
  height: 241px;
  box-sizing: border-box;
  padding: 14px 15px 58px 15px;
  border: 2px solid var(--light);
}

.description {
  padding-top: 91px;
  padding-bottom: 90px;
}

.img-1 {
  width: 100%;
  height: 100%;
}

.img-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.img-3 {
  width: 100%;
  height: 490px;
  box-sizing: border-box;
}

.img-3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.img-4 {
  width: 100%;
  height: 490px;
  box-sizing: border-box;
}

.img-4 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.apps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 70px;
  padding-bottom: 70px;
}

.app-btn {
  margin: 21px 15px;
}

.section-2 {
  padding-top: 90px;
  padding-bottom: 83px;
}

.section-3 {
  padding-top: 90px;
}

.scopri {
  padding-top: 90px;
  padding-bottom: 115px;
}

.footer {
  padding-bottom: 50px;
}

#info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

li {
  list-style: none;
}

a[active] {
  color: var(--salmon);
}

.rel {
  position: relative;
}

.m-0 {
  margin: 0;
}

.margin-r-1 {
  margin-right: 15px;
}

.margin-r-2 {
  margin-right: 32px;
}

.margin-b-1 {
  margin-right: 21px;
}

.p-0 {
  padding: 0;
}

.padding-x-1 {
  padding-left: 24px;
  padding-right: 24px;
}

.padding-y-1 {
  padding-top: 30px;
  padding-bottom: 30px;
}

.padding-t-1 {
  padding-top: 45px;
}

.t-center {
  text-align: center;
}

.grid-2-1 {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-template-rows: repeat(4, max-content);
  grid-gap: 0 60px;
}

.flex {
  display: flex;
}

.justify {
  justify-content: space-between;
}


.dark {
  background: var(--dark);
  color: var(--light);
}

.bg-salmon {
  background: var(--salmon);
}

.bg-dark {
  background: var(--dark);
}

.col-light {
  color: var(--light);
}

.col-salmon {
  color: var(--salmon);
}

.col-grey {
  color: var(--grey);
}

@media only screen and (min-width: 1024px) {
  .text-1 {
    font-size: 58px;
    line-height: 60px;
  }
  
  .text-2 {
    font-size: 36px;
    line-height: 45px;
  }

  .text-4 {
    font-size: 17px;
    line-height: 25px;
  }

  .desktop-off {
    display: none;
  }

  #logo {
    padding: 32px 40px;
  }

  #logo svg {
    width: 143px;
  }

  .payoff {
    width: 329px;
    height: 329px;
    bottom: 207px;
    left: 155px;
    padding: 26px 26px 57px 24px;
    border-width: 3px;
  }

  .custom-wrapper {
    position: relative;
    min-height: 181vw;
  }

  .main-content {
    max-width: 51%;
    padding: 32vw 9vw 90px;
    margin-left: auto;
    box-sizing: border-box;
  }
  
  #info {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-2-1 {
    grid-template-rows: repeat(2, max-content);
    grid-template-columns: 2fr 1fr;
  }

  .img-2,
  .img-3,
  .img-4,
  .img-5,
  .apps {
    position: absolute;
    width: 49%;
    height: auto;
  }

  .img-2 {
    padding-left: 16vw;
    top: 0;
    right: 0;
    box-sizing: border-box;
  }
  
  .img-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .img-3 {
    padding: 0;
    top: 10vw;
    left: 0;
  }

  .img-4 {
    padding: 0;
    padding-left: 11vw;
    top: 76vw;
    left: 0;
    box-sizing: border-box;
  }
  
  .img-5 {
    padding: 0;
    top: 126vw;
    left: 0;
  }

  .img-5 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .apps {
    bottom: 0;
    left: 0;
  }

  .scopri {
    padding-top: 45px;
    padding-bottom: 190px;
  }
}

@media only screen and (min-width: 1600px) {
  .apps {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media only screen and (max-width: 1023px) {
  .mobile-off {
    display: none;
  }

  .lines {
    border: solid var(--grey);
    border-width: 1px 0;
  }

  .padding-y-1-mobile {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}