/*
Theme Name: Panificio Cella
Author: Gianluca Tuscano
Author URI: http://skriba.it
Description: Skriba custom theme
Version: 5.71
*/

:root {
  --brown: #5F504D;
  --yellow: #FFD040;
  --crema: #FFF3CF;
}

@font-face {
  font-family: "Barlow";
  src: url(./fonts/Barlow-Regular.ttf) format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Barlow";
  src: url(./fonts/Barlow-Medium.ttf) format("truetype");
  font-weight: 500;
}

@font-face {
  font-family: "Barlow";
  src: url(./fonts/Barlow-Bold.ttf) format("truetype");
  font-weight: 500;
}

@font-face {
  font-family: "DMSerif";
  src: url(./fonts/DMSerifDisplay-Regular.ttf) format("truetype");
  font-weight: 400;
}

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: 'Barlow', sans-serif;
  background-color: white;
  position: relative;
  color: var(--brown);
}

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: 500;
  ;
}

h1 {
  font-weight: 500;
  font-size: calc(2rem + 1.5vw);
  font-family: 'DMSerif', serif;
}

h2 {
  font-size: 2.4rem;
}

h3 {}

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;
}

div.wpcf7 {
  text-align: center;
}

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

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

label.accetta a:hover {}

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

.preloader {
  background-color: white;
  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;
}

/* buttòn */

button {}


/* form */

label {
  font-family: 'Barlow', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  text-transform: lowercase;
  color: #706f6f;
  width: 100%;
}

input {
  max-width: 100%;
  font-size: 0.9rem;
  font-family: 'Barlow';
  margin-top: 10px;
  border: 0;
  padding: 10px;
  background-color: white;
  color: var(--brown);
  width: 100%;
}

textarea {
  width: 100%;
  border: 0;
  font-size: 0.9rem;
  font-family: 'Barlow';
  padding: 20px;
  margin-top: 10px;
  background-color: white;
  color: var(--brown);
}

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

input[type=submit] {
  background-color: var(--yellow);
  color: var(--brown);
  font-weight: 500;
  font-size: 0.9rem;
  float: right;
  text-transform: uppercase;
  padding: 8px 20px;
  margin-top: 0;
  font-family: 'Barlow', sans-serif;
  width: fit-content;
}

.flexslider {
  border: 0;
}

/* colours */

.white {
  background-color: white;
  color: black;
}

.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: 125px;
}

.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: var(--brown);
  position: fixed;
  width: 100%;
  z-index: 999;
}

.top.scroll {}

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

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

.top .header-contacts {
  background-color: var(--yellow);
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--brown);
}

.top .header-contacts p {
  margin-bottom: 0;
}

.top .header-contacts ul {
  list-style-type: none;
  margin-bottom: 0;
}

.top .header-contacts ul li {
  border: 1px solid var(--brown);
  border-radius: 20px;
  text-align: center;
  padding: 3px 15px;
  display: inline-block;
  margin-right: 20px;
}

.top .header-contacts ul a {
  color: var(--brown);
  font-weight: 500;
  text-decoration: underline;
}

/* menu */

.main-menu a {
  color: white;
  font-size: 1rem;
  text-transform: uppercase;
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
}

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

.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: 3vw;
}

.menu-mobile {
  display: none;
}

/* home */

.slider {
  height: 60vw;
  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;
  width: 100%;
  height: 100%;
}

.slider .slide-caption {
  background-color: rgba(70, 69, 69, 0.3);
  padding: 35px 55px;
  position: relative;
  width: 100%;
  height: 100%;
}

.slide .slide-caption .cap {
  font-family: 'DMSerif', serif;
  font-weight: 500;
  color: white;
  max-width: 80%;
  margin-left: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.slide .slide-caption .cap h4 {
  font-size: calc(2.3rem + 0.8vw);
  text-transform: inherit;
}

.slide .slide-caption .cap h3 {
  font-size: calc(6rem + 3vw);
  opacity: 0.6;
}

.flex-control-nav {
  bottom: 0;
  z-index: 2;
}

.home .flex-control-nav {
  bottom: 50px;
  z-index: 2;
}

.flex-control-paging li a {
  background-color: white;
  width: 25px;
  height: 2px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -o-box-shadow: none;
  box-shadow: none;
}

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

.flex-control-nav li {
  margin: 0 3px;
}

.home .frase-slider {
  font-size: 1.2rem;
  color: var(--brown);
  background-color: var(--yellow);
  bottom: 0;
  width: 100%;
  padding-bottom: 50px;
  text-align: center;
  position: relative;
  z-index: 0;
  opacity: 1;
  display: block;
  top: 0;
}

.home .frase-slider:before {
  content: ' ';
  display: block;
  background-color: var(--yellow);
  width: 150vw;
  height: 400px;
  position: absolute;
  top: -30%;
  left: -25vw;
  border-radius: 200%;
  overflow: hidden;
  z-index: -1;
  clip-path: inset(0 0 50% 0);
}

.home .frase-slider .clipper {
  position: absolute;
  z-index: 0;
  overflow: hidden;
  width: 100vw;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.home .frase-slider .clipper:after {
  content: '';
  display: block;
  height: 280%;
  width: 130%;
  background-image: url(./images/svg/vortice-giallo-cella.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 140%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.home .frase-slider span {
  max-width: 800px;
  display: inline-block;
  font-weight: 500;
  font-family: 'DMSerif', serif;
  font-size: calc(1rem + 0.3vw);
  position: relative;
}

.home .frase-slider span:after {
  content: '';
  display: block;
  height: 30px;
  width: 130px;
  background-image: url(./images/svg/spighe-cella.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
}

.home .prodotto-evidenza {
  background-color: var(--brown);
  color: white;
  font-family: 'DMSerif', serif;
  margin-top: 100px;
  margin-bottom: 100px;
}

.home .prodotto-evidenza .img-evidenza {
  height: 360px;
  width: 100%;
}

.home .prodotto-evidenza .testo-prodotto {
  padding: 40px 60px;
}

.home .prodotto-evidenza .testo-prodotto h2 {
  font-size: calc(2.2rem + 0.9vw);
  margin-bottom: 20px;
  font-weight: 500;
}

.home .prodotto-evidenza .testo-prodotto p {
  font-weight: 500;
}

.home .prodotti {
  background-color: var(--brown);
  color: white;
  padding-top: 100px;
  padding-bottom: 100px;
}

.home .prodotti .col-12 {
  position: relative;
  margin-bottom: 100px;
}

.home .prodotti .immagine-prodotto1 {
  height: 400px;
  width: 45vw;
  position: absolute;
  top: 0;
  right: 0;
  border-bottom-right-radius: 50px;
}

.home .prodotti .immagine-prodotto2 {
  height: 400px;
  width: 45vw;
  position: absolute;
  top: 0;
  left: 0;
  border-bottom-left-radius: 50px;
}

.home .prodotti .testo_1,
.home .prodotti .testo_2 {
  height: 400px;
  padding-top: 60px;
  font-weight: 500;
  font-family: 'DMSerif', serif;
}

.home .prodotti .testo_1 h2,
.home .prodotti .testo_2 h2 {
  font-size: calc(3rem + 0.8vw);
  margin-bottom: 20px;
  font-weight: 500;
  font-family: 'DMSerif', serif;
}

.home .prodotti .testo_1:before {
  content: '';
  display: block;
  background-color: var(--yellow);
  height: 1px;
  width: 50vw;
  position: absolute;
  top: 0;
  left: 0;
}

.home .prodotti .testo_2:before {
  content: '';
  display: block;
  background-color: var(--yellow);
  height: 1px;
  width: 50vw;
  position: absolute;
  top: 0;
  right: 0;
}

.home .evento {
  margin-top: 100px;
  margin-bottom: 100px;
}

.home .evento .icona-evento {
  height: 300px;
  width: 100%;
}

.home .evento .testo-evento h1 {
  margin-bottom: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--brown);
}

/* prodotti */

.prodotti .heading {
  margin-bottom: 100px;
}

.prodotti .heading .immagine-heading {
  height: 42vw;
  min-height: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.prodotti .heading .title {
  background-color: var(--brown);
  padding-top: 20px;
  padding-bottom: 20px;
  position: relative;
  z-index: 1;
}

.prodotti .heading .title:before {}

.prodotti .heading .title .title-cont {
  position: relative;
  z-index: 1;
}

.prodotti .heading .title h1 {
  font-size: calc(2.5rem + 2vw);
  font-weight: 500;
  position: relative;
  color: white;
  text-align: center;
  margin: 0 auto;
  background-color: var(--brown);
  width: fit-content;
  padding-right: 20px;
  padding-left: 20px;
}

.prodotti .heading .title .title-cont:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: var(--yellow);
  top: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  z-index: -1;
}

.prodotti .heading .riassunto span {
  display: block;
  color: var(--brown);
  bottom: 0;
  width: 80%;
  min-width: 250px;
  margin: 40px auto;
  padding-bottom: 50px;
  text-align: center;
  display: block;
  top: 0;
  font-family: "DMSerif", serif;
  font-size: calc(1rem + 0.6vw);
  font-weight: 500;
}

.prodotti .title {
  position: relative;
  z-index: 1;
}

.prodotti .title:before {
  content: ' ';
  display: block;
  background-image: url(./images/svg/arco-inverso.svg);
  position: absolute;
  height: 12vw;
  width: 100vw;
  top: calc(-10vw + 1px);
  left: 0;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.prodotti .testo-prodotto-1,
.prodotti .testo-prodotto-2 {
  position: relative;
  z-index: 1;
  padding: 50px;
}

.prodotti .testo-prodotto-1:before,
.prodotti .testo-prodotto-2:before {
  content: '';
  position: absolute;
  z-index: -1;
  height: 100%;
  width: 100vw;
  min-height: 450px;
  top: 0;
  background-color: var(--crema);
}

.prodotti .testo-prodotto-1:before {
  right: -15vw;
}

.prodotti .testo-prodotto-2:before {
  left: -15vw;
}

.prodotti .testo-prodotto-1 h2,
.prodotti .testo-prodotto-2 h2 {
  font-size: calc(2.5rem + 0.8vw);
  margin-bottom: 20px;
  font-weight: 500;
  font-family: 'DMSerif', serif;
  padding-top: 15px;
  border-top: 1px solid var(--brown);
}

.prodotti .elenco-prodotti .row {
  margin-bottom: 100px;
}

.prodotti .elenco-prodotti .col-12 {
  margin-bottom: 150px;
}

.prodotti .elenco-prodotti .flexslider {
  position: relative;
  top: -50px;
  z-index: 2;
}

.prodotti .elenco-prodotti .slide-bg {
  height: 450px;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.prodotti .galleria {
  background-color: var(--brown);
  padding-top: 100px;
  padding-bottom: 100px;
}

.prodotti .testo-prodotto-1 h3,
.prodotti .testo-prodotto-2 h3 {
  font-size: calc(1.5rem + 0.5vw);
  margin-bottom: 10px;
  font-weight: 500;
  font-family: 'DMSerif', serif;
  padding-top: 15px;
}


.prodotti .boxed .box {
  background-color: var(--brown);
  width: 83.33333333%;
  color: white;
}

.prodotti .boxed .box:after {
  content: none;
}

.prodotti .boxed .box button {
  background-color: var(--yellow);
}

.prodotti .galleria .images {
  height: 30vw;
  margin-bottom: 30px;
}

/* chi siamo */

.chisiamo .immagine-heading {
  height: 60vh;
  min-height: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.chisiamo .immagine-heading h1 {
  font-size: calc(2.5rem + 2vw);
  margin-bottom: 15px;
  font-weight: 500;
  max-width: 45vw;
}

.chisiamo .heading .riassunto {
  font-size: 1.2rem;
  font-weight: 400;
  color: white;
  background-color: var(--brown);
  position: relative;
  bottom: 0;
  width: 100%;
  padding-bottom: 50px;
  text-align: center;
  position: relative;
  z-index: 0;
  opacity: 1;
  display: block;
  top: 0;
}

.chisiamo .heading .riassunto span {
  max-width: 800px;
  display: inline-block;
  font-weight: 500;
  font-family: 'DMSerif', serif;
  font-size: calc(1rem + 0.3vw);
}

.chisiamo .heading .riassunto:before {
  content: ' ';
  display: block;
  background-color: var(--brown);
  width: 140vw;
  height: 330px;
  position: absolute;
  top: -35%;
  left: -20%;
  border-radius: 200%;
  overflow: hidden;
  z-index: -1;
  clip-path: inset(0 0 50% 0);
}

.chisiamo .ingredienti {
  padding-top: 200px;
  padding-bottom: 200px;
  background-color: var(--brown);
  color: white;
}

.chisiamo .ingredienti h2 {
  font-size: calc(2.5rem + 0.8vw);
  margin-bottom: 20px;
  font-weight: 500;
  font-family: 'DMSerif', serif;
  padding-top: 15px;
  border-top: 1px solid var(--yellow);
}

.chisiamo .ingredienti .immagine-ingredienti {
  height: 400px;
  width: 100%;
  border-top-left-radius: 50px;
  margin-bottom: 40px;
}

.chisiamo .storia .testo-storia {
  position: relative;
  z-index: 1;
  padding-top: 50px;
  padding-right: 120px;
  padding-bottom: 150px;
}

.chisiamo .storia .testo-storia h2 {
  font-size: calc(2.5rem + 0.8vw);
  margin-bottom: 20px;
  font-weight: 500;
  font-family: 'DMSerif', serif;
  padding-top: 15px;
  border-top: 1px solid var(--brown);
}

.chisiamo .storia .testo-storia::before {
  content: '';
  position: absolute;
  z-index: -1;
  height: 100%;
  width: 100vw;
  top: 0;
  right: 0;
  background-color: var(--crema);
}

.chisiamo .storia .immagine-storia {
  height: 420px;
  width: 100%;
  border-top-left-radius: 50px;
  position: relative;
  z-index: 1;
  top: -120px;
  margin-bottom: -220px;
}

.chisiamo .laboratorio .testo-laboratorio {
  padding-top: 70px;
  padding-left: 120px;
  padding-bottom: 150px;
  position: relative;
  z-index: 1;
  top: -100px;
}

.chisiamo .laboratorio .testo-laboratorio h2 {
  font-size: calc(2.5rem + 0.8vw);
  margin-bottom: 20px;
  font-weight: 500;
  font-family: 'DMSerif', serif;
  padding-top: 15px;
  border-top: 1px solid var(--brown);
}

.chisiamo .laboratorio .testo-laboratorio:before {
  content: '';
  position: absolute;
  z-index: -1;
  height: 100%;
  width: 100vw;
  top: 0;
  left: 0;
  background-color: var(--crema);
}

.chisiamo .laboratorio .immagine-laboratorio {
  height: 450px;
  width: 100%;
  border-top-left-radius: 50px;
  position: relative;
  z-index: 1;
  top: -220px;
  margin-bottom: -120px;
}

/* dove siamo */

.dovesiamo .heading {
  min-height: 250px;
  background-color: var(--brown);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
  z-index: 0;
  opacity: 1;
  display: block;
  top: 0;
  padding-top: 100px;
  margin-bottom: 150px;
}

.dovesiamo .heading h1 {
  font-size: calc(2.5rem + 2vw);
  margin-bottom: 15px;
  font-weight: 500;
}

.dovesiamo .heading:before {
  content: ' ';
  display: block;
  background-color: var(--brown);
  width: 140vw;
  height: 330px;
  position: absolute;
  top: -12%;
  left: -20%;
  border-radius: 200%;
  overflow: hidden;
  z-index: -1;
}

.dovesiamo .luoghi {
  margin-bottom: 100px;
}

.dovesiamo .luoghi .col-12 {
  position: relative;
}

.dovesiamo .luoghi .immagine-sede1 {
  position: absolute;
  z-index: 1;
  width: 50vw;
  height: 450px;
  right: 0;
}

.dovesiamo .luoghi .immagine-sede2 {
  position: absolute;
  z-index: 1;
  width: 50vw;
  height: 450px;
  left: 0;
}

.dovesiamo .luoghi .sede1,
.dovesiamo .luoghi .sede2 {
  height: 450px;
  position: relative;
  z-index: 1;
  padding-top: 50px;
}

.dovesiamo .luoghi .sede1 {
  padding-left: 60px;
}

.dovesiamo .luoghi .sede2 {
  padding-right: 60px;
}

.dovesiamo .luoghi .sede1 h3,
.dovesiamo .luoghi .sede2 h3 {
  font-size: calc(2.5rem + 0.8vw);
  margin-bottom: 15px;
  font-weight: 500;
  font-family: 'DMSerif', serif;
  border-top: 1px solid var(--brown);
  padding-top: 15px;
}

.dovesiamo .luoghi .sede1 a,
.dovesiamo .luoghi .sede2 a {
  color: var(--brown);
  text-decoration: underline;
  margin-top: 40px;
  display: block;
}

.dovesiamo .luoghi .sede2:before,
.dovesiamo .luoghi .sede1:before {
  content: '';
  position: absolute;
  z-index: -1;
  height: 100%;
  width: calc(50vw + 15px);
  top: 0;
  background-color: var(--crema);
}

.dovesiamo .luoghi .sede1:before {
  left: -15px;
}

.dovesiamo .luoghi .sede2:before {
  right: -15px;
}

.form {
  margin-bottom: 100px;
}

.form-wrapper {
  background-color: var(--brown);
  color: white;
  padding: 50px 60px;
}

.form-wrapper h2 {
  font-size: calc(2rem + 0.5vw);
  margin-bottom: 20px;
  font-weight: 500;
  font-family: 'DMSerif', serif;
  text-align: center;
}

/* footer */

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

.footer p {
  margin-bottom: 0;
}

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

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

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

.footer .certificazioni .logo {
  height: 60px;
  width: 60px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

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

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

.footer .footer-bottom a {
  color: var(--brown);
  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;

}

.boxed .box {
  color: var(--brown);
  padding: 40px 60px;
  display: inline-flex;
  width: 100%;
  margin-bottom: 80px;
  align-items: center;
  justify-content: space-between;
  background-color: var(--yellow);
  font-family: DMSerif, serif;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.boxed .box:before {
  content: '';
  position: absolute;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  top: -10px;
  left: -10px;
  border-top: 1px solid var(--yellow);
  border-bottom: 1px solid var(--yellow);
  border-left: 1px solid var(--yellow);
  border-right: 1px solid var(--yellow);
  z-index: -1;
}

.boxed .box:after {
  content: '';
  display: block;
  height: 540%;
  width: 80%;
  background-image: url(./images/svg/vortice-giallo-cella.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.boxed .box button {
  margin-top: 0;
  background-color: transparent;
  color: var(--brown);
  font-weight: 500;
  font-size: 1.2rem;
  border: 0;
  padding: 8px 20px;
}

.boxed .box h5 {
  font-size: calc(1.7rem + 0.5vw);
  max-width: 65%;
  min-width: 700px;
  font-weight: 500;
}

/* 404 */

.main.e404 {
  margin-bottom: 0;
  padding-top: 200px;
}

.e404 {
  background-color: var(--brown);
  padding-top: 250px;
  padding-bottom: 300px;
  position: relative;
}

.e404 .error {
  color: var(--yellow);
  font-size: 1.9rem;
  text-align: center;
  margin-top: 60px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 5rem;
}

.e404 .error span {
  font-size: 10rem;
  display: block;
  font-weight: 500;
  ;
}

.e404 h2 {
  font-size: 2.5rem;
  font-style: italic;
  color: white;
  text-align: center;
  font-weight: 500;
  ;
  border-bottom: 2px solid var(--yellow);
  width: fit-content;
  margin: 0 auto;
  padding-bottom: 15px;
}

.e404 a {
  background-color: var(--yellow);
  color: var(--brown);
  font-weight: 500;
  ;
  text-transform: uppercase;
  font-size: 1.2rem;
  padding: 10px 16px;
  margin-top: 150px;
  display: inline-block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* standardpage */

.standard .page-title {
  padding-top: 50px;
}

/* 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: calc(1.7rem + 0.9vw);
    font-weight: 600;
    line-height: calc(4rem + 1.5vw);
  }

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

  }

  .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-color: var(--brown);
    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;
  }

  .top .header-contacts {
    display: none;
  }

  .menu-mobile .header-contacts {
    background-color: var(--yellow);
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--brown);
    position: absolute;
    bottom: 0;
  }

  .menu-mobile .header-contacts p {
    margin-bottom: 0;
  }

  .menu-mobile .header-contacts ul {
    list-style-type: none;
    margin-bottom: 0;
    margin-left: 30px;
  }

  .menu-mobile .header-contacts ul li {
    border: 1px solid var(--brown);
    border-radius: 20px;
    text-align: center;
    padding: 3px 15px;
    display: inline-block;
    margin-right: 20px;
  }

  .menu-mobile .header-contacts ul a {
    color: var(--brown);
    font-weight: 500;
    text-decoration: underline;
  }

  .home .prodotti .immagine-prodotto1 {
    height: 400px;
    width: 100%;
    position: relative;
    top: 0;
    right: 0;
    border-bottom-right-radius: 50px;
  }

  .home .prodotti .immagine-prodotto2 {
    height: 400px;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    border-bottom-left-radius: 50px;
  }

  .main {
    padding-top: 105px;
  }

}

@media (max-width: 991.98px) {
  .footer .flex-center {
    display: block;
    text-align: center;
  }

  .slide .slide-caption .cap h3 {
    font-size: calc(4rem + 3vw);
  }

  .slide .slide-caption .cap h4 {
    font-size: calc(2rem + 1vw);
  }

  .home .evento .icona-evento {
    margin-bottom: 40px;
  }

  .prodotti .testo-prodotto-2:before {
    left: -15px;
  }

  .prodotti .testo-prodotto-1:before {
    right: -15px;
  }

  .dovesiamo .luoghi .sede2:before,
  .dovesiamo .luoghi .sede1:before {
    width: 100%;
    left: 0;
    right: 0;
  }

  .dovesiamo .luoghi .immagine-sede1,
  .dovesiamo .luoghi .immagine-sede2 {
    position: relative;
    width: 100%;
  }

  .dovesiamo .luoghi .sede2 {
    padding-left: 60px;
  }

  .prodotti .elenco-prodotti .col-12 {
    margin-bottom: 0;
  }

  .prodotti .elenco-prodotti .flexslider {
    top: 0;
    margin-bottom: 0;
  }

  .prodotti .elenco-prodotti .col-slider {
    order: 0;
  }

  .prodotti .elenco-prodotti .col-text {
    order: 1;
  }

  .boxed {
    padding-top: 40px;
  }

  .boxed .box {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 30px;
    gap: 20px;
    width: 100%;
  }

  .boxed .box h5 {
    max-width: 100%;
    min-width: 0;
    font-size: calc(1.3rem + 1vw);
  }

  .boxed .box button {
    width: 100%;
    border: 1px solid var(--brown);
    margin-top: 0;
  }

  .chisiamo .ingredienti {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .chisiamo .storia .testo-storia,
  .chisiamo .laboratorio .testo-laboratorio {
    padding: 40px 30px 60px;
  }

  .chisiamo .laboratorio .testo-laboratorio {
    top: 0;
  }

  .chisiamo .storia .immagine-storia,
  .chisiamo .laboratorio .immagine-laboratorio {
    top: 0;
    margin-bottom: 40px;
  }

  .home .prodotti .testo_1:before,
  .home .prodotti .testo_2:before {
    width: 100%;
  }

  .prodotti .testo-prodotto-1:before,
  .prodotti .testo-prodotto-2:before {
    min-height: 200px;
  }
}

@media (max-width: 767.98px) {
  .slide .slide-caption .cap h3 {
    font-size: calc(3rem + 2vw);
  }

  .slide .slide-caption .cap h4 {
    font-size: calc(1.5rem + 1vw);
  }

  .menu-mobile .header-contacts ul {
    margin-left: 20px;
  }

  .home .frase-slider .clipper:after {
    top: 80%;
  }

  .chisiamo .immagine-heading h1 {
    max-width: 80vw;
    font-size: calc(2rem + 2vw)
  }

  .chisiamo .storia .testo-storia {
    padding: 30px 20px 50px;
  }

  .chisiamo .storia .testo-storia::before {
    right: -15px;
  }

  .chisiamo .laboratorio .testo-laboratorio:before {
    left: -15px;
  }

  .chisiamo .laboratorio .testo-laboratorio {
    padding: 30px 20px 50px;
  }

  .prodotti .galleria .row>div {
    margin-bottom: 30px;
  }

  .prodotti .galleria .images {
    height: 60vw;
    min-height: 220px;
  }
}

@media (max-width: 575.98px) {
  .home .frase-slider:before {
    display: none;
  }

  .home .frase-slider {
    padding-top: 50px;
  }

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