:root {
  --font-family-base: 'Fira Sans', sans-serif;
  --font-family-headings: 'Familjen Grotesk', sans-serif;
  --font-family-condensed: 'Fira Sans Condensed', sans-serif;
  --color-background: #f5f5f5;
  --color-text: #222222;
  --blu-midnight: #180f42;
  --green-lime: #A5D660;
  --teal-lead: #708E94;
}

* {
  font-family: var(--font-family-base);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

section.header {
  position: fixed;
  top: 0;
  z-index: 999;
  color: #f5f5f5;
  max-width: 100vw;
  min-width: 100vw;
  margin-right: 0;
  margin-left: 0;
}

section.header .header-content {
  background-color: #180f42;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  width: 100vw;
}

section.header .header-content .burger-toggle .line1,
section.header .header-content .burger-toggle .line2,
section.header .header-content .burger-toggle .line3 {
  width: 25px;
  height: 3px;
  background-color: #f5f5f5;
  margin: 5px;
  transition: all 0.3s ease;
}

section.header .header-content .burger-toggle:hover {
  cursor: pointer;
}

.burger-menu .burger-menu-link a {
  font-family: var(--font-family-headings);
  font-size: 42px;
  font-weight: 700;
}

.burger-menu .burger-menu-link:hover {
  text-decoration: underline;
  cursor: pointer;
}

.menu-inner {
  max-width: 1800px;
  height: 900pxexternal;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-inner .menu-close {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 5rem;
}

body {
  margin: 0;
  padding: 0;
}

.viewport {
  position: fixed;
  width: 100%;
  height: 100vh;
}

.viewport .card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
}

/* Section 1 setup */
.viewport #sec-1 {
  z-index: 1;
}

/* Start Sections 2 and 3 hidden at the bottom */
.viewport #sec-2 {
  z-index: 2;
  transform: translateY(100%);
}

.viewport #sec-3 {
  z-index: 3;
  transform: translateY(100%);
}

.viewport #sec-4 {
  z-index: 4;
  transform: translateY(100%);
}

.viewport .carousel-container {
  display: flex;
  width: fit-content;
  /* width: 300%; */
  /* 3 slides * 100% */
  height: 100%;
  will-change: transform;
}

.viewport .carousel-slide {
  /* width: 100vw; */
  width: 480px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  color: white;
}

.viewport .carousel-container a:hover .carousel-slide .carousel-image {
  background-color: rgba(0, 0, 0, 88%);
}

.viewport .carousel-text {
  padding: 24px 24px 24px 96px;
}

.viewport .carousel-text .carousel-title {
  font-size: 3rem;
}

.viewport .carousel-text .carousel-body {
  font-size: 1.5rem;
  margin-top: 24px;
}

.viewport .carousel-content,
.viewport .carousel-content img {
  width: 100%;
  height: 100%;
}

.viewport .carousel-content .carousel-title {
  font-size: 2rem;
  position: absolute;
  top: 50%;
  right: 0;
  padding-right: 96px;
  text-align: right;
}

#sec-1 .hero-background {
  background-image: url(../assets/images/eolica-view.jpg);
}

#sec-2 .hero-background {
  background-image: url(../assets/images/eolica-stock.jpg);
}

#sec-1 .hero-background,
#sec-2 .hero-background {
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  height: 100%;
  width: 100%;
  color: #f5f5f5;
}

#sec-1 .hero-container,
#sec-2 .hero-container {
  position: absolute;
  z-index: 99;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  max-width: 1800px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#sec-1 .overlayer,
#sec-2 .overlayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#sec-1 .overlayer {
  background-color: var(--blu-midnight);
  opacity: 50%;
}

#sec-2 .overlayer {
  background-color: var(--blu-midnight);
  opacity: 50%;
}

/* #sec-2 .hero-background{
  color: black;
} */

.page-name {
  font-family: var(--font-family-headings);
  font-weight: 500;
  font-size: 4rem;
  text-align: center;
  margin-top: 1rem;
}

.page-subtitle {
  font-weight: normal;
  font-size: 36px;
  text-align: center;
  margin-top: 2rem;
}

#sec-3 .carousel-container>.carousel-slide {
  background-color: var(--teal-lead);
}


section.footer {
  background-color: var(--blu-midnight);
  color: #f5f5f5;
  padding: 160px 0 48px;
  margin-bottom: 0;
}

section.footer .footer-content,
section.footer .footer-smallprints {
  max-width: 1800px;
}

section.footer .footer-content,
section.footer .footer-smallprints {
  padding: 36px;
}

section.footer .footer-content {
  max-width: 1800px;
  width: 100vw;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

section.footer .footer-smallprints {
  max-width: 1800px;
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: flex-start;
  gap: 48px;
  margin-top: 24px;
}

section.footer a {
  text-decoration: none;
  color: var(--color-background);
}

section.footer a:hover {
  text-decoration: underline;
}

.footer-content .footer-column-1 svg {
  margin-bottom: 54px;
  width: 66%;
}

.footer-content .footer-column-1 .footer-sublogo,
.footer-content .menu-list .menu-head {
  font-family: var(--font-family-headings);
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 24px;
}

.footer-content .footer-column-1 .footer-contacts {
  font-family: var(--font-family-headings);
  font-size: 21px;
  margin-bottom: 48px;
}

.footer-content .menu-list {
  border-left: 3px solid #f5f5f5;
  padding-left: 24px;
}

.footer-content .menu-list .menu-head {
  font-family: var(--font-family-headings);
  font-size: 30px;
  font-weight: bold;
}

.footer-content .menu-list .menu-link {
  font-family: var(--font-family-condensed);
  font-size: 20px;
  margin-bottom: 12px;
  display: block;
  color: #f5f5f5;
  text-decoration: none;
}

.footer-smallprints {
  border-top: 2px solid #f5f5f5;
  padding: 36px 0;
}

.carousel-image {
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: color;
  width: 100%;
  height: 100%;
  background-position: center;
  position: relative;
  background-color: rgba(0, 0, 0, 66%);
}

.carousel-image.safety-inspection {
  background-image: url(../assets/img/safety-inspection.jpg);
}

.carousel-image.fotovoltaico-servizioem {
  background-image: url(../assets/img/fotovoltaico-e-servizi-oem.jpg);
}

.carousel-image.wind-operation-maintenance {
  background-image: url(../assets/img/wind-operation-e-maintenance.jpg);
}

.carousel-image.lavori-fune {
  background-image: url(../assets/img/lavori-su-fune.jpg);
}

.carousel-image.formazione {
  background-image: url(../assets/img/formazione.jpg);
}

.carousel-image.revisione-dpi {
  background-image: url(../assets/img/revisione-dpi.jpg);
}



@media screen and (max-width: 430px) {
  section.service-content {
    padding: 12px;
  }

  section.service-content .block-minorline {
    font-size: 18px;
  }

  .mobile-viewport section#sec-1 .logo-container,
  .mobile-viewport section#sec-2 .logo-container {
    width: 90vw;
  }


  .mobile-viewport section#sec-1 .logo-container .page-subtitle,
  .mobile-viewport section#sec-2 .logo-container .page-subtitle {
    font-size: 24px;
  }
}


.mobile-viewport section#sec-1,
.mobile-viewport section#sec-2 {
  height: 100vh;
}

.mobile-viewport section#sec-3 {
  height: fit-content;
}

.mobile-viewport section#sec-3 .carousel-container>.carousel-slide {
  height: 240px;
}

.mobile-viewport section#sec-3 .carousel-container>.carousel-slide .carousel-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 24px;
  color: white;
}

.mobile-viewport .carousel-container a,
.mobile-viewport .carousel-container a .carousel-slide .carousel-image {
  height: 240px;
  display: block;
}


.mobile-viewport .carousel-container a .carousel-slide h3.carousel-title {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  left: 24px;
  color: white;
  text-decoration: none;
}

@media screen and (max-width:1120px) {
  section.footer .footer-content {
    flex-wrap: wrap;
  }

  .footer-column-1 {
    flex: 100%;
  }
}


@media screen and (max-width:920px) {
  section.footer .footer-content {
    flex-direction: column;
    gap: 24px;
  }

  section.footer .footer-column-1 svg {
    width: 100%;
  }
}

.mobile-viewport section.footer {
  padding: 48px 0;
}