
html.template-food {
    margin-top:0px!important;
    scroll-behavior: smooth!important;
}

footer.footer-template-food {
    margin-top:0px!important;
}

/*********** HEADER ********************/

.container-head-food {
    margin: 0 auto;
    padding: 50px;
    text-align: center;
    }

.food-logo-header {
width:23rem;
padding-bottom:4rem;
transition: transform 0.3s;
}

.food-logo-header:hover {
    transform: scale(1.1);
}

.img-food-header {
    display: flex;
    align-items: center;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 900px;
}

@media only screen and (max-width: 800px) {
.img-food-header {
    min-height:500px;
}

.food-logo-header {
    width: 10rem;
    padding-bottom:2rem;
    }
}

.parallax-container {
    position: relative;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    }


    .container-header img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 50%;
        max-width: 500px;
        margin-bottom: 20px;
    }

    @media only screen and (max-width: 800px) {
        .container-header img {
            top: 45%;
            margin-bottom: 0px;
        }
    }

    .titolo-header {
        text-align: center;
        font-family: 'Inter', sans-serif;
        text-transform: uppercase;
        color: #006D8C;
        font-size: 4em;
        line-height: 1.25em;
        font-weight: 900;
    }

    @media only screen and (max-width: 800px) {
        .titolo-header{
            font-size: 2em;
            line-height: 1em;
        }
    }

    .heading-header {
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        text-align: center;
    }

    .button-header {
        border: none;
        color: white;
        padding: 15px 32px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 14px;
        margin: 4px 2px;
        cursor: pointer;
        border-radius:30px;
        width:auto;
        border: none;
        letter-spacing:4px;
    }

    .button-color-header {
        background-color: #FFFFFF;
        color: #006D8C;
        transition: transform 0.3s ease-in-out;
    }

    .button-color-header:hover {
    transform: scale(1.15);
    }

/************************************************* BLOCCO COLONNE ****************************************************/

.sezione-colonne-food {
    background: #fff;
    padding-top: 50px;
    padding-bottom: 50px;
    z-index: 999;
    position: relative;
}

.logo-colonne-food {
    max-width: 210px;
    display: block;
    margin: auto;
}

.immagine-colonne-food {
    display: block;
    margin: auto;
}

.immagine-food {
    text-align: center;
}

.immagine-food img {
    transition: transform 0.3s;
}

.immagine-food img:hover {
    transform: scale(1.1);
}

.box-food {
    text-align: center;
    font-family: 'Inter', sans-serif;
    color: #006d8c;
    font-size: 0.8em;
    line-height: 1.625;
    font-weight: 600;
    padding-left: 5rem;
    padding-right: 5rem;
    padding-bottom: 3rem;
}

@media only screen and (max-width: 1600px) {
    .box-food {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.container-colonne-food {
    max-width: 1200px;
    margin: 0 auto;
}

/* Create three equal columns that floats next to each other */
.column-food {
float: left;
width: 33.33%;
}

/* Clear floats after the columns */
.row-food:after {
content: "";
display: table;
clear: both;
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media only screen and (max-width: 1024px) {
.column-food {
width: 100%!important;
}
}

/***** BLOCCO GALLERY *****/

.image-wrapper {
    position: relative;
    height: 0;
    padding-bottom: 100%;
}

.image-wrapper:hover .overlay-food {
    width: 100%;
}

.overlay-food {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(0, 109, 140, 0.9);
    transition: width 0.3s ease-in-out;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 1.5em;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.image-wrapper:hover .overlay-text {
    opacity: 1;
}

.descrizione-progetto-food {
  font-family: 'Inter', sans-serif;
  text-align: center;
  font-size: 14px;
  padding-top:25px;
  line-height:21px;
}

.container-gallery-food {
 max-width: 100%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.row-gallery-food {
  width: 100%;
  display: flex;    
  flex-wrap: wrap;
  box-sizing: border-box;
}

.column-gallery-food {
    width: calc(100% / 3);
  flex-basis: calc(100% / 3);
  padding: 0;
  margin: 0;
  height: auto;
}

.column-gallery-food img {
  width: 100%;
  max-width: 100%;
  height: auto;
}


@media only screen and (max-width: 768px) {
  .column-gallery-food {
    width: 100%;
    flex-basis: 100%;
  }
}

/****************************************************** BLOCCO CALL TO ACTION *******************************************/

.button-callact {
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius:30px;
    width:auto;
    border: none;
    letter-spacing:4px;
}

.button-color-callact {
    background-color: #FFFFFF;
    color: #006D8C;
    transition: transform 0.3s ease-in-out;
}

.button-color-callact:hover {
transform: scale(1.15);
}

.food-calltoaction{
    background-color: #006D8C;
    padding-top:3rem;
    padding-bottom:3rem;
    text-align: center;
}

/************************************************** BLOCCO FORM *******************************************/

.form-food-title{
    padding-top:30px;
    text-transform: uppercase;
    color: #006D8C;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.025rem;
    width: 100%;
    font-size: 3.625em;
    line-height: 1.25;
    font-weight: 900;
    padding-bottom:30px;
    } 

  @media only screen and (max-width: 800px) {
    .form-food-title{
    font-size: 2em;
    line-height: 1em;
    } 
  } 

    .form-food-text{
    color: #006D8C;
    font-family: 'Inter', sans-serif;
    padding-left: calc(3.5rem * var(--indent-left));
    padding-right: calc(3.5rem * var(--indent-right));
    font-size: 1em;
    line-height: 1.625;
    font-weight: 300;
    }  

    .container-form-food {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    text-align: center;
    }

    .form-food-field {
      padding-top:2rem;
    }

/****** campi form *******/

    .input-food input[type="text"], 
    .input-food input[type="email"], 
    .input-food input[type="number"],
    .input-food textarea {
    background-color: #fff;
    border: none;
    border-radius: 30px;
    padding: 21px 40px;
    margin-bottom: 30px;
}

    .input-food input::placeholder,
    .input-food textarea::placeholder {
      font-family: 'Inter', sans-serif;
      color: #88c8da;
      font-size: 16px;
      font-weight: 300;
      letter-spacing: 1px;
    }

    .input-food input:focus,
    .input-food textarea:focus {
      outline:none;
      background: #d8f7ff;
    }

    .input-food input[type="text"],
    .input-food input[type="email"], 
    .input-food input[type="number"],
    .input-food textarea {
      font-family: 'Inter', sans-serif;
      color: #006D8C;
      font-size: 16px;
    }

    @media only screen and (max-width: 768px) {
      .input-food input[type="text"], 
      .input-food input[type="email"], 
      .input-food input[type="number"],
      .input-food textarea {
        width: 90%;
      }
    }

    .bottone-food-invia input[type="submit"] {
    border: none;
    background-color: #006d8c;
    color: white;
    padding: 16px 35px;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    letter-spacing: 8px;
    transition: all 0.2s ease-in-out;
    }

    .bottone-food-invia input[type="submit"]:hover {
      transform: scale(1.1);
    }

    #error-message {
      position: absolute;
      top: 100%;
      left: 0;
    }
