
html {
	scroll-behavior:smooth;
}

/*permettere al browser di caricare dopo le immagini degli swiper*/

.apparizione {
	opacity: 1;
    transition: opacity 0.3s;
}

.apparizione[data-src] {
	opacity:0;
}

body {
	margin: 0;
    letter-spacing: 2px;
    font-size: 1.1em;
    padding: 0;
	font-family: 'Josefin Slab', serif;
}

input,
textarea,
button,
select,
a {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

#audio {
	position: absolute;
    bottom: 50px;
    left: 50px;
    z-index: 2;
    text-align: center;
    color: #416658;
    font-size: 40px;
    cursor: pointer;
	border: none;
    background-color: transparent;
}

#audiomobile {
	opacity:0;
}

#mp3 {
	display:none;
}

#immaginesfondo {
	background: url('sfondo.jpg');
	  background-repeat: no-repeat;
	  background-position:center;
	  background-size: cover;
	  position: fixed;
	  height: 100vh;
	  width: 100vw;
}

#content {
	position: relative;
}

#containerbody {
	width:90%;
	margin-left: 5%;
}

h2, p , span {
	color:#43695b;
}


a:link {
	color:#4e685d;
	text-decoration:none;
}

a:visited {
	color:#4e685d;
	text-decoration:none;
}

a:active {
	color:#4e685d;
	text-decoration:none;
}

a:hover {
	font-weight:400;
	text-decoration:none;
	font-weight:bold;
}

/*menu di navigazione*/

.menu {
	display: flex;
    position: fixed;
    top: 0px;
    justify-content: flex-end;
    z-index: 2;
    width: 100%;
    transition: all .5s ease-in-out;
    font-weight: 100;
	background-color: #c7d2ce99;
}

.ilMioMenu {
	background-color:#c7d2ce;
}

.ilMioMenu a {
	color:#43695b;
}

#divfasullo {
	display: flex;
    flex-direction: row;
    width: 70%;
    justify-content: flex-end;
}

#buttonMenu {
	visibility: hidden;
	width: 1%;
    height: 10px;
}

#imgmenu {
	width:100%;
}

#menuMobile {
	display:none;
	background:#00000073;
}

#iconamenumobile {
	font-size:35px;
}

#logocontainer {
	padding:20px;
	width:15%;
}

#imglogo {
	width:100%;
}



#voxcontainer {
	width:70%;
	display:flex;
	white-space: nowrap;
    font-size: 1.1em;
}

.voxmenu {
	width: 20%;
	margin-left: 2%;
    margin-right: 2%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*parte mobile menu*/

@media screen and (max-width: 1300px) {
	
#voxcontainer {
	width:85%;
}
	
}

/*prima sezione*/

#benvenuti {
	margin-bottom:40px;
	width:60%;
	margin-left:20%;
}

#onesection {
	margin-top: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
	background-color:#fff;
	
}

/*seconda sezione*/

	
#containertexthome {
	text-align: center;
    padding: 2% 2% 1% 2%;
    background-color: #000000bf;
    width: 100%;
    box-sizing: border-box;
    line-height: 30px;
    margin-top: 80px;
}

#containertexthome p {
	color:white;
}

#containertexthome span {
	color:white;
}

#containertexthome .divicon {
	color:white;
}

#presentazione {
	text-align: center;
	font-size:4em;
	display: flex;
    align-items: center;
	height:100vh;
	justify-content: center;
	font-family: 'Cinzel', serif;
	flex-direction:column;
}

#quattrorioni {
	margin-top: calc(100vh*0.70);
}

#scopri {
	font-size: 0.2em;
    margin-top: 50px;
    padding: 2%;
}

#simbolohome {
	font-weight: 200;
    font-size: 6em;
}

.container {
	text-align:center;
	width: 100%;
	display:flex;
	flex-direction: row;
    align-items: center;
}

#containertextstanze {
	width: 50%;
	line-height: 25px;
}

#imghome {
	width:100%;
}

#containergen {
	display:flex;
	margin-top:50px;
}

.containergen {
	padding: 4%;
    display: flex;
}

#containerhome {
	display: flex;
    flex-direction: column;
    align-items: center;
}

h2 {
	text-align: center;
    padding-top: 40px;
    width: 30%;
    margin-left: 35%;
    border-bottom-style: solid;
    border-width: 1px;
    border-color: #dddddd;
    padding-bottom: 10px;
	font-size:1.2em;
}


#containerfb {
	display:flex;
	margin-top: 30px;
    justify-content: center;
    align-items: center;
	border-bottom-style: solid;
    border-color: #dddddd;
    border-width: 1px;
	width:40%;
	margin-left:30%;
}

#containericon {
	width:35px;
}

#fbicon {
	width:100%;
}

.divicon {
	display: flex;
    width: 40%;
    justify-content: space-evenly;
    margin-left: 30%;
	color: #43695b;
	margin-bottom:50px;
	margin-top:20px;
}

/*paragrafo che sta sotto le icone speciali nella seconda sezione*/

#paragrafo {
	text-align:center;
	margin-top:40px;
}

/*terza sezione*/

#thirdsection {
	margin-top:130px;
	background-color:#ffffffdb;
}

.paragrafostanze {
		padding-left:3%;
		padding-right:3%;
		font-size:1.1em;
	}


/* galleria immagini*/

.containergallery {
	width: 50%;
	display: flex;
    align-items: center;
	padding-bottom: 40px;
}

#containergallery {
	width:100%;
}


.zoom {
   cursor: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAABmJLR0QA/wD/AP+gvaeTAAABRElEQVRIie3Vvy5EQRTH8Q/RbImHUVi5/kQh0ZEsD6DkGXTiGfREQqfagmwsCS3eAYVWSbGzMjvu3OsmFMQvmWRy5szvOyd37hn+isai+Rxm8ZbkvOCgwmMLUyW+V7iE8WhhCXtYwWQ0WjUHbSX5K8FnqSx5F108Yb7GOKf5sL8b/DBaCVxjDcdYbAhoh32bwedDKQT6AXTUANTGaQCcp4tlkBh0+AVQGyc5QAp5DiMGdQwqKjKAwqCCTgJIvWrVxqPPFQ3jC03MqlTgNondyFf4r59Xgbskdu8bv0nuFuVuXaV2sJ3ECoNeVPWflK2PeMU/4xSmk5MeYwO9DKSnvNeNeOXaStyLLjI5Q/WxrqLXlUGaAGLQl5rqj70nE0nSMs4wEwbNn99brIrelBjSx36YT0bx15rTD5/foR7C6Nfs+4V6B2p1Sa5+2199AAAAAElFTkSuQmCC"), pointer;
}

.zoomOpen {
   position: fixed;
   left: 0;
   top: 0;
   bottom: 0;
   right: 0;
   background: #fff;
   padding: 25px;
   z-index: 99999;
   zoom: .85;
   opacity: 0;
   cursor: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAABmJLR0QA/wD/AP+gvaeTAAAAp0lEQVRIie2VTQqAIBSE52BBP7evbS47QJ6iNgpio8/8oYgGXEg633ukDvBFrQD6Sl698buoA7ADmAoB1meMVaDBO9qEubSfVuJ3dAhzsQMG0h4oBrHrkwEhUAjCCsoGMUgxwGowRgyizffbUsaADR/ChsqB/orqkX/S5HS5an5Pmt/4nLfrVkyUvsIiKJYHftKx5BPzJDlwBFkfeurmCgAXtFTyepFOkXBc+2M5ykQAAAAASUVORK5CYII="), pointer;
}

.zoomOpen > div {
   background-color: #fff;
   background-repeat: no-repeat;
   background-position: center center;
   height: 100%;
   width: 100%;
   background-size:contain;
}


.swiper {
	width:80%;
	height: fit-content;
}

.swiper-slide img {
	width:100%;
}

.swiper .swiper-button-prev, .swiper .swiper-button-next {
   color: white;
}

.swiper .swiper-pagination-bullet-active {
	background:white;
}

.swiper-pagination {
	display:none;
}





/*quartasezione*/

#scritta {
	text-align: center;
	font-size:1.1em;
	line-height: 25px;
}

#quartasezione {
	background-color:#ffffffdb;
	margin-top:130px;
}

.div {
	width:50%;
	display: flex;
    align-items: center;
}

/*quinta sezione*/

#quintasezione {
	margin-top:130px;
	background-color:#ffffffdb;
}
#paragrafomezzi {
    border-bottom-style: solid;
    border-color: #dddddddd;
    border-width: 1px;
	text-align: center;
	padding-bottom:30px;
	font-size:1.1em;
}

#paragrafonavetta {
    margin-top: 40px;
	text-align: center;
	font-size:1.1em;
}

.divdovesiamo {
	width: 50%;
	padding:3%;
	line-height:25px;
}

/*sesta sezione - quella dei contatti*/

#sestasezione {
	margin-top:130px;
	background-color:#ffffffdb;
}

#divgencontatti {
	padding-bottom:30px;
}

#divtelefono {
	display: flex;
    flex-direction: column;
    align-items: center;
}

.numeri {
	margin:10px 0 10px 0;
	font-size:1.1em;
}

#divemail {
	display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 25px;
}

#email {
	margin-top: 25px;
	font-size:1.1em;
}

.nomecontatto {
	margin-top: 25px;
	font-size:1.1em;
}

/*mobile*/


@media screen and (min-width: 2100px) {
	
	#containerbody {
		width:70%;
		margin-left:15%;
	}
}

@media screen and (max-width: 1237px) {
	
	 .voxmenu {
			font-size: 0.8em;
	}

}

@media screen and (max-width: 1150px) {
	
	#presentazione {
		font-size:3.5em;
	}
	
}

@media screen and (max-width: 1088px) {
	
	
	h2 {
		font-size:1.2em;
	}
	
	/*terza sezione stanze*/
	
	.container {
		flex-direction:column-reverse;
		align-items:center;
	}
	
	#containertextstanze {
		padding-bottom:20px;
		width:85%;
	}
	
	.paragrafostanze {
		padding:0;
	}
	
	.containergallery {
		width:80%;
		padding: 3% 0 3% 0;
	}
	
	/*quarta sezione casa al mare*/
	
	.containergen {
		flex-direction: column-reverse;
		align-items: center;
	}
	
	.div {
		width: 90%;
		align-items: center;
		display: flex;
		flex-direction: column;
	}
	
	#scritta {
		width:100%;
		margin-top:50px;
	}
	
	#containergallery {
		width:80%;
	}
	
	/*quinta sezione dove siamo*/
	
	#paragrafomezzi {
		border:none;
		padding:0;
	}
	
	
	#paragrafonavetta {
		margin:20px;
	}
	
	.divdovesiamo {
		width:100%;
	}
	
} 

@media screen and (max-width: 1001px) {
	
	#containertexthome {
		font-size:1em;
	}
	
	.paragrafostanze {
		font-size:1em;
	}
	
	#scritta {
		font-size:1em;
	}
	
	#paragrafomezzi {
		font-size:1em;
	}
	
	.numeri {
		font-size:1em;
	}
	
	.nomecontatto {
		font-size:1em;
	}
	
	#email {
		font-size:1em;
	}
	
	#paragrafonavetta {
		font-size:1em;
	}
	
}

@media screen and (max-width: 989px) {
	
	.swiper-pagination {
		display:none;
	}
	
	/*icone menu mobile*/
	
	.icons {
		margin-right:10px;
	}
	
	#imgmenu {
		width:100%;
	}
	
	#containergallery {
		width:90%;
	}
	
	.menu a {
		color:#43695b;
		font-weight:400;
	}
	
	.menu {
		background-color: #c7d2ce;
		position:sticky;
		position: -webkit-sticky;
		top:0;
	}
		
	#divfasullo {
		display: flex;
		flex-direction: column;
		width: 70%;
		align-items: flex-end;
	}
	
	
	#buttonMenu {
		visibility: visible;
		width: 8%;
		border: none;
		background: transparent;
		margin-right: 20px;
		height:100%;
	}
	
	#menuMobile {
		position: absolute;
		top: 80px;
		display: flex;
		flex-direction: column;
		gap: 25px;
		width: 100vw;
		background-color:#fff;
		padding-top:200px;
		height:100vh;
		font-size: 1.5em;
	}
	
	.voxmenumobile {
		width: 100%;
		text-align: center;
		padding: 5px;
		font-size:0.7em;
		box-sizing:border-box;
	}
	
	#voxcontainer {
		display:none;
	}
	
	#immaginesfondo {
		background-image: url('sfondomobile.jpg');
		background-position:top;
	}
	
	#presentazione {
		font-size:3em;
	}

	#quattrorioni {
		margin-top:0;
	}
	
	#audio {
		display:none;
	}
	
	#audiomobile {
		opacity:1;
		text-align: center;
		color: #416658;
		font-size: 40px;
		cursor: pointer;
		border: none;
		background-color: transparent;
	}
	
} 

@media screen and (max-width: 850px) {
	
	#logocontainer {
		width:20%;
	}
	
	h2 {
		font-size:1em;
	}
	
}

@media screen and (max-width: 800px) {
	
	h2 {
		font-size:0.8em;
	}
	
	#buttonMenu {
		width:10%;
	}
	
	#presentazione {
		font-size:2.5em;
		height:70vh;
	}
	
	#containergallery {
		width:100%;
	}
	
	#containerfb {
		flex-direction:column;
	}
	
	.swiper .swiper-button-prev, .swiper .swiper-button-next {
		display:none;
	}
	
}

@media screen and (max-width: 750px) {
	
	#quattrorioni {
		margin-top:0;
	}
	
}

@media screen and (max-width: 700px) {
	
	#presentazione {
		font-size:2.3em;
	}
	
}

@media screen and (max-width: 650px) {
	
	#buttonMenu {
		width:12%;
	}
	
	.containergallery {
		width:100%;
	}
	
	.swiper {
		width:90%;
	}
	
	#containergallery {
		width:100%;
	}
	
	#thirdsection {
		box-shadow: 0px 0px 20px 17px #bebaba69;
	}
	
	#quartasezione {
		box-shadow: 0px 0px 20px 17px #bebaba69;
	}
	
	#quintasezione {
		box-shadow: 0px 0px 20px 17px #bebaba69;
	}
	
	#sestasezione {
		box-shadow: 0px 0px 20px 17px #bebaba69;
	}
	
}

@media screen and (max-width: 600px) {
	#logocontainer {
		width:25%;
	}
	
	h2 {
		width:40%;
		margin-left:30%;
	}
	
	.divicon {
		width:60%;
		margin-left:20%;
	}
	
	#presentazione {
		font-size:2em;
	}
}

@media screen and (max-width: 550px) {
	
	
	#buttonMenu {
		width:13%;
	}
	
	h2 {
		width:50%;
		margin-left:25%;
	}
	
	#maps {
		width:100%;
	}
	
}

@media screen and (max-width: 500px) {
	
	#presentazione {
		font-size:1.8em;
	}
	
}

@media screen and (max-width: 463px) {
	
	#buttonMenu {
		width:15%;
	}
	
	#logocontainer {
		width:30%;
	}
	
	#scopri {
		font-size: 0.3em;
	}
	
	#containerbody {
		width:100%;
		margin-left:0;
	}
}

@media screen and (max-width: 420px) {
	
	#logocontainer {
		width:33%;
	}
	
}

@media screen and (max-width: 379px) {
	
	#buttonMenu {
		width:20%;
	}
	
	#logocontainer {
		width:35%;
	}
	
	#scopri {
		font-size: 0.3em;
	}
	
}

@media screen and (max-width: 350px) {
	
	#logocontainer {
		width:38%;
	}
	
	#presentazione {
		font-size:1.5em;
	}
	
	#audiomobile {
		font-size:35px;
	}
}

@media screen and (max-width: 331px) {
	
	h2 {
		font-size:0.8em;
		width:60%;
		margin-left:20%;
	}
	
	#logocontainer {
		width:42%;
	}
	
}

@media screen and (max-width: 300px) {
	
	#buttonMenu {
		width:24%;
	}
	
	#logocontainer {
		width:44%;
	}
	
}

@media screen and (min-width: 2100px) {
	
	#containerbody {
		width:70%;
		margin-left:15%;
	}
}
