/* footer */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap");

.footer {
  background-color: #e1cd93;
  color: #7a1818;
  font-family: "Poppins";
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
}

.footer-container {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 20px;
  width: 100vw;
  padding-left: 40px;
  padding-right: 40px;
}

.footer-container img {
  width: 200px;
  height: auto;
  margin-bottom: 10px;
}

.social-logo {
  font-size: 50px;
  color: #3a1818;
  cursor: pointer;
  background-color: transparent;
  border: 0;
  align-content: baseline;
  margin-left: 20px;
  margin-right: 20px;
  transition: transform 0.3s ease;
}

.footer-donde-comprar {
  color: #3a1818;
  font-variant: normal;
  text-decoration: none;
  padding: 20px;
  font-size: 1.7em;
  font-weight: 600;
  transition: color 0.3s ease;
}

.social-logo:hover {
  transform: scale(1.1);
}

.footer-rights {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: -1rem;
  margin-bottom: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding-top: 0.5rem;
  width: 100%;
}

.footer-donde-comprar:hover {
  color: #9e5959;
}
/* Estilos del modal */
.modal-dc {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content-dc {
  display: flex;
  flex-direction: column;
  background-color: #f5ebc9;
  color: #5c3030;
  max-width: 800px;
  height: auto;
  padding: 20px 30px 40px 30px;
  border-radius: 20px;
}
.modal-header-footer {
  display: flex;
  flex-direction: column;

  padding: 0px 0px 0px 30px;
}
.close-dc {
  align-self: flex-end;
  margin-top: 0;
  font-weight: 900;
  font-size: 40px;
  color: #3a1818;
  cursor: pointer;
  background-color: transparent;
  border: 0;
}

.modal-header-footer h1 {
  font-size: 35px;
  padding-left: 10px;
}
.flexbox {
  display: flex;
  flex-direction: column;
  padding: 30px 40px;
  gap: 1rem;
}

.flexbox p {
  font-family: "Poppins";
  font-size: 23px;
  font-variant: normal;
  font-weight: 500;
}
@media screen and (max-width: 1600px) {
  .social-logo {
    font-size: 40px;
    padding: 0;
  }
  .footer-container img {
    width: 175px;
  }
  .footer-donde-comprar {
    font-size: 1.3rem;
  }
}
@media screen and (max-width: 1360px) {
  .social-logo {
    font-size: 40px;
    padding: 0;
  }
  .footer-container img {
    width: 160px;
  }
  .footer-donde-comprar {
    font-size: 1.5rem;
  }
  .modal-content-dc {
    width: 600px;
  }
}

@media screen and (max-width: 960px) {
  .footer {
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
  }
  .footer-index {
    position: absolute;
    margin-top: -35px;
  }
  .social-logo {
    font-size: 30px;
  }
  .footer-container img {
    width: 150px;
  }
  .footer-donde-comprar {
    font-size: 1.3rem;
  }
  .footer-rights {
    font-size: 1rem;
  }
  .modal-content-dc {
    width: 500px;
  }
  .modal-header-footer h1 {
    font-size: 30px;
  }
  .flexbox p {
    font-size: 17px;
    font-weight: 500;
  }
}
@media screen and (max-width: 730px) {
  .social-logo {
    font-size: 30px;
  }
  .footer-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  .footer-index {
    position: absolute;
    margin-top: -20px;
  }
  .footer-container img {
    width: 170px;
    padding-left: 20px;
  }
  .footer-donde-comprar {
    font-size: 1.3rem;
  }
  .footer-rights {
    font-size: 0.8rem;
  }
  .modal-content-dc {
    width: 400px;
    padding: 20px 20px 20px 30px;
  }
  .modal-header-footer h1 {
    font-size: 25px;
  }
  .flexbox p {
    font-size: 17px;
    font-weight: 500;
  }
  .close-dc {
    font-size: 25px;
  }
}

@media screen and (max-width: 500px) {
  .social-logo {
    font-size: 25px;
    margin-left: 1.1rem;
    margin-right: 0.5rem;
  }
  .footer-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  .footer-container img {
    width: 150px;
    padding-left: 20px;
  }
  .footer-donde-comprar {
    font-size: 0.9rem;
  }
  .footer-rights {
    font-size: 0.6rem;
  }
  .modal-content-dc {
    width: 320px;
    padding: 0px 0px 30px 30px;
  }
  .modal-header-footer {
    padding: 10px;
  }
  .modal-header-footer h1 {
    font-size: 22px;
  }
  .flexbox {
    padding: 10px 20px;
  }
  .flexbox p {
    font-size: 14px;
    font-weight: 500;
  }
  .close-dc {
    font-size: 25px;
  }
}
@media screen and (max-width: 390px) {
  .social-logo {
    font-size: 20px;
    margin-left: 1.1rem;
    margin-right: 0.5rem;
  }
  .footer-container img {
    width: 125px;
    padding-left: 20px;
  }
  .footer-donde-comprar {
    font-size: 0.8rem;
  }
  .footer-rights {
    font-size: 0.5rem;
  }
  .modal-content-dc {
    width: 280px;
    padding: 0px 0px 30px 15px;
  }
  .modal-header-footer {
    padding: 10px;
  }
  .modal-header-footer h1 {
    font-size: 20px;
  }

  .flexbox p {
    font-size: 13px;
    font-weight: 500;
  }
}
