@import "vendor/bs.css";
@import "vendor/cb.css";
@import "dependences/typo.css";
@import "dependences/grid.css";
@import "dependences/button.css";
@import "dependences/media.css";
@import "dependences/icon.css";

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600&display=swap');
/*PRELOAD*/
:root{
    --first:#c29429;
}
body {
    background: #fffdfc;
    font-family: 'Montserrat', sans-serif;
    color: #03010d;
    overflow: hidden;
    overflow-x: hidden;
}

body.loaded {
    overflow: scroll;
}

.first {
    color: var(--blue);
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #ffffff;
    display: block;
    box-shadow: 0 0 13px #0000004d;
}

.logopreloader {
    width: 230px;
    object-fit: contain;
    position: fixed;
    top: calc(50% - 35px);
    left: calc(50% - 115px);
    animation: jump_opa 1.5s linear alternate infinite;
}

@keyframes jump_opa {
    0% {
        opacity: 0;
    }

    100% {
        opacity: .5;
    }
}




body.loaded .preloader {
    animation: fadeOut 1s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.8, 0.2, 0.2, 0.9);
}

@keyframes fadeOut {
    100% {
        opacity: 0;
        display: none;
        visibility: hidden;
    }
}

/*PRELOAD*/

/*HEADER*/
header {
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;

    background: linear-gradient(rgba(255, 255, 255, 0), rgba(243, 243, 243, 0));
 
}
.hea2{
    background: url(/assets/img/hero.jpg), radial-gradient(#ffffffa8 34%, #ffffff82);
    background-size: cover;
    height: 450px;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
        background-blend-mode: overlay;
}
.hidden {
    overflow: hidden !important;
}

.div_burger {
    text-align: center;
    align-items: end;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#burger-menu {
    cursor: pointer;
    height: 27px;
    width: 27px;
    overflow: visible;
    position: relative;
    z-index: 2;
}

#burger-menu span,
#burger-menu span:before,
#burger-menu span:after {
    background: #040605;
    display: block;
    height: 3px;
    opacity: 1;
    position: absolute;

    border-radius: 15px;
}

#burger-menu span:before,
#burger-menu span:after {
    content: "";
}

#burger-menu span {
    right: 0px;
    top: 13px;
    width: 27px;
}

#burger-menu span:before {
    right: 0px;
    top: -10px;
    width: 16px;
}

#burger-menu span:after {
    right: 0px;
    top: 10px;
    width: 20px;
}

#burger-menu.close span {
    transform: rotate(-45deg);
    top: 13px;
    width: 27px;
}

#burger-menu.close span:before {
    top: 0px;
    transform: rotate(90deg);
    width: 27px;
}

#burger-menu.close span:after {
    top: 0px;
    right: 0;
    transform: rotate(90deg);
    opacity: 0;
    width: 0;
}

#menu {
    z-index: 11;
    width: 100%;
    min-height: 100vh;
    height: 100vh;
    position: fixed;
    bottom: 0;
    top: auto;
    height: 0;
    text-align: center;
    opacity: 0;
    padding-top: 20px;
    /*clip-path: circle(0% at 50% 50%);*/
    visibility: hidden;
    left: 0;
    background: #fffffff2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 30px;

}





#menu ul {
    padding-inline-start: 0 !important;
}

#menu li {
    list-style: none;
    opacity: 0;
}

#menu a {
    color: #121212;
    display: block;
    font-size: 27px;
    margin-bottom: 15px;
    text-decoration: none;
    font-weight: 300;
}

.logo_hero {
    width: 70%;

    padding: 0 10px 30px;
    opacity: 0;
    max-width: 300px;

}

.logo_header {
    opacity: 0;
    width: auto;
    max-height: 90px;
    width: 100%;
    z-index: 9999;
    position: relative;
    padding: 7px 0;
}
footer{
        background: linear-gradient(0deg, #ffffff, #e2e2e2);
        text-align: center;
        padding-top: 30px;
}
.logo_footer{
   width: auto;
    max-height: 75px;
    width: auto;
    position: relative;
    padding: 7px 0;
}

.logo_rent {
    width: auto;
    height: 30%;
    max-height: 200px;
}



.menu_link {
    color: #050505;
}

/*HEADER*/





/*TYPO*/
.h1 {
    opacity: 0;
}

.sub_ti {
    opacity: 0;
}

.h2,
h2 {

    font-size: 2rem;
    padding-top: 1rem;
    padding-bottom: 0rem;
    z-index: 9;
    position: relative;
}
.xxd{
    padding-top: 3rem;
    padding-bottom: 3rem;
}
p {
 font-weight: 400;
    font-size: 1rem;
    color: #020605;
    letter-spacing: 0px;
    line-height: 1.6;
}
hr{
          color: #c49627;
    border: 0;
    border-top: 2px solid;
    opacity: .5;
    width: 70%;
    margin: 0 auto 1.5rem auto;
}

a {
    text-decoration: none;
}

.grid_hero{
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
    margin: auto;
    max-width: 350px;
    width: fit-content;
    width: 100%;
    opacity: 0;
}

.div_btn {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.btn {
  
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    width: 100%;
}

.btn1{
      padding: 0;

}
.btn1 a{
    color:#d2a536 ;
    font-weight: 500;
        width: 100%;
          border-radius: 10px;
          padding: 10px 20px;
              background: #fff;
      border: solid 1px #d2a536;
      transition: all .3s;
}
.btn1 a:hover{
     color: #fff;

           background: #d2a536;
      border: solid 1px #fff; 
}

.btn2{
   
            padding: 0;
}
.btn2 a{
    color: #fff;
      font-weight: 500;
          width: 100%;
            border-radius: 10px;
          padding: 10px 20px;
           background: #d2a536;
      border: solid 1px #fff;
       transition: all .3s;
}
.btn2 a:hover{
      color:#d2a536 ;
              background: #fff;
      border: solid 1px #d2a536;
}

.btn:hover {
    color:transparent;
    background-color: transparent;
    border-color: transparent;
}
/*TYPO*/


/*SWIPER*/
.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/*
.swiper-slide:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0.4;
}*/

.swiper-slide .content {
    background-color: #70c4c09c;
    background-color: #5ab290b3;
    background-color: #a1d5d2cf;
    opacity: 0;
    text-align: center;
    transition: 1s ease;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 10px 25px;
}

.swiper-slide-active .content {
    opacity: 1;
    transition: 1s ease;
}

.swiper-slide h2 {
    pointer-events: none;
    opacity: 0;
    color: #364949;
    font-size: 1.4rem;
    letter-spacing: -1px;
    transform: translateY(-5%) scale(0.8);
    padding-bottom: 0;
    margin-bottom: 0;
    transition: 1s ease;
    text-transform: uppercase;
}

.swiper-slide-active h2 {
    opacity: 1;
    transform: translateY(0%) scale(1);
    transition: 1s ease;
    transition-delay: .5s;
}

.swiper-slide p {
    pointer-events: none;
    opacity: 0;
    color: #364949;
    transform: translateY(-5%) scale(0.8);
    font-size: 1rem;
}

.swiper-slide-active p {
    opacity: 1;
    transform: translateY(0%) scale(1);
    transition: 1s ease;
    transition-delay: .6s;
}

.swiper-pagination {
    bottom: 0 !important;
}

/*
.swiper-pagination::after{
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    background: linear-gradient(270deg, white -3%, transparent 4%);
    top: 0;
    left: 0;
    z-index: 1;
}*/
.swiper-pagination-bullet {
    background-color: transparent;
    border: 1px solid #364949;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: #364949;
}

.swiper-button-container {
    background-color: rgba(0, 0, 0, .25);
}

.swiper-button-prev {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
}

.swiper-button-next {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
}

/*SWIPER*/

.follow {
    padding: 30px 0 10px;
    gap: 20px;
    flex-direction: column;
}

.follow_div {
    display: flex;
    gap: 20px;
}

.follow img {
    max-height: 50px;
    padding: 10px;
}

.follow a {
    margin-bottom: 0 !important;
}

ul {
    margin-bottom: 0;
}

.slide1 {
    /*
background-image: url(/assets/img/mobile2.png);*/
    background: #739094;
}

.vh30 {
    height: 40vh;
}

.slide1 img {
    height: 80%;
}

.slide1 .content {
    height: 20%;
    position: relative;
}
.w-800{
     max-width: 800px;
    margin: auto;
     position: relative;
}
.w-900{
     max-width: 900px;
    margin: auto;
     position: relative;
}

.mille1 {
    max-width: 1100px;
    margin: auto;
    position: relative;
    padding: 10px 10px;
}
.mille{
     max-width: 1000px;
    margin: auto;
 position: relative;
}

.hea {
    background-blend-mode: overlay;
    background: url(/assets/img/hero.jpg), radial-gradient(#ffffffa8 34%, #ffffff82);
    background-size: cover;
    height: 100vh;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hea h1 {
    color: #050505;
    font-size: 30px;
        text-transform: uppercase;
    font-weight: 500;
}
img{
            border-radius: 5px;
}

@media screen and (min-width: 769px) {
    .header_m {
        display: none;
    }

    .header_d {
        height: auto;
        padding: 0px;

    }


    .header_d ul {
        list-style: none;
        display: flex;
        gap: 10px;
        height: 100%;
        align-items: center;
        justify-content: end;
    }

    .header_d img {
        max-width: 200px;
    }

    .backg {
        position: absolute;
        height: 100%;
        width: 100%;
        bottom: 15%;
        left: 0;
        display: none;
        background: linear-gradient(180deg, #ffffff, #9bcfde17);
        z-index: -1;
        border-radius: 5px;
        box-shadow: 0 0 9px #0000001c;
    }

    .img_1 {
        object-fit: cover;
        height: 100%;
                min-height: 400px;
    }
    .certificato{
        padding-top: 100px !important;
    }
    .certificato .img_1{
object-fit: contain;
        height: 100%;
        max-height: 550px;
    }

    .d_n_d {
        display: none;
    }

    .back_img {
        width: 100%;
        height: 500px;
        object-fit: cover;
    }

    .col_text {
        padding: 0 2rem;
    }

    .hea {
        height: 100vh;
    }

    .grid_ico {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 20px;
        padding: 10px;
    }
}

@media screen and (max-width: 768px) {
    .header_d {
        display: none;
    }
.hea h1{
   
    font-size: 1.63rem;
 
    font-weight: 400;
}
    #menu {

        height: 100vh;
        top: 0;
        bottom: auto;

        padding-top: 100px;


        padding-bottom: 30px;
    }

    .logo_header {
        height: 75px;
        width: auto;
        z-index: 9999;
        position: relative;
        padding: 10px 3px;
    }


    .invert {
        display: flex;
        flex-direction: column-reverse;
    }

    .backg {
       position: absolute;
        height: 85%;
        width: 100%;
        bottom: 0%;
        left: 0;
        background: linear-gradient(180deg, #cea147 0%, #ffffff 25%);
        z-index: -1;
        border-radius: 5px;
        box-shadow: 0 0 11px #0000001c;
    }
    .icc img, .icc .row{
        padding: 0 !important;
    }
    .icc .row{
        padding-bottom: 15px !important;
    }

    .d_n_m {
        display: none;
    }

    .back_img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 1 / 1;
    }
    .icc {
    padding: 0 20px;
}

    .icc img {
              aspect-ratio: 1.2;
        object-fit: cover;
        min-height: 300px;
        width: calc(100% - 20px) !important;
        margin: auto;
        margin-bottom: -30px;
    }

    .d-n-m {
        display: none;
    }





    .slide2 {
        background-position: -247px;
    }

    .slide3 {
        background-position: -55px;
    }

    .slide4 {
        background-position: -215px;
    }
}


.full_height {
    min-height: -webkit-fill-available !important;
    /* Use vh as a fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh, 1vh) * 100);
    margin: 0 auto;
    max-width: 100%;
}

/*
  .servizi{
    background: #a8d3d1;
    color: #364949;
  }*/

h2 {
    font-size: 1.6rem;
        text-transform: uppercase;
    font-weight: 400;
}

h3 {
    font-size: 1.4rem;
}


.text-left{
    text-align: left;
}

/*PHOTOSWIPE*/

figure img {
    transition: all .5s ease-in-out;
}

figure img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .divano figure {
        display: inline-block;
        width: 50%;
        padding: 0;
        padding: 10px;
    }

    .fade_active {
        text-align: center;
    }
}

@media (max-width: 768px) {
    figure {
        display: inline-block;
        width: 100%;
        padding: 0;
        padding-top: 10px;
    }
}

@media (min-width:769px) {
    .hero-after:before {
        background-size: cover;
    }
}

@media (min-width: 769px) and (max-width:1100px) {
    figure {
        display: inline-block;
        width: 33.33%;
        padding-top: 10px;
    }
}

.my-gallery figcaption {
    display: none;
}

.scheda_indici {
    background: #fff;
    margin-top: 80px;
}

.blocco_divano,
.row_blocco {
    padding: 15px;
}

.pswp__ui--idle .pswp__button--arrow--left,
.pswp__ui--idle .pswp__button--arrow--right {
    opacity: 1 !important;
}

.spacer {
    height: 5em;
}

.transition {
    position: fixed;
    z-index: 99;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.transition li {
    width: 100%;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    background: #131313;
    height: 100vh;
    z-index: 999;
    list-style: none;
}

/*PHOTOSWIPE*/

.pswp img {
    object-fit: contain;
}

.pswp__caption__center {
    text-align: center;
}

figure img {
    opacity: 1;
}

figure:before {
    content: "";
    padding-top: 80%;
    display: block;
}

figure {
    display: inline-block;
    width: calc(33.33% - 20px);
    float: left;
    margin: 10px;
    padding: 0px;
    position: relative !important;
    overflow: hidden;

}

@media (max-width: 768px) {
    figure {
        display: inline-block;
        width: calc(100% - 20px);
    }
}

@media (min-width: 769px) and (max-width:1100px) {
    figure {
        display: inline-block;
        width: calc(50% - 20px);
    }
}

.imagega {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100%;

}

.pswp__ui--idle .pswp__button--arrow--left,
.pswp__ui--idle .pswp__button--arrow--right {
    opacity: 1 !important;
}

.pswp__scroll-wrap {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
}

.spacer {
    height: 5em;
}

.pswp__bg {
    background: #749093;
}

.pswp__img {
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in;
    filter: drop-shadow(2px 4px 6px #00000021);
}

/*photoswipe*/

.fadin {
    opacity: 0;
    /*transform: translateY(25px);*/
    transition: all 0.7s ease;
}

.fade_active {
    opacity: 1;
    /*  transform: translateY(0);*/
}

.grid_ico img {
    height: 100px;
    object-fit: contain;
}

.grid_ico p {
    font-size: 15px;
    font-weight: 400;
}