*, *:before, *:after { box-sizing: border-box; margin: 0 ; padding: 0; }



html, body{
    height: 100%; 
    font-family: 'Raleway', 
    sans-serif;
    
}

body{
    background-color: rgba(199, 137, 54, 0.2)
    
}

a{
    text-decoration: none; 
    color: #000; width:auto; 
    height:auto;
    
}

hr{
    margin:3% 15% 3% 15%;
    
}

h1{
    font-family: 'Cormorant Upright', 
    serif; font-weight: 900; 
    font-size: 35px;
    
}

input, textarea, select{ 
    padding: 10px; 
    border: 1px solid #CCC; 
    border-radius: 3px; 
    box-sizing: border-box; 
    margin-top: 5px; 
    margin-bottom: 15px; 
    resize: vertical;
    
}

input[type=submit] {
    background-color: #4CAF50; 
    color: #FFF; padding: 10px 20px; 
    border: none; 
    border-radius: 3px; 
    cursor: pointer;
    
}

input[type=submit]:hover {
    background-color: #45a049;
}

input[type=radio]{
    width: auto; 
    margin: 5px;
    
}

.header{
    width: 100%; 
    height: 20%; 
    background-color: #fff; 
    position: relative; 
    border: none; 
    box-shadow: none;
    
}

#logo{
    float: left; 
    margin-left:0.5em; 
    width:20%;
    height:auto;
    
}

.nav{
    float: right; 
    margin-right: 2em; 
    transition: all 1s ease;
    
}

.nav ul{
    list-style-type: none; 
    margin-top: 2em;
    margin-right: 1em;
    
}

 li,a.nav{
     display: inline-block; 
     padding: 10px; 
     color: #444; 
     margin: 10px; 
     flex:row; 
     align-items: stretch;
 }

.nav a:hover{
    background-color: #eee;
    color: #333;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, padding 0.3s;
}



.header__burger{
    display: none; 
    float: right; padding: 20px; 
    background-color: #fff;
    
}

.header__burger span{
    height: 3px; 
    width: 30px; 
    background-color: #000; 
    margin-bottom: 5px;
    
}



.cover{
    position: relative; height: 100%; 
    background-image: url('immagini/background.jpeg'); 
    background-repeat: no-repeat; 
    background-position: center center; 
    background-size: cover; 
    text-align: center;
    
}

.cover__front {
    padding-left: 1.4em; 
    padding-right: 1.4em;
    
}

.cover__filtro{
    background-color: rgba(255, 255, 255, 0.01); 
    position: absolute; 
    width: 100%; 
    height: 100%; 
    padding-top: 20px; 
    padding-bottom: 20px; 
    color: #333;
    text-shadow: 2px 2px #ccc;
    
}

.cover__front h1{
    font-size: 3em; 
    margin-top: 2%; 
    margin-bottom: 10px;
    
}

.cover__front h2{
    font-size: 2em; 
    font-weight: 700; 
    padding: 0.5em 2em 0.5em 2em;
    
}



.titlepage{
    text-align: center; 
    width: 80%; background-color: #f9f9f9; 
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.25); 
    margin: 0 auto; 
    margin-bottom: 0; 
    margin-top: 10px;
    
}

.caps{
    text-transform: uppercase;
    
}



.content{
    display: grid; background-color: 
    rgba(255, 255, 255, 0.9); 
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.25); 
    margin: 0 auto; 
    max-width: 1200px; 
    width: 88%;
    
}

.content-0{
    grid-template-columns: 1fr 1fr 1fr;
    border-radius: 10px;  
    margin-bottom: 20px; 
    margin-top: 20px;
    
}

.content-1{
    grid-template-columns: 1fr 2fr;  
    margin-bottom: 20px; 
    margin-top: 20px;
    
}

.content-2{
    grid-template-columns: 1fr 1fr ; 
    grid-gap: 1rem; margin-bottom: 20px; 
    margin-top: 20px;
    
}


.content__item{
    padding: 20px;
    
}

.content__item img{
    width: 100%;
    max-width: 500px; 
    height: auto; 
    
}

.content__item a{
    padding: 0;
    color:#A52A2A;
    
}

.content__item a:hover{
    color: red;
    
}

.content__item p{
    margin: 10px; 
    line-height: 1.5; 
    font-size: 19px;
    
}

.content__item span{
    font-size: 25px; 
    font-family: 'Cormorant Upright', serif;
}



.content__item-1{grid-column: 1/3;}

.content__item-2{grid-column: 3/4;}

.content__item-3{grid-column: 1/2;}

.content__item-4{grid-column: 2/4;}



.content__item-title{
    grid-column: 1/4; 
    grid-row:1/2; text-align: center;
}

.content__item-a1{grid-column: 1/2; grid-row:2/3;}

.content__item-a2{grid-column: 2/4; grid-row:2/4;} 

.content__item-a3{grid-column: 1/2; grid-row:3/4;}



.content__item-c1{grid-column: 1/2; grid-row:1/3;}

.content__item-c2{grid-column: 2/4; grid-row:2/4;} 

.content__item-c3{grid-column: 1/2; grid-row:3/4;}

.box_gallery{
    width: 85%; 
    height: auto; 
    background-color: #F6F6F6; 
    margin: 0 auto; 
    margin-bottom: 30px; 
    padding: 10px;
}

.preview{
    width: 100%; 
    height: auto; 
    background-color: #F6F6F6; 
    margin: 0 auto; 
    margin-bottom: 30px; 
    padding: 10px;
}

.preview h1{
    text-align: 
    center; 
    padding:10px; 
    border-radius: 10px;
}

.preview__box{ 
    margin: 40px auto; 
    max-width: 1200px; 
    display: grid; 
    grid-template-columns: 1fr 2fr; 
    grid-gap: 1em;
}

.preview__box img{
    width: 100%; 
    max-width: 600px; 
    height: auto;
}



.preview__box__description a{
    border: 1px solid #bbb; 
    padding: 10px; 
    border-radius: 8px; 
    background-color: #fff; 
    transition: all 0.5s;
}

.preview__box__description a:hover{background-color:#bbb; color: #fff ;}



.content__item label, input, textarea, select {width: 100%;}



.footer{width: 100%; height: auto; background-color: #fff;}

.footer__copryright{padding: 20px; text-align: center;}



.container__row{display: grid; grid-template-columns: 3fr 3fr; grid-gap: 2em; max-width: 1200px;}

.container__row__item{padding: 20px;}

.container__row__item a{border-bottom: 1px solid #ccc; margin-bottom: 10px; margin: 0 auto;}

.container__row__item a:hover{background-color: #eee;}

.container__row__item h2,p{margin-bottom: 20px; padding: 10px;}

.container__row__item ul{list-style-type: none;}



.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
    padding: 20px;
}
.gallery img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
    



@media screen and (max-width: 824px){

	.header{
	    position: fixed; 
	    z-index: 1000; 
	    width: 100%; 
	    top: 0;
	    height:auto;
	}



	#logo{float: left; margin-left:0.5em; width: 200px; height: auto; margin: 0px;}


    .gallery {
    grid-template-columns: 1fr;
    }
    
	.nav{
	    width: 100%; 
	    height: 0px; 
	    font-weight: 700; 
	    display: none;
	}

	.nav__item a{border-bottom: 1px solid #222; width: 80%;}

	.header__burger{background-color:#fff; height: 60px; display: block;}

	.header__burger span{ 
	    display: block; height: 3px; 
	    width: 30px; 
	    background-color: #000; 
	    margin-bottom: 5px;
	}



	.nav-open{position: absolute; top: 61px; height: 100vh; overflow: auto; display:block; text-align: center; background-color: #fff; margin:0; z-index: 999}

	.nav-open li{display: block; border-bottom: 1px solid #fff;}



	.cover__front{margin-top: 4em;}

	.cover__front h1{margin-top: 4%;}



	.content-0{grid-template-columns: 1fr; margin-top: 80px;}

	.content-1{grid-template-columns: 1fr; margin-top: 80px;}

	.content-2{grid-template-columns: 1fr; margin-top: 80px;}

	.content p{font-size: 16px;}



	.content__item{margin: 0 auto;}

	.content__item img{width: 100%; max-width: 500px; height: auto;}

	.content__item-title{grid-column: 1/4; grid-row:1/2; padding: 10px;}



	.content__item-1{grid-column: 1/4;}

	.content__item-2{grid-column: 1/4;}

	.content__item-3{grid-column: 1/4;}

	.content__item-4{grid-column: 1/4;}



	.content__item-a1{grid-column: 1/4; grid-row:3/4;}

	.content__item-a2{grid-column: 1/4;	grid-row:2/3;}

	.content__item-a3{grid-column: 1/4; grid-row:4/5;}



	.content__item-c1{grid-column: 1/4; grid-row:3/4;}

	.content__item-c2{grid-column: 1/4;	grid-row:2/3;}

	.content__item-c3{grid-column: 1/4; grid-row:4/5;}



	.preview__box{grid-template-columns: 1fr; text-align: center;}

	.preview__box__description{ margin-top: 0px;}

	.preview__box__description h2,h3,p{ margin-bottom: 10px;}

	.contenr__box__description p{text-align: left;}

	.social li{display: inline-block;}

	.container__row{grid-template-columns: 1fr; text-align: center;}

}

.clearfix:after {

  visibility: hidden;

  display: block;

  font-size: 0;

  preview: " ";

  clear: both;

  height: 0;

}

* html .clearfix             { zoom: 1; } /* IE6 */

*:first-child+html .clearfix { zoom: 1; } /* IE7 */