/*
 * Theme Name: EdilMiri 2021
 * Description: Tema EdilMiri 2021
 * Author: 4Real Studio
*/

:root {
  --theme-color-1: #d8171f;
  --theme-color-2: #e0e8e3;
  --theme-color-3: #655846;

  --font-main: 'Montserrat', sans-serif;
  --font-1: 'Rubik', sans-serif;
  --font-2: 'Roboto', sans-serif;

  --nav-text-color: #1f1f1f;
  --nav-text-highlight-color: var(--theme-color-1);
  --nav-height: 120px;
  --nav-logo-height: 50px;
  --footer-text-color: #808080;
  --footer-text-highlight-color: var(--theme-color-1);

  --header-menu-bg-color: #fafafa;
  --footer-bg-color: #d9d9d9;

  --text-white: #f3f3f3;
  --text-light-gray: #999999;

  --intro-image-width: 350px;
  --intro-image-height: 450px;
  --intro-box-width: 500px;
  --intro-box-offset-left: 100px;
  --intro-box-offset-top: 50px;

  --radius: 45px;
  --max-value: 88;
  --PI: 3.14159265358979;
  --circumference: calc(var(--radius) * var(--PI) * 2);
}

/* Animations */
@property --percentage {
  syntax: '<number>'; /* <- defined as type number for the transition to work */
  initial-value: 0;
  inherits: true;
}
[data-aos=percentage] {
  --percentage: 0;
  transition-property: --percentage;
}
[data-aos=percentage]:nth-child(2) {
  transition-delay: 0.1s;
}
[data-aos=percentage]:nth-child(3) {
  transition-delay: 0.2s;
}
[data-aos=percentage].aos-animate {
  --percentage: 100;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100vw;
  font-family: var(--font-main);
  background-size: cover;
  background-position: top;
  background-attachment: fixed;
  overflow-x: hidden;
}

body.homepage {
  background-image: url(/wp-content/themes/edilmirigroup/static/images/home-vector-bg.jpg);
}

body.realizzazioni {
  background-image: url(/wp-content/themes/edilmirigroup/static/images/realizzazioni-vector-bg.jpg);
}

body.lavoro, body.vetrina-scheda {
  background-image: url(/wp-content/themes/edilmirigroup/static/images/lavoro-vector-bg.jpg);
}

body.vetrina {
  background-image: url(/wp-content/themes/edilmirigroup/static/images/vetrina-vector-bg.jpg);
}

body.chi-siamo {
  background-image: url(/wp-content/themes/edilmirigroup/static/images/chi-siamo-vector-bg.jpg);
}

body.contatti {
  background-image: url(/wp-content/themes/edilmirigroup/static/images/contatti-vector-bg.jpg);
}

.header {
  box-shadow: 0px 0px 10px 0px #00000020;
  background-color: var(--header-menu-bg-color);
  position: fixed;
  top: 0px;
  width: 100vw;
  z-index: 10;
  transition-duration: 0.3s;
}

.header.hidden {
  top: calc(-1*var(--nav-height));
}

.header .header-container {
  height: var(--nav-height);
}

.header .header-logo {
  align-self: center;
  flex: 0 1;
}

.header .header-logo img {
  height: var(--nav-logo-height);
  margin: 10px 20px;
}

.header nav {
}

nav.nav-main.nav-main-left {
  float: left;
}

nav.nav-main.nav-main-right {
  float: right;
}

.nav-main-right ul li:last-child {
    margin-left: 0px;
    margin-right: 20px;
}

.header nav ul {
  list-style-type: none;
  padding: 0px;
  margin: 0px 20px;
  display: flex;
  justify-content: flex-end;
}

.header nav ul li {
  margin-left: 50px;
}

.header nav ul li a, .mobile-menu a {
  font-size: 0.9em;
  color: var(--nav-text-color);
  text-decoration: none;
  transition-duration: 0.2s;
}

.header nav ul li a:hover {
  color: var(--nav-text-highlight-color);
}

.header-menu .fa, .mobile-menu .fa {
  padding: 5px 8px;
  border: 1px solid var(--nav-text-color);
  border-radius: 100%;
}

.header-menu .fa:hover {
  border-color: var(--nav-text-highlight-color);
}

.extra-header {
  margin-top: var(--nav-height);
  margin-bottom: 100px;
}

#content {
  flex-grow: 1;
  width: 100vw;
  overflow: hidden;
}

.section-home-landing {
  min-height: 100vh;
  background-size: cover;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.section-home-landing .video-background {
  z-index: -1;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate( -50%, -50% );
  height: 100%;
  width: 177.77777778vh; /* 100 * 16 / 9 */
  min-width: 100%;
  min-height: 56.25vw; /* 100 * 9 / 16 */
}

.section-home-landing .landing-filler {
  flex-grow: 1;
}

.section-home-landing .landing-box {
  text-align: center;
  background: black;
}

.section-home-landing .landing-text {
  color: var(--text-white);
  height: 30vh;
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: column;

  background: rgb(0,0,0);
  background: -moz-linear-gradient(0deg, rgba(0,0,0,0.6951155462184874) 0%, rgba(0,0,0,0) 100%);
  background: -webkit-linear-gradient(0deg, rgba(0,0,0,0.6951155462184874) 0%, rgba(0,0,0,0) 100%);
  background: linear-gradient(0deg, rgba(0,0,0,0.6951155462184874) 0%, rgba(0,0,0,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
}

.section-home-landing .landing-title {
  font-size: 48px;
  text-transform: uppercase;
}

.section-home-landing .landing-divider {
  width: 40%;
  border-bottom: 1px var(--text-white) solid;
  align-self: center;
}

.section-home-landing .landing-subtitle {
  font-size: 28px;
}

.section-home-intro {
  background-image: url(/wp-content/themes/edilmirigroup/static/images/background-white-triangle.png);
  background-position: bottom;
  background-size: 100% 100%;
}

.vertical-label {
  display: flex;
  flex-direction: column;
  transform: rotate(180deg);
  align-items: center;
}

.vertical-label .dot-and-line::before {
  background-color: var(--theme-color-1);
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 15px;
}

.vertical-label .dot-and-line {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.vertical-label .dot-and-line .line {
  background-color: var(--theme-color-1);
  width: 3px;
  height: 150px;
  margin-top: 15px;
}

.vertical-label .text {
  margin-top: 30px;
  color: var(--theme-color-1);
  font-size: 1.5em;
  white-space: nowrap;
  writing-mode: vertical-lr;
  width: 1.5em;
}

.home-intro {

}

.home-intro h1 {
  font-family: var(--font-1);
  font-weight: 600;
  font-size: 3em;
}

.home-intro .intro-desc {
  padding: 50px 0px;
  font-weight: 300;
  font-family: var(--font-2);
  color: var(--nav-text-color);
  text-align: justify;
}

.home-intro .intro-desc p {
  margin-bottom: 1em;
}

.home-intro .chi-siamo-cta {
  text-align: center;
}

.section-home-intro .intro-content {
  align-items: center;
}

.section-home-intro .intro-padding {
  height: 250px;
}

.section-home-intro .intro-gallery::before {
  content: " ";
  display: block;
  position: absolute;
  width: 40%;
  height: 100%;
  background-color: var(--theme-color-1);
  top: 80px;
  right: -50px;
}

.section-home-intro .intro-gallery {
  margin: 80px 0px 80px 0px;
}

.intro-gallery .slide {
  background-size: cover;
  background-position: center;
  position: relative;
}

.intro-gallery .slide img {
  width: 100%;
}

.slick-dots {
  bottom: -50px;
}

.slick-dots li {
  margin: 0 1px;
}

.slick-dots li button:before {
  content: ' ';
  width: 15px;
  height: 15px;
  background-color: var(--theme-color-1);
  border-radius: 100%;
}

.slick-dots li.slick-active button:before {
  opacity: 1;
}

.square-cta {
  border: 2px solid var(--theme-color-1);
  padding: 15px 60px;
  color: var(--theme-color-1);
  font-weight: 600;
  font-size: 1.1em;
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--font-1);
  transition-duration: 0.2s;
}

.square-cta:hover {
  color: var(--text-white);
  background-color: var(--theme-color-1);
}

.section-home-works {
  margin-top: -100px;
}

.section-home-works .workblock .with-image {
  height: 420px;
  background-size: cover;
  background-position: center;
}

.section-home-works .workblock {
  align-items: center;
  margin-bottom: 40px;
}

.section-home-works .workblock:nth-child(even) {
  flex-direction: row-reverse;
}

.section-home-works .workblock .workbox {
  padding: 60px 30px 30px 50px;
  box-shadow: 10px 10px 40px #00000040;
  border-radius: 30px;
  margin-right: 200px;
  margin-left: -200px;
  background: var(--text-white);
  position: relative;
}

.section-home-works .workblock:nth-child(even) .workbox {
  margin-left: 200px;
  margin-right: -200px;
}

.section-home-works .workblock .workbox::after {
  content: ' ';
  display: block;
  position: absolute;
  top: 0px;
  right: -20px;
  width: 60px;
  height: 100%;
  border-radius: 30px;
  background-color: var(--theme-color-1);
  z-index: -1;
}

.section-home-works .workblock:nth-child(even) .workbox::after {
  left: -20px;
}

.section-home-works .workblock .workbox>h1 {
  font-weight: 600;
  font-family: var(--font-1);
  font-size: 3em;
}

.section-home-works .worklink {
  text-align: right;
}

.section-home-works .worklink>a {
  color: var(--theme-color-1);
  text-decoration: none;
  font-family: var(--font-1);
  font-size: 1.1em;
  font-weight: 500;
  letter-spacing: 1px;
}

.section-home-works .worklink>a:hover {
  text-decoration: underline;
}

.section-home-works .worklink>a::after {
  content: ' ';
  display: inline-block;
  width: 12px;
  height: 12px;
  border-color: var(--theme-color-1);
  border-width: 0px 2px 2px 0px;
  border-style: solid;
  transform: rotate(-45deg);
  align-self: center;
  margin-left: 5px;
}

.section-title {
  font-size: 4em;
  font-family: var(--font-1);
  margin-top: 100px;
}

.section-subtitle {
  color: var(--theme-color-1);
  font-weight: 600;
  font-size: 1.1em;
  float: right;
}

.works-tabs {
  margin-bottom: 50px;
}

.works-tab {
  border: 1px solid var(--text-light-gray);
  padding: 32px;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1.2em;
  font-family: var(--font-1);
  color: var(--text-light-gray);
  letter-spacing: 4px;
  transition-duration: 0.2s;
}

.works-tab:hover {
  background-color: var(--theme-color-1);
  color: var(--text-white);
  cursor: pointer;
}

.works-tab.active {
  background-color: var(--theme-color-1);
  color: var(--text-white);
}

.realizzazioni .works-tab-content {
  display: none;
}

.realizzazioni .works-tab-content.active {
  display: flex;
}

.realizzazioni .work-content {
  box-shadow: 0px 0px 40px #00000040;
  position: relative;
  margin-top: 80px;
  margin-bottom: 50px;
  padding: 300px 0px 30px 30px;
  margin-left: 60px;
  background-color: white;
  cursor: pointer;
}

.realizzazioni .work-content>a {
  text-decoration: none;
}

.realizzazioni .work-content .work-image-box {
  overflow: hidden;
  position: absolute;
  top: -70px;
  left: -60px;
  width: 100%;
  height: 340px;
}

.realizzazioni .work-content .work-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition-duration: 0.2s;
}

.realizzazioni .work-content:hover .work-image {
  transform: scale(1.1);
}

.realizzazioni .work-content .work-info {
  display: flex;
  text-decoration: none;
  height: 4.4em;
  align-items: center;
}

.realizzazioni .work-content .work-info .work-title {
  font-family: var(--font-1);
  margin: 0px;
  font-size: 1.8em;
  width: calc(100% - 70px);
  color: black;
  overflow: hidden;
  transition-duration: 0.2s;
}

.realizzazioni .work-content:hover .work-info .work-title {
  color: var(--theme-color-1);
}

.realizzazioni .work-content .work-info .work-arrow {
  width: 30px;
  margin-left: 10px;
}

.realizzazioni .work-content .work-position {
  position: absolute;
  left: 100%;
  top: 160px;
  transform-origin: bottom left;
  transform: rotate(270deg);
  letter-spacing: 3px;
  color: var(--theme-color-1);
  line-height: 60px;
  margin-left: 0px;
  width: 210px;
  overflow: hidden;
  height: 60px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lavoro .extra-header {
  margin-bottom: 0px;
}

.lavoro .header-box {
  padding: 0px;
  position: relative;
}

.lavoro .header-box iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

.lavoro .header-img {
  width: 100%;
  margin-top: 30px;
  margin-bottom: 30px;
}

.lavoro .work-text {
  align-items: center;
}

.lavoro .work-name {
  font-family: var(--font-1);
  font-size: 2.5em;
  font-weight: 500;
  padding-left: 30px;
  line-height: 1.2em;
}

.lavoro .work-info {
  font-family: var(--font-1);
  color: var(--footer-text-color);
}

.lavoro .work-info p {
  margin: 0px;
}

.lavoro .work-desc {
  font-family: var(--font-2);
  color: var(--footer-text-color);
  font-size: 0.8em;
  line-height: 1.2em;
  text-align: justify;
  padding-right: 30px;
}

.lavoro .work-desc p {
  margin: 0px;
}

.lavoro .work-colorfill {
  height: 80px;
  background-color: var(--theme-color-1);  
}

.lavoro .work-content {
  margin-top: 100px;
}

.lavoro .work-gallery .gallery-img {
  background: content-box;
  background-size: cover;
  background-position: center;
}

.lavoro .work-gallery .gallery-img:hover {
  transform: scale(1.02);
}

.lavoro .work-gallery .gallery-img img {
  width: 100%;
}

.lavoro .work-gallery .gallery-img:nth-child(odd) {
  padding: 0px 20px 40px 0px;
}

.lavoro .work-gallery .gallery-img:nth-child(even) {
  padding: 0px 0px 40px 20px;
}

.vetrina .extra-header {
  margin-bottom: 40px;
}

.vetrina .vetrina-container {
  padding: 0px 50px;
}

.vetrina .project-label {
  font-family: var(--font-1);
  text-transform: uppercase;
  font-size: 1.3em;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--text-white);
  background-color: var(--theme-color-1);
  padding: 10px 25px;
}

.vetrina .project-label {
  margin-top: 70px;
}

.vetrina .project-box {
  position: relative;
  margin-top: 20px;
}

.vetrina .project-bg-carousel {
  position: absolute;
  height: 100%;
  z-index: -1;
}

.vetrina .project-bg-carousel .slick-list, .vetrina .project-bg-carousel .slick-track {
  height: 100%;
}

.vetrina .project-bg-carousel .project-bg-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.vetrina .project-box .project-content {
  padding-top: 220px;
  padding-bottom: 150px;
  background: #0000004f;
  padding-left: 20%;
  width: 100%;
  margin: 0px;
}

.vetrina .project-box .project-content .project-link {
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
}

.vetrina .project-box .project-content .project-link h1 {
  display: inline-block;
  font-size: 4em;
  font-weight: 500;
  font-family: var(--font-1);
  color: var(--text-white);
  transition-duration: 0.1s;
}

.vetrina .project-box .project-content .project-link:hover h1 {
  color: var(--theme-color-1);
}

.vetrina .project-box .project-content .project-link span::before {
  content: ' ';
  flex-grow: 1;
  border-bottom: 2px solid var(--theme-color-2);
  margin: 0px 20px 0px 0px;
}

.vetrina .project-box .project-content .project-link span {
  color: var(--theme-color-1);
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.1em;
  letter-spacing: 1px;
  text-shadow: 0 0 10px white;
}

.vetrina .project-box .project-content .project-link:hover span {
  text-decoration: underline;
}

.vetrina .project-box .project-content .project-link .project-arrow {
  width: 25px;
  margin-left: 10px;
  margin-right: 5px;
  background-color: var(--theme-color-1);
  height: 3px;
  position: relative;
}

.vetrina .project-box .project-content .project-link .project-arrow::after {
  content: ' ';
  display: block;
  border-right: 3px solid var(--theme-color-1);
  border-bottom: 3px solid var(--theme-color-1);
  width: 16px;
  height: 16px;
  transform: rotate(-45deg);
  position: absolute;
  right: 0px;
  top: -6px;
}

.chi-siamo .banner {
  width: 100%;
}

.chi-siamo .circle {
  width: 160px;
  height: 160px;
  position: relative;
  margin: 0px 30px;
}

.chi-siamo .circle .circle__main {
  stroke-dasharray: calc(var(--percentage)*3%),330%;
  stroke-linecap: square;
  stroke: var(--theme-color-1);
  stroke-width: 7px;
}

.chi-siamo .circle .circle__fixed {
  transform-origin: center;
  transform: rotate(135deg);
  --percentage: 5;
  stroke-dasharray: calc((var(--circumference) / 100) * var(--percentage)),var(--circumference);
  stroke: var(--theme-color-1);
  stroke-width: 7px;
}

.chi-siamo .circle .icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65%;
  height: 55%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.chi-siamo .circle-label {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-family: var(--font-1);
  margin-top: 20px;
  font-size: 1.1em;
}

.chi-siamo .circles {
  margin-top: 100px;
  margin-bottom: 70px;
}

.white-section {
  background: var(--header-menu-bg-color);
  padding-top: 100px;
  padding-bottom: 100px;
}

.chi-siamo .dot-and-line {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chi-siamo .v-dot {
  background-color: var(--theme-color-1);
  width: 24px;
  height: 24px;
  border-radius: 100%;
  margin-top: 40px;
}

.chi-siamo .v-line {
  background-color: var(--theme-color-1);
  width: 2px;
  margin-top: 50px;
  flex-grow: 1;
  margin-bottom: 50px;
}

.chi-siamo .about .title {
  font-size: 4em;
  font-family: var(--font-1);
  margin-bottom: 0.5em;
}

.chi-siamo .about .text {
  font-weight: 300;
  font-family: var(--font-2);
  color: var(--nav-text-color);
  text-align: justify;
  font-size: 0.9em;
  letter-spacing: 1px;
}

.chi-siamo .about-img {
  position: relative;
  z-index: 1;
}

.chi-siamo .about-img>img {
  width: 100%;
}

.chi-siamo .about-img::after {
  content: ' ';
  position: absolute;
  display: block;
  width: 40%;
  height: 100%;
  background-color: var(--theme-color-1);
  right: -30px;
  top: 50px;
  z-index: -1;
}

.chi-siamo .chi-siamo-gallery {
  margin-top: 100px;
}

.chi-siamo .chi-siamo-gallery .gallery-img {
  background: content-box;
  background-size: cover;
  margin-bottom: 50px;
  transition-duration: 0.2s;
}

.chi-siamo .chi-siamo-gallery .gallery-img:hover {
  transform: scale(1.02);
}

.chi-siamo .chi-siamo-gallery .gallery-img img {
  width: 100%;
  display: block;
}

.chi-siamo .chi-siamogallery .gallery-img:nth-child(odd) {
  padding: 0px 20px 40px 0px;
}

.chi-siamo .chi-siamogallery .gallery-img:nth-child(even) {
  padding: 0px 0px 40px 20px;
}

.contatti .banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contatti .banner .dark-overlay {
  padding-top: 300px;
  padding-bottom: 200px;
  background: #0000004f;
}

.contatti .banner-title {
  font-size: 4em;
  font-family: var(--font-1);
  color: var(--text-white);
}

.contatti .map {
  position: relative;
  margin-top: 100px;
  height: 800px;
  display: flex;
  flex-direction: column;
  align-items: start;
  box-shadow: 10px 10px 40px #00000066;
  margin-bottom: 50px;
}

.contatti .map>.title {
  display: block;
  position: absolute;
  top: -50px;
  left: 0px;
  background: var(--theme-color-1);
  color: var(--text-white);
  font-size: 3em;
  font-family: var(--font-1);
  font-weight: 500;
  padding: 30px 160px 30px 40px;
  z-index: 1;
}

.contatti .map #map-embed {
  position: absolute;
  z-index: 0;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
}

.contatti .map .filler {
  flex-grow: 1;
}

.contatti .contact-card {
  padding: 20px 40px 10px 20px;
  border-radius: 0px 20px 20px 0px;
  box-shadow: 5px 5px 20px #00000040;
  margin: 0px 0px 20px 10px;
  background-color: var(--header-menu-bg-color);
  display: flex;
  align-items: center;
}

.contatti .contact-card>img {
  width: 50px;
  height: auto;
  margin-left: 20px;
  margin-right: 40px;
}

.contatti .contact-card p {
  color: var(--footer-text-color);
  font-family: var(--font-1);
  letter-spacing: 1px;
  font-size: 1.1em;
  margin-bottom: 10px;
}

.contatti .contact-card .label {
  margin-bottom: 0px;
}

.contatti .contact-card .label::after {
  content: ' ';
  display: inline-block;
  width: 40px;
  background-color: var(--theme-color-1);
  height: 3px;
  vertical-align: middle;
  margin-left: 10px;
}

.video-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 30%;
  transform: translate(-50%, -50%);
  opacity: 0.7;
}

#footer {
  color: var(--text-light-gray);
  background-color: var(--footer-bg-color);
  padding-top: 10px;
  padding-bottom: 10px;
  margin-top: 100px;
}

#footer * {
  align-self: center;
}

#footer p {
    margin: 0px;
}

#footer .footer-logo {
  height: 50px;
}

#footer .footer-divider {
  display: inline-block;
  width: 60px;
  border-bottom: 2px solid var(--theme-color-1);
  vertical-align: middle;
  margin-left: 25px;
}

#footer .footer-link {
  margin-left: 25px;
}
#footer .footer-link:last-child {
  margin-left: 0px;
}

#footer .footer-link, #footer .footer-text a {
  color: var(--footer-text-color);
  text-decoration: none;
  vertical-align: middle;
  transition-duration: 0.2s;
}

#footer .footer-link:hover, #footer .footer-text a:hover {
  color: var(--footer-text-highlight-color);
}

#footer .footer-link .fa {
  padding: 5px 8px;
  border: 1px solid var(--footer-text-color);
  border-radius: 100%;
}

#footer .footer-link .fa:hover {
  border-color: var(--nav-text-highlight-color);
}

#footer .footer-text {
  font-size: 0.8em;
}

#footer .footer-credits {
}

#footer .footer-credits span {
  font-size: 0.7em;
}

#footer .footer-credits img {
  height: 18px;
  margin-right: 0px;
}

.icon-scroll,
.icon-scroll:before {
  position: absolute;
  left: 50%;
}
.icon-scroll {
  width: 40px;
  height: 70px;
  margin-left: -20px;
  bottom: 30px;
  margin-top: -35px;
  box-shadow: inset 0 0 0 3px #fff;
  border-radius: 25px;
  background: #00000040;
}
.icon-scroll:before {
  content: '';
  width: 8px;
  height: 8px;
  background: #fff;
  margin-left: -4px;
  top: 8px;
  border-radius: 4px;
  -webkit-animation-duration: 1.5s;
          animation-duration: 1.5s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-name: scroll;
          animation-name: scroll;
}
@-webkit-keyframes scroll {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(46px);
  }
}
@keyframes scroll {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(46px);
  }
}

.mobile-header {
  display: flex;
  flex-direction: column;
  text-align: right;
  align-self: center;
}
.mobile-header .hamburger-menu {
  
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  background: var(--header-menu-bg-color);
  z-index: -1;
  padding-top: var(--nav-height);
  align-items: center;
  padding-left: 3em;
}
.mobile-menu.show {
  display: flex;
}
.mobile-menu .mobile-menu-container {
  display: flex;
  flex-direction: column;
}
.mobile-menu .mobile-menu-container .menu-item {
  text-decoration: none;
  font-size: 2em;
  color: var(--footer-text-color);
  font-weight: 400;
  margin-bottom: 20px;
}

.chi-siamo .mobile-banner {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.lavoro .work-video {
  width: 100%;
}

.vetrina-scheda {

}

.vetrina-scheda .cover {
  height: 90vh;
  background-size: cover;
  background-position: center;
}

.vetrina-scheda .cover .cover-overlay {
  background-color: #00000066;
  display: flex;
  height: 100%;
  padding-top: var(--nav-height);
}

.vetrina-scheda .cover .cover-title {
  align-self: center;
  margin-left: 50%;
  transform: translate(-100%, 0px);
}

.vetrina-scheda .cover .cover-title>h1 {
  font-size: 3em;
  font-weight: 500;
  font-family: var(--font-1);
  color: var(--text-white);
}

.vetrina-scheda .cover .cover-title>span {
  font-family: var(--font-1);
  color: var(--text-white);
  margin-left: 1em;
  display: flex;
  align-items: center;
  font-size: 1.3em;
}

.vetrina-scheda .cover .cover-title>span::after {
  content: ' ';
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--theme-color-1);
  margin-left: 20px;
}

.vetrina-scheda .intro-container {
  margin-top: 80px;
  margin-bottom: 80px;
}

.vetrina-scheda .vetrina-img {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.intro {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.intro-box {
  display: flex;
  margin-bottom: 50px;
  padding-top: 50px;
}

.intro-box.right::after {
  content: ' ';
  width: 100px;
  background-color: var(--theme-color-1);
  margin-left: 20px;
}

.intro-box.left::before {
  content: ' ';
  width: 100px;
  background-color: var(--theme-color-1);
  margin-right: 50px;
}

.intro .category {
  display: flex;
  color: var(--theme-color-3);
}

.intro.right .category::after {
  content: ' ';
  display: block;
  height: 20px;
  width: 40px;
  margin-left: 20px;
  background-color: var(--theme-color-1);
  opacity: 0.2;
}

.intro .title {
  color: black;
  font-size: 2.5em;
  font-weight: 600;
}

.intro-container .desc {
  font-size: 0.9em;
  font-family: var(--font-2);
  text-align: justify;
  padding-bottom: 50px;
}

.vetrina-text {
  text-align: justify;
  font-size: 0.9em;
  margin-bottom: 50px;
}

.vetrina-scheda .mid-btn-container {
  margin-bottom: 50px;
}

.vetrina-scheda .mid-btn {
  padding: 10px 50px;
  border: 2px solid var(--theme-color-1);
  font-size: 1.3em;
  font-family: var(--font-1);
  text-decoration: none;
  color: var(--theme-color-1);
  font-weight: 500;
}

.vetrina-scheda .mid-btn:hover {
  background-color: var(--theme-color-1);
  color: white;
}

.vetrina-scheda .vetrina-section-margin {
  margin-top: 100px;
  margin-bottom: 100px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9, for an aspect ratio of 1:1 change to this value to 100% */ 
}
.video-wrapper iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.info1-box {
 margin-top: 50px; 
}

.info1-box .intro-box {
  margin-top: 100px;
}

.info1-box .large-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.info1-box .small-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 100%;
}

.info1-text {
  margin-top: 50px;
  margin-bottom: 50px;
  text-align: justify;
}

.info2-box {
  align-items: center;
}

.info2-text {
  margin-top: 50px;
  text-align: justify;
}

.info2-box .large-image {
  padding-top: 100%
}

.white-container {
  background: var(--bs-white);
  box-shadow: 0px 0px 30px #00000040;
  margin-bottom: 100px;
}

.vetrina-scheda .gallery-container {
  margin-top: 50px;
}

.vetrina-scheda .gallery-tab {
  padding: 30px 40px;
  color: var(--theme-color-1);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  cursor: pointer;
  margin-bottom: 30px;
  border: 1px solid var(--theme-color-1);
}

.vetrina-scheda .gallery-tab.active, .vetrina-scheda .gallery-tab:hover {
  background-color: var(--theme-color-1);
  color: var(--text-white);
  transition-duration: 0.2s;
}

.gallery-tab-content {
  opacity: 0;
  visibility: hidden;
  height: 0px;
  transition: visibility 0s, opacity 0.2s linear;
}

.gallery-tab-content.active {
  opacity: 1;
  height: auto;
  visibility: visible;
}

.gallery-tab-content .gallery-img-box {
  display: block;
  margin-bottom: 30px;
  overflow: hidden;
}

.gallery-tab-content .gallery-img {
  width: 100%;
  padding-top: 100%;
  background-size: cover;
  background-position: center;
  transition-duration: 0.2s;
}

.gallery-tab-content .gallery-img-box:hover .gallery-img {
  transform: scale(1.1);
}

.eco-bg {
  background-size: cover;
  background-position: center;
  padding-top: 100px;
  padding-bottom: 100px;
}

.eco-image {
  width: 100%;
  box-shadow: 20px 20px 40px #00000080;
}

.eco-content .category, .eco-content .title, .eco-content .text {
  color: var(--text-white);
  text-shadow: 5px 5px 15px black;
}

.eco-content .text {
  text-align: justify;
}

.intro.right.extend {
  position: relative;
}

.intro.right.extend::after {
  content: ' ';
  position: absolute;
  right: 0;
  transform: translateX(100%);
  background-color: var(--theme-color-1);
  height: 100%;
  width: 100vw;
}

.vt-box {
  margin-top: 80px;
  margin-bottom: 100px;
}

.vt-textbox {
  border: 3px solid var(--theme-color-1);
  padding: 50px 25% 50px 50px;
  transform: translate(40%, 15%);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vt-textbox .vt-title {
  font-size: 1.8em;
  font-weight: 500;
  color: var(--theme-color-3);
  margin-bottom: 30px;
}

.vt-textbox .vt-desc {
  color: var(--theme-color-3);

}

.vt-textbox .vt-cta {
  padding: 10px 20px;
  background-color: var(--theme-color-1);
  color: var(--text-white);
  text-transform: uppercase;
  text-decoration: none;
  font-size: 1.3em;
  margin-top: 30px;
  cursor: pointer;
  border: 2px solid transparent;
}

.vt-textbox .vt-cta:hover {
  background-color: white;
  color: var(--theme-color-1);
  border: 2px solid var(--theme-color-1);
}

.vt-image {
  z-index: 1;
}

.vt-image>img {
  width: 100%;
}

.contact-bg {
  margin-top: 100px;
  padding-top: 50px;
  background-color: #e0e0e0;
}

.contact-logo {
  width: 100%;
}

.contact-details {
  margin-top: 20px;
}

.contact-details a {
  color: var(--theme-color-1);
  text-decoration: none;
}

.submit-button>input {
  background: #9f9f9f;
  color: var(--text-white);
  font-size: 1.4em;
  padding: 5px 30px;
  border-radius: 15px;
}

.submit-button .ajax-loader {
  display: none !important;
}

@media screen and (max-width: 1199px) {
  .header nav ul {
    margin: 0px;
  }
  .header nav ul li {
    margin-left: 30px;
  }
  .home-intro h1 {
    font-size: 2em;
  }
}

@media screen and (max-width: 991px) {
  :root {
    --nav-height: 70px;
  }
  .header.hidden {
    top: 0px;
  }
  .home-intro h1 {
    margin-top: 30px;
  }
  .section-home-works .workblock .workbox {
    padding: 60px 30px 30px 30px;
    margin-right: 0px;
    margin-left: 0px;
    margin-top: -50px;
  }
  .section-home-works .workblock:nth-child(even) .workbox {
    margin-right: 0px;
    margin-left: 0px;
  }
  .section-home-works .workblock .workbox>h1 {
    font-size: 2em;
  }
  .section-title {
    font-size: 3em;
  }
  .works-tab {
    padding: 18px;
  }
  .lavoro .work-gallery .gallery-img:nth-child(odd), .lavoro .work-gallery .gallery-img:nth-child(even) {
    padding: 0px 10px 40px 0px;
  }
  .vetrina .vetrina-container {
    padding: 0px 0px;
  }
  .vetrina .project-box .project-content {
    padding-left: 20px;
    padding-top: 80px;
    padding-bottom: 120px;
  }
  .vetrina .project-box .project-content .project-link h1 {
    font-size: 2em;
  }
  .chi-siamo .about .title {
    font-size: 2em;
  }
  .contatti .banner .dark-overlay {
    padding-top: 200px;
    padding-bottom: 150px;
  }
  .contatti .contact-card {
    margin: 10px 0px;
  }
  .contatti .map {
    height: 500px;
  }
  .lavoro .header-box.is-video {
    padding-bottom: 56.25%;
  }
  .lavoro .work-text {
    margin-top: 30px;
  }
}

@media screen and (max-width: 768px) {
  .mobile-menu .mobile-menu-container .menu-item {
    font-size: 1.5em;
  }
  .home-intro .intro-desc {
    padding: 20px 0;
  }
  .vetrina-scheda .cover .cover-title {
    transform: none;
    margin: 0px 10px;
  }
}

@media screen and (max-width: 576px) {
  .mobile-menu .mobile-menu-container .menu-item {
  }
}
