@charset "UTF-8";

/* CSS Document */
body:after {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  z-index: -1;
}

body,
h1,
h2,
h3,
h4,
h5,
p {
  font-family: "Roboto Mono", serif;
}
.box-realizzazioni img{
  
  transition: 1s ease;
}
.box-realizzazioni:hover img{
  transform: translate(30px);
  
  
}
.box-realizzazioni{
  overflow: hidden;
}
.btn-close-modal{
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 1000;
  background-color: transparent;
  border: none;
  color: #2c2c2d;
  font-size: calc(16px + (16 - 16) * ((100vw - 300px) / (1920 - 300)));

}
.bg-panna{
  
  background-color: #f8f1e2;
  
}
.roboto-mono-<uniquifier> {
  font-family: "Roboto Mono", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
.link-sfoglia{
  
  transition: 0.4s ease;
  padding: 0em 0em 0.4em 0em;
  border-bottom: 1px solid transparent;
}

.link-sfoglia:hover{
  padding: 0em 2em 0.4em 0em;
  border-bottom: 1px solid #2c2c2d;
}
.list-megamenu{
  list-style: none;
  display: inline-flex;
  gap:3rem;   
}
.list-megamenu li{
  font-size: calc(62px + (32 - 45) * ((100vw - 300px) / (1920 - 300)));
  line-height: 12px;
}
.icon-arrow{
  transition: 0.4s ease;
  opacity:0;
}
.link-sfoglia:hover .icon-arrow{
  padding: 0em 0em 0em 0.3em;
  opacity:1;
}
.slider-head{
  height:93vh
}

.navbar {
  padding: 0.8rem;
  padding-top: 2rem;
  border-radius: 1rem;
  transition-duration: 2s;
}

.nav-link {
  font-family: "Roboto Mono", serif;
  font-size: calc(16px + (16 - 16) * ((100vw - 300px) / (1920 - 300)));
  color: #2c2c2d;
  font-weight: 400;
  padding-left: 2rem;
}
.menu{
  cursor: pointer;
  padding: 0px;
  background-color: #f8f1e2;
  border:1px solid #2c2c2d;
}
.contatti-nav{
  background-color: #f8f1e2;
  padding: 0.7rem 20rem;

  margin-right: 1rem;
  border:1px solid #2c2c2d;
}

.bg-light {
  background-color: transparent !important;
}

.h-link-nav {
  padding-top: 0rem;
}

.menu-n {
  max-width: 47px;
  min-width: 47px;
  transition-duration: 1s;
  
}

.menu-n:hover {
  max-width: 47px;
  min-width: 47px;
  transform: rotate(90deg) scale(1);
  transition-duration: 1s;
}

.brg {
  color: #edebe8;
}


.sp-nav {
  padding-top: 0px;
  transition-duration: 1s;
  padding-right: 0.5rem;
  padding-left: 2rem;
}

.logo-nav {
  max-width: 340px;
  min-width: 340px;
  transition-duration: 1s;
}



.contatti-menu {
  font-size: calc(40px + (34 - 40) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(35px + (24 - 35) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 500;
  color: #2f3244;
  padding-top: 4rem;
  text-align: center;
}


.btn-of {
  background-color: transparent;
  border: 0px;
}

.offcanvas-top {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: all 0.3s ease;

}

.offcanvas-top.show {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
  background-color: #f8f1e2;
}

.offcanvas.offcanvas-top {
  height: 100vh;
}
.offcanvas-body{
  background-color: #f8f1e2;
  border:1px solid #2c2c2d;
  padding-top: 0px;
}
.offcanvas-header {
  padding: 2rem;

}
.sp-menu{
  padding-left: 2rem;
  padding-right: 2rem; 
}
.menu-sx{
  border-left:1px solid #2c2c2d;
  border-bottom:1px solid #2c2c2d;
  border-right:1px solid #2c2c2d;
}
.list-orari-nav{
  list-style: circle;
  
}
.menu-dx{
  border-right:1px solid #2c2c2d;
  border-bottom:1px solid #2c2c2d;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.nav-of {
  font-size: calc(16px + (70 - 16) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(16px + (70 - 16) * ((100vw - 300px) / (1920 - 300)));
  color: #2f3244;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-align: right;
  animation: slide-up-n 1s cubic-bezier(.645, .045, .355, 1) 0s both;
  animation-delay: calc(var(--char-index)* 14ms);
}
.nav-of-inverted {
  font-size: calc(16px + (70 - 16) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(16px + (70 - 16) * ((100vw - 300px) / (1920 - 300)));
  color: #2f3244;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-align: left;
  animation: slide-up-n 1s cubic-bezier(.645, .045, .355, 1) 0s both;
  animation-delay: calc(var(--char-index)* 14ms);
}

@keyframes slide-up-n {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.sp-head{
  padding: 2rem;
}
.back-head{
  background-image: url(../img/head/back-head.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 93vh;
  border:1px solid #2c2c2d;
}







.title-h1 {
  font-size: calc(40px + (60 - 40) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(35px + (60 - 35) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 450;
  text-transform: uppercase;
  color: #2c2c2d;
  padding-top: 3rem;
  padding-bottom: 6rem;  
}
.sp-txt{
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.txt {
  font-size: calc(20px + (18 - 20) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(20px + (26 - 20) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 300;
  color: #2c2c2d;
}
.dim-txt{
  padding-right: 40%;
  padding-bottom: 5rem;
}
.brd{
  border:1px solid #2c2c2d;
}
.brd-dx{
  border-right:1px solid #2c2c2d;
}
.brd-bot{
  border-bottom:1px solid #2c2c2d;
}
.brd-3{
  border:1px solid #2c2c2d;
  border-bottom:0px
}
.title-h2 {
  font-size: calc(40px + (40 - 40) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(35px + (40 - 35) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 450;
  color: #2c2c2d;
  padding-top: 3rem;
  padding-bottom: 3rem;  
}
.sp-top{
  padding-top: 1.5rem;
}
.sp-sticky{
  padding-top: 5rem;
  padding-bottom: 3rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.title-h3 {
  font-size: calc(40px + (33 - 40) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(35px + (33 - 35) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 450;
  color: #2c2c2d;
  padding-top: 3rem;
  padding-bottom: 3rem;  
  text-align: center;
}

.loghi-partner{
  max-width: 50%;
}

.noise {
  pointer-events: none;
  z-index: calc(infinity);
  opacity: .06;
  background-image: url(../img/noise.gif);
  background-position: 0 0;
  background-size: 250px;
  background-attachment: fixed;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}


.logo-foot {
  padding-left: 30%;
  max-width: 80%;
  padding-top: 15%;
}

.sp-foot {
  background-color: #FFFBF2;

  padding-top: 1.5rem;
}

.sp-contatti {
  padding-top: 10%;
  padding-right: 8%;
}

.tit-foot {
  color: #2f3244;
  font-size: calc(14px + (20 - 14) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 500;
  letter-spacing: 0.05rem;
  line-height: calc(22px + (20 - 22) * ((100vw - 300px) / (1920 - 300)));
  text-decoration: none;
}

.txt-foot {
  color: #2f3244;
  ;
  font-size: calc(14px + (18 - 14) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 300;
  letter-spacing: 0.05rem;
  line-height: calc(22px + (20 - 22) * ((100vw - 300px) / (1920 - 300)));
  text-decoration: none;
  padding-top: 0.5rem;
}

.dati {
  color: #2f3244;
  ;
  font-size: calc(12px + (12 - 12) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 500;
  letter-spacing: 0.05rem;
  line-height: calc(18px + (20 - 18) * ((100vw - 300px) / (1920 - 300)));
  text-decoration: none;
  text-align: right;
  padding-top: 3rem;
}

.mappa {
  height: 60vh;
  filter: grayscale(80%);
}

.leaflet-control-attribution {
  display: none;
}
 a{
  color: #2f3244;
  text-decoration: none;
 }

 a:hover{
  color: #4e483c;
  text-decoration: none;
 }
 .list-orari-nav{
  list-style: circle;
  
  
}

@media only screen and (max-width: 2000px) {
  .contatti-menu {
    font-size: calc(28px + (32 - 40) * ((100vw - 300px) / (1920 - 300)));
  }
}
@media only screen and (max-width: 1450px) {
  
}


@media only screen and (max-width: 1030px) {
  .list-megamenu{
    padding-top:2em;
    flex-direction: column;
    
  }
  .contatti-menu{
    line-height: unset;
    padding-top:0em;
    text-align: left;
  }
  .slider-head{
    height:auto;
  }

}

@media only screen and (max-width: 840px) {
  .list-orari-nav li{
    font-size: 0.8rem;
  }
  .sp-
  .logo-nav{
    max-width: 200px;
    min-width: 200px;
  }
  .slider-head{
    height:auto;
  }
  .sp-head{
    padding: 0;
  }
  .title-h1 {
    font-size: calc(40px + (60 - 40) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(35px + (60 - 35) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 450;
    text-transform: uppercase;
    color: #2c2c2d;
    padding-top: 3rem;
    padding-bottom: 0rem;
}
.dim-txt {
  padding-right: 0; 
  padding-bottom: 5rem;
}
.brd{
  aspect-ratio: 4/3;
  object-fit: cover;
}
.sp-menu{
  padding-left:0;
  padding-right:0;
}
.txt-foot {
 
  padding-top: 0.2rem;
}
.contatti-menu{
  font-size: calc(22px + (32 - 40) * ((100vw - 300px) / (1920 - 300)));
  line-height: 1.5rem;
  padding-top:0em;
  text-align: left;
}
.list-megamenu{
  gap:0.3rem;
  padding-left:0;
}
.nav-of {
  font-size: calc(26px + (70 - 16) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(16px + (70 - 16) * ((100vw - 300px) / (1920 - 300)));
  
}
}

