/* Incluir la fuente Knocky-Semibold desde la carpeta 'recursos' */
@font-face {
    font-family: 'Knocky-Semibold';
    src: url('recursos/Knocky-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #000000;
    background-image: url('recursos/download.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Estilo del header */
header {
    background: rgba(255, 255, 255, 0.8); /* Fondo semi-transparente */
    color: rgb(0, 0, 0);
    padding: 20px 50px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    backdrop-filter: blur(10px);
}

header .logo {
    height: 50px;
    margin-right: 20px;
}

header .header-container {
    display: flex;
    align-items: center;
    width: 100%;
}

header h1, h3 {
    font-family: 'Knocky-Semibold', sans-serif;
    font-weight: 600;
    color: rgb(0, 0, 0);
}

header h1 {
    font-size: 2.5em;
    flex-grow: 1;
    text-align: center;
}

.card h3 {
    font-size: 1.6em;
    text-align: left;
    margin-bottom: 15px;
}

.container {
    width: 80%;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Cambié a 4 columnas */
    gap: 10px;
    margin-top: 80px;
}

/* Estilo de las tarjetas */
.card {
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.card ul {
    list-style: disc;
    margin-bottom: 20px;
    padding-left: 30px;
    font-size: 1em;
}

.card li {
    font-family: 'Roboto', sans-serif;
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: black;
    transition: color 0.3s ease;
}

a:hover {
    color: #1DF578;
}

/* Nuevo estilo para el botón de "See More" */
button.accordion {
    background: none;
    color: #000000;
    padding: 10px;
    font-size: 1em;
    border: none;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
}

button.accordion .plus-sign {
    margin-right: 8px;
    font-weight: bold;
    font-size: 1em;
}

button.accordion:hover {
    color: #1DF578;
}

.panel {
    display: none;
    padding: 10px;
    background-color: transparent;
    border-radius: 5px;
    margin-top: 10px;
}

/* Footer */
footer {
    background-color: black;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-family: 'Knocky-Semibold', sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

footer p {
    font-size: 20px;
    margin: 0;
}

.social-icons a {
    margin: 0 10px;
}

.social-icons img {
    width: 24px;
    height: 24px;
}

/* Estilo del main para añadir un espacio antes del footer */
main {
    padding-bottom: 50px; /* Añadir espacio en la parte inferior del main antes del footer */
}

/* Media Queries para Responsividad */

/* Para pantallas pequeñas, como teléfonos */
@media (max-width: 767px) {
    main {
        padding-bottom: 30px; /* Menos espacio en pantallas pequeñas */
    }
}

/* Para pantallas medianas (tabletas) */
@media (max-width: 1024px) {
    header h1 {
        font-size: 1.7em;
    }

    .container {
        width: 85%;
    }

    .grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .card {
        padding: 25px;
    }
}
