#footerino {
  background-color: transparent;
  display: flex;
  justify-content: space-around;
  padding: 0rem 0 0 0;
  position: relative;
  margin-bottom: -33vh;
  z-index: 1;
}

#footerino h4 {
  font-family: "nunito sans", sans-serif;
  font-weight: 650;
  font-size: 1.4em;
  color: #2e073f;
  margin: 0 0 1rem 0;
  padding: 0 0 0 0;
}

#footerino p,
#footerino a {
  font-family: "nunito sans", sans-serif;
  font-weight: 350;
  font-size: 1.4em;
  color: #2e073f;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  line-height: 3rem;
  text-decoration: none;
}

#spaziettinoinvisibile {
  width: 2rem;
}

#pezzettologhi {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

#pezzettosocial {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

#pezzettosocial a {
  width: 35px;
  height: 35px;
}

#pezzettosocial img {
  width: 35px;
  height: 35px;
}

footer #ondina {
  background-color: #d3ddd3;
  margin-top: -10vh;
}

footer #ondina img {
  width: 100%;
  z-index: 2;
  position: relative;
  display: flex;
  padding-top: 1rem;
}

.pezzettofooter span {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  text-align: right;
}

.doppio {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}

footer .ondabella {
  width: 100%;
  overflow: hidden;
  background-color: #dde3dc;
}

footer .ondabella img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 0;
}

#pezzettofooter3 p {
  color: #7c897c;
}

@media screen and (max-width: 1380px) {
  footer {
    display: flex;
    flex-direction: column;
  }

  #footerino {
    display: grid;
    grid-template-columns: 43% 37% 17%;
    grid-template-rows: 21vh 14vh 10vh;
    background-color: #dde3dc;
    background-image: url("/assets/img/sfondoverdescuroondafooter.png");
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    grid-row-gap: 0.9rem;
    margin-bottom: 0;
  }

  #footerino h4 {
    font-size: 1em;
    margin: 2vh 2vh 0 2vh;
  }

  #footerino p,
  #footerino a {
    font-size: 1em;
    line-height: 2rem;
    margin: 0 2vh 0 2vh;
  }

  #pezzettofooter1 {
    grid-column: 1 / span 3;
  }

  #pezzettofooter2 {
    grid-column: 1 / span 2;
  }

  #pezzettofooter3 {
    grid-column: 1 / span 2;
  }

  #pezzettologhi {
    grid-column: 3;
    grid-row: 2 / span 2;
    display: flex;
    align-items: center;
  }

  #pezzettosocial {
    grid-column: 3;
    grid-row: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2vh;
  }

  footer .ondabella {
    display: none;
  }

  footer .ondabella img {
    display: none;
  }

  footer #ondina {
    background-image: url("/assets/img/ondafinalefootermobile.png");
    background-repeat: no-repeat;
    background-size: cover;
    height: 5vh;
    overflow: hidden;
    margin: 0;
    padding: 53px 0 0 0;
  }

  footer #ondina img {
    display: none;
  }

  #pezzettologhi img {
    overflow: hidden;
    min-width: 40%;
  }
}

@media screen and (min-width: 2560px) {
  #footerino {
    margin-bottom: -25vh;
    column-gap: 5vw;
    justify-content: center;
    scale: 103%;
  }

  #footerino h4 {
    font-size: 2.3em;
  }

  #footerino p,
  #footerino a {
    font-size: 1.9em;
  }

  #pezzettologhi img {
    width: 4vw;
    margin-bottom: 1vh;
  }

  footer .ondabella {
    transform: scaleY(0.8);
  }

  footer #ondina {
    margin: -11vh;
  }
}
@media screen and (max-height: 780px) {
  footer {
    display: flex;
    flex-direction: column;
  }

  #footerino {
    display: flex;
    flex-direction: column;
    background-color: #dde3dc;
    background-image: url("/assets/img/sfondoverdescuroondafooter.png");
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    grid-row-gap: 0.9rem;
    margin-bottom: 0;
  }

  #footerino h4 {
    font-size: 1em;
    margin: 3vh 0 0 3vh;
  }

  #footerino p,
  #footerino a {
    font-size: 0.8em;
    line-height: 2rem;
    margin: 0 3vh 0 3vh;
  }

  #pezzettofooter1 {
    grid-column: 1 / span 3;
  }

  #pezzettofooter2 {
    grid-column: 1 / span 2;
  }

  #pezzettofooter3 {
    grid-column: 1 / span 2;
  }

  #pezzettologhi {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  #pezzettologhi img {
    height: 3rem;
    object-fit: contain;
  }

  #pezzettosocial {
    grid-column: 3;
    grid-row: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2vh;
  }

  footer .ondabella {
    display: none;
  }

  footer .ondabella img {
    display: none;
  }

  footer #ondina {
    background-image: url("/assets/img/ondafinalefootermobile.png");
    background-repeat: no-repeat;
    background-size: cover;
    height: 5vh;
    overflow: hidden;
    margin: 0;
    padding: 53px 0 0 0;
  }

  footer #ondina img {
    display: none;
  }
}
