:root{
    --main-color: #212272;
    --second-color: #3e3f77;
}
*{
    margin: 0;
    font-family: 'Quicksand', sans-serif;
}
/* Mensajes de error */
.uploaded{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.uploaded p{
    text-align: center;
}
.uploaded img{
    width: 150px;
}
p.success,
p.error {
    color: white;
    font-family: lato;
    background: yellowgreen;
    padding: 2px 10px;
    font-family: 'Quicksand', sans-serif;
    text-align: center;
}
 
p.error {
    background: orangered;
}

/* Header */
.header{
    width: 100%;
    height: 60px;
    background-color: var(--main-color);
}
.header img{
    width:70px;
    height: 60px;
}
h1{
    text-align: center;
}

/* Formulario principal */
.main{
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.login-header{
    display: flex;
    justify-content: space-between;
}
.logo-uni img{
    margin-top: 40px;
    max-width: 200px;
}
.formulario{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}
.formulario input[type="text"],
.formulario input[type="password"]{
    margin: 5px;
    width: 300px;
    height: 30px;
    border-style:solid;
    border-radius:5px;
    border: solid 1px #e1e1e1;
    padding: 4px;
}
.formulario input[type="text"]:focus,
.formulario input[type="password"]:focus{
    box-shadow: 0 0 4px var(--main-color);
    outline: none;
}
.formulario input[type="submit"]{
    border: none;
    width: 300px;
    text-align: center;
    padding: 10px;
    background-color: var(--main-color);
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    transition: background-color .3s ease;
    border-radius: 4px;
    margin-top:10px;
}
.formulario input[type="submit"]:hover{
    background-color: var(--second-color);
    cursor: pointer;
}
@media (max-width:600px){
    .main{
        flex-direction: column;
    }
    .logo-uni img{
        display: none;
    }
}

/* Footer */
.footer-div{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom:0;
    width: 100%;
    height: 30px;
    color: #fff;
    background-color: var(--main-color);
}
/* Formulario de subida de archivos */
.uploadform{
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
/* 
input[type="file"]{
    display: none;
}

.fileupload{
    background-color: var(--main-color);
    display: inline-block;
    padding: 10px;
    color: #fff;
    border-radius: 3px;
    transition: background-color .3s ease;
}
*/
.fileupload:hover{
    background-color:var(--second-color);
    cursor: pointer;
}

input[type="file"]{
    text-transform: uppercase;
    font-weight: bold;
    color: var(--main-color);
}

input[type="submit"]{
    background-color: var(--main-color);
    display: inline-block;
    padding: 10px;
    color: #fff;
    border-radius: 3px;
    transition: background-color .3s ease;
}