
@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');

@import url('https://fonts.googleapis.com/css2?family=Ephesis&display=swap');
/*PRELOAD*/
:root{
    --first:#faf7f1;
    --second:#252424;
    --testo: #2b2417;
}

html{
    scroll-padding-top: 86px;
}
body.loaded{
    overflow: scroll;
}
body{
    background: var(--first);
    font-family: 'Montserrat', sans-serif;
   
    color: #364949;
    overflow: hidden;
    overflow-x: hidden;
 
}

img{
    pointer-events: none;
}



#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: var(--first);
    display: block;
    box-shadow: 0 0 13px #0000004d;
  }
  
  .logopreloader {
    width: 240px;
    object-fit: contain;
    position: fixed;
    top: calc(50% - 75px);
    left: calc(50% - 120px);
    animation: jump_opa 1.5s linear alternate infinite;
  }

  
  @keyframes jump_opa {
    0% {
      opacity: 0;
    }
  
    100% {
        opacity: .83;
    }
  }

  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*/

  /*ARROW DOWN*/

.div_arrow {
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 100%;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    opacity: 0;
}

.chevron {
  position: absolute;
  width: 36px;
  height: 2px;
  opacity: 0;
  transform: scale3d(0.5, 0.5, 0.5);
  animation: move 3s ease-out infinite;
}

.chevron:first-child {
  animation: move 3s ease-out 1s infinite;
}

.chevron:nth-child(2) {
  animation: move 3s ease-out 2s infinite;
}

.chevron:before,
.chevron:after {
  content: ' ';
  position: absolute;
  top: 0;
  height: 100%;
  width: 51%;
  background: var(--testo);
}

.chevron:before {
  left: 0;
  transform: skew(0deg, 30deg);
}

.chevron:after {
  right: 0;
  width: 50%;
  transform: skew(0deg, -30deg);
}

@keyframes move {
  25% {
    opacity: 1;

  }
  33% {
    opacity: 1;
    transform: translateY(30px);
  }
  67% {
    opacity: 1;
    transform: translateY(40px);
  }
  100% {
    opacity: 0;
    transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
  }
}

.text {
  display: block;
  margin-top: 75px;
  margin-left: -30px;
  font-family: "Helvetica Neue", "Helvetica", Arial, sans-serif;
  font-size: 12px;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: .25;
  animation: pulse 2s linear alternate infinite;
}

@keyframes pulse {
  to {
    opacity: 1;
  }
}
/*ARROW DOWN*/



  
/*HEADER*/
header{
    opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background:transparent;
  transition: all .3s;
}
.hidden {
    overflow: hidden !important;
}
.div_burger{
    text-align: center;
    align-items: end;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 26px;
}

#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: var(--second);
    display: block;
    height: 2px;
    opacity: 1;
    position: absolute;
}

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

#burger-menu span {
    top: 10px;
    width: 37px;
}

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

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

#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: var(--first);
    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: var(--second);
    display: block;
    font-size: 2.3rem;
    margin-bottom: 15px;
    text-decoration: none;
    font-weight: 300;
    font-family: "Ephesis", cursive;
}
.logo_hero{
    width: 70%;
    filter:drop-shadow(0px -2px 3px #fff);
    padding: 0 10px 30px;
    opacity: 0;
    max-width: 300px;
   
}

.logo_header {
     opacity: 1;
    width: auto;
    max-height: 100px;
    width: 100%;
    z-index: 9999;
    position: relative;
    padding: 7px 0;
}
.logo_rent{
    width: auto;
    height: 30%;
    max-height: 200px;
}

.logo_footer{
    width: 100%;

}
.menu_link{
    color: #000000d4;
    padding: 10px;
    transition: all .3s;
}

.menu_link:hover{
      color: #ffffffcf !important;  
      border-bottom:solid 1px #fff; 
}

/*HEADER*/





/*TYPO*/
.h1{
    opacity: 0;
    font-size: 2.9rem;
    font-family: "Ephesis", cursive;
}

.h2,
h2 {
    color: var(--first);
    font-family: "Ephesis", cursive;
font-size: 2rem;
padding-top: 3rem;
    padding-bottom: 1rem;
    z-index: 9;
    position: relative;
}

p {
    font-weight: 300;
    font-size: 1.1rem;
    color: #0000009e;
    color: var(--testo);

    letter-spacing: 0px;
    line-height: 1.8;
}

strong {
    color: #2a8ab2;
    font-weight: 500;
}
a{
    text-decoration: none;
}



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

.btn1 {
    background: #ffffff00;
    border: solid 1px #000000;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 6px 20px;
    border-radius: 0;
    margin-top: 30px;
    width: -webkit-fill-available;
    min-width: 140px;
    color: #000000;
    justify-content: center;
    transition: all .2s;
}
.btn2 {
    background: #000000cc;
    border: solid 1px #000000;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 7px 20px;
    border-radius: 0;
    margin-top: 30px;
    width: -webkit-fill-available;
    min-width: 140px;
    color: #ffffff;
    justify-content: center;
    transition: all .2s;
}
.btn2:hover {
    background: #ffffffcd;
    border: solid 1px #000000;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 7px 20px;
    border-radius: 0;
    margin-top: 30px;
    width: -webkit-fill-available;
    min-width: 140px;
    color: #000000;
    justify-content: center;
}
.btn1:hover {
    background: #ffffffcd;
    border: solid 1px #000000;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 6px 20px;
    border-radius: 0;
    margin-top: 30px;
    width: -webkit-fill-available;
    min-width: 140px;
    color: #000000;
    justify-content: center;
}
.tabbar{
    opacity: 0;
    display: none;
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 5px;
    background: rgba(255, 255, 255, 0.72);
    z-index: 9;
}
footer{
    padding-top: 100px;
    z-index: 99;
    position: relative;
    background: #fbf7f1;
}
footer p { 
    font-weight: 300;
    font-size: 0.91rem;
}
/*TYPO*/

/*SWIPER*/
.swiper-wrapper {
    width: 100%;

}
.navigation{
    display: none !important;
}
.swiper-slide {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    aspect-ratio:5/4;
    height: fit-content;
}
.swiper-slide img{
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

/*
.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;
    text-decoration: none !important;
 
}
ul li{
    margin-bottom: 10px;
}

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

.vh30{
    height: 40vh;
      }
      
.slide1 img{
    height: 80%;
}

.slide1 .content{
    height: 20%;
    position: relative;
}
.mille1{
    max-width: 1100px;
    margin: auto;
    position: relative;
    padding: 10px 10px;
}
.hea{
    background-blend-mode: overlay;
    background:url(/assets/img/hero.jpg), radial-gradient(#fbf7f18a 34%, #fbf7f124);
    background-size: cover;
    height: 100vh;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border: solid 10px #fbf7f1;
}
.hea h1{
    color: var(--second);
    opacity: 0;
    padding: 20px 40px;
    text-align: center;
       font-size: 2.346784rem;
       line-height: 1.35;
       font-weight: 100;
       letter-spacing: 1px;
}
.light{
color: #252424;
}
.backg{
    background:var(--first);    
    }

.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;
    padding-left: 40px;
    text-align: left;
    color: #d4d4d4;
}
.text-left{
    text-align: left;
}
.ico_div{
    padding: 20px 10px;
}
.ico_div p{
    font-size: 1rem;
    padding-left: 40px;
}
hr {
    margin: 0;
    color: inherit;
    border: 0;
    border-top: 1px solid;
    opacity: .25;
}
.pr-3{
    padding-right: 1rem;
   
}

    .serv_ti{
        display: flex;
        align-items: center;
        justify-content: start;
        gap: 10px;
    }
    .serv_ti img{
        height: 30px !important;
        width: 30px !important;
    }
    .serv_ti h3{
      
        margin-bottom: 0;
        color: var(--second);
        text-transform: uppercase;
   
    font-weight: 400;
    font-size: 1.2rem;
    }
    .contatti p{
        padding-left: 40px;
    }

    .fslightbox-source {
    position: relative;
    z-index: 2;
    opacity: 0;
    filter: grayscale(1.91);
    }

    .img_sfo{

    }
   
    .navigation{
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 40px;
    }
    .navigation div{
        position: relative !important;
        color: var(--second);
    }
    .div_serv h4{
        font-size: .95rem;
        padding-top: 10px;
        letter-spacing: -.51px;
    }
    .div_serv p{
        font-size: 13px;
        line-height: 1.31;
        padding-top: 3px;
    }
    .backg_light{
        background: #fff;
        box-shadow:-1px -2px 16px #3e2c102e;
        padding: 20px;
    }
    .serv{
        margin: 5px;
    height: fit-content;
    }

    .serv img {
        aspect-ratio: 4 / 1;
        width: 100%;
        max-height: 40px;
    }
@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: 160px;
    }
   

    .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;
    grid-template-rows:  1fr 1fr;
    gap: 20px;
    padding: 10px;
}
.div_serv{
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    display: grid;
}
.pr-5m{
    padding-right: 3rem;
}
.pl-5m{
    padding-left: 3rem;
}
.ori{
    aspect-ratio: 16/9;
}
}

@media screen and (max-width: 768px) {
    .header_d{
        display: none;
    }
    #menu {
      
        height: 100vh;
        top: 0;
        bottom: auto;
    
        padding-top: 100px;
      
        
        padding-bottom: 30px;
    }

    .logo_header {
        height: 105px;
        width: auto;
        z-index: 9999;
        position: relative;
        padding: 15px 3px;
    }
   
    .ico_div{
        padding: 20px 0px;
        display: block;
    }
    .serv_ti {      
        gap: 5px;
    }
    .serv_ti img{
        height: 21px !important;
    width: 21px !important;
    }
    .ico_div p{
        font-size: 1rem;
        padding-left: 29px;
    }
    .pmx-2{
        padding: 20px 10px;
    }
    .backg_dark{
        background: var(--second);
    }
    .invert {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .back_img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 1 / 1;
    }
    .icc img{
        padding: 0 25px;
    }

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

   
.grid_ico{
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0;
}
.div_serv{
    grid-template-columns: 50% 50%;
    display: grid;
            width: 100%;
}
   
.slide2{
    background-position: -247px;
    }
    .slide3{
        background-position: -55px;
    }
    .slide4{
        background-position: -215px;
    }
    .comfort{
        background: #fff;
    box-shadow:-1px -2px 16px #3e2c102e;
    padding: 20px;
    }
}


.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;
  }*/
  .ottano{
    color: #759093;
 
  }
  h2{
    font-size: 2.6rem;
  }

  h3{
    font-size: 1.8rem;
   

  }




/*PHOTOSWIPE*/


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


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

@media (max-width: 768px) {
     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;
}

.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% - 10px);
    float: left;
    margin: 5px;
    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%;
    filter: sepia(0.1);
}

.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: #1d1e1f;
}

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