: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;
}

body {
  background-color: #f5f5f5;
  color: var(--blu-midnight);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-headings);
  font-weight: 500;
  color: var(--blu-midnight);
}

h1 {
  font-size: 73px;
  font-weight: bold;
}

h2 {
  font-size: 51px;
  font-weight: bold;
}

.block-minorline {
  font-family: var(--font-family-condensed);
  font-size: 26px;
}

section {
  margin-bottom: 90px;
}

section.header,
section.hero {
  max-width: 100vw;
  min-width: 100vw;
  margin-right: 0;
  margin-left: 0;
}

section.main {
  margin-bottom: 0;
}

section.header {
  position: fixed;
  top: 0;
  z-index: 999;
  color: #f5f5f5;
}

section.header .header-content.scrolled-bg {
  background-color: #180f42;
}

section.header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  width: 100vw;
}

section.header .header-content .burger-toggle:hover {
  cursor: pointer;
}

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-text {
  font-size: 18px;
}

.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;
}

section.hero {
  color: #f5f5f5;
}

.hero-background {
  /* background-image: url(../assets/images/eolica-view.jpg); */
  background-image: url(../assets/img/home.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position-x: center;
  position: relative;
  height: 100vh;
  width: 100vw;
}

.overlayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgb(0 0 0 / 50%);
}

.main-hero .hero-container {
  position: absolute;
  z-index: 99;
  top: 55%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  border: 3px solid #f5f5f5;
  max-width: 1800px;
  width: 90vw;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-container {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

.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;
}

.block-headline {
  text-align: center;
  margin-bottom: 72px;
}


section.chi-siamo .section-wrapper {
  max-width: 1800px;
  width: 90vw;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 3px solid var(--green-lime);
  padding: 48px;
}

section.chi-siamo .section-wrapper .section-text {
  font-size: 24px;
}

.servizi .services-list {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 36px;
  gap: 113px;
  margin-bottom: 113px;
  z-index: 2;
  position: relative;
}

.servizi .service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #777;
  overflow: hidden;
  z-index: 2;
  max-width: 360px;
  flex: 1;
}

.servizi .service-card .service-image img {
  width: 100%;
  height: 100%;
}

.servizi .service-card .service-name {
  font-size: 20px;
  font-weight: 600;
  padding: 18px;
  margin: 0 auto;
  background-color: #f5f5f5;
  width: 100%;
  height: 100%;
}

.servizi .services-rows {
  position: relative;
}

.servizi div.border-decoration {
  position: absolute;
  width: 1000px;
  height: 400px;
  border: 2px solid var(--teal-lead);
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  z-index: 1;
}

.company-info-content {
  /* display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px; */
  position: relative;
  display: flex;
  flex-direction: column;
}

.row-company {
  display: flex;
  min-height: 650px;
}

.company-info-content .row-img {
  flex: 1 1 50%;
}

.company-info-content .row-img img {
  width: 100%;
  height: 100%;
}

.company-info-content .row-text {
  padding: 43px 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 50%;
}

.company-info-content .row-text .row-title {
  margin-bottom: 48px;
}

.company-info-content .row-text .row-body {
  font-size: 24px;
  font-family: var(--font-family-base);
}

.company-info-content .row-first.row-img .company-image {
  background-image: url(../assets/img/connessioni-che-generano-energia.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 100%;
}

.company-info-content .row-second.row-img .company-image {
  background-image: url(../assets/img/ingegneria-esperienza-continuita.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 100%;
}

.company-info-content .row-first.row-text {
  background-color: var(--blu-midnight);
}

.company-info-content .row-first.row-text .row-title,
.company-info-content .row-first.row-text .row-body {
  color: #f5f5f5;
}

.company-info-content .row-second.row-text {
  background-color: #ededed;
}

.company-info .border-decoration {
  position: absolute;
  width: 144px;
  height: 144px;
  border: 2px solid var(--green-lime);
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  z-index: 1;
}

section.contatti {
  max-width: 1800px;
  width: 90vw;
  height: 50vh;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 3px solid var(--blu-midnight);
  padding: 24px;
}

.contatti .block-minorline {
  font-size: 24px;
  font-family: var(--font-family-condensed);
  margin-bottom: 24px;
}


.contatti a.contact-button {
  margin-top: 60px;
  text-transform: uppercase;
  padding: 12px 24px;
  background-color: var(--blu-midnight);
  color: #f5f5f5;
  text-decoration: none;
  font-size: 24px;
  border-radius: 6px;
  display: inline-block;
}

section.news {
  background: var(--blu-midnight);
}

.news-content {
  display: flex;
  color: var(--color-background);
  max-width: 1800px;
  margin: auto;
}

.news-content .news-text,
.news-content .news-text h2,
.news-content .news-text a {
  color: #f5f5f5;
}

.news-content .news-list {
  display: flex;
  /* margin-left: 48px; */
}

.news-content .news-list .news-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  max-width: 400px;
  height: 460px;
  background-repeat: no-repeat;
  padding: 36px;
  justify-content: space-between;
}

.news-content .news-list .news-card.news-1,
.news-content .news-list .news-card.news-2,
.news-content .news-list .news-card.news-3 {
  background-size: cover;
  background-color: rgba(0, 0, 0, 0.33);
  background-blend-mode: color;
}

.news-content .news-list .news-card.news-1 {
  background-image: url(../assets/images/servizi/formazione-certificazioni.png);
}

.news-content .news-list .news-card.news-2 {
  background-image: url(../assets/images/servizi/lavori-fune.png);
}

.news-content .news-list .news-card.news-3 {
  background-image: url(../assets/images/servizi/safety-ispezioni.png);
}

.news-content .news-list .news-card .news-title {
  font-family: var(--font-family-headings);
  font-size: 21px;
  font-weight: 500;
  text-align: left;
}

.news-content .news-list .news-card .news-date {
  font-family: var(--font-family-condensed);
  font-size: 16px;
  font-weight: 400;
  text-align: right;
  width: 100%;
}

.news-content .news-text {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.news-content .news-text div,
.news-content .news-text a {
  font-family: var(--font-family-condensed);
  font-size: 26px;
}

section.footer {
  background-color: var(--blu-midnight);
  color: #f5f5f5;
  padding: 48px 0;
  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;
}

.page-hero .hero-container {
  position: absolute;
  z-index: 99;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  max-width: 1800px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero .hero-background,
.page-hero .overlayer {
  height: 50vh;
}

.page-hero-alt .hero-container {
  position: absolute;
  z-index: 99;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  max-width: 1800px;
  min-width: 1800px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero-alt .hero-background,
.page-hero-alt .overlayer {
  height: 100vh;
}

@media screen and (max-width:1120px) {
  section.footer .footer-content {
    flex-wrap: wrap;
  }

  .footer-column-1 {
    flex: 100%;
  }

  .row-company {
    min-height: 750px;
  }
}

@media screen and (max-width:1000px) {
  .row-company {
    min-height: 850px;
  }
}

@media screen and (max-width:920px) {

  .row-company {
    min-height: unset;
  }

  .company-info-content .row-first.row-img .company-image,
  .company-info-content .row-second.row-img .company-image {
    height: 250px;
  }

  .servizi .services-rows {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .servizi .services-list {
    flex-direction: column;
    width: fit-content;
  }

  .servizi div.border-decoration {
    position: absolute;
    width: calc(100% - 60px);
    height: 85%;
    border: 2px solid var(--teal-lead);
    top: 5%;
    left: 50%;
    transform: translateY(0) translateX(-50%);
    z-index: 1;
  }

  .company-info-content .row-text {
    padding: 43px;
  }

  .row-company {
    flex-direction: column;
  }

  .company-info .border-decoration {
    display: none;
  }

  .news-content {
    flex-direction: column-reverse;
  }

  section.footer .footer-content {
    flex-direction: column;
  }

  section.footer .footer-column-1 svg {
    width: 100%;
  }

  .page-name {
    font-size: 3rem;
  }

  .page-subtitle {
    font-size: 28px;
  }

  h2 {
    font-size: 41px;
  }

  .company-info-content .row-text .row-body {
    font-size: 21px;
  }
}

@media screen and (max-width: 768px) {

  .border {
    background: rgb(149 149 149 / 20%);
  }


  .logo-container svg {
    width: 100%;
  }

  .company-name {
    font-size: 3rem;
  }

  .status {
    font-size: 2rem;
  }

}

@media screen and (max-width: 578px) {
  .news-content .news-list {
    flex-direction: column;
  }

  .news-content .news-list .news-card {
    max-width: unset;
    height: 230px;
  }

  .logo-container svg {
    max-width: 70%;
  }
}

@media screen and (max-width: 430px) {
  h2 {
    font-size: 36px;
  }

  section.chi-siamo .section-wrapper {
    padding: 12px;
  }

  section.chi-siamo .section-wrapper .section-text {
    font-size: 18px;
  }

  .servizi .services-list {
    padding: 0 12px;
  }

  .company-info-content .row-first.row-text {
    padding: 24px;
  }

  .company-info-content .row-text .row-body {
    font-size: 18px;
  }

  .contatti .block-minorline {
    margin-top: 24px;
    margin-bottom: 12px;
  }

  .contatti a.contact-button {
    margin-top: 24px;
  }
}