html,
body {
  overflow-x: hidden;
  font-family: "DM Sans", sans-serif;
}

body {
  position: relative;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: normal;
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

input:checked + #text {
  display: none;
}

a {
  text-decoration: none;
  color: #000;
}

.language {
  display: grid;
  grid-column: 2/12;
  padding-top: 1%;
  padding-bottom: 1%;
  justify-items: end;
}

.text-item {
  display: grid;
  grid-column: 10/12;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  justify-items: start;
  gap: 1rem;
}

.hidden-text {
  display: none;
}

footer {
  display: grid;
  row-gap: 3rem;
  justify-items: center;
  padding: 0;
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-bottom: 0.04rem solid black;
  border-top: 0.04rem solid black;
}

.divider2 {
  display: flex;
  border: 0;
  border-bottom: 0.04rem solid black;
  margin: 0;
  padding: 0;
  width: 100%;
}

img {
  background-size: cover;
  overflow: hidden;
}

.icona {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.link {
  text-transform: lowercase;
  letter-spacing: 0.08rem;
  /* font-size: 1rem;
  font-weight: 300; */
  font-weight: 500;
  line-height: 1.2rem;
  text-decoration: none;
  border-bottom: 0.04rem solid transparent;
}

.link-2 {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: normal;
  line-height: 1.2rem;
  text-decoration: none;
  border-bottom: 0.04rem solid black;
}

.link:hover {
  border-bottom: 0.04rem solid black;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.link:active {
  border-bottom: 0.04rem solid black;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.link-2:hover {
  border-bottom: 0.04rem solid black;
  font-weight: 500;
  letter-spacing: normal;
}

.link-2:active {
  border-bottom: 0.04rem solid black;
  font-weight: 500;
  letter-spacing: normal;
}

.button1 {
  display: inline-flex;
  align-items: center;
  color: #000;
  padding-bottom: 0rem;
  padding-top: 0.1rem;
  border-bottom: transparent solid 0.04rem;

  p {
    text-transform: lowercase;
    line-height: 1%;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    margin-right: 1rem;
    letter-spacing: 0.08rem;
  }
}

.button1:hover {
  border-bottom: #000 solid 0.04rem;
}

.button2 {
  display: flex;
  align-items: center;
  color: #000;

  p {
    text-transform: lowercase;
    line-height: 1%;
    letter-spacing: 0.08rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    margin-right: 1rem;
    margin-left: 1rem;
    letter-spacing: 0.2rem;
  }

  .arrowL {
    border-bottom: rgba(0, 0, 0, 0) solid 0.04rem;
  }

  .arrowL:hover {
    border-bottom: black solid 0.04rem;
  }

  .arrowR {
    border-bottom: rgba(0, 0, 0, 0) solid 0.04rem;
  }

  .arrowR:hover {
    border-bottom: black solid 0.04rem;
  }
}

.button3 {
  display: flex;
  align-items: center;
  color: #000;
  border: 0.04rem solid black;
  padding: 1rem;

  p {
    text-transform: lowercase;
    line-height: normal;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.1rem;
  }
}

.button3:hover {
  background-color: black;

  p {
    color: white;
  }
}

.scorrimento {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-bottom: 0.02rem solid black;
  border-top: 0.02rem solid black;
  background-color: black;
}

.scrolltxt {
  display: inline-block;
  padding-top: 2rem;
  padding-bottom: 2rem;
  animation: Scroll 120s forwards linear infinite;
  color: white;
}

.scrolltxt > h2 > a {
  padding-left: 1em;
  padding-right: 1em;
}

.scrollicons > a {
  padding: 1em;
}

.hidden {
  visibility: hidden;
  height: 0px;
  padding: 0px;
}

.accordion-content {
  grid-template-columns: repeat(12, 1fr);
  display: grid;
  grid-column: 2 / span 10;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.bios {
  display: flex;
  justify-content: space-between;
}

.bios > .testo {
  padding: 0.5em;
  max-width: 30rem;
  height: 100%;
}

.bios > .testo > p {
  border-bottom: #000 solid 1px;
  padding-bottom: 1em;
}

.bios > .testo > p:nth-last-child() {
  border-bottom: none;
  background-color: red;
}

.bios >.testo > h2 {
  padding-top: 1em;
  padding-bottom: 0;
  
}

.bios > img {
  max-height: 80vh;
 min-width: 413px;
}

.modulo4 {
  display: grid;
  grid-template-columns: repeat(12, 8.33% [col-start]);
  gap: 0px;
  border-bottom: 0.02rem solid black;
  border-top: 0.02rem solid black;

  .hidden-text {
    display: none;
  }

  .testo-1 {
    display: grid;
    grid-column: 2/4;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
    justify-items: start;
    gap: 1rem;
    align-content: space-between;
  }

  .foto {
    display: grid;
    grid-column: 5/9;
    align-items: center;
    justify-items: center;
    border-left: 0.04rem solid black;
    border-right: 0.04rem solid black;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

.contain {
  display: grid;
  grid-template-columns: repeat(12, 8.33% [col-start]);
  border: none;
  overflow: hidden;
  box-sizing: border-box;
  gap: 0rem;
  width: 50px;
  padding: 0.5em;
}

@keyframes Scroll {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-100%, 0);
  }
}

h1 {
  font-size: 4rem;
  font-weight: 400;
  letter-spacing: 0.1rem;
  font-style: normal;
  line-height: 1.3;
  margin: 0;
  padding-bottom: 2rem;
}

h2 {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  font-style: normal;
  text-transform: uppercase;
  line-height: 1.3;
  margin: 0;
  padding-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  font-style: normal;
  text-transform: uppercase;
  line-height: 1.5;
  margin: 0;
}

.sub-txt {
  font-size: 1.5rem;
  font-weight: 400;
  font-style: normal;
  text-transform: none;
  line-height: 2rem;
  margin: 0;
}

p {
  font-size: 1rem;
  font-weight: 300;
  font-style: normal;
  text-transform: none;
  line-height: 1.5;
  margin: 0;
}

header {
  grid-column: 2 / 12;
  display: grid;
  grid-template-columns: repeat(12, 8.33% [col-start]);
  align-items: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 0.02rem solid white;
}

.logo {
  display: grid;
  grid-column: 2 / 4;
}

.menu ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  justify-content: space-between;
  font-size: large;
  font-weight: 400;
}

.modulo1 {
  display: grid;
  grid-template-columns: repeat(12, 8.33% [col-start]);
  grid-column: 1/13;
  gap: 0rem;
  border-top: 0.04rem solid white;
  background-color: initial;
  padding-top: 5rem;
  padding-bottom: 5rem;

  .testo {
    display: grid;
    grid-column: 1/12;
    color: white;
    background-color: initial;
    padding: 8.33%;
    gap: 1rem;
  }
}

.modulo2 {
  display: grid;
  grid-template-columns: repeat(12, 8.33% [col-start]);
  overflow: hidden;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  align-items: stretch;
  justify-content: space-between;
  border-bottom: 0.02rem solid black;
  border-top: 0.02rem solid black;

  .testo {
    display: grid;
    grid-column: 6/12;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
    justify-items: start;
    gap: 1rem;
  }

  .foto {
    display: grid;
    grid-column: 2/5;
    grid-template-columns: repeat(3, 1fr);
    padding-top: 5rem;
    padding-bottom: 5rem;
    align-items: center;
    border-right: 0.04rem solid black;
  }

  .icona {
    grid-column: 1 / span 2;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    height: 100%;
    background-size: contain;
    background-color: initial;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 3rem;
  }

  .sub-txt {
    line-height: 2rem;
  }

  .colonna {
    columns: 2;
    column-gap: 5rem;
  }

  .logo {
    padding-bottom: 1.5rem;
  }

  .modulo2 > .testo {
    grid-column: 6/12;
  }

  .modulo4 > .foto {
    grid-column: 5/9;
    align-items: center;
    justify-items: center;
  }

  .menu {
    grid-column: 7 / 12;
    display: grid;
  }

  .modulo3 {
    display: grid;
    grid-template-columns: repeat(12, 8.33% [col-start]);
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    align-items: stretch;
    justify-content: space-between;
    border-bottom: 0.02rem solid black;
    border-top: 0.02rem solid black;

    .testo {
      display: grid;
      grid-column: 2/8;
      align-items: center;
      padding-top: 5rem;
      padding-bottom: 5rem;
      justify-items: start;
      gap: 1rem;
    }

    .foto {
      display: grid;
      grid-column: 9/-1;
      grid-template-columns: repeat(3, 1fr);
      align-items: center;
      border-left: 0.04rem solid black;
    }

    .icona {
      grid-column: 2 / span 2;
      display: flex;
      justify-content: center;
      align-items: center;
      box-sizing: border-box;
      height: 100%;
    }
  }

  .modulo5 {
    display: grid;
    grid-template-columns: repeat(3, 33.33% [col-start]);
    gap: 0rem;

    .foto {
      display: grid;
      height: auto;
      width: 100%;
      align-items: center;
      justify-items: center;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      border: 0.02rem solid black;
    }

    #foto {
      display: grid;
      height: 50vh;
      width: 100%;
      align-items: center;
      justify-items: center;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      border: 0.02rem solid black;
    }

    .testo {
      display: grid;
      height: auto;
      width: 100%;
      align-items: center;
      justify-items: center;
      border: 0.02rem solid black;
      grid-template-columns: repeat(5, 1fr);
    }

    .testo-int {
      display: block;
      grid-column: 2 / span 3;
      padding-top: 5rem;
      padding-bottom: 5rem;
    }
  }

  .modulo6 {
    display: grid;
    grid-template-columns: repeat(12, 8.33% [col-start]);
    grid-gap: 0rem;
    row-gap: 2em;
    border-bottom: 0.02rem solid black;
    border-top: 0.02rem solid black;
    padding-top: 5rem;
    padding-bottom: 5rem;

    .foto {
      grid-column: 2 / span 10;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 4%;
    }

    .testo {
      display: grid;
      grid-column: 2/12;
      justify-items: start;
      gap: 1rem;
    }

    .icona {
      display: flex;
      align-items: center;
      justify-items: center;
      border: 0.02rem solid black;
      height: 25vh;
    }
  }

  .modulo7 {
    display: grid;
    grid-template-columns: repeat(12, 8.33% [col-start]);
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    align-items: stretch;
    justify-content: space-between;
    border-bottom: 0.02rem solid black;
    border-top: 0.02rem solid black;

    .testo {
      display: grid;
      grid-column: 2/6;
      align-items: center;
      padding-top: 5rem;
      padding-bottom: 5rem;
      justify-items: start;
      gap: 1rem;
    }

    .foto {
      display: grid;
      grid-column: 7/13;
      grid-template-columns: repeat(6, 1fr);
      padding-top: 5rem;
      padding-bottom: 5rem;
      align-items: center;
      background-size: cover;
      border-left: 0.04rem solid black;
    }

    .fotob {
      display: grid;
      grid-column: 1 / 13;
      grid-template-columns: repeat(12, 1fr);
      padding-top: 5rem;
      padding-bottom: 5rem;
      align-items: center;
      border-left: 0.04rem solid black;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }

    .box {
      grid-column: 2 / span 4;
      display: grid;
      justify-content: center;
      align-items: center;
      background-color: white;
      padding: 8.33%;
      gap: 1rem;
      justify-items: start;
    }
  }

  .accordion-container {
    display: grid;
    grid-template-columns: repeat(12, 8.33% [col-start]);
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    align-items: stretch;
    justify-content: space-between;

    .accordion-item {
      display: grid;
      grid-column: 1/13;
    }

    .accordion-header {
      grid-template-columns: repeat(12, 8.33% [col-start]);
      display: grid;
      grid-column: 1/13;
      border-top: 0.02rem solid black;
      border-bottom: 0.02rem solid black;
      align-items: center;
    }

    .accordion-text {
      display: grid;
      grid-column: 2 / span 9;
    }

    .accordion-symbol {
      grid-column: 11 / span 1;
      align-self: stretch;
      align-content: center;
      text-align: center;
      border-left: 0.04rem solid black;
      border-right: 0.04rem solid black;
      padding: 2rem;
      font-size: 1.8rem;
      font-weight: 300;
    }

    .divider {
      display: grid;
      grid-column: 2;
      border: 0rem;
      border-left: 0.04rem solid black;
      margin: 0;
      padding: 0;
      height: 100%;
    }

    .testo {
      display: grid;
      grid-column: 3 / span 4;
      align-items: center;
      justify-items: start;
      gap: 1rem;
    }

    .icona {
      grid-column: 8 / span 4;
      display: flex;
      justify-content: center;
      align-items: center;
      box-sizing: border-box;
      height: 100%;
    }
  }
}

/* Tablet da 768 a 1024px */
@media (min-width: 768px) and (max-width: 1023px) {
  #FaiduttiTransform {
    padding-left: 0;
    height: 100%;
    width: 28vw;
  }

  .text-item {
    grid-column: 8/12;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .sub-txt {
    line-height: 1.8rem;
  }

  .colonna {
    columns: 1;
  }

  .logo > img {
    height: 30px;
  }

  .menu {
    grid-column: 5 / 12;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .modulo1 {
    gap: 0rem;
    padding-top: 2rem;
    padding-bottom: 2rem;

    .testo {
      grid-column: 2/12;
      padding: 1em;
      text-align: center;
    }
  }

  .modulo2 {
    .testo {
      grid-column: 8/12;
    }

    .foto {
      display: grid;
      grid-column: 2/7;
      grid-template-columns: repeat(5, 1fr);
      padding-top: 5rem;
      padding-bottom: 5rem;
      align-items: center;
      border-right: 0.04rem solid black;
    }

    .icona {
      display: flex;
      grid-column: 1 / span 4;
      justify-content: center;
      align-items: center;
      background-size: contain;
      background-color: initial;
      height: 100%;
    }
  }

  .modulo3 {
    display: grid;
    grid-template-columns: repeat(12, 8.33% [col-start]);
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    align-items: stretch;
    justify-content: space-between;
    border-bottom: 0.04rem solid black;
    border-top: 0.04rem solid black;

    .testo {
      display: grid;
      grid-column: 2/6;
      align-items: center;
      padding-top: 5rem;
      padding-bottom: 5rem;
      justify-items: start;
      gap: 1rem;
    }

    .foto {
      display: grid;
      grid-column: 7/12;
      grid-template-columns: repeat(5, 1fr);
      padding-top: 5rem;
      padding-bottom: 5rem;
      align-items: center;
      border-left: 0.04rem solid black;
    }

    .icona {
      display: flex;
      grid-column: 2 / span 4;
      justify-content: center;
      align-items: center;
      height: 100%;
    }
  }

  .modulo4 {
    display: grid;
    grid-template-columns: repeat(12, 8.33% [col-start]);
    gap: 0px;
    border-bottom: 0.02rem solid black;
    border-top: 0.02rem solid black;

    .testo-1 {
      display: grid;
      grid-column: 2/-1;
      align-items: center;
      padding-top: 5rem;
      padding-bottom: 5rem;
      border-bottom: 0.04rem solid black;
      justify-items: start;
      gap: 1rem;
    }

    .testo-2 {
      display: grid;
      grid-column: 8/12;
      align-items: center;
      padding-top: 5rem;
      padding-bottom: 5rem;
      border-top: 0.04rem solid black;
      justify-items: start;
      gap: 1rem;
    }

    .foto {
      display: grid;
      grid-column: 1/7;
      align-items: center;
      justify-items: center;
      border-right: 0.04rem solid black;
      border-top: 0.04rem solid black;
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;
    }
  }

  .modulo5 {
    display: grid;
    grid-template-columns: repeat(3, 33.33% [col-start]);
    gap: 0rem;

    .foto {
      display: grid;
      height: 25vh;
      width: 100%;
      align-items: center;
      justify-items: center;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      border: 0.02rem solid black;
      grid-column: 1/4;
    }

    #foto {
      display: grid;
      height: 50vh;
      width: 100%;
      align-items: center;
      justify-items: center;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      border: 0.02rem solid black;
      grid-column: 1/4;
    }

    .testo {
      display: grid;
      grid-column: 1/4;
      height: auto;
      width: 100%;
      align-items: center;
      border: 0.02rem solid black;
      grid-template-columns: repeat(12, 1fr);
    }

    .testo-int {
      display: block;
      grid-column: 2 / span 10;
      padding-top: 5rem;
      padding-bottom: 5rem;
    }
  }

  .modulo6 {
    display: grid;
    grid-template-columns: repeat(12, 8.33% [col-start]);
    grid-gap: 0rem;
    row-gap: 2rem;
    border-bottom: 0.02rem solid black;
    border-top: 0.02rem solid black;
    padding-top: 5rem;
    padding-bottom: 5rem;

    .foto {
      grid-column: 2 / span 10;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 4%;
    }

    .testo {
      display: grid;
      grid-column: 2/12;
      justify-items: start;
      gap: 1rem;
    }

    .icona {
      display: flex;
      align-items: center;
      justify-items: center;
      border: 0.02rem solid black;
      height: 25vh;
    }
  }

  .modulo7 {
    display: grid;
    grid-template-columns: repeat(12, 8.33% [col-start]);
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    align-items: stretch;

    justify-content: space-between;
    border-bottom: 0.02rem solid black;
    border-top: 0.02rem solid black;

    .testo {
      display: grid;
      grid-column: 2/12;
      align-items: center;
      padding-top: 5rem;
      padding-bottom: 5rem;
      justify-items: start;
      gap: 1rem;
    }

    .foto {
      display: grid;
      grid-column: 1/13;
      grid-template-columns: repeat(12, 1fr);
      padding-top: 5rem;
      padding-bottom: 5rem;
      align-items: center;
      background-size: cover;
      border-top: 0.04rem solid black;
    }

    .fotob {
      display: grid;
      grid-column: 1 / 13;
      grid-template-columns: repeat(12, 1fr);
      padding-top: 5rem;
      padding-bottom: 5rem;
      align-items: center;
      border-left: 0.04rem solid black;
      background-repeat: no-repeat;
      background-size: cover;
    }

    .box {
      grid-column: 2 / span 10;
      display: grid;
      justify-content: center;
      align-items: center;
      background-color: white;
      padding: 8.33%;
      gap: 1rem;
      justify-items: start;
    }
  }

  .accordion-container {
    display: grid;
    grid-template-columns: repeat(12, 8.33% [col-start]);
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    align-items: stretch;
    justify-content: space-between;

    .accordion-item {
      display: grid;
      grid-column: 1/13;
    }

    .accordion-header {
      grid-template-columns: repeat(12, 8.33% [col-start]);
      display: grid;
      grid-column: 1/13;
      border-top: 0.02rem solid black;
      border-bottom: 0.02rem solid black;
      align-items: center;
    }

    .accordion-text {
      grid-column: 2 / span 8;
    }

    .accordion-symbol {
      grid-column: 10 / span 2;
      align-self: stretch;
      align-content: center;
      text-align: center;
      border-left: 0.04rem solid black;
      border-right: 0.04rem solid black;
      padding: 2rem;
      font-size: 1.8rem;
      font-weight: 300;
    }

    .divider {
      display: grid;
      grid-column: 2;
      border: 0rem;
      border-left: 0.04rem solid black;
      margin: 0;
      padding: 0;
      height: 100%;
    }

    .testo {
      display: grid;
      grid-column: 3 / span 4;
      align-items: center;
      justify-items: start;
      gap: 1rem;
    }

    .icona {
      display: flex;
      grid-column: 8 / span 4;
      align-items: center;
      justify-items: stretch;
      height: 100%;
    }
  }
}

/* Mobile < 768px */
@media (max-width: 767px) {
  .bios > img {
    display: none;
  }

  .bios > .testo {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .sub-txt {
    line-height: 1.8rem;
  }

  .colonna {
    columns: 1;
  }

  header {
    padding-top: 1em;
  }

  footer {
    display: block;
  }

  footer > * {
    padding: 1em;
  }

  footer > img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 4rem;
  }

  .logo {
    grid-column: 2 / 12;
  }

  .menu {
    grid-column: 2 / 12;
    display: grid;
    padding-top: 1em;
  }

  .menu ul {
    display: grid;
    grid-auto-flow: column;
    grid-gap: 10px;
    grid-template-rows: 1.5em 1.5em;
    grid-template-columns: 29vw 29vw 29vw;
    padding: 10px;
    padding-left: 0px;
    list-style: none;
  }

  .modulo1 {
    grid-column: 1/-1;
    padding-top: 2rem;
    padding-bottom: 4rem;
    border-top: 0.04rem solid white;

    .testo {
      grid-column: 2/12;
      gap: 1rem;
    }
  }

  .modulo2 {
    display: grid;
    grid-template-columns: repeat(12, 8.33% [col-start]);
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    align-items: stretch;
    justify-content: space-between;
    border-bottom: 0.02rem solid black;
    border-top: 0.02rem solid black;

    .testo {
      display: grid;
      grid-column: 2/12;
      align-items: center;
      padding-top: 5rem;
      padding-bottom: 5rem;
      justify-items: start;
      gap: 1rem;
    }

    .foto {
      display: grid;
      grid-column: 1/13;
      justify-items: center;
      padding: 5rem;
      border-bottom: 0.04rem solid black;
    }

    .icona {
      display: flex;
      grid-column: 1/1;
      height: 25vh;
      width: 100%;
      align-items: center;
      justify-items: stretch;
      background-size: contain;
      background-color: initial;
    }
  }

  .modulo3 {
    display: grid;
    grid-template-columns: repeat(12, 8.33% [col-start]);
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    align-items: stretch;
    justify-content: space-between;
    border-bottom: 0.02rem solid black;
    border-top: 0.02rem solid black;

    .testo {
      display: grid;
      grid-column: 2/12;
      align-items: center;
      padding-top: 5rem;
      padding-bottom: 5rem;
      justify-items: start;
      gap: 1rem;
    }

    .foto {
      display: grid;
      grid-column: 1/13;
      justify-items: center;
      padding: 5rem;
      border-top: 0.04rem solid black;
    }

    .icona {
      display: flex;
      grid-column: 1/1;
      height: 25vh;
      width: 100%;
      align-items: center;
      justify-items: stretch;
    }
  }

  .modulo4 {
    display: grid;
    grid-template-columns: repeat(12, 8.33% [col-start]);
    gap: 0rem;
    border-bottom: 0.02rem solid black;
    border-top: 0.02rem solid black;

    .testo-1 {
      display: grid;
      grid-column: 2/12;
      align-items: center;
      padding-top: 5rem;
      padding-bottom: 5rem;
      justify-items: start;
      gap: 1rem;
    }

    .testo-2 {
      display: grid;
      grid-column: 2/12;
      align-items: center;
      padding-top: 5rem;
      padding-bottom: 5rem;
      justify-items: start;
      gap: 1rem;
    }

    .foto {
      display: grid;
      grid-column: 1/13;
      align-items: center;
      justify-items: center;
      border-top: 0.04rem solid black;
      border-bottom: 0.04rem solid black;
      height: 50vh;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
  }

  .modulo5 {
    display: grid;
    grid-template-columns: repeat(2, 50% [col-start]);
    gap: 0rem;

    .foto {
      display: grid;
      height: 25vh;
      width: 100%;
      align-items: center;
      justify-items: center;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      border: 0.02rem solid black;
      grid-column: 1/4;
    }

    #foto {
      display: grid;
      height: 50vw;
      width: 100%;
      align-items: center;
      justify-items: center;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      border: 0.02rem solid black;
      grid-column: 1/4;
    }

    .testo {
      display: grid;
      grid-column: 1/4;
      height: auto;
      width: 100%;
      align-items: center;
      border: 0.02rem solid black;
      grid-template-columns: repeat(12, 1fr);
    }

    .testo-int {
      display: block;
      grid-column: 2 / span 10;
      padding-top: 5rem;
      padding-bottom: 5rem;
    }
  }

  .modulo6 {
    display: grid;
    grid-template-columns: repeat(12, 8.33% [col-start]);
    grid-gap: 0rem;
    row-gap: 2rem;
    border-bottom: 0.02rem solid black;
    border-top: 0.02rem solid black;
    padding-top: 5rem;
    padding-bottom: 5rem;

    .foto {
      grid-column: 2 / span 10;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 4%;
      justify-content: center;
      align-items: center;
    }

    .testo {
      display: grid;
      grid-column: 2/12;
      justify-items: start;
      gap: 1rem;
    }

    .icona {
      display: flex;
      align-items: center;
      justify-items: center;
      border: 0.04rem solid black;
      height: 25vh;
    }
  }

  .modulo7 {
    display: grid;
    grid-template-columns: repeat(12, 8.33% [col-start]);
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    align-items: stretch;
    justify-content: space-between;
    border-bottom: 0.02rem solid black;
    border-top: 0.02rem solid black;

    .testo {
      display: grid;
      grid-column: 2/12;
      align-items: center;
      padding-top: 5rem;
      padding-bottom: 5rem;
      justify-items: start;
      gap: 1rem;
    }

    .foto {
      display: grid;
      grid-column: 1/13;
      grid-template-columns: repeat(12, 1fr);
      padding-top: 5rem;
      padding-bottom: 5rem;
      align-items: center;
      background-size: cover;
      border-top: 0.04rem solid black;
    }

    .fotob {
      display: grid;
      grid-column: 1 / 13;
      grid-template-columns: repeat(12, 1fr);
      padding-top: 5rem;
      padding-bottom: 5rem;
      align-items: center;
      border-left: 0.04rem solid black;
      background-repeat: no-repeat;
      background-size: cover;
    }

    .box {
      grid-column: 2 / span 10;
      display: grid;
      justify-content: center;
      align-items: center;
      background-color: white;
      padding: 8.33%;
      gap: 1rem;
      justify-items: start;
    }
  }

  .accordion-container {
    display: grid;
    grid-template-columns: repeat(12, 8.33% [col-start]);
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    align-items: stretch;
    justify-content: space-between;

    .accordion-item {
      display: grid;
      grid-column: 1/13;
    }

    .accordion-header {
      grid-column: 1/13;
      display: grid;
      grid-template-columns: repeat(12, 8.33% [col-start]);
      border-top: 0.04rem solid black;
      border-bottom: 0.04rem solid black;
      align-items: center;
    }

    .accordion-text {
      display: grid;
      grid-column: 2 / span 7;
    }

    .accordion-symbol {
      grid-column: 10 / span 3;
      align-self: stretch;
      align-content: center;
      text-align: center;
      border-left: 0.04rem solid black;
      border-right: 0.04rem solid black;
      padding: 2rem;
      font-size: 1.8rem;
      font-weight: 300;
    }

    .divider {
      display: none;
      grid-column: 2 / span 1;
      border-left: 0.04rem solid black;
      height: 100%;
    }

    .testo {
      display: grid;
      grid-column: 2/12;
      align-items: center;
      justify-items: start;
      gap: 1rem;
    }

    .icona {
      display: flex;
      grid-column: 2 / span 10;
      align-items: center;
      justify-items: stretch;
      margin-top: 2rem;
      height: 25vh;
    }
  }
}

@media (max-width: 440px) {
  .logo {
    grid-column: 2 / 12;
  }

  .menu ul {
    grid-template-rows: 1.5em 1.5em;
    row-gap: 20px;
    column-gap: 10px;
    padding-bottom: 1em;
  }

  .text-item {
    grid-column: 2/11;
  }

  .modulo2 > .foto {
    grid-column: 2 / 12;
    border: none;
  }
}

.progress-bar {
  display: block;
  width: 33%;
  height: 10%;
  max-height: 2%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  border-radius: 25px;
  box-shadow: 0px 3px 10px 3px rgba(0, 0, 0, 0.5),
    0px 0px 5px 1px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background-color: rgba(0, 0, 0, 0.5);
}

.progress-bar.hide {
  visibility: hidden;
  transition: visibility 0.3s;
}

.update-bar {
  background-color: rgba(255, 255, 255, 0.9);
  width: 0%;
  height: 100%;
  border-radius: 25px;
  float: left;
  transition: width 0.3s;
}

#ar-button {
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: 12px 50%;
  background-color: #fff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  bottom: 16px;
  padding: 0px 16px 0px 40px;
  font-family: sans-serif;
  font-size: 14px;
  color: #4285f4;
  height: 36px;
  line-height: 36px;
  border-radius: 18px;
  border: 1px solid #dadce0;
  z-index: 3;
}

#ar-button:active {
  background-color: #e8eaed;
}

#ar-button:focus {
  outline: none;
}

#ar-button:focus-visible {
  outline: 1px solid #4285f4;
}

@keyframes circle {
  from {
    transform: translateX(-50%) rotate(0deg) translateX(50px) rotate(0deg);
  }

  to {
    transform: translateX(-50%) rotate(360deg) translateX(50px) rotate(-360deg);
  }
}

@keyframes elongate {
  from {
    transform: translateX(100px);
  }

  to {
    transform: translateX(-100px);
  }
}

model-viewer > #ar-prompt {
  position: absolute;
  left: 50%;
  bottom: 60px;
  animation: elongate 2s infinite ease-in-out alternate;
  display: none;
}

model-viewer[ar-status="session-started"] > #ar-prompt {
  display: block;
}

model-viewer > #ar-prompt > img {
  animation: circle 4s linear infinite;
}
