body{
    margin: 0;
    background-color: white;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size:21px;
}

.background{
    background-color:white;
}

hr{
    box-shadow: 1px 1px 4px 1px rgba(0,0,0,0.1);
}

a{
    color: black;
}

p{
    line-height:25px;
}

p a:hover{
    color: red;
    transition:0.3s;
}

.header{
    width: 100%;
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(255,255,255,1) 50% , rgba(255,105,105,1) 100%, rgba(255,255,255,0.468312324929972) 100%);
    position: fixed;
    z-index: 1000;
    box-shadow: 1px 1px 4px 1px rgba(0,0,0,0.1);
    top: 0px;
    transition: top 0.5s ease-in-out;
}

.hideheader{
    top:-400px;
}

.header ul{
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    font-size:16px;
}

.header li{
    margin-left: 10%;
}

.header ul a{
    display: block;
    padding: 20px;
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(255,255,255,1) 45%, rgba(255,105,105,1) 100%, rgba(255,255,255,0.468312324929972) 100%);
    text-decoration: none;
}

.home-btn{
    font-weight: bold;
    border-left: 1px solid;
    border-right: 1px solid;
    border-color: rgba(0, 0, 0, 0.1);
}

.img-logo{
    height: 90px;
    width: 180px;
}

.header .logo{
    float: left;
    margin: 15px;
    height: 100px;
    width: 130px;
}

.header .menu{
    clear: both;
    max-height: 0px;
    transition: max-height 0.5s ease-out;
}


.header .menu-icon{
    margin-top: 35px;
    padding: 28px 20px;
    position: relative;
    float: right;
    cursor: pointer;
    border: 2px solid black;
    border-radius:15px;
    margin-right:10px;
}

.header .menu-icon .nav-icon{
    background-color: black;
    display: block;
    width: 18px;
    height: 2px;
    position: relative;
    transition: background-color .2s ease-out;
}

.header .menu-icon .nav-icon::before,
.header .menu-icon .nav-icon::after{
    background-color: black;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    transition: all 0.2s ease-out;
}

.header .menu-icon .nav-icon::before{
    top: 5px;
}

.header .menu-icon .nav-icon::after{
    top: -5px;
}

.header .menu-btn{
    display: none;
}

.header .menu-btn:checked ~ .menu{
    max-height: 350px;
}

.header .menu-btn:checked ~ .menu-icon .nav-icon{
    background-color: transparent;
}

.header .menu-btn:checked ~ .menu-icon .nav-icon::before{
    transform: rotate(-45deg);
    top: 0;
}

.header .menu-btn:checked ~ .menu-icon .nav-icon::after{
    transform: rotate(45deg);
    top: 0;
}



/* STILE PAGINA */

.page-title{
    width: 100%; 
    z-index: 2; 
    box-shadow: 1px 1px 4px 1px rgba(0,0,0,0.1); 
    padding-bottom: 10px; 
    padding-top: 25px;
    text-align: center;
}

.paragraph-style{
    text-align: justify;
}

.contenitore2{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    justify-content: space-evenly;
}

.styleform{
    width: 80%;
    margin-right: 15%;
}

.styleform-contact{
    margin-bottom: 20px;
    margin-left: 5%;
    margin-right: 5%; 
    display: flex; 
    justify-content: center;
}

.styleform-valutazione{
    margin-right: 6%;
    width: 80%;
}

fieldset{
    border-radius:15px;
    background-color: white;
    border-color: rgba(128, 128, 128, 0.2);
}

.fieldset-contact{ 
    width: 100%; 
    padding-bottom:30px;
    margin-bottom:30px;
}


.privacy{
    display: flex;
    flex-direction:column;
    margin-left: 25px;
}

.privacy p{
    margin:0;
}

.link-img{
    width: 89%; 
    height: 200px; 
    border-radius: 15px
}

.img-contact{
    width: 100%; 
    height: 200px; 
    margin-top: 6px;
    margin-bottom: 6px;
    border-radius: 15px;
    cursor: pointer;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.img-contact:hover {
    -moz-transform: scale(1.1);
     -webkit-transform: scale(1.1);
     transform: scale(1.1);
   }

input{
    padding-left: 5px;
    margin-top: 2px;
    margin-bottom: 10px; 
    border-radius: 5px; 
    border-width: 1px; 
    box-shadow: 1px 1px 4px 1px rgba(0,0,0,0.1);
    border-color: transparent;
    background: rgb(255,238,238);
    background: linear-gradient(0deg, rgba(255,238,238,0.1) 0%, rgba(245,245,245,0.1) 100%);
    width: 222px;
    height: 25px;
    background-color: #f66e6e60;
    font-family: 'Yanone Kaffeesatz', sans-serif;
}

textarea{
    resize: none; 
    border-radius: 8px; 
    box-shadow: 1px 1px 4px 1px rgba(0,0,0,0.1);
    border-color: transparent;
    background-color: #f66e6e3a;
    padding:8px;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size:15px;
    margin-top: 15px; 
    margin-bottom: 2px; 
    height: 150px; 
    width: 67%;
}

.bottoni{
    margin-top: 20px;
}

.input-button{
    height: 30px;
    margin: 5px; 
    border-radius: 8px; 
    border-width: 1px;
    background: rgba(255,90,90,0.7);
    border-color: rgba(128, 128, 128, 0.251);
    color:rgb(50, 50, 50);
    cursor: pointer;
    font-weight: bold;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    font-size:15px
}

.input-button:hover{
    box-shadow: 1px 1px 4px 1px rgba(0,0,0,0.1);
    -moz-transform: scale(1.02);
    -webkit-transform: scale(1.02);
    transform: scale(1.02);    
}

.input-cell::-webkit-outer-spin-button,
.input-cell::-webkit-inner-spin-button
{
-webkit-appearance: none;
margin: 0;
}

select{
    width: 230px;
    height: 31px;
    margin-bottom: 10px;
    border-radius: 5px;
    border-color: transparent;
    box-shadow: 1px 1px 4px 1px rgba(0,0,0,0.1);
    background-color: #f66e6e60;
}


  /* slider privacy */
.switch {
    position: relative;
    display: inline-block;
    width: 41px;
    height: 25px;
    margin-left:15px;
    margin-top:5px;
  }
  
  .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
      border-radius: 34px;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 17px;
    width: 17px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
      border-radius: 50%;
  }
  
  input:checked + .slider {
    background: rgba(255,90,90,0.5);
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
  }

  .informativa{
    font-size: 15px;
    font-weight:bold;
    margin-top:22px;
  }


  .success{
    background:#9fd2a1;
    padding: 5px 10px;
    text-align:center;
    color: #326b07;
    border-radius:3px;
    font-synthesis: 14px;
    margin-top:10px;
  }


/* FOOTER */
.footer{
    width: 100%;
    height: 250px;
    margin-top:0;
    padding-top:30px;
    padding-bottom: 45px;
    background-color: rgb(40, 38, 38);
}

.social-footer{
    text-decoration: none; 
    color: white;
    margin: 10px;
}

.social-footer-container{
    display:flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-left:90px;
    margin-right:90px;
}

.card-link{
    width: 150px;
    height: 150px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    margin: 15px;
    margin-bottom: 50px;
}

.card-link:hover{
    -moz-transform: scale(1.02);
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

.card-link:hover > .pa-text-over-image > .card-img {
margin-bottom: 5px;
-moz-transform: scale(1.02);
-webkit-transform: scale(1.02);
transform: scale(1.02);
-webkit-filter: opacity(20%);
margin-bottom:5px;
}

.card-img{
    width: 150px;
    height: 150px;
    border-radius: 15px;
    cursor: pointer;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.card-img:hover{
    -moz-transform: scale(1.02);
     -webkit-transform: scale(1.02);
     transform: scale(1.02);
     -webkit-filter: opacity(20%);
     margin-bottom:5px;
}


.pa-text-over-image > .et_pb_text {
	display: none; /*con opacità a zero il testo all'inizio è invisibile*/
}

.container-cookies{
    width: 100%;
    margin:auto;
}


.subcontainer-cookies{
    width: 90%;
    margin: auto;
}

#cookies{
    width:100%;
    position:fixed;
    bottom:0;
    color:white;
    background-color:rgba(0,0,0,0.7);
    z-index:1;
    display: none;
}

.cookies{
    min-height:70px;
    justify-content:space-between;
    align-content:center;
    gap:10px;
}

.cookies a{
    color: red;
    font-weight: 500;
}

#cookies-btn{
    margin-right:15px;
    margin-top:35px;
    height:25px;
    border-radius:5px;
    padding: 5px 12px 5px 12px;
    font-size: 1rem;
    font-family:inherit;
    cursor:pointer;
    border: 1px solid black;
    background-color: rgb(255,255,255);
    color: black;
}

#cookies-btn1{
    margin-left: 65%;
    margin-top:10px;
    height:25px;
    padding: 5px 12px 5px 12px;
    font-size: 1rem;
    font-family:inherit;
    background-color:transparent;
    border: 1px solid transparent;
    cursor:pointer;
    color: white;
}


/* FULL WIDTH */
@media (min-width:48em){

    .header{
        background: rgb(255,255,255);
        background: linear-gradient(20deg, rgba(255,255,255,1) 50%, rgba(255,170,170,1) 100%, rgba(255,255,255,0.468312324929972) 100%);
        animation: GradientAnimation 20s ease infinite;
        top: 0px;
        z-index: 1000;
        transition: top 0.5s ease-in-out;
    }

    .hideheader{
        top:-400px;
    }
      
        
    @keyframes GradientAnimation {
        0%{background-position: 0% 50%}
        50%{background-position: 100% 50%}
        100%{background-position:0% 50%}
        }

    .paragraph-style{
        text-align: center;
    }

    .index-par{
        text-align:justify;
        margin-left:26%;
        margin-right:26%;
    }

    .compra-par{
        margin-left:17%;
        margin-right:15%;
    }

    .header li{
        float: left;
        margin-left: 0;
    }

    .header li a{
        padding: 20px 30px;
        font-size:21px;
    }

    .header .menu{
        clear: none;
        float:left;
        max-height: 350px;
    }

    .header .menu-icon{
        display: none;
    }

    .header ul{
        margin-top: 60px;
        margin-left: 30px;
        background: rgb(255, 249, 249,0);
    }

    .header ul a{
        background: rgb(255, 249, 249,0);
    }

    .header ul a:hover{
        background-color: rgba(126, 126, 126, 0.205);
        transition: 0.8s;
        border-radius: 10px;
    }

    .home-btn{
        font-weight: bold;
        border-left: 2px solid;
        border-right: 1px solid;
        border-color: rgba(0, 0, 0, 0.1);
    }

    .header .logo{
        height: 150px;
        width: 200px;
        padding-right: 80px;
        margin: 30px;
        margin-left: 0;
        padding-left: 50px;
        margin-right: 70px;
    }

    .img-logo{
        height: 150px;
        width: 300px;
        cursor: pointer;
        -moz-transition: all 0.3s;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
    }

    .img-logo:hover {
        -moz-transform: scale(1.05);
         -webkit-transform: scale(1.05);
         transform: scale(1.05);
    }

    .contenitore2{
        display: flex;
        justify-content: space-evenly;
    }

    .page-title{
        width: 100%; 
        z-index: 2; 
        box-shadow: 1px 1px 4px 1px rgba(0,0,0,0.1); 
        padding-bottom: 10px; 
        padding-top: 75px;
        text-align: center;
    }

    .fieldset-contact{
        width: 95%;
        height: 425px;
    }

    .privacy{
        flex-direction: unset;
        margin-left: 5%;
    }

    .privacy p{
        margin:15px;
    }

    .img-contact{
        width: 100%; 
        height: 438px; 
    }

    .link-img{
        width: 45%; 
        height: 438px; 
        border-radius: 15px
    }

    .styleform{
        width: 40%;
        margin-right: 0;
    }

    .styleform-contact{
        margin-left: 30%; 
        margin-right: 30%;
    }

    .styleform-valutazione{
        width: 90%;
        margin-right: 0;
        margin-left: 50px;;
    }

    .switch {
        width: 41px;
        margin-top:13px;
        margin-left:0;
      }
    
      .informativa{
        margin-top:19px;
        margin-left:60px;
      }


    input{
        float: left;
    }

    textarea{
        width: 87%;
    }

    .bottoni{
        margin-top: 0;
    }

    .input-button{
        justify-content: space-around;
    }

    .footer{
        width: 100%;
        height: 150px;
        padding-top:30px;
        padding-bottom:0;
        background-color: rgb(40, 38, 38);
    }

    .social-footer{
        margin-left:100px;
        margin-right:100px;
        margin-bottom:20px;
    }

    .social-footer-container{
        display:flex;
        justify-content: center;
        flex-wrap: wrap;
        margin-left:125px;
    }

    .card-link{
        width: 300px;
        height: 300px;
    }

    /*testo sovrapposto all'immagine ma invisibile*/
.pa-text-over-image > .et_pb_text {
	position: absolute;
	top: 45%;
	left: 50%;
	transform: translate(-50%, -45%);
	z-index: -1;
	width: 100%;
	transition: opacity 0.3s ease-in-out;
	display: none; /*con opacità a zero il testo all'inizio è invisibile*/
}

/*il testo sovrapposto all'immagine diventa visibile*/
.pa-text-over-image:hover > .et_pb_text {
	display: block;
}
    
    .card-img{
        width: 300px;
        height: 300px;
    }    
    
    .subcontainer-cookies{
        width: 50%;
        margin: auto;
    }
    
    #cookies{
        width:100%;
        position:fixed;
        bottom:0;
        color:white;
        background-color:rgba(0,0,0,0.7);
        z-index:1;
        /* display: none; */
    }
    
    #cookies-btn{
        margin-top:20px;
        margin-left:82px;
    }
    
    #cookies-btn1{
        margin-left: 70%;
        margin-top:15px;
    }
}


