@import url('https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700,700i');


/*RESET*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PT Sans', sans-serif;
}
a {
    text-decoration: none;
}
ul {
    list-style: none;
}
main {
    color: #625D50;
}

/*HEADER*/

.bannercookie {
    position: fixed;
    top: -200px;
    z-index: 9999999;
    background-color: #fff;
    width: 100%;
    padding: 10px;
    text-align: center;
    border-bottom: solid #ad9961 1px;
    transition:.5s;
    color: #625D50;
}

.bannercookie.show {
    top:0;
}
.bannercookie a {
    color: #625d50;
}
.bannercookie a:hover {
    opacity: 0.8;
}
.bannercookie button {
    background-color: #fff;
    padding: 3px 10px;
    border: solid #ad9961 1px;
    cursor: pointer;
}
.bannercookie button:hover {
    background-color: #ad9961;
    color: #fff;
}

header {
    background-color: #625D50;
    height: 50px;
    position: absolute;
    width: 100%;
    top: 50px;
    left: 0;
    z-index: 999;
}
.main-logo-container {
    position: absolute;
    top: -131%;
    z-index: 99;
}
.container-nav {
    max-width: 1700px;
    width: 90%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
nav {
    margin-left: auto;
    max-width: 510px;
    width: 95%;
    position: relative;
    z-index: 99;
}
nav ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
nav ul li a {
    color: #fff;
    text-transform: uppercase;
}
nav ul li a:hover {
    opacity: .8;
}
nav ul li .current {
    opacity: .8;
}

/*SPLASH*/

.splash {
    background-image: linear-gradient(to bottom, #7d7354, #fff);
    height: 213px;
}
.splash-home {
    height: calc(100vh - 86px);
}

/*VIDEO*/

.video-container {
    max-width: 900px;
    width: 95%;
    height: 548px;
    margin: 0 auto;
}
video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-main-title {
    background-color: rgba(0,0,0,0.2);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    /* transform: translate(-50%,-50%); */
    height: calc(100vh - 8px);
    width: 100%;
    color: #fff;
    z-index: 9;
}
.home-main-title .main-title {
    margin-top: 0;
}

/*HERO*/

.hero {
    background-color: #fff;
    padding: 50px 0;
}
.hero-inside {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.text-container {
    width: 46%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: 4%;
}
.text-container-inside {
    max-width: 600px;
    text-align: justify;
}
.img-container {
    width: 46%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.img-container img {
    max-height: 400px;
    max-width: 100%;
}
hr {
    margin: 8px 0;
}
.main-divider {
    width: 250px;
    margin: 10px auto 20px auto;
}
.main-title {
    text-align: center;
    padding: 15px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 11px;
    margin-top: 30px;
}
.description {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    width: 95%;
}
.reverse {
    flex-direction: row-reverse;
}
.reverse .img-container {
    justify-content: flex-start;
    margin-left: 4%;
}
.reverse .text-container {
    margin-left: 0;
    justify-content: flex-end;
}
.subtitle {
    text-transform: uppercase;
    font-size: 1.1em;
    letter-spacing: 4px;
}
.container {
    max-width: 1700px;
    width: 90%;
    margin: 0 auto;
}
.grey {
    background-color: #dbd9d4;
}
.first {
    padding-top: 100px;
}
.last {
    padding-bottom: 100px;
}
.text-list {
    list-style: disc;
    margin: 16px;
}

/*CAROUSEL*/
.main-carousel {
    height: 320px;
    width: 100%;
}
.carousel-cell {
    display: block;
    height: 320px;
    width: 33%;
    margin-right: 10px;
}
.carousel-cell a {
    display: block;
    max-height: 100%;
    margin: 0 auto;
    max-width: 100%;
}
.carousel-cell img {
    max-width: 100%;
    max-height: 100%;
}


/*MAPPA*/

#map {
    height: 600px;
}

/*FOOTER*/

footer {
    border-top: 1px solid #625D50;
    padding: 30px 0;
    background-color: #625D50;
    color: #fff;
    margin-top: 100px;
}
.container-footer {
        max-width: 1700px;
        width: 90%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
}
.container-footer p:first-child {
    padding-bottom: 15px;
}
.container-footer a {
    color: #fff;
}
.container-footer a:hover {
    opacity: .8;
}

@media screen  and (min-width: 1025px) and (max-width: 1679px) {
    .carousel-cell {
        width: 50%;
    }
}
@media screen and (max-width: 1024px) {
    header {
        height: 100px;
        transform: translateY(50%);
    }
    .main-logo-container {
        position: absolute;
        top: -103%;
        z-index: 99;
        left: 50%;
        transform: translateX(-50%);
    }
    nav {
        margin: 0 auto;
    }
    .container-footer p:first-child {
        text-align: center;
        line-height: 1.5em;
    }
}
@media screen and (max-width: 1023px) {
    .img-container {
        width: 100%;
        justify-content: center!important;
    }
    .text-container {
        width: 100%;
        margin-left: 0;
        margin-top: 35px;
        justify-content: center!important;
    }
    .splash-home {
        height: 100vh;
    }
    .home-main-title {
        height: 100vh;
    }
    .carousel-cell {
        width: 100%;
    }
    .flickity-page-dots {
        display: none;
    }
}
@media screen and (max-width: 767px) {
    nav ul {
        flex-wrap: wrap;
        margin-top: 5px;
        justify-content: space-around;
    }
    nav ul li:last-child {
        margin-top: 5px;
    }
    .reverse .img-container {
        margin-left: 0;
    }
    .main-logo-container {
        top: -116px;
    }
    .carousel-cell {
        width: 100%;
    }
}