/*
Theme Name: K Theme
Theme URI: https://skriba.cloud/themes/k-theme
Author: Skriba
Author URI: https://skriba.cloud
Description: Custom starter theme used by Skriba for tailored WordPress builds.
Version: 1.0.0
Text Domain: k_theme
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --lightgray: #EFEFEF;
  --gray: #242424;
  --yellow: #FBE910;
}

@font-face {
  font-family: "Inter";
  src: url(./fonts/Inter-VariableFont_opsz\,wght.ttf) format("truetype");
}

html {
  margin: 0;
  padding: 0;
  font-size: 18px;
  background-color: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  background-color: white;
  position: relative;
  color: var(--gray);
}

body p:empty:before {
  content: none;
}

body p:empty {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-weight: 700;
}

h1 {
  font-weight: 700;
  font-size: 3rem;
}

h2 {
  font-size: 2.4rem;
}

h4 {
  text-align: center;
  text-transform: uppercase;
}

a {
  color: var(--yellow);
  text-decoration: none;
}

a:hover {
  color: var(--yellow);
}

a:focus,
a:hover {
  text-decoration: none;
}

span.wpcf7-list-item {
  margin: 0;
}

label.accetta {
  font-family: 'Inter';
  font-weight: 400;
  color: white;
  font-size: 0.8rem;
}

label.accetta a {
  color: var(--yellow);
}

input:focus,
textarea:focus {
  outline-offset: 0;
  outline: 0;
}

.preloader {
  background-color: var(--yellow);
  width: 100vw;
  height: 100vh;
  position: fixed;
  z-index: 1000000;
  bottom: 0;
  left: 0;
}

.preloader.out {
  height: 0;
  width: 0;
  -webkit-transition: height cubic-bezier(.29, .78, .31, .95) .5s, bottom ease-in 0.3s;
  -o-transition: height cubic-bezier(.29, .78, .31, .95) 0.5s, bottom ease-in 0.3s;
  transition: height cubic-bezier(.29, .78, .31, .95) 0.5s, bottom ease-in 0.3s;
}

.standard .content {
  padding-top: 50px;
  padding-bottom: 80px;
}

.standard .content h2,
.standard .content h3,
.standard .content h4 {
  text-align: inherit;
  text-transform: inherit;
  margin-bottom: 10px;
  margin-top: 20px;
}

/* Password form - stile sito */
.post-password-form {
  background-color: var(--gray);
  padding: 50px 60px;
  border-radius: 10px;
  max-width: 600px;
  margin: 80px auto;
  text-align: center;
}

.post-password-form p {
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  margin-bottom: 25px;
}

.post-password-form label {
  color: var(--yellow);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  display: block;
  margin-bottom: 5px;
}

.post-password-form input[type="password"] {
  background-color: white;
  color: var(--gray);
  border: 0;
  border-radius: 10px;
  padding: 12px 15px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  width: 100%;
  margin-top: 8px;
  margin-bottom: 20px;
}

.post-password-form input[type="submit"] {
  background-color: var(--yellow);
  color: var(--gray);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  border: 0;
  padding: 10px 35px;
  border-radius: 5px;
  cursor: pointer;
  width: fit-content;
  margin-top: 0;
  text-transform: none;
}

/* form */

label {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  text-transform: inherit;
  color: var(--yellow);
  width: 100%;
}

input {
  max-width: 100%;
  font-size: 0.9rem;
  font-family: 'Inter';
  margin-top: 10px;
  border: 0;
  padding: 10px;
  border-radius: 10px;
  background-color: white;
  text-transform: inherit;
  color: var(--gray);
  width: 100%;
}

textarea {
  width: 100%;
  border: 0;
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: 'Inter';
  text-transform: inherit;
  padding: 10px;
  margin-top: 10px;
  background-color: white;
  color: var(--gray);

}

input[type=checkbox] {
  width: auto;
}

input[type=submit] {
  background-color: var(--yellow);
  color: var(--gray);
  font-weight: 600;
  font-size: 0.9rem;
  float: right;
  text-transform: inherit;
  padding: 8px 30px;
  border-radius: 5px;
  margin-top: 0;
  font-family: 'Inter', sans-serif;
  width: fit-content;
}

.flexslider {
  border: 0;
}

/* colours */

.white {
  background-color: white;
  color: var(--gray);
}

.black {
  background-color: black;
}

a:focus {
  outline: none;
}

a:hover {
  text-decoration: none;
}

.flex-baseline {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
}

.flex-end {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

.flex-center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.flex-height {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
}

.cover {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.contain {
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.evidenza {
  width: 100%;
  height: 30vw;
}

.clearfix {
  clear: both;
}

.no-padding {
  padding-left: 0;
  padding-right: 0;
}

.no-padding-left {
  padding-left: 0 !important;
}

.no-padding-right {
  padding-right: 0 !important;
}

.no-padding-top {
  padding-top: 0 !important;
}

.relative {
  position: relative;
}

.main {
  padding-top: 78px;
}

.loop {
  margin-top: 150px;
  margin-bottom: 150px;
}

/* Menu icon css */

#nav-icon1 {
  width: 35px;
  height: 25px;
  position: relative;
  margin-left: auto;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
  top: 6px;
}

#nav-icon1 span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: var(--yellow);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon1 span:nth-child(1) {
  right: 20px;
  top: 0px;
}

#nav-icon1 span:nth-child(2) {
  top: 10px;
}

#nav-icon1 span:nth-child(3) {
  top: 20px;
}

#nav-icon1.open span:nth-child(1) {
  top: 10px;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

#nav-icon1.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#nav-icon1.open span:nth-child(3) {
  top: 10px;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}



/*-------------------*/

/* header */

.top {
  background-color: white;
  position: fixed;
  width: 100%;
  z-index: 999;
  box-shadow: 0px 0px 10px var(--gray);
}

.top.scroll {
  background-color: var(--gray);
}

.top.scroll .logo-top-head svg .st1 {
  fill: white;
}

.logo-top-head {
  max-width: 200px;
}

.header-container {
  padding-top: 25px;
  padding-bottom: 25px;
}

/* menu */

.main-menu a {
  color: var(--gray);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.top.scroll .main-menu a {
  color: white;
}

.main-menu .current-menu-item a {
  color: var(--yellow);
  text-decoration: underline;
}

.menu {
  -webkit-box-ordinal-group: 2;
  -ms-flex-order: 1;
  order: 1;
}

.menu ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: flex-end;
  list-style-type: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  margin-block-start: 0;
}

.menu li:not(:last-child) {
  margin-right: 4vw;
}

.menu-mobile {
  display: none;
}

/* home */

.slider {
  height: 50vw;
  min-height: 400px;
  max-height: 70vh;
}

.slider .slide-wrap,
.slider .flexslider,
.slider .flex-viewport,
.slider .slides {
  height: 100%;
}

.slider .slides .slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  position: relative;
}

.slide .cap {
  position: absolute;
  left: 20%;
  bottom: 3vw;
  max-width: 50vw;
}

.slide .cap p {
  font-size: calc(1.4rem + 1.5vw);
  color: var(--gray);
  line-height: calc(1.9rem + 1.5vw);
  font-weight: 600;
  background-color: var(--yellow);
  border-radius: 10px;
  padding: 10px 20px;
}

.flexslider {
  margin-bottom: 0;
}

.flex-control-nav {
  bottom: 0;
}

.flex-control-paging li a {
  background-color: white;
}

.flex-control-paging li a.flex-active {
  background-color: var(--yellow);
}

.home .presentazione {
  padding-top: 100px;
  padding-bottom: 100px;
  background-color: var(--gray);
  color: white;
  background-image: url(./images/svg/texture-motauto.svg);
  background-repeat: repeat;
  background-size: 50px;
  background-attachment: fixed;
}

.home .presentazione .immagini {
  height: 350px;
  width: 100%;
  border-radius: 10px;
}

.home .presentazione h2 {
  color: var(--yellow);
  font-size: calc(1.2rem + 0.6vw);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--yellow);
  margin-bottom: 30px;
}

.home .presentazione p {
  font-weight: 500;
}

.home .proposte .testo a,
.home .presentazione a {
  background-color: var(--yellow);
  color: var(--gray);
  font-weight: 700;
  border: 0;
  padding: 8px 25px 8px 15px;
  border-radius: 5px;
  position: relative;
  z-index: 1;
  margin-top: 50px;
  display: block;
  width: fit-content;
}

.home .proposte .testo a:after,
.home .presentazione a:after {
  content: '\f345';
  font-family: "Dashicons";
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-45%);
}

.home .proposte {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: var(--lightgray);
}

.home .proposte .immagine {
  height: 100%;
  width: 100%;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.home .proposte .offset-lg-3 .immagine {
  border-bottom-left-radius: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.home .proposte .offset-lg-3 .testo {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.home .proposte .testo {
  background-color: var(--gray);
  color: white;
  height: 100%;
  padding: 35px 60px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.home .proposte .testo h3 {
  color: var(--yellow);
  margin-bottom: 20px;
}

.home .proposte .row.flex-height {
  margin-bottom: 60px;
}

.home .sedi {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: var(--gray);
  background-image: url(./images/svg/texture-motauto.svg);
  background-repeat: repeat;
  background-size: 50px;
  background-attachment: fixed;
}

.home .sedi h3 {
  color: var(--yellow);
  font-size: calc(1.2rem + 0.6vw);
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--yellow);
  margin-bottom: 30px;
}

.home .sedi .sede {
  height: 400px;
  width: 100%;
  border-radius: 10px;
  position: relative;
}

.home .sedi .sede:after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
  border-radius: 10px;
}

.home .sedi .sede:hover:after {
  background: linear-gradient(180deg, rgba(251, 233, 16, 0) 0%, rgba(251, 233, 16, 0.9) 100%);
}

.home .sedi .sede h4 {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  font-size: calc(1.2rem + 0.6vw);
  z-index: 1;
  text-transform: inherit;
}

.home .sedi .sede:hover h4 {
  color: var(--gray);
}

.home .partner {
  padding-top: 60px;
  padding-bottom: 60px;
}

.home .partner h3 {
  color: var(--gray);
  font-size: calc(1.2rem + 0.6vw);
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--yellow);
  margin-bottom: 30px;
}

.home .partner .loghetto {
  height: 150px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin-right: 80px;
}

/* chi siamo */

.chisiamo .heading {
  background-color: var(--gray);
  color: var(--yellow);
  padding: 25px;
  text-align: center;
  background-image: url(./images/svg/texture-motauto.svg);
  background-repeat: repeat;
  background-size: 50px;
}

.chisiamo .copertina .image {
  height: 700px;
  width: 100%;
}

.chisiamo .content {
  padding-bottom: 100px;
}

.chisiamo .content .frase {
  padding-top: 60px;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 25px;
  margin-bottom: 80px;
}

.chisiamo .content .frase h4 {
  font-size: calc(1.2rem + 0.6vw);
  font-weight: 600;
  text-transform: inherit;
}

.chisiamo .content .col-12 {
  position: relative;
}

.chisiamo .animazione {
  position: absolute;
  top: 0;
  right: -22vw;
  width: 140%;
  height: 100%;
}

.chisiamo .content h3 {
  color: var(--yellow);
  font-size: calc(1rem + 0.3vw);
}

.chisiamo .punti-forza {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: var(--gray);
  color: var(--yellow);
}

.chisiamo .punti-forza h3 {
  font-weight: 700;
  font-size: calc(1.2rem + 0.6vw);
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--yellow);
  margin-bottom: 30px;
}

.chisiamo .punti-forza .box {
  background-color: var(--yellow);
  color: var(--gray);
  padding: 25px 30px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border-radius: 5px;
  margin-bottom: 30px;
}

.chisiamo .punti-forza .box .icon {
  height: 80px;
  width: 80px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 auto 10px;
}

.chisiamo .punti-forza .box p {
  font-weight: 700;
  text-align: center;
}

.chisiamo .punti-grid {
  display: grid;
  gap: 20px;
  /* spazio tra le box */
  /* Desktop: 5 colonne uguali */
  grid-template-columns: repeat(5, 1fr);
}

/* prodotti */

.prodotti .heading {
  background-color: var(--gray);
  color: var(--yellow);
  padding: 25px;
  text-align: center;
  background-image: url(./images/svg/texture-motauto.svg);
  background-repeat: repeat;
  background-size: 50px;
}

.prodotti .frase {
  padding-top: 60px;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 25px;
  margin-bottom: 80px;
}

.prodotti .frase h4 {
  font-size: calc(1.2rem + 0.6vw);
  font-weight: 600;
  text-transform: inherit;
}

.prodotti .content {
  padding-bottom: 80px;
}

.prodotti .content h3 {
  color: var(--yellow);
  font-size: calc(1rem + 0.3vw);
}

.prodotti .content .galleria-wrap {
  border-radius: 20px;
  padding-left: 100px;
}

.prodotti .offerte {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: var(--gray);
  color: white;
}

.prodotti .offerte h3 {
  color: var(--yellow);
  font-size: calc(1.2rem + 0.6vw);
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--yellow);
  margin-bottom: 30px;
}

.prodotti .form-wrapper {
  background-color: var(--lightgray);
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
}

.prodotti .form-wrapper:before {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  right: -100px;
  width: 500px;
  height: 210px;
  background-image: url(./images/svg/fondo-macchina.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.prodotti .form-wrapper .form {
  background-color: var(--gray);
  padding: 50px 80px;
  border-radius: 10px;
}

.prodotti .form-wrapper .form h3 {
  color: var(--yellow);
  font-size: calc(1.2rem + 0.6vw);
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--yellow);
  margin-bottom: 30px;
}

.prodotti .galleria-wrap .galleria-slide {
  height: 400px;
  width: 100%;
  border-radius: 10px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* offerte */

.offerte .heading {
  background-color: var(--gray);
  color: var(--yellow);
  padding: 25px;
  text-align: center;
  background-image: url(./images/svg/texture-motauto.svg);
  background-repeat: repeat;
  background-size: 50px;
}

.offerte .frase {
  padding-top: 60px;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 25px;
  margin-bottom: 80px;
}

.offerte .frase h4 {
  font-size: calc(1.2rem + 0.6vw);
  font-weight: 600;
  text-transform: inherit;
}

.offerte .content {
  padding-bottom: 80px;
}

.offerte .schede {
  margin-bottom: 50px;
}

.offerte .scheda {}

.offerte .scheda .testo {
  background-color: var(--yellow);
  height: 100%;
  width: 100%;
  border-bottom-right-radius: 10px;
  border-top-right-radius: 10px;
  padding: 15px 20px;
  position: relative;
}

.offerte .scheda .testo span {
  color: var(--yellow);
  background-color: black;
  font-weight: 700;
  border-radius: 5px;
  padding: 5px 10px;
  display: block;
  width: fit-content;
  font-size: 0.8rem;
  margin-bottom: 15px;
}

.offerte .scheda .testo h3 {
  color: var(--gray);
  font-size: calc(1rem + 0.2vw);
  margin-bottom: 5px;
}

.offerte .scheda .testo .pdf {
  background-color: black;
  color: var(--yellow);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 3px;
  position: absolute;
  bottom: 15px;
  right: 20px;
}

.offerte .schede .img {
  height: 250px;
  width: 100%;
  border-bottom-left-radius: 10px;
  border-top-left-radius: 10px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.offerte .form-wrapper {
  background-color: var(--lightgray);
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
}

.offerte .form-wrapper:before {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  right: -100px;
  width: 500px;
  height: 210px;
  background-image: url(./images/svg/fondo-macchina.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.offerte .form-wrapper .form {
  background-color: var(--gray);
  padding: 50px 80px;
  border-radius: 10px;
}

.offerte .form-wrapper .form h3 {
  color: var(--yellow);
  font-size: calc(1.2rem + 0.6vw);
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--yellow);
  margin-bottom: 30px;
}

/* servizi */

.servizi .heading {
  background-color: var(--gray);
  color: var(--yellow);
  padding: 25px;
  text-align: center;
  background-image: url(./images/svg/texture-motauto.svg);
  background-repeat: repeat;
  background-size: 50px;
}

.servizi .frase {
  padding-top: 60px;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 25px;
  margin-bottom: 80px;
}

.servizi .frase h4 {
  font-size: calc(1.2rem + 0.6vw);
  font-weight: 600;
  text-transform: inherit;
}

.servizi .content {
  padding-bottom: 80px;
}

.servizi .content .galleria-wrap {
  border-radius: 20px;
  padding-left: 100px;
}

.servizi .offriamo {
  background-color: var(--gray);
  color: white;
  padding-top: 80px;
  padding-bottom: 80px;
}

.servizi .offriamo h3 {
  color: var(--yellow);
  font-size: calc(1.2rem + 0.6vw);
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--yellow);
  margin-bottom: 80px;
}

.servizi .form-wrapper {
  background-color: var(--lightgray);
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
}

.servizi .form-wrapper:before {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  right: -100px;
  width: 500px;
  height: 210px;
  background-image: url(./images/svg/fondo-macchina.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.servizi .form-wrapper .form {
  background-color: var(--gray);
  padding: 50px 80px;
  border-radius: 10px;
}

.servizi .form-wrapper .form h3 {
  color: var(--yellow);
  font-size: calc(1.2rem + 0.6vw);
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--yellow);
  margin-bottom: 30px;
}

.servizi .galleria-wrap .galleria-slide {
  height: 400px;
  width: 100%;
  border-radius: 10px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.servizi .offriamo .box {
  border: 1px solid var(--yellow);
  border-radius: 10px;
  padding: 40px 50px 40px 100px;
  width: 100%;
  position: relative;
}

.servizi .offriamo .box h4 {
  color: var(--yellow);
  font-size: 1.1rem;
  text-align: inherit;
}

.servizi .offriamo .box .icon {
  height: 90px;
  width: 90px;
  position: absolute;
  top: -20px;
  left: -20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Aggiungi un margine superiore alla sezione offriamo per non far
         sovrapporre la prima icona al titolo h3 */
.servizi .offriamo {
  padding-top: 60px;
}

/* Opzionale: se vedi che i box sono troppo vicini,
         usa il mb-5 della row o aggiungi qui: */
.servizi .offriamo .row {
  margin-bottom: 3rem;
}

/* contatti */

.contatti .heading {
  background-color: var(--gray);
  color: var(--yellow);
  padding: 25px;
  text-align: center;
  background-image: url(./images/svg/texture-motauto.svg);
  background-repeat: repeat;
  background-size: 50px;
}

.contatti .content {
  padding-top: 80px;
  padding-bottom: 30px;
}

.contatti .form-wrapper {
  background-color: var(--lightgray);
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
}

.contatti .form-wrapper:before {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  right: -100px;
  width: 500px;
  height: 210px;
  background-image: url(./images/svg/fondo-macchina.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.contatti .form-wrapper .form {
  background-color: var(--gray);
  padding: 50px 80px;
  border-radius: 10px;
}

.contatti .form-wrapper .form h3 {
  color: var(--yellow);
  font-size: calc(1.2rem + 0.6vw);
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--yellow);
  margin-bottom: 30px;
}

.contatti .content .row {
  margin-bottom: 60px;
}

.contatti .content .immagine {
  height: 400px;
  width: 100%;
}

.contatti .content .dettagli {
  background-color: var(--gray);
  color: white;
  padding: 60px 120px;
  height: 100%;
}

.contatti .content .dettagli h3 {
  color: var(--yellow);
  font-size: calc(1.2rem + 0.6vw);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--yellow);
  margin-bottom: 30px;
}

.contatti .content .dettagli.san {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.contatti .content .dettagli.jes {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

/* footer */

footer {
  background-color: var(--gray);
  color: white;
  z-index: 2;
  position: relative;
}

.footer p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.footer .footer-dati {
  padding-top: 20px;
  padding-bottom: 20px;
  color: white;
}

.footer a {
  color: white;
  text-decoration: underline;
}

.footer .logo-footer {
  max-width: 200px;
}

.footer .logo-footer .st1 {
  fill: white;
}

.footer .footer-bottom {
  background-color: var(--yellow);
  padding: 10px 0;
}

.footer .footer-bottom p {
  color: var(--gray);
  text-align: center;
  font-size: 0.85rem;
}

.footer .footer-bottom a {
  color: var(--gray);
  text-decoration: underline;
}

.footer .footer-social {
  display: flex;
  justify-content: flex-end;
}

.footer .footer-social .social {
  margin-right: 10px;
}

.footer .footer-social .social .icon {
  height: 24px;
  width: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* boxed */

.boxed {
  padding-top: 80px;
  padding-bottom: 80px;
  width: 80%;
  margin: 0 auto;
}

.boxed .box {
  color: white;
  padding: 25px 40px;
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  background-color: var(--gray);
  border-radius: 5px;
}

.boxed .box button {
  margin-top: 0;
  background-color: var(--yellow);
  color: var(--gray);
  font-weight: 600;
  border: 0;
  padding: 8px 20px;
  border-radius: 5px;
}

.boxed .box button:before {
  content: '';
  display: block;
}

.boxed .box h5 {
  font-size: calc(1.3rem + 0.5vw);
  max-width: 65%;
  min-width: 0;
  font-weight: 600;
}

.boxed .box a {
  display: block;
}

/* notfound */

.notfound {
  background-color: var(--gray);
  text-align: center;
  padding-bottom: 10vw;
  position: relative;
  z-index: 1;
}

.notfound:before {
  content: '';
  display: block;
  height: 10vw;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background: url(/img/svg/pattern-225.svg);
  background-size: cover;
  background-position: center;
  background-repeat: repeat-x;
  z-index: -1;
}

.notfound h2 {
  padding-bottom: 30px;
  border-bottom: 2px solid var(--yellow);
  padding-top: 5vw;
  font-size: 3.1rem;
  text-transform: uppercase;
  max-width: 70%;
  color: white;
  margin: 0 auto;
  font-weight: 500;
}

.notfound h1 {
  color: var(--yellow);
  text-transform: uppercase;
  font-size: calc(2rem + 1.5vw);
  margin-top: 3vw;
  font-weight: 500;
  margin-bottom: 60px;
}

.notfound h1 span {
  font-size: calc(9.5rem + 2.5vw);
  text-transform: uppercase;
  font-weight: 600;
}

.notfound button {
  background-color: var(--yellow);
  color: var(--gray);
  font-weight: 600;
  border: 0;
  padding: 8px 20px;
}

/* media queries incasinate */

@media (max-width: 1399.98px) {}


@media (max-width: 1199.98px) {

  #nav-icon1 {
    z-index: 100;
  }

  .menu-mobile .menu-contain>ul>li>a {
    padding: 15px 0;
    width: fit-content;
    margin: 0 auto;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 6rem;
  }


  .menu .sub-menu {
    left: auto;
    transform: none;
    z-index: 1000;
    width: 75%;
    margin: 0 auto;
    background-color: white;
  }

  .menu nav>ul>li {
    height: auto;
  }

  .menu ul {
    display: block;
    float: none;
  }

  .menu-mobile {
    z-index: 0;
    position: fixed;
    top: 1vw;
    padding-top: 30vw;
    right: 1vh;
    ;
    width: 0;
    height: 0;
    background: -webkit-linear-gradient(bottom, rgba(100, 221, 23, 1) 0%, rgba(0, 0, 0, 1) 46%);
    background: -o-linear-gradient(bottom, rgba(100, 221, 23, 1) 0%, rgba(0, 0, 0, 1) 46%);
    background: linear-gradient(to top, rgba(100, 221, 23, 1) 0%, rgba(0, 0, 0, 1) 46%);
    ;
    transition: height 600ms cubic-bezier(0.23, 1, 0.32, 1), width 600ms cubic-bezier(0.23, 1, 0.32, 1), border-radius 600ms cubic-bezier(0.23, 1, 0.32, 1), top 600ms cubic-bezier(0.23, 1, 0.32, 1), right 600ms cubic-bezier(0.23, 1, 0.32, 1);
    display: none;
    border-radius: 50%;
  }

  .menu-mobile.menu-ham {
    display: block;
    z-index: 99;
    transition: height 1.5s cubic-bezier(0.755, 0.05, 0.855, 0.06), width 1.5s cubic-bezier(0.755, 0.05, 0.855, 0.06), border-radius 1.5s cubic-bezier(0.755, 0.05, 0.855, 0.06), top 1.5s cubic-bezier(0.755, 0.05, 0.855, 0.06), right 1.5s cubic-bezier(0.755, 0.05, 0.855, 0.06);
    height: 100%;
    width: 100%;
    border-radius: 0;
    top: 0;
    right: 0;
  }

  .menu-contain .main-menu li,
  .menu-contain .main-menu .sub-menu li {
    display: block;
    width: 100%;
    text-align: center;
  }

  .menu-contain .main-menu .sub-menu {
    display: block;
  }

  .main-menu ul {
    position: relative;
  }

}

@media (max-width: 991.98px) {
  .punti-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767.98px) {}

@media (max-width: 575.98px) {
  .punti-grid {
    grid-template-columns: 1fr;
  }
}