@charset "utf-8";


html {
    overflow-x: hidden;
}



html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
}

body {
    overflow-x: hidden;
}

/* regular */
@font-face {
    font-family: b-1;
    src: url(fonts/basiersquare-regular-webfont.woff2);
}

/* basier medium */
@font-face {
    font-family: b-2;
    src: url(fonts/basiersquare-medium-webfont.woff);
}


p {
    font-size: 17px;
    line-height: 135%;
}


/* BODY */

body {
    margin: 0;
    padding: 0;
    font-family: b-1;
    background-color: black;
    color: #aaa;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

:root {
    --maincolor: #b0896c;
}

a {
    text-decoration: none;
    color: inherit;
}

.btn {
    border: 1px solid white;
    padding: 9px 36px;
    border-radius: 100px;
    color: white;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
    display: inline-block;
}

.btn:hover {
    background-color: var(--maincolor);
    color: white;
    border-color: var(--maincolor);
}

.btn.btn--active {
    background-color: var(--maincolor);
    color: white;
    border-color: var(--maincolor);
}

.container-90 {
    margin: 0 auto;
    width: 90%;
    max-width: 1700px;
}

.navigazione {
    position: fixed;
    z-index: 100;
    width: 100%;
    height: 150px;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
}


.navigazione__container {
    width: 90%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1700px;
}

.navigazione__container__logo {
    height: 38px;
    width: auto;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
}

.navigazione_menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navigazione_lingue a {
    color: white;
    opacity: 0.5;
    margin-left: 10px;
}

.lingua_attiva {
    opacity: 1 !important;
}

.navigazione--scroll {
    height: 90px;
    background-color: rgba(0, 0, 0, 0.35);
}

.navigazione--scroll .navigazione__container__logo img {
    height: 45px;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.logo {
    height: 50px;
    width: auto;
}

@media(max-width:768px) {

    .navigazione__container__logo {
        height: 30px;
    }

    .navigazione {
        background-color: black;
        height: 70px;
    }

    .navigazione--scroll {
        height: 70px;
    }

    .logo {
        height: 40px;
    }

    .btn {
        padding: 8px 22px;
    }

    .container-90,
    .navigazione__container {
        width: calc(100% - 50px);
    }

    .navigazione .btn {
        display: none;
    }

}

/* popup fstudio */

.popup_fstudio {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    background-color: white;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    -webkit-transition: all 0.75s ease;
    transition: all 0.75s ease;
}

.popup_fstudio--show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.popup_fstudio--fade {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(100%) !important;
}

.popup__dx {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px 30px;
}

.popup__dx span {
    color: dimgray;
    font-size: 14px;
    margin-bottom: 10px;
    display: inline-block;
}

.popup__dx .chiudi {
    position: absolute;
    top: 15px;
    right: 15px;
    height: 25px;
}

.popup__dx .chiudi:hover {
    cursor: pointer;
}


@media(max-width:768px) {
    .popup_fstudio {
        display: none;
    }
}

/* hero */

.hero {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.hero__sfondo {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero__darker {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 8;
    background-color: rgba(0, 0, 0, 0.3);
}

.hero video {
    min-height: 100%;
    min-width: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.hero_claim {
    text-align: center;
    font-size: 96px;
    font-family: b-2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    color: white;
}

.claim_anim {
    display: inline-block;
}

.hero_scroll {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
}

.hero_scroll__inner {
    height: 80px;
    width: 1px;
    background-color: white;
    animation: hero_scroll__inner 2s ease infinite;
}

@keyframes hero_scroll__inner {
    from {
        height: 0px;
        opacity: 0;
    }

    to {
        height: 80px;
        opacity: 1;
    }
}


@media(max-width:1250px) {
    .hero_claim {
        font-size: 64px;
    }
}

@media(max-width:768px) {

    .hero_claim {
        font-size: 40px;
        line-height: 110%;
    }

    .hero {
        margin-top: 70px;
        height: 60vh;
    }

    .hero video {
        min-height: 65vh;
        height: 65vh;
        width: auto;
        min-width: auto;
        /* position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%); */
    }

}

/* gallery */

.swiper-container {
    padding-left: 20%;
    padding-right: 20%;
    padding-bottom: 50px;
    position: relative;
}

.swiper-slide img {
    -webkit-transition: all 0.95s ease;
    transition: all 0.95s ease;
    opacity: 0.4;
}

.swiper-slide-active img {
    opacity: 1;
}

.swiper-pagination-bullet {
    background-color: white !important;
    background: white;
    opacity: 0.35 !important;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
}

/* banner */

.banner {
    display: flex;
    gap: 5%;
    margin-bottom: 20vh;
}

.banner_img,
.banner .testo {
    width: 50%;
}

.banner img {
    height: auto !important;
}

.banner .testo {
    padding-top: 50px;
}

img {
    display: block;
}

.testo {
    max-width: 650px;
}

.intro_sezione {
    font-size: 24px;
    color: dimgray;
    margin-bottom: 50px;
    text-align: center;
}

@media(max-width:768px) {
    .banner {
        display: block;
    }

    .swiper-container {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 30px;
        position: relative;
    }

    .banner_img,
    .banner .testo {
        width: 100%;
    }
}

/* ispirazione */

.ispirazione--dx {
    display: flex;
    justify-content: flex-end;
}

.ispirazione__img {
    max-width: 70vw;
}

.ispirazione {
    margin-bottom: 20vh;
}

.ispirazione__img {
    height: auto;
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

.ispirazione__img .img2,
.ispirazione__img .img3 {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}


.img2.img2--show {
    opacity: 1;
    visibility: visible;
}

.img3.img3--show {
    opacity: 1;
    visibility: visible;
}

.btn:hover {
    cursor: pointer;
}

.ispirazione__img__switch {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 7px;
    z-index: 10;
    flex-wrap: wrap;
}

.ispirazione__img__switch .btn {
    padding: 8px 25px;
    font-size: 15px;
}

.ispirazione__img__switch .btn {
    border: none;
    color: black;
    background-color: rgba(255, 255, 255, 0.45);
}

.ispirazione__img__switch .btn.btn--active {
    background-color: rgba(255, 255, 255, 1);
}

.ispirazione__title {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 21px;
    font-family: b-2;
    padding-left: 20px;
}

.ispirazione__title span {
    color: #ccc;
}

.ispirazione .testo {
    padding-left: 20px;
}

@media(max-width:1250px) {
    .ispirazione__img {
        max-width: 80vw;
    }

}

@media(max-width:990px) {
    .ispirazione__img {
        max-width: 100%;
    }

}

@media(max-width:768px) {
    .ispirazione--dx {
        display: block;
    }

    .ispirazione img {
        width: 100%;
        height: auto;
    }

    .ispirazione__img {
        max-width: 100%;
    }

    .ispirazione__title {
        margin-bottom: 15px;
        gap: 7px;
        color: white;
        font-size: 18px;
        padding-left: 0;
    }

    .ispirazione .testo {
        padding-left: 0;
    }

    .ispirazione__img__switch {
        position: relative;
        bottom: inherit;
        left: inherit;
        display: flex;
        align-items: center;
        gap: 7px;
        z-index: 10;
        margin-top: 20px;
    }

    .ispirazione__img__switch .btn {
        padding: 7px 20px;
        font-size: 14px;
    }

    .ispirazione,
    .banner {
        margin-bottom: 70px;
    }

    .intro_sezione {
        font-size: 20px;
        margin-bottom: 30px;
        text-align: left;
        padding-left: 25px;
    }

    p {
        font-size: 15px;
    }

    .banner1 img {
        margin-bottom: 40px;
    }

    .banner2 img {
        margin-top: 40px;
    }

}

.testo .btn {
    margin-top: 30px;
    margin-right: 10px;
}

.testo :is(h1, h2) {
    font-size: 40px;
    color: white;
    margin-bottom: 30px;
}

.testo__max {
    max-height: 280px;
    overflow: hidden;
    position: relative;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
}

.testo__max--show {
    max-height: 100%;
    animation: testo__max 1s;
}

@keyframes testo__max {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.testo__max__gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25%;
    background: -moz-linear-gradient(bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0) 100%);
    background: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 10;
}

.testo__max--show .testo__max__gradient {
    display: none;
}

.panoramica {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
    margin-bottom: 10vh;
}

.panoramica img {
    margin: 0 auto;
}

.banner2 {
    margin-bottom: 0;
}

/* video */

.video_grid {
    width: 100%;
    grid-gap: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.video_youtube {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
}

.video_youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
}

.spacer {
    height: 6vh;
    margin-top: 6vh;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

@media(max-width:1250px) {
    .testo :is(h1, h2) {
        font-size: 36px;
        color: white;
        margin-bottom: 25px;
    }
}


@media(max-width:768px) {

.spacer {
    height: 30px;
    margin-top: 30px;
}


    .testo :is(h1, h2) {
        font-size: 25px;
        color: white;
        margin-bottom: 25px;
    }

    .video_grid {
    grid-gap: 15px;
    grid-template-columns: 1fr;
}

    .testo .btn {
        width: 100%;
        box-sizing: border-box;
        margin-top: 15px;
        text-align: center;
        padding: 10px 20px;
    }

    .testo .btn:first-child {
        margin-top: 15px;
    }
}

footer {
    background-color: rgba(255, 255, 255, 0.12);
    text-align: center;
    font-size: 16px;
    padding: 30px 20px;
}

footer span {
    color: gray;
    font-size: 13px;
    display: inline-block;
    margin-top: 10px;
}

footer a {
    color: #ccc;
    text-decoration: underline;
}

@media(max-width:768px) {
    footer {
        font-size: 15px;
    }
}