/* Importing a Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* General styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

/* Header styles */
header {
    background-color: #2E044F; /* Un tono púrpura más vibrante */
    color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
   
}

header h1 {
    margin: 0;
    font-size: 2.5rem; /* Tamaño relativo */
    font-weight: 600;
}

/* Main content styles */
main {
    padding: 30px;
    max-width: 900px;
    margin: 40px auto;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    transition: transform 0.3s ease-in-out;
}


/* Section styles */
section {
    margin-bottom: 30px;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #2E044F; /* A juego con el header */
    font-weight: 600;
}

section p, section ul {
    font-size: 1rem;
    color: #555;
}

section ul {
    padding-left: 20px;
}

section ul li {
    margin-bottom: 10px;
}

/* Button styles */
button {
    background-color: #4B0082;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

button:hover {
    background-color: #3A0066;
}

/* Responsive design */
@media (max-width: 768px) {
    main {
        padding: 20px;
        margin: 20px;
    }

    section h2 {
        font-size: 1.5rem;
    }

    header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    main {
        padding: 15px;
        margin: 15px;
    }

    section h2 {
        font-size: 1.3rem;
    }

    header h1 {
        font-size: 1.7rem;
    }
}
