@charset="utf-8";

/* fuente importada de google fonts */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: -webkit-fill-available;
}

body {
    background-color: #DEDEDE;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    font-family: "poppins", sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

ul li {
    list-style: none;
}

a {
    text-decoration: none;
}

/* inicio barra nav */

header {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    background-color: rgb(124,0,0);
}

.barra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    margin: 0 auto;
    padding: 1em;
}

#isotipo img {
    width: 4em;
    margin-right: 1em;
}

#logotipo img {
    width: 12em;
}

.barra nav a {
    color: white;
    padding: .5em 1em;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
} 

.barra li:hover {
    background-color: rgba(124,0,0,0.6);
}

header nav ul {
    background-color: rgba(0,0,0,0.8);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 50%;
    height: 100vh;
    padding-top: 6em;
    transition: all .6s ease;
    z-index: 9990;
}

header nav ul li {
    font-size: 1.3em;
    padding: .2em .4em;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

header nav ul li .material-icons {
    margin: .2em;
    font-size: 22px;
    line-height: 1;
    display: inline-block;
}

.visible {
    left: 50%;
    transition: all .3s ease;
}

#llamamenu {
    color: rgb(124,0,0);
    cursor: pointer;
    height: 2.5em;
    width: 2.5em;
    display: flex;
    position: relative;
    z-index: 9999;
    cursor: pointer;
    margin-left: 2.4em;
}

#llamamenu i {
    padding: 0;
    margin: auto;
}

/* fin barra nav */

/* inicio migajas */

.volver {
    display: flex;
    justify-content: left;
    align-items: center;
    margin-left: 10px;
    margin-bottom: .5em;
    margin-top: .5em;
    position: fixed;
    top: 13%;
}

.volver a {
    color: rgb(124,0,0);
    font-size: 10pt;
    font-weight: 400;
    margin-right: .2em;
    margin-left: .2em;
}

.volver .material-icons {
    color: rgb(124,0,0);
    font-size: 12pt;
}

.seccion {
    color: rgb(124,0,0);
    font-size: 10pt;
    font-weight: 600;
}

/* fin migajas */

.login-box {
    width: 320px;
    height: 420px;
    background: rgb(124,0,0);
    color: #fff;
    top: 54%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    padding: 70px 30px;
    border-radius: 20px;
}

.login-box .avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: absolute;
    top: -50px;
    left: calc(50% - 50px);
}

.login-box h1 {
    margin: 0;
    padding: 0 0 20px;
    text-align: center;
    font-size: 22px;
}

.login-box label {
    margin: 0;
    padding: 0;
    font-weight: bold;
    display: block;
}

.login-box input {
    width: 100%;
    margin-bottom: 20px;
}

.login-box input[type="text"], .login-box input[type="password"] {
    border: none;
    border-bottom: 1px solid ;
    background: transparent;
    outline: none;
    height: 40px;
    color: #fff;
    font-size: 16px;
}

.login-box button {
    border: none;
    outline: none;
    width: 100%;
    height: 40px;
    background-color: #7F7D76;
    font-size: 18px;
    border-radius: 20px;
    border-style: solid;
    border-width: 1.5px;
    border-color: white;
}

.login-box button a {
    display: flex;
    justify-content: center;
    font-size: 15pt;
    color: white;
    font-family: 'Poppins';
}

.login-box button:hover {
    cursor: pointer;
    background-color: dimgray;
    color: #000;
}

.login-box a {
    text-decoration: none;
    font-size: 12px;
    line-height: 20px;
    color: white;
}

.login-box a:hover {
    color: black;
}

.boton {
    display: flex;
    justify-content: center;
}

.boton a {
    border-radius: 100px;
    border-color: white;
    padding: 2px;
    width: 250px;
    background-color: white;
    color: rgb(124, 0, 0);
    display: flex;
    justify-content: center;
    font-size: 20px;
}

footer {
    display: flex;
    justify-content: center;
    background-color: rgb(124,0,0);
    color: white;
    font-size: .6em;
    padding: 10px;  
}

footer a {
    text-decoration: none;
    color: beige;   
    text-align: center;
}

@media screen and (min-width: 700px){
    .login-box {
        width: 50%;
}
    #llamamenu {
        display: none;
}
    header nav ul {
        display: flex;
        flex-wrap: wrap;
        background: none;
        position: relative;
        height: auto;
        width: 100%;
        left: auto;
        padding-top: 0;
}
    .visible {
        left: 0;
}
    header nav ul li {
        font-size: .8em;
}
    .barra nav a {
    padding: .5em .2em;
} 
    #isotipo {
        display: none;
}
    #logotipo img {
        width: 10em;
}  
}

@media screen and (min-width: 800px){
    header nav ul li {
        font-size: .95em;
}
    .barra nav a {
        padding: .5em .2em;
} 
    #logotipo img {
        width: 11em;
}
}

@media screen and (min-width: 900px){
    .login-box {
        width: 50%;
}
}

@media screen and (min-width: 1000px)
{
    header nav ul li {
        font-size: 1em;
}
    .barra nav a {
        padding: .5em .2em;
} 
    #logotipo img {
        width: 13em;
}
}

@media screen and (min-width: 1200px){
    .login-box {
        width: 50%;
}
     header nav ul li {
        font-size: 1em;
}
    .barra nav a {
        padding: .5em .2em;
} 
    #logotipo img {
        width: 13em;
}
}

