body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  font-family: Poppins;
}

header {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  align-items: center;
  width: 100%;
  height: 70px ;
  background-size: cover;
  background-position: center;
  padding: 15px !important;
}

main {
  width: 100%;
}

footer {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%2363C099' fill-opacity='1' d='M0,96L48,128C96,160,192,224,288,218.7C384,213,480,139,576,128C672,117,768,171,864,197.3C960,224,1056,224,1152,224C1248,224,1344,224,1392,224L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
  width: 100%;
  height: 300px;
}

.footer-social-networks {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  font-size: 20px;

  ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;        
    gap: 1rem;               
  }

  li {
    display: flex;         
  }

  svg {
    color: gray;
    transition: color 0.3s;
    width: 30px;
    height: 30px;
  }

  a:hover svg {
    color: #63C099;          
  }
}

.container-crebi {
  width: 100%;
}

.centrar-horizontal-vertical {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  padding: 2rem;
  text-align: center;     
  box-sizing: border-box;
}

.centrar-boton{
  display: flex;
  justify-content: center;
  align-items: center; 
  padding: 0.5rem;
  text-align: center;     
}

.btn-primary {
  background-color: #A46995;
  border-color: #aa5795;
}

.btn-secondary {
  background-color: #3FC38C;
  border-color: #7DCCAA;
}

.btn-primary:hover {
  background-color: #57384f;
  border-color: #aa5795;
}

.btn-secondary:hover {
  background-color: #7DCCAA;
  border-color: #7DCCAA;
}

/*Eliminar flecha del efecto acordeón*/
.accordion-button::after {
  display: none !important;
}

/*Evita que el modal en pantallas pequeña extienda un espacio en blanco a lado derecho*/
body.modal-open {
  padding-right: 0 !important;
}

p{
  font-size: 13px;
}

@media (max-width:862px) {

  p{
      font-size: 12px;
  }

  .modal-dialog {
    max-width: 90%;  /* O el ancho que prefieras, por ejemplo 80% del viewport */
    margin: 1.75rem auto; /* mantiene centrado y el margen vertical */
  }

}

@media (max-width: 768px) {
  .centrar-horizontal-vertical {
    padding: 1.5rem;
  }

}

@media (max-width: 480px) {
  .centrar-horizontal-vertical {
    padding: 1rem;
  }
  .footer-social-networks {
    font-size: 12px;

    svg {
      width: 20px;
      height: 20px;
    }

    span {
      color: white !important;
    }
  }
}

