@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

header,
body {
    font-family: 'Bodoni Moda', sans-serif;
    background-color: #C9883D;
}

body {
    margin: 0 20px;
    padding-bottom: 20px;
}

/****************NAVBAR*********************/

header {
    height: 80px;
    
}

#header {
    position: fixed;
    top: 0;
    width: 100%;
    transition: all 1s ease-in-out;
    z-index: 10;
}

nav {
    max-width: 1120px;
    height:100%;
    margin: 0 auto;
}
 
ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;  
    list-style: none; 
    padding: 0 40px
}

ul li {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
}

ul img {
    width: 60px;
    height: 60px;
    margin-top: 10px;
}

nav ul li {
    display: inline-block;
    position: relative;
    padding-bottom: 3px;
}

nav ul li:after {
    content: '';
    display: block;
    margin: auto;
    height: 1px;
    width: 0px;
    background: transparent;
    transition: width .5s ease, background-color .5s ease;
}

nav ul li:hover:after {
    width: 100%;
    background: #000;
}

nav ul li a {
    text-decoration: none;
    color: #03350D;
    font-family: 'Bodoni Moda', serif;
}

.logo_2 {
    display: none;
}

/****************PRESENTAZIONE*********************/

.prima-fascia {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; 
    height: 100vh; 
}

.prima-fascia h1 {
    font-family: 'Bodoni Moda', serif;
    font-size: 80px;
    font-weight: thin;
    color: #FFF;
    position: absolute;
}

.prima-fascia img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/****************SPECCHIO-UP*********************/


.specchio {
    display: flex; 
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #FFF;
    height: 80vh;
}

.testo {
    width:50%;
    padding: 0 20px;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #C9883D;
    height: 100%;
}

.testo p {
    font-family: sans-serif;
    font-size: 20px;
    text-align: center;
}

.titoletto {
    text-transform: uppercase;  
    padding-bottom: 20px;
}

.paragrafo {
    max-width: 500px;
}

.paragrafo p {
    font-family: sans-serif;
    font-size: 18px;
}

.immagine {
    width:50%;
    height: 100%;
}

.immagine img {
    width:100%;
    height:100%;
    object-fit:cover;
}

/****************SPECCHIO-BOTTOM*********************/


.specchio.bottom {
    flex-direction: row-reverse; 
    background-color: #012709;  
}

.bottom p {
    text-transform: uppercase;
}

.bottone {
    margin-top: 40px;
    text-transform: uppercase;
    display: block;
    border: 2px solid #C9883D;
    padding: 10px;
}

.bottone:hover {
    background-color: #FFF;
}

/****************FORM*********************/


.form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;   
}

form {
    max-width: 400px;
    width:100%;
}

.form img {
    position: absolute;
    width:100%;
    height: 100%;
    object-fit:cover;
    padding: 0 20px;
    
}

.contenuto_form {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.descrizione {
    margin-bottom: 50px;
}

.descrizione h2 {
    font-size: 22px;
    font-family: 'Bodoni Moda', serif;
    text-align: center;
}

input#name, input#email, input#subject {
    width: 100%;
    height: 30px;
    margin: 0 0 20px 0;
}

textarea#message {
    width: 100%;
    height: auto;
    padding: 0 0 20px 0; 
}

#submit {
    width:100%;
    height:30px;
    background-color: green;
    text-transform: uppercase;
}

/*****PROVA SLIDESHOW*******/

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
    margin-top: 50px;
}
  
/* Hide the images by default */
.mySlides {
    display: none;
}

 
  
/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}
  
/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
  
/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}
  
/* Caption text */
  .text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}
  
/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}
  
/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
  
.active, .dot:hover {
    background-color: #717171;
}
  
/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}
  
@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/*** MAPPA ***/
.mappa {
    width:100%;
    height: 400px;
    margin-top: 50px;
}

.mappa iframe {
    width: 100%;
    height: 100%;
}

/*******CONTATTI********/
.contatti {
    display:flex;
    flex-direction: column;
    align-items: center;
    text-align:center;
    justify-content: center;
    height: 30vh;
    background-color: #03350D;
    margin-bottom: 20px;
}

.saluti p {
    color: #f68704;
    font-size: 18px;
    font-family: 'Bodoni Moda', serif;
}

.social {
    margin-top: 10px;
}

.fab {
    color: #f68704;
}

/*********************MEDIA-QUIERY*****************************/
@media (max-width: 1170px) {
    nav {
        max-width: 1000px;
    }

}

@media (max-width: 780px){
    ul li {
        font-size: 16px;
    }

    .prima-fascia h1 {
        font-size: 60px;
    }

    .testo p {
        font-size: 18px;
    }

    .paragrafo p {
        font-size: 16px;
    }

    .descrizione h2 {
        font-size: 20px;
    }
}

.hamburger-menu {
    display: none;
}


/* RESPONSIVE */
@media (max-width: 650px) {

    .menu_responsive {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }

    .logo_2 {
        display: block;
        max-width: 60px;
        max-height: 60px;
    }

    .logo_2 img {
        width: 100%;
        height: 100%;
        object-fit:contain;
    }

    

    .hamburger-menu {
        display: block;
        width: 30px;
        height: 30px;
        position: relative;
        margin-top: 10px;
        z-index: 11;  /* header è a 10 quindi quando si apre e chiude il menu le linee saranno sempre un livello sopra e quindi visibili*/
    }

    .hamburger-menu span {
        height: 2px;
        width: 100%;
        position: absolute;
        background-color: #000;
        top: 15px;
        transition: all 0.2s ease-in-out;
    }

    .hamburger-menu span:before,
    .hamburger-menu span:after {
        content: '';
        height: 2px;
        width: 100%;
        position: absolute;
        background-color: #000;
        transition: all 0.2s ease-in-out;
    }

    .hamburger-menu span:before {
        margin-top: -10px;
    }

    .hamburger-menu span:after {
        margin-top: 10px;
    }

    .menu {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 30vh;
        background-color: #C9883D;
        z-index: 10;
        padding: 50px;
        transform: translateX(100%);
        transition: all 0.5s ease-in-out;
        border-bottom: 2px solid #000; 
    }

    .menu ul {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        width: 100%; 
        align-items: center;
        text-align:center; 
    }

    .menu ul li {
        width: 100%;
        
    }

    .menu ul li a {
        display: block;
        width: 100%;
        font-size: 20px;
    }

    .menu ul img {
        display: none;
    }

    .menu--open {
        transform: translateX(0);

    }

    .hamburger-menu--open span {
        background: transparent;
    }

    .hamburger-menu--open span:before {
        transform: rotate(45deg);
        margin-top: 0;
        background: #fff;
    }

    .hamburger-menu--open span:after {
        transform: rotate(-45deg);
        margin-top: 0;
        background: #fff;
    }

}

@media (max-width: 500px) {
    .prima-fascia {
        height: 80vh;
    }

    .prima-fascia h1 {
        font-size:50px;
    }

    .specchio {
        display: block;
    }

    .testo, .immagine {
        width: 100%;
        height: 50%;
    }

    .specchio.bottom {
        margin-bottom: 20px;
    }

    .descrizione h2 {
        font-size: 18px;
    }

    form {
        padding: 0 20px;
    }

    .contatti {
        justify-content: flex-start;
        padding: 20px;
    }
}

@media (max-width:400px){
    .titoletto {
        padding-bottom: 5px;
    }
    .titoletto p {
        font-size: 14px;
    }

    .paragrafo p {
        font-size: 12px;
    }

    .bottom p {
        font-size: 14px;
    }

    .descrizione h2 {
        font-size: 14px;
    }

    .text  {
        font-size: 12px;
    }

    .contatti {
        margin-bottom: 10px;
    }

    .saluti p {
        font-size: 14px;
    }
}


}












