@charset "UTF-8";

/* CSS Document */
body:after {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  z-index: -1;
  content:
    url(../img/head.jpg) url(../img/domus2.jpg);

}

body,
h1,
h2,
h3,
h4,
h5,
p {
  font-family: "Afacad Flux", sans-serif;
}

.wa {
  position: fixed;
  max-width: 140px;
  right: 1rem;
  bottom: 1rem;
  z-index: 100000;
}

.list-button {
  margin-top: 1rem;
  display: inline-flex;
  flex-direction: row;
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.afacad-flux-<uniquifier> {
  font-family: "Afacad Flux", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings: "slnt" 0;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--bs-dropdown-link-hover-color);
  background-color: #fff;
}

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

.navbar {
  padding: 2rem;
  padding-left: 6rem;
  padding-right: 6rem;
  transition-duration: 1s;
}

.nav-link {
  font-family: "Afacad Flux", sans-serif;
  font-size: calc(16px + (24 - 16) * ((100vw - 300px) / (1920 - 300)));
  color: #243654;
  margin-left: 3rem;
  text-transform: uppercase;
}

.num-nav {
  font-family: "Afacad Flux", sans-serif;
  font-size: calc(16px + (24 - 16) * ((100vw - 300px) / (1920 - 300)));
  background-color: #243654;
  border: 2px solid #243654;
  color: #fff;
  border-radius: 0.4rem;
  margin-left: 3rem;
  text-transform: uppercase;
}

.num-nav:hover {
  font-family: "Afacad Flux", sans-serif;
  font-size: calc(16px + (24 - 16) * ((100vw - 300px) / (1920 - 300)));
  background-color: #fff;
  color: #243654;
  border: 2px solid #243654;
  border-radius: 0.4rem;
  margin-left: 3rem;
  text-transform: uppercase;
}

.dropdown-item {
  font-family: "Afacad Flux", sans-serif;
  font-size: calc(16px + (24 - 16) * ((100vw - 300px) / (1920 - 300)));
  color: #243654;
  text-transform: uppercase;
}

.dropdown-item.active,
.dropdown-item:active {
  color: #243654;
  text-decoration: none;
  background-color: #fff;
}

.dropdown-menu {
  padding: 1rem;
}

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

.navbar.scrolled {
  padding: 1rem;
  transition-duration: 1s;
}

.navbar.scrolled>div>a>.logo-nav {
  max-width: 230px;
  min-width: 230px;
  transition-duration: 1s;
}

.h {
  height: 220vh;
}

.sp-head {
  padding-left: 4rem;
  padding-right: 4rem;
  padding-top: 1rem;
  transition-duration: 1s;
}

.sp-head.scrolledh {
  padding-left: 0rem;
  padding-right: 0rem;
  transition-duration: 1s;
}

.head {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 1rem 1rem 0rem 0rem;
  height: 140vh;
  background-repeat: repeat-y;
  background-position: 50% 0;
  transition: linear;
  transition-property: background-position;
  animation-name: a;
  animation-duration: 8s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes a {
  0% {
    background-image: url(../img/head.jpg);
  }

  40% {
    background-image: url(../img/head.jpg);
  }

  50% {
    background-image: url(../img/domus2.jpg);
  }

  90% {
    background-image: url(../img/domus2.jpg);
  }


  100% {
    background-image: url(../img/head.jpg);
  }
}

.sp-azienda {
  padding-top: 8rem;
}

.head-samal {
  background-image: url(../img/head.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 1rem 1rem 0rem 0rem;
  height: 100vh;
}

.box-h1 {
  padding-top: 6rem;
  padding-left: 6rem;
}

.box-h2-head {
  padding-top: 9rem;
  padding-right: 6rem;
}

.title-h1 {
  font-size: calc(16px + (100 - 16) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(16px + (100 - 16) * ((100vw - 300px) / (1920 - 300)));
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  text-shadow: 0px 0px 10px #3030304f;
}

.mini-h1 {
  font-size: calc(16px + (60 - 16) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(16px + (60 - 16) * ((100vw - 300px) / (1920 - 300)));
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  text-shadow: 0px 0px 10px #3030304f;
}

.title-h2-head {
  font-size: calc(16px + (34 - 16) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(16px + (36 - 16) * ((100vw - 300px) / (1920 - 300)));
  color: #fff;
  font-weight: 400;
  text-align: right;
}

.txt {
  font-size: calc(16px + (44 - 16) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(16px + (46 - 16) * ((100vw - 300px) / (1920 - 300)));
  color: #1d1d1d;
  font-weight: 200;
  text-align: justify;
}

.dim-hr {
  padding-left: 6rem;
  padding-right: 6rem;
}

.title-h2 {
  font-size: calc(30px + (54 - 30) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(30px + (56 - 30) * ((100vw - 300px) / (1920 - 300)));
  color: #243654;
  font-weight: 400;
}

.title-h2-sez {
  font-size: calc(20px + (34 - 20) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(20px + (36 - 20) * ((100vw - 300px) / (1920 - 300)));
  color: #fff;
  font-weight: 400;
  padding-top: 1rem;
  padding-bottom: 3rem;
  text-align: center;

}

.back-blu {
  background-color: #243654;
  border: 2px solid #243654;
  border-radius: 1rem;
}

.sp-sez {
  padding-left: 5%;
  padding-right: 5%;
}

.img-sez {
  border-radius: 0.5rem;
}

.box-1-txt {
  padding: 6rem;
}

.box-txt-sez {
  padding: 4rem;
}

.box-icn {
  padding: 2rem;
}

.box-blu {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #e3e3e3;
  border-radius: 1rem;
  padding: 2rem;
  height: 60vh;
}

.box-gray {
  background-color: #41403e;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 1rem;
  padding: 2rem;
  height: 60vh;
}

.txt-pag {
  font-size: calc(16px + (24 - 16) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(16px + (30 - 16) * ((100vw - 300px) / (1920 - 300)));
  color: #1d1d1d;
  font-weight: 200;
  text-align: justify;
}

.icn-sez {
  width: 70%
}

.ph-domus {
  background-image: url(../img/domus.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 1rem;
}

.ph-same {
  background-image: url(../img/head.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 1rem;
}

.brd-domus {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border: 400px solid #fff;
  transition-duration: 2s;
}


.brd-same {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border: 400px solid #fff;
  transition-duration: 2s;
}

.brd-open {
  border: 10px solid #fff;
  transition-duration: 2s;
}

.sp-sezioni {
  padding-top: 15%;
  padding-bottom: 15%;
  transition-duration: 2s;
}

.brd-open>.sp-sezioni {
  padding-top: 15%;
  padding-bottom: 15%;
  transition-duration: 2s;
}


.hover-underline-animation {
  display: inline-block;
  position: relative;
}

.active-page {
  border-bottom: 2px solid #64ba87;
}


.hover-underline-animation::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  color: #3b3a3a;
  background-color: #1c1e3b;
  transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover::after {
  transform: scaleX(1);
}

.hover-underline-animation.left::after {
  transform-origin: bottom right;
}

.hover-underline-animation.left:hover::after {
  transform-origin: bottom left;
}

.hover-underline-animation.center::after {
  transform-origin: bottom center;
}

.hover-underline-animation.center:hover::after {
  transform-origin: bottom center;
}

.hover-underline-animation.right::after {
  transform-origin: bottom left;
}

.hover-underline-animation.right:hover::after {
  transform-origin: bottom right;
}


.hover-underline-animation:hover {
  color: #292d40;
}

.hov>a>img {
  box-shadow: 0px 0px 0px 0px transparent;
  transition-duration: 1s;
  scale: calc(1)
}

.hov:hover>a>img {
  box-shadow: 6px 6px 18px 0px #39383b75;
  transition-duration: 1s;
  scale: calc(0.8)
}


.sp-link {
  margin-top: 4rem;
}

.link-pagine {
  font-size: calc(16px + (24 - 16) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(16px + (24 - 16) * ((100vw - 300px) / (1920 - 300)));
  color: #363636;
  font-weight: 300;
  text-align: center;
  border: 2px solid #fff;
  border-radius: 0.3rem;
  padding: 0.5rem 2rem;
  text-decoration: none;
  background-color: #fff;
}

.tubi-top {
  position: absolute;
  left: 0px;
  bottom: 0px;
}

.hr-top {
  margin-top: 0px;
}

.sp-sezioni {
  padding-top: 1%;
  padding-bottom: 1%;
}

.dim-logo-s {
  max-width: 40%;
}

.dim-logo-s {
  max-width: 42%;
}

.sp-foot {
  padding-left: 3rem;
  padding-right: 3rem;
  margin-top: 2rem;
}

.foot {
  background-color: #243654;
  padding: 4rem;
  border-radius: 1rem 1rem 0rem 0rem;
}

.logo-foot {
  max-width: 90%;
  margin-bottom: 3rem;
}

.sp-ancora {
  padding-top: 6rem;
}

.sp-dati-foot {
  padding-left: 3rem;
  padding-right: 3rem;
  padding-top: 3rem;
}

.tit-foot {
  font-size: calc(16px + (38 - 16) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(16px + (38 - 16) * ((100vw - 300px) / (1920 - 300)));
  color: #fff;
  font-weight: 500;
}

.txt-foot {
  font-size: calc(16px + (32 - 16) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(16px + (32 - 16) * ((100vw - 300px) / (1920 - 300)));
  color: #fff;
  font-weight: 300;
}

.hr-white {
  border-top: 3px solid #fff;
  opacity: 1;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.txt-dati {
  font-size: calc(16px + (22 - 16) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(16px + (22 - 16) * ((100vw - 300px) / (1920 - 300)));
  color: #fff;
  font-weight: 300;
}

.form-control {
  margin-top: 0.4rem;
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: calc(16px + (24 - 16) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 400;
  line-height: 1.5;
  color: #243654;
  background-color: #fff;
  background-clip: padding-box;
  border: 4px solid #243654;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  margin-top: 0.4rem;
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: calc(16px + (24 - 16) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 400;
  line-height: 1.5;
  color: #243654;
  background-color: #fff;
  background-clip: padding-box;
  border: 4px solid #243654;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  box-shadow: 0 0 0 0rem rgba(13, 110, 253, 0.25);
}

::placeholder {
  color: #e3e0da;
  opacity: 1;
}

.mappa {
  height: 60vh;
  border-radius: 1rem;
}

.t-home {
  max-width: 80%;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  color: #fff;
  text-decoration: none;
}

.sp-gallery {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.card {
  border-radius: 1rem;
  border: 0px;
  background-color: #fff;
}

.link-call-g {
  font-size: calc(16px + (30 - 16) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(16px + (46 - 16) * ((100vw - 300px) / (1920 - 300)));
  color: #41403e !important;
  font-weight: 200;
  text-align: justify;
  background-color: #e3e3e3;
  padding: 0.5rem 2rem;
  border-radius: 0.5rem;
  border: 0px solid #fff;
  margin-top: 0.5rem;
}

.link-call-b {
  font-size: calc(16px + (30 - 16) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(16px + (46 - 16) * ((100vw - 300px) / (1920 - 300)));
  color: #e3e3e3 !important;
  font-weight: 200;
  text-align: justify;
  background-color: #41403e;
  padding: 0.5rem 2rem;
  border-radius: 0.5rem;
  border: 0px solid #fff;
  margin-top: 0.5rem;
}

.hbr {
  margin-top: 2rem;
}

.white {
  color: white;
}

#sendBtn {
  font-size: calc(18px + (18 - 16) * ((100vw - 300px) / (1920 - 300)));

  color: #41403e !important;
  font-weight: 200;
  text-align: justify;
  background-color: #e3e3e3;
  padding: 0.5rem 2rem;
  border: 2px solid transparent;
  border-radius: 0.5rem;
}

#sendBtn:hover {
  border: 2px solid #e3e3e3;
  color: #e3e3e3 !important;
  background-color: transparent;
}

@media only screen and (max-width: 1400px) {
  .logo-nav {
    max-width: 200px;
    min-width: 200px;
    transition-duration: 1s;
  }

  .title-h1 {
    font-size: calc(16px + (100 - 16) * ((100vw - 300px) / (1920 - 300)));
  }


  .navbar {
    padding: 2rem;
    padding-left: 1%;
    padding-right: 1rem;
    transition-duration: 1s;
  }

  .nav-link {
    font-family: "Afacad Flux", sans-serif;
    font-size: calc(16px + (24 - 16) * ((100vw - 300px) / (1920 - 300)));
    color: #1d1d1d;
    margin-left: 0.5rem;
    text-transform: uppercase;
  }

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

  .navbar.scrolled {
    padding: 1rem;
    transition-duration: 1s;
  }

  .navbar.scrolled>div>a>.logo-nav {
    max-width: 150px;
    min-width: 150px;
    transition-duration: 1s;
  }

  .h {
    height: 130vh;
  }

  .sp-head {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 1rem;
    transition-duration: 1s;
  }

  .sp-head.scrolledh {
    padding-left: 0rem;
    padding-right: 0rem;
    transition-duration: 1s;
  }

  .box-h1 {
    padding-top: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .txt-head {

    padding-top: 20%;
  }

  .tubi-top {
    position: relative;
    left: 0px;
    bottom: 0px;
  }

  .box-gray {
    background-color: #41403e;
    border-radius: 1rem;
    padding: 2rem;
    height: auto;
  }

  .box-blu {
    background-color: #e3e3e3;
    border-radius: 1rem;
    padding: 2rem;
    height: 30vh;
  }

  .box-icn {
    padding: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .box-txt-sez {
    padding: 2rem;
  }

  .sp-foot {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .foot {
    padding: 2rem;
    border-radius: 1rem 1rem 0rem 0rem;
  }
}

@media only screen and (max-width: 840px) {
  .list-button {

    flex-direction: column;
    gap: 1rem;

  }

  .box-1-txt {
    padding: 1.5rem;
  }

  .box-txt-sez {
    padding: 1.5rem;
  }

  .foot {
    padding: 1rem;
    border-radius: 1rem 1rem 0rem 0rem;
  }

  .sp-dati-foot {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 3rem;
  }

  .logo-foot {
    max-width: 70%;
    padding-top: 0.5rem;
  }

  .brd-open {
    border: 10px solid #fff;
    transition-duration: 2s;
    padding-top: 15%;
    padding-bottom: 15%;
  }

  .sp-sezioni {
    padding-top: 15%;
    padding-bottom: 15%;
    transition-duration: 2s;
  }

  .brd-open>.sp-sezioni {
    padding-top: 15%;

    transition-duration: 2s;
  }

  .brd-domus {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border: 1rem solid #fff;
    transition-duration: 2s;
  }

  .brd-same {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border: 1rem solid #fff;
    transition-duration: 2s;
  }

  .box-h2-head {
    padding-top: 9rem;
    padding-right: 2rem;
    padding-left: 2rem;
  }

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

  .navbar.scrolled>div>a>.logo-nav {
    max-width: 100px;
    min-width: 100px;
    transition-duration: 1s;
  }

  .num-nav {
    font-family: "Afacad Flux", sans-serif;
    font-size: calc(16px + (24 - 16) * ((100vw - 300px) / (1920 - 300)));
    background-color: #243654;
    border: 2px solid #243654;
    color: #fff;
    border-radius: 0.4rem;
    margin-left: 0rem;
    padding-left: 1rem;
    text-transform: uppercase;
  }

  .wa {
    right: 0.2rem;
    bottom: 0.2rem;
    max-width: 100px;
  }

  .mappa {
    height: 40vh;
    border-radius: 1rem;
    margin-top: 4rem;
  }

  .title-h1 {
    font-size: calc(30px + (100 - 16) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(30px + (100 - 16) * ((100vw - 300px) / (1920 - 300)));
  }
}