@tailwind base;
@tailwind components;
@tailwind utilities;

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

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

h1, h2, h3, h4, h5 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
}

footer {
    font-family: 'Poppins', sans-serif;
    font-weight: 100;
}

.separator {
    display: block;
    margin: 20px auto;
    position: relative;
    height: 3px;
    width: 80%;
    margin-bottom: 60px;
}
  
.separator::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background:#01203f; /* Cambia este color si es necesario */
    z-index: 1;
    transform: translateY(-50%);
}
  
.separator::after {
    content: '';
    position: absolute;
    left: 0%;
    width: 20%;
    height: 3px;
    background: #01203f; /* Cambia este color si es necesario */
    z-index: 2;
    transform: translateY(-50%);
}

* Animación para las tarjetas al hacer hover */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Efecto de gradiente suave en el fondo */
section {
    background: linear-gradient(to bottom, transparent, rgba(243, 244, 246, 0.5));
}

/* Animación para el botón "Leer más" */
.group:hover .group-hover\:translate-x-2 {
    transform: translateX(0.5rem);
}

/* Animación para el modal */
.modal-enter {
    opacity: 0;
    transform: scale(0.9);
}

.modal-enter-active {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 300ms, transform 300ms;
}

.modal-exit {
    opacity: 1;
}

.modal-exit-active {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 300ms, transform 300ms;
}
  
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.group:active svg {
    animation: pulse 0.3s;
}

#mensaje {
    min-height: 40px; /* Altura mínima */
    max-height: 200px; /* Altura máxima */
}