/*Header*/
body{
    margin: 0;
    padding: 0;
    font-family: 'Quicksand', sans-serif;
    background-color: #f4f4f4;
}
.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 25px;
    background: linear-gradient(135deg, #8cb6e0, #00438D);
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header h1 {
    margin: 0;
    font-size: 1.5em;
    flex-grow: 1;
    text-align: center;
}

.header a{
    font-size: 1em;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.header a:hover {
    background-color: rgba(255,255,255,0.2);
}

.logo img{
    height: 60px;
    width: auto;
}

.header ol{
    list-style: none;
    display: flex;
    height: inherit;
    margin: 0;
    padding: 0;
}
.header ol li{
    height: inherit;
}
/*menu*/
.menu{
    height: inherit;
}
.menu li{
    display: inline;
}
/*Main*/
main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
/*Table*/
.tablita{
    overflow-x: auto;
    margin-bottom: 30px;
}
.tabla{
    border-collapse: collapse;
    width: 100%;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}
table tr th{
    border: 1px solid #ddd;
    padding: 12px;
    color: white;
    background-color: #9e80e2;
    text-align: center;
}
td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
}
tr:nth-child(even) {
    background-color: #f9f9f9;
}
tr:hover {
    background-color: #f1f1f1;
}
/*Form*/
form {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}
.caja{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}
.caja label{
    width: 48%;
    margin-bottom: 5px;
    font-weight: 600;
}
.caja input{
    width: 48%;
    height: 40px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Quicksand', sans-serif;
    box-sizing: border-box;
}
.submit{
    width: 100%;
    height: 45px;
    font-family: 'Quicksand', sans-serif;
    color: white;
    background-color: #291c66;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.submit:hover {
    background-color: #002b5c;
}
/*Footer*/
.footer{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    border-top: 1px solid #D5D9D9;
    background-color: #f4f4f4;
    margin-top: 20px;
}
a:link{
    text-decoration: none;
}
.social{
    width: 40px;
    height: 40px;
    margin: 0 10px;
    background-size: cover;
    border-radius: 50%;
    transition: transform 0.3s;
}
.social:hover {
    transform: scale(1.1);
}
.footer-fb{
    background-image: url('../img/facebook.png');
}
.footer-twitter{
    background-image: url('../img/signo-de-twitter.png');
}
.footer-instagram{
    background-image: url('../img/instagram.png');
}
.footer-linkedin{
    background-image: url('../img/linkedin.png');
}
/*Responsive*/
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }
    .header h1 {
        margin: 10px 0;
    }
    .caja {
        flex-direction: column;
    }
    .caja label, .caja input {
        width: 100%;
    }
    .tabla {
        font-size: 0.9em;
    }
}