:root{
    --negro:#161616;
    --principal:#1a1c27;
    --secundario:#eccc50;
    --texto:white;
    --texto2:var(--principal);

    font-family: system-ui;
}
*, :after, :before, html {
    box-sizing: border-box;
}
body{
    background-color: #1a1c27;
    background-image: linear-gradient(180deg, #1c1e29 10%, #2b3045cf 100%);
    background-size: cover;
    width: 100dvw;
    height: 100dvh;
    margin: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.center{
    display: flex;
    align-items: center;
    justify-content: center;
}
body > .card{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width:35em;
    height: 82%;
    padding: 1%;
    background-color: #2b2f3c;
    border-radius: 40px;
    border: solid 1px #444a5dcf;
    overflow: hidden;
    box-shadow: 0px -3px 11px 0px #0e0e0e63;
}
.scroll{
    overflow-y: auto;
}
.card > #login-header{
    width: 80%;
    height: 15%;
    min-height: 8em;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: var(--texto);
}
#login-header > h1{
    font-size: 2.5em;
    margin: 0;
}
#login-header > img{
    height: 40%;
    width: auto;
}
.card > #login-body{
    display: flex;
    flex-direction: column;
    gap: 2em;
    width: 85%;
}
#login-body > .element{
    display: flex;
    flex-direction: column;
    color:var(--texto);
}
#login-body > hr{
    width: 75%;
    color: var(--secundario) !important;
    border: solid 1px;
}
.element > label{
    font-size: clamp(1rem, 1.5vw, 2.5rem);
    margin-bottom: 0.5em;
    color: whitesmoke;
}
.element > input{
    font-size: 1.2em;
    padding: 3%;
    background-color: #272934;
    border: solid 1px #444650;
    color: var(--texto);
    border-radius: 10px;
}
input:hover{
    border-color: var(--secundario);
}
input:focus-visible{
    outline-color: #eccc50;
}
#bottone1 {
    margin-top: 1em;
    padding-block: 1em;
    border-radius: 9px;
    background: var(--secundario);
    color: var(--texto2);
    border: none;
    font-size: 1.3em;
    text-align: center;
    cursor: pointer;
    transition: 0.4s;
}
   
#bottone1:hover {
    box-shadow: 7px 5px 56px -14px var(--secundario);
}
   
#bottone1:active {
    transform: scale(0.97);
    box-shadow: 7px 5px 56px -10px var(--secundario);
}
#login-body > .footer {
    display: flex;
    align-items: center;
    justify-content: center;
    color: whitesmoke;
    gap: 0.5em;
    border-top: solid 1px #6e6c6c80;
}
#login-body > .footer > img{
    height: 1.5em;
    width: auto;
}
#login-body > .mensaje{
    height: 1.5em;
    color: rgb(255, 159, 159);
    font-size: 1.2em;
    text-align: center;
}
@media (max-width:500px) and (max-height:950px){
    body > .card{
        width: 90%;
        height: 90%;
        border: 0;
    }
    .card > #login-body{
        width: 90%;
    }
    .element > input {
        font-size: 1.4em;
    }
}
@media (max-width:990px) and (max-height:450px){
    body > .card {
        width: 73%;
        height: 90%;
        border: 0;
    }
    .card > #login-header {
        width: 100%;
        height: 15%;
        min-height: 3em;
    }
    #login-header > h1 {
        font-size: 1.6em;
    }
    .card > #login-body {
        gap: 0.7em;
    }
    .element > input{
        font-size: 1em;
        padding: 1.5%;
    }
    #bottone1 {
        margin: 0 ;
        font-size: 1.1em;
        padding-block: 0.6em;
    }
}