@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

* {
    vertical-align: baseline;
    font-weight: inherit;
    font-family: inherit;
    font-style: inherit;
    font-size: 100%;
    border: 0 none;
    outline: 0;
    padding: 0;
    margin: 0;
}

*, *::before, *::after {
    box-sizing: border-box;
}

@font-face {
  font-family: 'Prospectus';
  src: url('../Prospectus/ProspectusProM-SemiBoldItalic.otf');
    font-weight: normal;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

:root {
  --blu: #0E0F2A;
  --giallo: #F6FF00;
  --verde: #00F5CD;
  --beige: #C7C5C5;
  --testo-alt: 'Prospectus', serif;
}

/* TIPOGRAFIA ED ELEMENTI GLOBALI */

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--blu);
  font-size: 1.5em;
  line-height: 1.4em;
}

h1 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--rosso);
  font-size: 45px;
  text-wrap: balance;
}

h2 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--blu);
  font-size: 45px;
  text-wrap: balance;
}

h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--blu);
  font-size: 35px;
  line-height: 1.2em;
  text-wrap: balance;
}

h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--blu);
  font-size: 25px;
  line-height: 1.2em;
  text-wrap: balance;
}

h5 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--blu);
  font-size: 1.2em;
  line-height: 1.3em;
  text-wrap: balance;
}

.font-weight-bold {
  font-weight: 800!important;
  color: var(--blu);
}

p {
  margin: 0;
}



/* PADDING - MARGINI */
.pd-top-200 {
  padding-top: 200px;
}

.pd-top-100 {
  padding-top: 100px;
}

.pd-top-50 {
  padding-top: 50px;
}

.pd-top-25 {
  padding-top: 25px;
}

.pd-top-10 {
  padding-top: 10px;
}

.pd-top-btm-100 {
  padding: 100px 0;
}

.pd-btm-50 {
  padding-bottom: 50px;
}

.pd-btm-25 {
  padding-bottom: 25px;
}

.pd-btm-10 {
  padding-bottom: 10px;
}

.mg-top-100 {
  margin-top: 100px;
}

.testo-alt {
  font-family: 'Prospectus', serif;
}

.blu {
  color: var(--blu);
}

.giallo {
  color: var(--giallo);
}

.verde {
  color: var(--verde);
}

.beige {
  color: var(--beige);
}



/* ------------------------------------------------ CTA ------------------------------------------------ */

a.cta-verde {
  display: block;
  width: fit-content;
  color: var(--blu);
  background: var(--verde);
  border-radius: 100px;
  padding: 10px 30px;
  transition: all .5s cubic-bezier(.215, .61, .355, 1);

  &:hover {
    background: var(--giallo);
    text-decoration: none;
  }
}

a.cta-blu {
  display: block;
  width: fit-content;
  color: white;
  background: var(--blu);
  border-radius: 100px;
  padding: 10px 30px;
  transition: all .5s cubic-bezier(.215, .61, .355, 1);

  &:hover {
    background: var(--giallo);
    text-decoration: none;
    color: var(--blu);
  }
}

a.cta-giallo {
  display: block;
  width: fit-content;
  color: var(--blu);
  background: var(--giallo);
  border-radius: 100px;
  padding: 10px 30px;
  transition: all .5s cubic-bezier(.215, .61, .355, 1);

  &:hover {
    background: var(--verde);
    text-decoration: none;
    color: var(--blu);
  }
}



/* ------------------------------------------------ HOME PAGE ------------------------------------------------ */

#hero {
  .cont-img {
    width: 100%;
    height: 100vh;


    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 1;
    }
  }

  .cont-hero {
    position: relative;

    .titolo-hero {
      position: absolute;
      top: 0;
      left: 0;
      display: flex;
      width: 100%;
      height: 100%;
      justify-content: center;
      align-items: center;
    }

    h1 {
      text-align: center;
      color: white;
      font-size: 4.5vw;
      white-space: pre-line;

      span img {
        width: 215px;
        position: relative;
        margin: 0 10px;
        top: -5px;
      }
    }
  }
}

.riquadro-oriz {
  width: 100%;
  display: inline-block;
  height: 300px;
  background:
    linear-gradient(
      to right,
      transparent,
      var(--beige) 15%,
      var(--beige) 85%,
      transparent
    ) top,
    linear-gradient(
      to right,
      transparent,
      var(--beige) 15%,
      var(--beige) 85%,
      transparent
    ) bottom;

  background-repeat: no-repeat;
  background-size: 100% 1px;
  margin: 0 auto;
  opacity: .3;
}

.bcg-riquadri {
  position: relative;
  width: 100%;
}

.riquadro {
  display: inline-block;
  height: 500px;
  position: absolute;
  top: -100px;
  left: 0;

  background:
    linear-gradient(
      to bottom,
      transparent,
      #EEEEEE 15%,
      #EEEEEE 85%,
      transparent
    ) right;

  background-repeat: no-repeat;
  background-size: 1px 100%;
}

.riquadro.uno {
  width: 20%;

  p.su {
    font-size: 150%;
    color: var(--blu);
    font-weight: 100;
    position: absolute;
    right: -7px;
    line-height: 0;
    top: 99px;
  }

  p.giu {
    font-size: 150%;
    color: var(--blu);
    font-weight: 100;
    position: absolute;
    right: -7px;
    line-height: 0;
    bottom: 102px;
  }
}

.riquadro.due {
  width: 40%;

  p.su {
    font-size: 150%;
    color: var(--blu);
    font-weight: 100;
    position: absolute;
    right: -7px;
    line-height: 0;
    top: 99px;
  }

  p.giu {
    font-size: 150%;
    color: var(--blu);
    font-weight: 100;
    position: absolute;
    right: -7px;
    line-height: 0;
    bottom: 102px;
  }
}

.riquadro.tre {
  width: 60%;

  p.su {
    font-size: 150%;
    color: var(--blu);
    font-weight: 100;
    position: absolute;
    right: -7px;
    line-height: 0;
    top: 99px;
  }

  p.giu {
    font-size: 150%;
    color: var(--blu);
    font-weight: 100;
    position: absolute;
    right: -7px;
    line-height: 0;
    bottom: 102px;
  }
}

.riquadro.quattro{
  width: 80%;

  p.su {
    font-size: 150%;
    color: var(--blu);
    font-weight: 100;
    position: absolute;
    right: -7px;
    line-height: 0;
    top: 99px;
  }

  p.giu {
    font-size: 150%;
    color: var(--blu);
    font-weight: 100;
    position: absolute;
    right: -7px;
    line-height: 0;
    bottom: 102px;
  }
}

.riquadro.cinque{
  width: 100%;
}

.conYouMRI {
  position: relative;
  text-align: center;

  h2 {
    img {
      width: 200px;
      position: relative;
      top: -3px;
      margin: 0 15px;
    }
  }
}

#secondaSection {
  position: relative;
  padding: 100px 0;
  background: white;
  height: 100vh;

  .abs {
    position: absolute;
    top: 50px;
    left: 0;
    z-index: 1;
  }

  a {
    margin: 0 auto;
  }
}

#secondaSectionNoPan {
  position: relative;
  padding: 200px 0 0;
  height: auto;

  .abs {
    position: absolute;
    top: 50px;
    left: 0;
    z-index: 1;
  }

  a {
    margin: 0 auto;
  }
}

#primaSection {
  padding-top: 100px;
  background: white;

  .logo {
    width: 40%;
  }

  .box-img {
    display: block;
    margin: 0 auto;
    width: 80%;
    margin-top: 50px;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}

#terzaSection {
  background: var(--verde)!important;
  padding: 100px 0;
  background: white;

  h3 {
    font-family: var(--testo-alt);
  }

  h4 {
    padding-left: 60px;
    white-space: pre-line;
    padding-bottom: 25px;
  }

  .grid {
    display: grid;
    justify-content: end;
    align-content: start;
    padding-top: 100px;
    padding-right: 100px;
  }

  .grid.inv {
    display: grid;
    justify-content: start;
    align-content: start;
    padding-top: 200px;
    padding-right: 0;
  }
}

.box-img-comp {
  position: relative;

  .rombo {
    position: absolute;
    top: 0;
    left: 0;
    width: 20%;
    max-width: 225px;
  }

  .due-r {
    top: 25px;
    left: 3em
  }

  .tre-r {
    left: 4em
  }
}

#quartaSection {
  padding: 100px 0;
  position: relative;
  background: white;
  height: 100vh;
  overflow: hidden;
  /*
  background-image: url('../img/IMG_01.webp');
  background-repeat: no-repeat;
  background-size: contain;
  background-position-x: center;
  background-position-y: 50vh;
  */

  h2 {
    text-align: center;
    padding-bottom: 50px;

    span {
      font-family: var(--testo-alt);
      color: var(--verde);
    }
  }
}

.cont-partner {
  display: flex;
  justify-content: center;
  text-align: center;
  position: absolute;
  top: 300px;
  width: 100%;

  .cont-logo {
    padding: 0 100px;

    img {
      margin-top: 15px;
    }
  }
}

#quintaSection {
  background: var(--beige);
  padding: 100px 0;

  h2 {
    text-align: center;
    white-space: pre-line;
    width: 100%;
    padding-bottom: 75px;

    img {
      width: 230px;
      padding: 0 15px;
    }

    .testo {
      font-family: var(--testo-alt);
      color: var(--giallo);
    }
  }

  .contenuto {
    position: relative;

    .box-img {
      width: 100%;
      height: auto;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 30px;
      }
    }

    a {
      position: absolute;
      bottom: 25px;
      left: 50px;
    }
  }
}

#sestaSection {
  padding: 100px 0;

  h2 {
    text-align: center;
    padding-bottom: 75px;

    span {
      font-family: var(--testo-alt);
      color: var(--verde);
    }
  }

  .cont-staff {

    .box-img {
      width: 100%;
      height: auto;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      p {
        padding-top: 25px;

        span {
          font-family: var(--testo-alt);
          color: var(--verde);
        }
      }
    }
  }

  a {
    margin: 0 auto;
  }
}

#secondaSection.sette {
  padding: 0;
}

footer {
  background: var(--blu);
  padding: 100px 2em 2em;
  margin-top: 100px;
  position: relative;
  z-index: 998;

  .prima-riga {

  }

  .menu-footer {
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    
    a {
      padding: 0 15px;
      text-transform: uppercase;
      color: white;
      transition: all .5s cubic-bezier(.215, .61, .355, 1);

      &:hover {
        color: var(--verde);
        text-decoration: none;
      }
    }

    a.freccia-su {
      padding-left: 0!important;
      padding-right: 0!important;
      transform: rotate(180deg);
      transition: all .5s cubic-bezier(.215, .61, .355, 1);

      &:hover {
        transform: rotate(0);
      }
    }
  }

  .logo-footer {
    padding-top: 50vh;
  }

  p {
    font-size: smaller;
    color: white;
    text-align: center;
    width: 100%;
    padding-top: 2em;

    a {
      color: white;
      transition: all 1s cubic-bezier(.215, .61, .355, 1);

      &:hover {
        color: var(--verde);
        text-decoration: none;
      }
    }
  }
}

.simpleParallax {
  border-radius: 30px;
}

.over {
  position: relative;
  bottom: 0;
}

p.testo-mov-sx {
  font-size: 20vw;
  white-space: nowrap;
  color: var(--verde);
}

section.text-mov {
  position: relative;
  top: 30%;
}

.wrapper {
  overflow: hidden;
  width: 100%;
}


.anim-up {
  display: inline-block;
  transform: translateY(100%);
}

.pulse {
  animation: pulse-animation 3s infinite;
}

@keyframes pulse-animation {
  0% {
    color: #00F5CD;
    text-shadow: 0 0 5px rgba(0,255,0,0.3),
                 0 0 10px rgba(0,255,0,0.3);
    opacity: 1;
  }

  50% {
    color: #00F5CD;
    text-shadow: 0 0 15px rgba(0,255,0,0.9),
                 0 0 30px rgba(0,255,0,0.9);
    opacity: 0.3;
  }

  100% {
    color: #00F5CD;
    text-shadow: 0 0 5px rgba(0,255,0,0.3),
                 0 0 10px rgba(0,255,0,0.3);
    opacity: 1;
  }
}

.piu {
  filter: drop-shadow(0 0 10px #00F5CD);
}

.delay-1 { animation-delay: 0.4s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.s; }

#secondaSection.pag-tecnologia {
  padding-top: 200px;
}

#tecnologiaUno {
  position: relative;
  padding: 25px 0;
  background: white;
}

#tecnologiaDue a.cta-verde {
  margin: 0 auto 50px;
}

#tecnologiaDue p {
  width: 55%;
  margin: 0 auto;
}

#tecnologiaTre {
  padding: 100px 0;

  .contenuto {
    display: flex;
    align-items: center;

    .box-img {
      width: 40%;
      height: auto;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }

    .testo {
      width: 40%;
      height: auto;
      padding-left: 5%;
      position: relative;

      h3 {
        font-family: var(--testo-alt);
      }

      h4, p {
        padding-left: 60px;
      }
    }
  }

  .contenuto.due {
    justify-content: space-between;

    .testo {
      width: 40%;

      mark {
      position: relative;
      display: inline-block;
      padding: 10px 20px;
      z-index: 1;
      background-color: transparent;
      }

      mark::before {
      content: url("../img/Evidenzia_Giallo_Uno.svg");
      position: absolute;
      left: -10px;
      bottom: 0;
      z-index: -1;
      mix-blend-mode: multiply;
      }
    }
  }

  mark {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    z-index: 1;
    background-color: transparent;
  }

  mark::before {
    content: url("../img/Evidenzia_Verde_Uno.svg");
    position: absolute;
    left: -10px;
    bottom: 0;
    z-index: -1;
    mix-blend-mode: multiply;
  }

  .contenuto.tre {
    mark::before {
    content: url("../img/Evidenzia_Grigio_Uno.svg");
    }
  }
}

/*

.img-container {
  width: 100%;
}

.img-container img {
  height: 100%;
  width: 100%;
  transform-origin: left;
  object-fit: cover;
}

.img-container .mask {
  visibility: hidden;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--bordo-std);
}

*/

#tecnologiaQuattro {
  text-align: center;
  padding-bottom: 100px;

  h2 {
    font-family: var(--testo-alt);
    color: var(--verde);
    padding-bottom: 25px;
  }

  h4 {
    padding-bottom: 50px;
  }

  .box-img {
    width: 100%;
    height: 100px;

    img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }
}

#heroTecnologia.staff {
  h2 {
    white-space: pre-line;
  }


  .logo {
    width: 25%;
    margin-bottom: 25px;
  }
}

#primaStaff {
  background: white;
  padding: 25px 0;

  h2 {
    text-align: center;
    padding-bottom: 50px;

    span {
      font-family: var(--testo-alt);
      color: var(--verde);
    }
  }

  .box-img {
    position: relative;

    .collegamenti {
      position: absolute;
      top: 5px;
      right: 15px;
      display: block;

      img {
        width: 125%;
      }
    }
  }

  .box-testo {
    padding-top: 25px;

    h3 {
      font-size: 30px;
      white-space: pre-line;

      span {
        font-family: var(--testo-alt);
        color: var(--verde);
      }
    }
  }

  a.cta-verde {
    margin: 50px auto 0;
  }
}

#secondaStaff {
  position: relative;
  background: var(--beige);
  padding: 100px 0;

  h2 {
    text-align: center;

    span {
      font-family: var(--testo-alt);
      color: var(--giallo);
    }
  }

  p {
    text-align: center;
    width: 55%;
    margin: 0 auto;
    padding-bottom: 50px;
  }

  .cont-impacto {
    display: flex;

    .contenuto {
      width: 20%;
      height: auto;
      padding: 0 10px;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
  }
}

#secondaSection.pag-demo {
  padding-top: 200px;
}

#heroTecnologia.demo {
  
  .logo {
    width: 25%;
    max-width: 400px;
  }
}

#primaDemo {
  padding: 100px 0;
  position: relative;

  h4 {
    padding-top: 20px;
  }

  p {
    padding: 25px 0;
  }

  a {

    &:hover {
      text-decoration: none;
    }
  }

  h5 {
    transition: all .5s cubic-bezier(.215, .61, .355, 1);

    &:hover {
      color: var(--verde);
    }
  }
}

#moduloContatto {

  p.corto {
    padding: 0 0 20px 0;
    border-bottom: solid 1px var(--blu);
    width: 50%;
    margin-top: 20px;
  }

  p.lungo {
    padding: 0 0 20px 0;
    border-bottom: solid 1px var(--blu);
    width: 100%;
    margin-top: 20px;
  }
}

#secondaDemo {
  background: var(--beige);
  position: relative;
  padding-bottom: 200px;

  mark {
    background-color: var(--giallo);
    padding: 0 10px;
  }

  #secondaSection {
    background-color: transparent;
  }

  #riquadri {
      
    .riquadro-oriz {
    width: 100%;
    display: inline-block;
    height: 300px;
    background: linear-gradient(to right, transparent, #EEEEEE 15%, #EEEEEE, transparent) top, linear-gradient(to right, transparent, #EEEEEE 15%, #EEEEEE 85%, transparent) bottom;
    background-repeat: no-repeat;
    background-size: 100% 1px;
    margin: 0 auto;
    opacity: .3;
    }

    .riquadro {
      opacity: .3;
    }
  }

  p {
    width: 45%;
    margin: 0 auto;
  }

  h3 {
    font-family: var(--testo-alt);
    color: var(--giallo);
  }

  h4 {
    white-space: pre-line;
    padding-bottom: 10px;
  }

  p.dentro {
    width: 100%;
    white-space: pre-line;
  }
}

#terzaDemo {
  position: relative;
  background: white;
  padding: 100px 0;

  h2 {
    text-align: center;
    white-space: pre-line;
    padding-bottom: 50px;

    span {
      font-family: var(--testo-alt);
      color: var(--verde);
    }
  }

  .row {
    display: flex;
    justify-content: center;
  }

  .cont {
    position: relative;
    width: 20%;
    margin: 0 20px;

    .box-img {
      width: 100%;
      height: auto;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 30px;
      }
    }

    .testo {
      position: absolute;
      top: 20px;
      left: 20px;

      p {
        color: white;
        white-space: pre-line;
      }
    }
  }
}