*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight:    1200;
}

html {
    scroll-behavior: smooth;
  }

a{
    text-decoration: none;
    color: white;
}

h1{ 
    font-size: 3rem;
    color: white;
    font-family: "Bodoni Moda", serif;
}
h2{
    font-size: 1.5rem;
    font-family: "Bodoni Moda", serif;
}
.menu-laterale{ 
    width: 450px;
    height: 100vh;
    position: absolute;
    background: #2f3640;
    top: 0;
    left: 0;
    position: fixed;
    -webkit-box-shadow: 7px 2px 32px 5px #2F3640; 
box-shadow: 7px 2px 32px 5px #2F3640;
}
.titoli-pagine{ 
    width: 100%;
    height: 87vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #2f3640;
    overflow-x: auto;
    overflow-y: auto;
}
.titoli-laterali{  
    text-decoration: none;
    color: white;
    transition: 0.3s;
    border-top: 2vh solid #2f3640;
    background-color: #2f3640;
    top: 0;
}

.titoli-laterali h1{
    font-size: 2.5rem;
    background-color: #2f3640;
}
.titoli-laterali:hover{
    color: antiquewhite;
    text-decoration: underline;
    margin-left: 4%;
}
.contenuto{ 
    width: calc(100% - 450px);
    height: 100vh;
    position: relative;
    left: 450px;
    transition: 2s;
}
#contenuto.active{
    position: relative;
    left: 0%;
    width: 100%;
    transition: 2s;
    z-index: 2;
}

.sfondo{   
    display: flex; 
    position: fixed;
    height: 100vh;
    width: calc(100% - 450px);
    margin-left: 450px;
    transition: 2s;
}
#sfondo.active{
    margin-left: 0;
    width: 100%;
    transition: 2s;
}
.alto{
    width: 100%;
    height: 13vh;
    font-size: 2rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: .5vh solid white;
    font-family: "Bodoni Moda", serif;
}

.titolo-contenuto{
    color: white;
}

.titolo-contenuto h1{
    font-size: 4rem;
}
.titolo-contenuto{   
    width: 100%;
    height: 14vh;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testo-contenuto{
    margin-left: 5%;
    width: 50%;
    height: 90vh;
    color:white;
    margin-top: 50vh;
    transform: translateY(-50%);
    line-height: 1.6;
    font-size: 1.2rem;
    font-family: Arial, Helvetica, sans-serif;
}


#titolo-cinque{
    color: antiquewhite;
    text-decoration: underline;
    margin-left: 4%;
}

.contenitore-principale{
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.immagine{
    width: 200px;
    height: 200px;
    padding: 20px;
    object-fit: cover;
    transition: .3s;
}

.immagine:hover{
    transition: .3s;
    transform: scale(1.2);
}

#tasto-menu{
    position: absolute;
    color: white;
    padding: 10px;
    background-color: #2f3640;
    margin-left: 100%;
    text-decoration: none;
    writing-mode: vertical-lr;
    text-orientation: upright;
    -webkit-box-shadow: 7px 2px 32px 5px #2F3640; 
box-shadow: 7px 2px 32px 5px #2F3640;

}

#generale{
    z-index: 5;
    transition: 2s;
}

#generale.active{
    transform: translateX(-100%);
    transition: 2s;
}

.grande{
    position: fixed;
    background-color: rgba(53,59,72,.8);
    width: 100%;
    height: 100vh;
    margin-top: calc(-14vh - 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    display: none;
    flex-wrap: wrap;
}

.img-grande{ 
    height: 75vh;
    }

.tasti{
    width: 40px;
    height: 7vh;
    background-color: rgba(53,59,72,1);
    border: 1px solid white;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tasti h1{
    font-size: 2.5rem;
}

.tasti:hover{
    cursor: pointer;
}

.contenitore-titolo-opera{
    width: 100%;
    height: 15vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(35, 39, 46, .8);
    color: white;
    font-size: 2.5rem;
}

.esci{
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: right;
    background-color: rgba(35, 39, 46, .0);
    color: white;
    border: 0px;
    font-size: 2.5rem;
    padding-right: 30px;
    padding-top: 30px;
}

.esci:hover{
cursor:  pointer;
}

@media only screen and (max-width: 900px){
    #tasto-menu{
        display: block;
    }
    .testo-contenuto{
        font-size: 16px;
        margin-top: 30px;
        width: 80%;
        margin-left: 70px;
        height: 2500px;
        transform: translateY(0);
    }

    .menu-laterale{
        font-size: 15px;
        width: 90%;
    }
    .titolo-contenuto h1{
        font-size: 30px;
    }
    .menu-laterale h1{
        font-size: 30px;
    }
    .alto{
        height: 7vh;
    }
    
    .sfondo{   
    display: none; 
    width: 100%;
    margin-left: 0;
}
    .contenuto{
        left: 0px;
        width: 100%;
    }
    .titolo-contenuto{   
    width: 100%;
    height: 14vh;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
body{
    background-image: url(../immagini/sfondo-piazza.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;  
  background-size: cover;
}

.img-grande{
    width: 60%;
    height: auto;
}
.contenitore-titolo-opera{
    font-size: 20px;
    text-align: center;
    padding: 10px;
}
.esci{
    font-size: 30px;
}
}

