body {
    background-color: rgb(213, 213, 121);;
    font-family: Georgia, "Times New Roman", serif;
    margin: 0;
    z-index: 0;
}
h1 {
margin-top: 40px;
margin-left: 20%;
margin-right: 20%;
margin-bottom: 40px;
padding: 20px;
border-radius: 20px;
border-color: orangered;
border-style: solid;
text-align: center;
color: rgb(0,100,0);
background-color: white;
}
p {
    margin-right: 10%;
    margin-left: 10%;
    text-align: justify;
    overflow: hidden;
}
.locandina-mappa {
    float: left;
    margin-left: 10%;
    margin-right: 3%;
    width: 30%;
}  
.locandina-mappa img, .locandina-mappa iframe { 
    display: block;
    width: 100%;
    height: auto;
}
.testocentro {
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 30px;
    margin-bottom: 60px;
    text-align: justify;
}
.mappacentro {
    margin-left: 35%;
    margin-right: 35%;
    width: 30%;
    height: auto;
    margin-top: 30px;
    margin-bottom: 60px;
}
.galleria {
    position: relative;
    width: 80%;
    aspect-ratio: 16 / 9;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 50px;
    margin-bottom: 25px;
    overflow: hidden;
}
.foto {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}
.foto:first-child {
    opacity: 1;
}
.foto:target {
    opacity: 1;
    z-index: 2;
}
.foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.precedente, .successivo {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
}
.precedente { left: 10px; }
.successivo { right: 10px; }
.precedente:hover, .successivo:hover {
    background: rgba(0,0,0,0.8);
}
.casa {
    position: fixed;
    bottom: 30px;
    right: 2%;
    width: 6%;
    aspect-ratio: 1/1;
    height: auto;
    border-radius: 50%;
    background:rgb(0,100,0);
    color:white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 60px;
    transition: 0.3s;
    z-index: 3;
}
.casa:hover {
    background: orangered;
    transform: scale(1.1);
}
.dopo {
    position: fixed;
    top: 48%;
    line-height: 1;
    left: 3%;
    width: 4%;
    aspect-ratio: 1/1;
    height: auto;
    border-radius: 5px;
    background:white;
    color:rgb(0,100,0);
    border-style: solid;
    border-color: orangered;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 50px;
    transition: 0.3s;
    z-index: 3;
}
.dopo:hover {
    background: orangered;
    color: white;
    transform: scale(1.2);
}
.prima {
    position: fixed;
    top: 48%;
    line-height: 1;
    right: 3%;
    width: 4%;
    aspect-ratio: 1/1;
    height: auto;
    border-radius: 5px;
    background:white;
    color:rgb(0,100,0);
    border-style: solid;
    border-color: orangered;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 50px;
    transition: 0.3s;
    z-index: 3;
}
.prima:hover {
    background: orangered;
    color: white;
    transform: scale(1.2);
}
