/* General */
body {
    margin: 0;
    padding: 0;
    font-family: 'Quicksand', sans-serif;
    background-color: #eceeff; /* Azul muy claro */
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    height: 70px;
    border-bottom: 1px solid #6a5acd; /* Azul morado */
    margin-top: 0;
    padding-top: 0;
}

.header a {
    font-size: 1em;
    font-family: 'Quicksand', sans-serif;
    color: #6a1b9a; /* Morado fuerte */
    padding: 0 10px;
    height: inherit;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    margin-block-start: 3px;
    margin-block-end: 3px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.logo img {
    margin: 0px 0px 0px 5px;
    display: flex;
    padding: 0;
    border: 0;
}

.header ol {
    list-style: none;
    display: flex;
    height: inherit;
}

.header ol li {
    height: inherit;
}

.link:hover {
    color: white;
    background-color: #7e57c2; /* Morado claro */
    border: 0.5px solid #c7c7f9;
}

ol {
    margin: 0;
    padding: 0;
}

/* Menú */
.menu {
    height: inherit;
}

.menu li {
    display: inline;
}

/* Footer */
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    border-top: 1px solid #6a1b9a; /* Morado fuerte */
    margin-top: 0;
    padding: 1em;
    background-color: #e8eaf6; /* Azul claro */
}

a:link {
    text-decoration: none;
}

.social {
    width: 32px;
    height: 32px;
    display: inline-block;
    margin: 0 8px;
}

.footer-fb {
    background-image: url('../images/fb.ico');
    background-size: contain;
    background-repeat: no-repeat;
}

.footer-twitter {
    background-image: url('../images/twitter.ico');
    background-size: contain;
    background-repeat: no-repeat;
}

.footer-instagram {
    background-image: url('../images/instagram.ico');
    background-size: contain;
    background-repeat: no-repeat;
}

.footer-linkedin {
    background-image: url('../images/linkedin.ico');
    background-size: contain;
    background-repeat: no-repeat;
}

/* Formulario */
form {
    text-align: center;
    margin: 30px 0;
}

.caja {
    display: block;
    margin: 0 auto;
    max-width: 500px;
}

.caja label {
    font-family: 'Quicksand', sans-serif;
    margin: 0 10px 0 0;
}

.caja input {
    width: 8em;
    height: 2em;
    text-align: center;
    font-family: 'Quicksand', sans-serif;
    margin-right: 15px;
    margin-bottom: 10px;
}

.submit {
    width: 8em;
    height: 2em;
    font-family: 'Quicksand', sans-serif;
    color: white;
    background-color: #5e35b1; /* Morado fuerte */
    border: 2px solid white;
    cursor: pointer;
}

.submit:hover {
    background-color: #7e57c2; /* Morado más claro */
    border-color: #d1c4e9;
}

/* Tabla y centrado */

.tablita {
    display: flex;  
    justify-content: center;
    margin: 40px auto 20px auto;
    max-width: 600px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.tabla {
    border-collapse: collapse;
    font-family: 'Quicksand', sans-serif;
    width: 100%;
}

table tr th {
    border: 1px solid #D5D9D9;
    width: 100px;
    height: 25px;
    color: white;
    background-color: #6a5acd; /* Azul/morado */
}

td {
    border: 1px solid #D5D9D9;
    width: 100px;
    height: 25px;
    text-align: center;
}

/* Botones dentro de la tabla */
input.submit {
    font-size: 0.9em;
    padding: 0.3em 0.7em;
    margin: 0 3px;
    background-color: #5e35b1; /* Morado */
    color: white;
    border: 2px solid white;
    cursor: pointer;
}

input.submit:hover {
    background-color: #7e57c2; /* Morado claro */
    border-color: #d1c4e9;
}

/* Hover sobre filas de tabla */
.tabla tr:hover {
    background-color: #ddd6ff; /* Azul claro */
    cursor: default;
}
