*{padding: 0;
margin: 0;
list-style: none;
text-decoration: none;
}
html{scroll-behavior: smooth;}

body,html{height: 100%;
 font-family: "Roboto", sans-serif;

}

#bloccoDw{text-align: center;
padding: 50px;
}

.btDw{background-color: #cf2f3a;
    font-size: 20px;
    border-radius: 10px;
    transition: 0.5s ease;
padding: 20px;
display: inline-block;
color: white;}

.btDw:hover{
   background-color: #230646; 
   
    
}

.cookie{padding: 50px;
font-size: 18px;}

.contatto .maps{}
h2{font-size: 1.2rem;
font-weight: normal;}

.bold{font-weight: 500;font-size: 1.5rem;
border:solid 2px red;
padding: 2rem;
background-color: #cf2f3a;
color: white;}

#drop{display: none;}


img{width: 100%;
display: block;}

.current a{color: #cf2f3a;
    display: block;
position: relative;}

.current a:after{
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    margin-top: 4px;
    background-color: #efab8d;
    
    bottom: 0;
}

.current a:hover:after{
    background-color: #efab8d!important;
    
}

#logo{
    

    width: 230px;
    
}

body,html{
    height: 100%;
    
 
}

.corsivo{
    font-family: "Playfair Display", serif;

}
nav{
   
}

nav ul{display: flex;
    height: 100%;
    column-gap: 20px;
}

nav ul li a{
    display: block;
  font-size: 1.2rem;
    font-weight: 500;
  letter-spacing: 2px;
    color: #230646;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 20px 0 20px;
    
    padding: 20px;
    

  
    
   
    transition: 0.5s ease;
}

nav ul li first-child{

    
}
.introTxt{
 line-height: 8vw;
    display: block;
   
    
}

.introTxt:nth-child(1){
     animation: animIntro 1.5s ease backwards;
    
}

.introTxt:nth-child(2){
     animation: animIntro 1.5s 0.5s ease backwards;
    
}

.introTxt:nth-child(3){
     animation: animIntro 1.5s 1s ease backwards;
    
}

.introTxt:nth-child(2){

    margin-left: 5%;
}




.intro{
    flex-direction: column;
   display: flex;
    padding-top: 3%;
    padding-bottom: 3%;
justify-content: center;
    align-items: center;
    font-size: 8vw;

  
color: #230646;

}
#wrapGira{position: fixed;
z-index: -1;
    left: 50%;
    opacity: 0.2;
    top:50%;
    transform: translate(-50%,-50%) scale(5);
}


@keyframes girone{
    0%{transform: rotate(0);}
    100%{transform: rotate(360deg) }
}
#gira{

    animation:girone 100s linear infinite;
}

nav ul li a:hover{color: #cf2f3a;

}

nav ul li a:after{
    content: "";
    display: block;
    height: 3px;
    margin-top: 4px;
    width:0;
    margin-right: auto;
    transition: 0.5s ease;
    background-color: #cf2f3a;
    
}

nav ul li a:hover:after{
    background-color: #cf2f3a;
      width: 100%;
}


header{
height: 140px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 50px;
    box-sizing: border-box;
   border-bottom:solid 1px #240747;

    
}
.nome{color: #cf2f3a;display: block;}
.reperibili{color: dimgray;
font-style: italic;}

.contatto{
}
.full{
    position: relative;
    height: 90vh;
    background-image: url(../img/spash.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.contatto iframe{background-color: orange;
display: none;}

.full2{
    position: relative;
    height: 90vh;
    background-image: url(../img/spash-servizi.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.full3{
    position: relative;
    height: 90vh;
    background-image: url(../img/spash-accesso.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.full4{
    position: relative;
    height: 90vh;
    background-image: url(../img/spash-contatti.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.title{
    color: #240747;
}

.boxTestoFull{
    font-size: 4vw;
    text-align: center;
    position: absolute;
    left: 50%;
    top:50%;
    padding: 4%;
  transform: translate(-50%,-50%);
    background-color: rgba(255,255,255,0.95);
}

.title:after{
    content: "";
    display: block;
    height: 2px;
    background-color: #db323e;
    width: 10%;
   font-size: 150px;
    margin: 0 auto;
     margin-top: 25px;
     margin-bottom: 25px;
}

.testo{font-weight: normal;
      color: #555;
  font-size: 1.3vw;}

footer{
    padding: 150px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    color:white;
    
background-color: #240747;}

.footerBlock{width: 33.333333333%;
display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

}

.footerBlock:nth-child(2){text-align: center;

}

.footerBlock:nth-child(2) img{text-align: center;
width: 200px;
    margin: 0 auto;
}


.footerBlock:nth-child(3){
    align-items: flex-end;
    
    
}
.piva{text-align: center;
font-size: 0.9rem;
margin: 0 auto;
margin-top: 50px;}

.contatto a{color: black;
text-decoration: underline;}

.contatto a:hover{text-decoration: none;}

.dama{display: flex;}

.HalfDama{width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
background-color: white;


}

.bn{filter: grayscale(1);}

.testoBox{
    font-size: 1.2rem;
    padding: 15%;
     color: #555;
    
    
}


.titlePar{display: block;
    color: #cf2f3a;
    font-weight: 500;
    font-size: 1.8rem;
margin-bottom: 1.1rem;}

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

.up{width: 30px;
    padding: 10px;
    opacity: 0.7;
    transition: 0.5s ease;
cursor: pointer;}

.up:hover{opacity: 1;
    transform: translateY(-5px);

}



.areaRiservata a{

    padding: 10px;
    font-weight: bold;
    border-radius: 5px;
    
    
    
    display: block;
    margin-top: 25px;
   
    transition: 0.5s ease;
    position: relative;
   
    color: #fff!important;
    background-color: #cf2f3a;
    
}





.areaRiservata a:hover{
    text-decoration: none;
     background-color: white;
color: #cf2f3a!important;

    
    
}

@keyframes animIntro{
    
   
    
    0%{opacity: 0;margin-left: -25px;}
    100%{opacity: 1;}
    
}


@media screen and (max-width: 844px) {
    
    h2{font-size: 1rem;
font-weight: normal;}
     html{font-size: 14px;}
    header{}
    
    .HalfDama{width: 100%;}
    .dama{flex-wrap: wrap;}
    
    .testoBox {padding: 10%;}
    
    .introTxt{
        font-size:  6vh;
        line-height: 6vh;}
    
    
    .boxTestoFull {
        width: 80%;
        padding: 10%;
        box-sizing: border-box;
      }
    
    .testo{
    font-size: 0.9rem;
    
    }
    
    footer{flex-direction: column;
    
    padding: 20px;}
    
    .footerBlock {justify-content: center!important;
        height: 30%;
        width: 100%;
        margin-top: 20px;
     padding-bottom: 50px;
    align-items: center!important;
    font-size: 2.4vh;}
    
    .linkFoot{margin-bottom: 10px;}
    
    #logo{width: 180px;}
    header{padding: 30px;}
    
    #wrapGira{position: fixed;

    transform: translate(-50%,-100%) scale(2);
}
    
    #drop{position: relative;
       
        width: 20px;
        transform: translate(10px,0);
      padding: 10px;
       
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        z-index: 1100000000;
    }
    
    #drop p{
        height: 2px;
        display: block;
        background-color: #230646;
        margin-top: 2px;
        margin-bottom: 2px;
        width: 100%;
    }
    
    #drop p:nth-child(2){width: 80%;
    margin-left: auto;}
    
    nav{
        
        background-color: rgba(255,255,255,0.95);
        
        
        position: fixed;
        top: -100%;
        left:0;
    height: 100%;
    width: 100%;
        margin: 0;
        padding: 0;
        transition: 0.5s ease;
        z-index: 10;
    }
    
    nav ul{flex-direction: column;
    align-content: center;
    justify-content: center;}
    
    .showNav{ top: 0!important;}
    
    .intro{padding-bottom: 50px;
    padding-top: 50px;}
    
    .titlePar {font-size: 1.4rem;}
    
    .testoBox{font-size: 0.9rem;
   
    }
    
    .footerBlock:nth-child(2) img{
width: 160px;
    margin: 0 auto;
}
    
   .piva{text-align: center;
font-size: 0.9rem;
margin: 0 auto;
margin-top: 20px;}
    
    .current{text-align: center;}
    .current a{color: #cf2f3a;
    display: inline-block;
        margin: 0 auto;
position: relative;}

.current a:after{
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    margin-top: 4px;
    background-color: #efab8d;
    
    bottom: 0;
}

    nav ul li{text-align: center;}
    nav ul li a{
        font-size: 20px;
        display: inline-block;
    }
    
     nav ul li a:hover:after{
    background-color: #cf2f3a;
      width: 0;
}
    
    .full{
   padding: 50px;
    height: 60vh;
   
}
    
    .title{font-size: 4vh;}
    .testo{font-size: 18px;}
    
    .inverse .HalfDama:nth-child(1){
     
      
  order: 1; /* default is 0 */
}
      
.cookie{padding: 20px;
font-size: 14px;}
    
}


