
* {
    box-sizing: border-box;
}

@font-face {
  font-family: Futura;
  src: url('futura light bt.ttf');
}

@font-face {
  font-family: Freestyle Script;
  src: url('Freestyle_Script.TTF');
}

p, h2, h1{
    font-family: Futura;
}

p{
	font-size: 17px;
}

body, html {
    height:100%;
    margin: 0;
    padding: 0;
    font-family: Arial;
}

br {
	display: block; /* makes it have a width */
	content: ""; /* clears default height */
	margin-top: 7px; /* change this to whatever height you want it */
}

.header{
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    padding: 20px;
    display: flex;
}

.logo-img{
    height:50px;
}

.menu{
    z-index: 9;
    width: 100%;
    overflow: hidden;
    
}

.menu li{
    display: inline-block;
}

.menu-language{
    float: right;
    cursor: pointer;
}

.hero{
    background: linear-gradient(0deg, rgba(0,0,0,0.20), rgba(0,0,0,0.50)), url("img/sfondoImage.jpg") no-repeat center center;
    background-size: cover;
    height: 100vh;
    display: flex;
    width: 100%;
    align-items: center;
}

.hero_content{
    color: white;
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
}

.hero_content h1{
    font-family: Freestyle Script;
    text-align: center;
    font-size: 180px;
}


.descrizione{
    margin-top: 50px;
    text-align: center;
    width: 92%;
    margin-left: 4%;
    margin-right: 4%;
    padding-top: 2%;
    padding-bottom: 2%;
    padding-left: 5%;
    padding-right: 5%;
}

.descrizione img{
    width: 95%;
}

.descrizione-pc{
    margin-top: 60px;
    text-align: center;
    width: 100%;
}

.container{
    display: flex;
    width: 100%;
	max-width: 1900px;
	margin-left: auto;
	margin-right: auto;
}
.descrizione--right{
    width: 50%;

}

.descrizione--right img{
    width: 80%;
}

.descrizione--left{
    width: 50%;
    padding-left: 5%;
    padding-right: 5%;
    float: right;
	text-align: left;
}

.descrizione--left h1{
	text-align: center;
}

.descrizione--left{
    width: 50%;
    padding-left: 5%;
    padding-right: 5%;
    float: right;
	text-align: left;
}

.titoloAppartamenti{
    margin-top: 60px;
    text-align: center;
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    padding-left: 5%;
    padding-right: 5%;
    margin-bottom: 0px;
}

img {vertical-align: middle;}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: black;
    background-color: rgba(255,255,255,0.5);
    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);
    color: white;
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .prev, .next {font-size: 11px}
}

@media screen and (max-width: 1450px) {
    .descrizione-pc {
        display: none !important;
    }
}

@media screen and (max-width: 1024px) {
    h1{
        font-size: 22px;
    }

    p{
        font-size: 17px;
    }

    .titoloAppartamenti{
        width: 92%;
        margin-left: 4%;
        margin-right: 4%;
        padding-top: 2%;
        padding-bottom: 2%;
        padding-left: 5%;
        padding-right: 5%;
    }
	
	.hero_content h1{
		font-size: 120px;
	}
}

@media screen and (min-width: 1451px) {
    .descrizione {
        display: none !important;
    }
}

.slider-immagini{
    width: 100%;
    max-height: 400px;
    position: relative;
}

.container-annunci{
    position: relative;
    z-index: -1;
    width: 90%;
    min-height: 400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2%;
    padding-right: 2%;
    padding-top: 1%;
    padding-bottom: 1%;
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    border: 1px solid grey;
    box-shadow: 20px 20px rgba(0,0,0,.10);
    transition: all .4s ease;
	max-width: 1700px;
}

.container-annunci:hover{
    box-shadow: 10px 10px rgba(0,0,0,.15);
}

.container-annunci-photo{
    float: left;
    width:50%;
    justify-content: center;
}

.container-annunci-photo img{
    max-width: 100%;
    max-height: 395px;
    min-height: 395px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.container-annunci-testo{
    float: left;
    width:50%;
    height: fit-content;
    display: table;
    padding-left: 3%;
    padding-right: 3%;
}

.container-annunci-testo h1{
    text-align: center;
}

.container-annunci-smartphone{
    position: relative;
    z-index: -1;
    margin-top: 30px;
    text-align: center;
    width: 92%;
    margin-left: 4%;
    margin-right: 4%;
    padding-top: 2%;
    padding-bottom: 2%;
    padding-left: 5%;
    padding-right: 5%;
    border: 1px solid grey;
    box-shadow: 10px 10px rgba(0,0,0,.15);
}

.container-annunci-smartphone-primo{
    position: relative;
    z-index: -1;
    margin-top: 5px;
    text-align: center;
    width: 92%;
    margin-left: 4%;
    margin-right: 4%;
    padding-top: 2%;
    padding-bottom: 2%;
    padding-left: 5%;
    padding-right: 5%;
    border: 1px solid grey;
    box-shadow: 10px 10px rgba(0,0,0,.15);
}

.container-annunci-smartphone-img{
	width:100%;
}

.slider-immagini-smartphone{
    position: relative;
    width: 100%;
    max-height:300px;
}

.slider-immagini-smartphone img{
    max-height: 289px;
	max-width: 100%;
}


@media screen and (max-width: 1024px) {
    .container-annunci {
        display: none !important;
    }
	
	.prev{
		left:0;
	}
}

@media screen and (min-width: 1025px) {
    .container-annunci-smartphone {
        display: none !important;
    }
    .container-annunci-smartphone-primo {
        display: none !important;
    }
}

.footer{
    background-color: black;
    display: flex;
    color: white;
    padding-left: 5%;
    padding-right:5%;
    padding-top: 2%;
    padding-bottom: 2%;
}

.footerLeft{
    display: table-cell; 
    vertical-align: middle;
    justify-content: center;
    float: left;
    width: 35%;
    padding-left: 5%;
    padding-right:5%;
    border-right: 1px solid white;
    height: 200px;
    align-items: center;
    justify-content: center;
}

.footerRight{
    display: table-cell; 
    vertical-align: middle;
    justify-content: center;
    float: left;
    width: 35%;
    padding-left: 5%;
    padding-right:5%;
    height: 200px;
}

.footerLeft p, h2{
    text-align: center;
}

.footerLeft img{
    min-width: 180px;
    max-width: 80%;
    max-height: 180px;
    min-height: 180px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.footer a {
	color: white;
	text-decoration: none;
}

.mappa_maps{
    display: table-cell; 
    vertical-align: middle;
}

.footerSmartphone{
    margin-top: 50px;
    background-color: black;
    display: flex;
    color: white;
    padding-left: 3%;
    padding-right: 3%;
    padding-top: 2%;
    padding-bottom: 2%;
    justify-content: center;
    align-items: center;
}

.footerSmartphone h1{
    font-size: 19px;
}

.footerSmartphoneLeft{
    float: left;
    border-right: 1px solid white;
    width: 40%;
}

.footerSmartphoneLeft img{
    width:100%;
}

.footerSmartphoneRight{
    display: table-cell; 
    vertical-align: middle;
    justify-content: center;
    float: left;
    text-align: center;
    padding-left: 3%;
    padding-right:3%;
    width: 60%;
}

.footerSmartphone a {
	color: white;
	text-decoration: none;
}

@media screen and (max-width: 1024px) {
    .footer {
        display: none !important;
    }
}

@media screen and (min-width: 1025px) {
    .footerSmartphone {
        display: none !important;
    }
}

*,
*:before,
*:after{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
