@import url('https://use.typekit.net/ina5gxz.css');

@font-face {
  font-family: 'CartoGothicStd';
  src: url('../fonts/CartoGothicStd-Bold.otf');
}

@font-face {
  font-family: 'BasisGrotesquePro-light';
  src: url('../fonts/BasisGrotesquePro-Light.ttf');
}

@font-face {
  font-family: 'BasisGrotesquePro-Bold';
  src: url('../fonts/BasisGrotesquePro-Bold.ttf');
}

@font-face {
  font-family: 'BasisGrotesquePro';
  src: url('../fonts/BasisGrotesquePro-Regular.ttf');
  font-weight: 125 950;
  font-stretch: 75% 125%;
  font-style: normal;
}

:root {
  font-family: 'BasisGrotesquePro', Avenir, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;

  color-scheme: light dark;
  color: white;
  background-color: #ffffff;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

a {
  font-weight: 500;
  color: #000;
  text-decoration: inherit;
}
a:hover {
  color: #f7f7f7;
  filter: brightness(0.8);
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

#app {
  width: auto;
  margin: 0;
  padding: 2rem;
  text-align: center;
}

.header {
  background-color: rgba(255,255,255,.2);
  display: flex;
  position: relative;
  top: 0;
  left: 0;
  width: -webkit-fill-available;
  padding: 10px 20px;
}

.header a .logo, .footer-container .company-logo .logo {
  width: auto;
  height: 60px;
}
.header .socials .social img {
  filter: grayscale(1) brightness(0) contrast(1);
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.vanilla:hover {
  filter: drop-shadow(0 0 2em #f7df1eaa);
}
.footer-container .socials .social img, .footer-container .company-logo .logo, .footer-container .whatsapp-contact, .footer-container .email-contact {
  filter: grayscale(1) brightness(0) contrast(1);
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  height: 72px;
  z-index: 100;
}

.header a {
  padding: 0;
  margin: 0;
  height: 22px;
  color: #777;
}

.header .cta-logo {
  height: auto;
}

.header a img {
  height: 22px;
  margin-left: 24px;
}

.header .logo {
  padding: 0;
}

.header .links {
  padding-right: 64px;
}

.header .links a {
  padding: 14px;
  font-weight: 200;
}

.header .links a.selected {
  font-weight: 600;
  color: #555;
  font-style: italic;
}

.titolo-italic,
.titolo-contatti,
.titolo-services,
.titolo-services-italic {
  font-size: 5rem;
  line-height: 1.2;
  margin: 0;
  padding-top: 100px;
}
.titolo-italic,
.titolo-services-italic {
  font-family: 'CartoGothicStd';
  font-size: 5.5rem;
  margin-top: -0.5rem;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #fff;
  }
  button {
    background-color: #f9f9f9;
  }
}

@media only screen and (max-width: 700px) {
  .above-the-fold-contacts-hidden {
    display: none !important;
  }
  .header {
    flex-direction: column;
  }
  .header a img {
    margin-left: 0;
  }
  .header .links {
    flex-direction: column;
    justify-content: space-around;
    padding-right: 0;
  }
  #homepage .header a img {
    height: 22px;
    margin-top: 12px;
    margin-left: 0;
  }
  .header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 14px 0px;
  }
}
@media only screen and (max-width: 500px) {
  .header .links {
    margin-top: 18px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
  }
  .header .links a {
    font-size: 13px;
    padding: 4px 8px;
  }
  #homepage .header a img {
    height: 40px;
    margin-top: 5px;
  }
  #homepage .header .socials {
    align-items: center;
  }
  #homepage .header .social img {
    width: 25px;
    height: auto;
  }
}
