/* index-styles.css */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    color: #333;
}

header {
    background-color: #007bff;
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 2em;
}

.container {
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

h2 {
    color: #007bff;
    margin-bottom: 30px;
}

ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

ul li {
    background-color: white;
    border: 1px solid #ddd;
    margin: 10px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: calc(33% - 40px);
    box-sizing: border-box;
    transition: transform 0.3s, box-shadow 0.3s;
}

ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

ul li h3 {
    margin-top: 0;
    color: #333;
}

ul li p {
    color: #666;
}

a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

.footer {
    background-color: #007bff;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
    margin-top: 20px;
}

/* Estilos para dispositivos móviles */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.5em;
    }

    .container {
        width: 90%;
    }

    ul li {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    ul li {
        width: calc(100% - 20px);
    }

    .container {
        width: 95%;
    }

    header {
        padding: 15px 0;
    }

    header h1 {
        font-size: 1.2em;
    }

    .footer {
        padding: 15px 0;
    }
}
