/* Estilos Generales */
body {
    font-family: 'Arial', sans-serif;
    background-color: #1e1e2f;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    flex-direction: column;
}

HTML {
    scroll-behavior: smooth;
}

/* Estilos para las Listas Ordenadas */
ol {
    background-color: #2a2a3b;
    padding: 15px;
    border-radius: 8px;
    list-style-type: none;
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

ol li {
    padding: 12px 25px;
    cursor: pointer;
    border-radius: 5px;
    text-decoration-color: #ffffff;
    background-color: #3a3a4f;
    transition: background-color 0.3s, transform 0.2s;
}

ol li:hover {
    background-color: #4a90e2;
    transform: scale(1.05);
}

ol li:active {
    background-color: #e94e77;
}

/* Quitar el subrayado de las opciones del menú de navegación */
ol li a, ul li a {
    color:#ffffff;
    text-decoration: none;
}

/* Estilos para las imagenes */
img {
    width: 60px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Estilos para las secciones */
#css, #javascript {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background-color: #2a2a3b;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#css {
    margin-bottom: 30px; /* Agrega espacio debajo de la sección CSS */
}

#javascript {
    margin-top: 30px; /* Opcional: Agrega espacio encima de la sección JavaScript */
    margin-bottom: 30px;
}

/* Estilos de la tabla */
table {
    margin: 20px auto;
    border-collapse: collapse;
    width: 90%;
    max-width: 800px;
    background-color: #2a2a3b;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

table th, table td {
    padding: 15px;
    border: 1px solid #444;
    text-align: center;
    color: #ffffff;
}

table th {
    background-color: #4a4a5f;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #3a3a4f;
}

table tr:hover {
    background-color: #4a90e2;
    color: #ffffff;
    transition: background-color 0.3s;
}

#tabla table tr td img {
    width: 120px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
