/* FOOTER */

.footer-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-1,
.footer-2,
.footer-3 {
  padding: 2rem 2rem;
}

.footer-1-content {
  padding: 0 0 2rem;
  min-width: 250px;
}

.footer-1-icons-address h3 {
  color: rgb(var(--main-yellow));
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  text-align: left;
  /* margin: 1.5rem 0 1rem; */
}

.footer-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 120px));
  justify-content: center;
  justify-items: center;
  align-items: center;
  padding: 1rem;
  gap: 0.5rem;
}

.footer-2 a img {
  max-width: 120px;
  height: auto;
  width: 120px;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  max-height: 70px;
}

.footer-content {
  text-align: center;
  color: white;
  margin-bottom: 2rem;
}

.footer-menu {
  padding: 0.8rem 0 0.5rem;
  border-bottom: 1px solid rgb(var(--dark-grey));
}

.animate .bi {
  transition: transform 0.3s ease;
  transform: rotate(0deg);
}

.rotate .bi {
  transition: transform 0.3s ease;
  transform: rotate(45deg);
}

.footer-menu a {
  color: rgb(var(--main-yellow));
  font-size: clamp(0.85rem, 1.5vw, 1rem);
}

.footer-menu ul {
  padding-top: 0.65rem;
  padding-left: 0;
}

.footer-menu ul li {
  margin-bottom: 0.5rem;
  padding-left: 0.85rem;
}

.footer-menu ul li a {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: white;
}

.footer-menu ul li a:hover {
  color: rgb(var(--light-blue));
}

.sub-footer-1-list-title a:hover {
  color: white !important;
}

.sub-footer-1-sub-list li a {
  color: rgb(var(--dark-grey)) !important;
}

.sub-footer-1-sub-list li a:hover {
  color: rgb(var(--light-blue)) !important;
}

.footer-icons {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  margin: 1rem 0;
}

.footer-icons a {
  font-size: clamp(1.25rem, 1.2vw, 1.5rem);
  color: white;
}

.footer-icons a:hover {
  color: rgb(var(--main-yellow));
}

.footer-address {
  margin-top: 1rem;
}

.footer-address p {
  color: white;
  text-align: center;
  font-weight: 300;
}

.footer-2 img {
  aspect-ratio: 2/1;
  object-fit: contain;
  width: 100%;
}

.footer-3 {
  background-color: rgb(var(--main-blue));
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  color: white;
}

.footer-3 p, .footer-3 a {
  text-align: center;
  font-size: clamp(0.65rem, 1.2vw, 0.85rem);
  color: white;
}

.footer-3 a:hover {
  color: rgb(var(--main-yellow));
}

.footer-3 span {
  display: none;
}

/* FIN FOOTER */

@media only screen and (min-width: 768px) {
  /* FOOTER */
  .footer-1 {
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 3.5rem 2rem 0;
    max-width: 1280px;
    margin: 0 auto;
  }

  .footer-content {
    display: flex;
    justify-content: space-evenly;
    flex-grow: 1;
    gap: 1rem;
    text-align: left;
  }

  .footer-icons {
    justify-content: flex-end;
    gap: 1rem;
    padding-right: 0.5rem;
    margin: 0;
  }

  .footer-address p {
    font-size: clamp(0.8rem, 1vw, 0.95rem);
    text-align: right;
    margin-bottom: 1rem !important;
    padding-right: 0.5rem;
  }

  .footer-menu-content h3 {
    margin-bottom: 1rem;
  }

  .footer-2 {
    margin-bottom: 2rem;
    gap: 1rem;
  }

  /* .footer-1-icons-address h3 {
    text-align: right;
  } */

  .footer-3 {
    flex-direction: row;
  }

  .footer-1-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .sub-footer-1 {
    grid-column: 1/2;
  }

  .footer-1-icons-address {
    grid-column: 2/3;
    grid-row: 1/6;
    margin: 0;
  }

  /* FIN FOOTER */
}

@media screen and (min-width: 834px) {
  .footer-3 span {
    display: inline-block;
  }
}

@media screen and (min-width: 1024px) {
  /* FOOTER */

  .footer-1-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    gap: 1rem;
  }

  .footer-menu {
    border-bottom: 0px;
  }

  .animate .bi {
    display: none;
  }

  .footer-menu ul li {
    padding-left: 0;
  }

  .footer-address p {

    padding-right: unset;
  }

  .footer-1-icons-address {
    display: flex;
    flex-direction: column;
  }

  .footer-1-icons-address h3 {
    text-align: center;
    /* margin: 3rem 0 1rem; */
  }

  .sub-footer-1 {
    grid-column: auto;
  }

  .footer-1-icons-address {
    grid-column: auto;
    grid-row: auto;
    padding: 0.8rem 0 0.5rem;
  }

  /* FIN FOOTER */
}
