:root {
  --primary-color-dark: #000;
  --primary-color-beige-light: #c5c5c5;
  --primary-color-light: #5da399;
  --secondary-color-grey: #f5f5f5;

  --primary-font: "Playfair Display", serif;
  --secondary-font: "Lato", sans-serif;
}

.height-sm,
.height-sm img {
  height: 300px;
  object-fit: cover;
}

.height-ms,
.height-ms img {
  height: 400px;
  object-fit: cover;
}

.height-md,
.height-md img {
  height: 500px;
  object-fit: cover;
}

.height-ml,
.height-ml img {
  height: 700px;
  object-fit: cover;
}

.height-xl,
.height-xl img {
  height: 900px;
  object-fit: cover;
}
b {
  color: var(--primary-color-dark);
}
.container.auto-container {
  max-width: 80% !important;
}
.main-footer {
  padding: 0;
}
input[type="submit"] {
  background-color: var(--primary-color-dark);
}
.navbar .navbar-nav .active,
.navbar .navbar-nav .nav-link:hover {
  color: var(--primary-color-beige-light) !important;
}

.preloader-bg,
#preloader {
  background-color: var(--primary-color-dark);
}

hr {
  margin-top: 5px;
  margin-bottom: 20px;
  border-top: 1px solid var(--primary-color-light);
}

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

.bg-dark {
  background-color: var(--primary-color-dark) !important;
}

.bg-grey {
  background-color: var(--secondary-color-grey) !important;
}
.services2 .title-box {
  background-color: var(--primary-color-dark);
}
.title-tertiary,
.title-quaternary {
  font-family: var(--secondary-font);
}

.bg-grey.main-footer .sub-footer p,
.bg-grey.main-footer p {
  color: var(--primary-color-dark) !important;
}

.bg-dark .section-content .title-primary,
.bg-dark .contatti-dati p {
  color: var(--secondary-color-grey) !important;
}

.bg-dark .section-content .title-quaternary,
.bg-dark .section-content .title-secondary {
  color: var(--secondary-color-grey) !important;
}

.bg-dark .section-content .title-tertiary {
  color: var(--primary-color-grey) !important;
}

.bg-dark .section-content p,
.main-footer .fothead h6,
.bg-dark.main-footer .sub-footer p {
  color: var(--secondary-color-grey) !important;
}

.bg-light .section-content .title-primary,
.bg-light .section-content .title-secondary {
  color: var(--primary-color-dark);
}

.bg-light .section-content .title-tertiary,
.bg-light .section-content .title-quaternary,
.bg-light .section-content p {
  color: var(--secondary-color-grey);
}
.butn-light a:after,
.butn-dark a:after {
  background: var(--primary-color-beige-light);
}
.butn-light a:hover span,
.butn-light a,
.butn-dark a,
.butn-dark a:hover span {
  font-size: 14px;
  color: #fff;
  font-weight: 400;
  letter-spacing: 2px;
}
p {
  line-height: 1.3;
}
.section-title {
  font-family: var(--primary-font);
}

/* .progress-wrap::after,
.progress-wrap svg.progress-circle path {
    color: var(--primary-color-dark);
    stroke: var(--primary-color-dark);
} */

.butn-dark a {
  background-color: var(--primary-color-dark);
}
.section-payoff {
  color: #000;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
}
.content-payoff p {
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--primary-color-dark);
  font-weight: 600;
}
.section-title {
  /* font-size: 60px; */
  font-weight: 600;
  letter-spacing: 2px;
}
.section-title span {
  color: var(--primary-color-dark);
}
.section-content h4 {
  font-family: var(--primary-font);
  color: var(--primary-color-dark);
  font-size: 20px;
}
.section-content p {
  font-family: var(--secondary-font);
  font-size: 14px;
  letter-spacing: 2px;
  color: #000;
}
.servizi li {
  border-bottom: solid 1px #c7c7c7;
  margin-bottom: 20px;
}
.servizi p {
  font-size: 16px;
  line-height: 1;
  margin-bottom: 10px;
}
.services2 .title-box h3 {
  color: #fff;
}
.navbar .navbar-nav .nav-link {
  font-family: var(--secondary-font);
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 500;
}
.nav-scroll .navbar-nav .nav-link {
  color: var(--primary-color-dark);
}
.projects .item .con h6,
.projects .item .con h6 a {
  color: var(--primary-color-beige-light);
  font-weight: 700;
}
.projects .item .con i:hover {
  color: var(--primary-color-beige-light);
}
.contatti-dati p {
  font-weight: 600;
  font-size: 18px;
}
.vid-area h5 {
  font-size: 35px;
  font-family: var(--primary-font);
  font-weight: 400;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 30px;
  text-transform: inherit;
}
.projects .item .con h5,
.projects .item .con h5 a {
  letter-spacing: 2px;
  font-weight: 600;
}
.sec-img {
  display: block !important;
  position: relative;
}

.cov-img {
  background-size: cover;
  background-position: center;
}
.logo-img {
  padding: 10px 0;
  width: 170px;
  text-align: center;
}
.nav-scroll .logo-img {
  width: 150px;
  margin-top: -10px;
}
.video-fullscreen-video:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 25%);
}
.title-primary {
  font-size: 5rem;
  text-transform: uppercase;
  margin-bottom: 0;
  letter-spacing: 2px;
}

.title-secondary {
  font-size: 70px;
  text-transform: uppercase;
}

.title-tertiary {
  font-size: 60px;
  line-height: 1;
  text-transform: capitalize;
  margin-bottom: 0;
}

.title-quaternary {
  text-transform: none;
  font-size: 50px;
  letter-spacing: 0;
}

.mt--70 {
  margin-top: -70px;
  z-index: -1;
}

.content-lines-inner {
  position: absolute;
  width: 100%;
  left: 50%;
  margin-left: 0;
  top: 0;
  height: 100%;
  border-left: 1px solid var(--secondary-color-grey);
  border-right: 1px solid var(--secondary-color-grey);
  border-bottom: 1px solid var(--secondary-color-grey);
}

.content-lines {
  position: absolute;
  left: 70%;
  right: 70%;
  height: 100%;
  border-left: 1px solid var(--secondary-color-grey);
  border-right: 1px solid var(--secondary-color-grey);
}

.center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.main-footer {
  border-top: none;
}

.center span {
  color: white;
  font-family: sans-serif;
  animation: animate 9s ease infinite alternate;
}

.center span:nth-child(1) {
  animation-delay: 1s;
}

.center span:nth-child(2) {
  animation-delay: 1.5s;
}

.center span:nth-child(3) {
  animation-delay: 2s;
}

.center span:nth-child(4) {
  animation-delay: 2.5s;
}
.center span:nth-child(5) {
  animation-delay: 3s;
}
.center span:nth-child(6) {
  animation-delay: 3.5s;
}
.center span:nth-child(7) {
  animation-delay: 4s;
}
.center span:nth-child(8) {
  animation-delay: 4.5s;
}
.center span:nth-child(9) {
  animation-delay: 5s;
}
.center span:nth-child(10) {
  animation-delay: 5.5s;
}

@keyframes animate {
  from {
    font-size: 1em;
  }

  to {
    font-size: 4em;
  }
}
.video-fullscreen-wrap .video-fullscreen-inner p {
  line-height: 1.2;
}
.parallaxElement {
  position: relative;
  height: 100vh;
  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.captionParallax {
  position: absolute;
  left: 0;
  top: 40%;
  width: 100%;
  text-align: center;
  color: #000;
}

.parallaxElement:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-color: rgb(31 31 31 / 25%);
}

.owl-carousel.owl-prodotti .owl-item img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.scrolling_text {
  width: 100%;
  overflow: hidden;
  display: flex;
  white-space: nowrap;
  padding: 70px 0;
}

.text span {
  margin: 0 40px;
}

@keyframes animate_text {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-100%, 0, 0);
  }
}

.text {
  font-family: "Oswald", sans-serif;
  font-size: 12rem;
  font-weight: 700;
  text-transform: lowercase;
  color: var(--secondary-color-grey);
  animation: animate_text 40s linear infinite;
  opacity: 0.7;
}

.nav-scroll .navbar-toggler-icon,
.nav-scroll .icon-bar {
  color: var(--primary-color-dark);
}

.bauen-blog .item .con h5,
.bauen-blog .item .con h5 a {
  color: var(--primary-color-dark);
}

.header .caption h1 {
  font-family: var(--primary-font);
  text-transform: math-auto;
  font-size: 30px;
  letter-spacing: 2px;
}
.about .about-img .img:before {
  display: none;
}
.services2 .services2-img:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0;
  width: 100%;
  background-color: var(--primary-color-beige-light);
  opacity: 1;
  visibility: hidden;
}
.video-fullscreen-wrap .video-fullscreen-inner h1 {
  letter-spacing: 2px;
  font-size: 58px;
  text-transform: inherit;
  font-weight: 700;
}
.item.icon {
  text-align: center;
  margin: 15px auto;
}
.services .item h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color-dark);
  text-transform: uppercase;
  letter-spacing: 3px;
}
.services .item {
  padding: 40px;
  margin-bottom: 30px;
  position: relative;
}
.title {
  font-size: 50px !important;
}

@media only screen and (max-device-width: 1366px) {
  /* .parallaxElement {
        background-attachment: scroll;
    } */
}

@media only screen and (max-width: 1024px) {
  .height-md,
  .height-md img {
    height: 290px;
    object-fit: cover;
  }
  .nav-scroll .logo-wrapper {
    padding: 0 15px;
  }
  .container.auto-container {
    max-width: none !important;
  }

  .title-primary {
    font-size: 5rem;
  }

  .title-tertiary {
    font-size: 45px;
  }
  .section-title {
    font-size: 30px;
  }
  .section-payoff {
    font-size: 40px;
  }
  .mt--90 {
    margin-top: -60px;
    z-index: -1;
  }

  .height-xl,
  .height-xl img {
    margin-top: 20px;
    height: 600px;
  }

  .marginResp.pl-100.pr-100.mt-100 {
    margin-top: 0 !important;
    padding-left: 50px !important;
    padding-right: 50px !important;
  }

  .title-resp {
    font-size: 50px;
    margin-bottom: 40px;
  }

  .parallaxElement {
    height: 650px;
    background-position: right;
  }

  .title-quaternary {
    text-transform: none;
    font-size: 35px;
  }

  .text {
    font-size: 5rem;
  }

  .scrolling_text {
    padding: 50px 0;
  }

  .owl-carousel.owl-prodotti .owl-item img {
    display: block;
    width: 100%;
    height: 350px;
    object-fit: cover;
  }
}

@media only screen and (max-width: 768px) {
  .services2 .title-box h3 {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .title-quaternary {
    text-transform: none;
    font-size: 25px;
  }
}

@media only screen and (max-width: 500px) {
  .scrolling_text {
    padding: 20px 0;
  }
  .section-payoff {
    color: #000;
    font-size: 38px;
    font-weight: 500;
    line-height: 1.2;
  }
  .section-title {
    font-size: 25px;
    margin-top: 30px;
  }
  .services .item {
    padding: 20px;
    margin-bottom: 10px;
    position: relative;
  }
  .section-padding {
    padding: 50px 0;
  }
  .title-secondary {
    font-size: 35px;
  }

  .title-tertiary {
    font-size: 25px;
  }
}
