@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@600&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Nunito Sans', 'sans-serif';
    background: rgba(217, 226, 236);
}

h1{
    text-align: center;
    padding: 20px;
    font-size: 40px;
    color: rgb(56, 56, 56);
}

/* float: center;
    position: relative;
    
    h1 span{
    position: absolute;
    right: 0;
    width: 0;
    border-left: 1px solid #000;

    animation: escribir 5s infinite alternate steps();

}

@keyframes escribir{
    from{
        width: 100%;
    }
    to {
        width:  0;
    }
}*/

#fecha{
    text-align: center;
    color: rgb(148, 148, 148);
    font-weight: normal;
    font-size: 30px;
}

.container{
    width: 700px;
    background: white;
    padding: 20px;
    margin: auto;
    margin-top: 20px;
}

.access{
    color: rgb(159, 69, 9);


}

.dni{
    text-align: center;
    font-size: 25px;
    margin-bottom: 20px;
}

input{
    width: 100%;
    padding: 40px;
    outline: none;
}

.botoms{
    display: flex;
    margin-top: 20px;
}

.entrada{
    background: rgb(0, 196, 0);
    width: 100%;
    padding: 25px 35px;
    color: white;
    text-align: center;
    text-decoration: none;    
}

.salida{
    background: rgb(254, 3, 3);
    width: 100%;
    padding: 25px 35px;
    color: white;
    text-align: center;
    text-decoration: none;   
}

.posi{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.switchD{
    background-color: #3494b1;
    display: flex;
    position: relative;
    cursor: pointer;
    outline: none;
    border: none;
    border-radius: 1rem;
    align-items: center;
    justify-content: space-between;
}

.switchD span{
    width: 30px;
    height: 30px;
    line-height: 30px;
    display: block;
    color: #fff;
    background: none;
}

.switchD::after{
    display: block;
    background: #fff;
    width: 1.8rem;
    height: 1.8rem;
    position: absolute;
    top: 0;
    left: 0;
    right: unset;
    border-radius: 50%;
    transition: all .5s ease;
    box-shadow: 0 0 1.5px rgba(0, 0, 0, .5);
    content: "";
}

.switchD.active{
    background: #fdd384;
}

.switchD.active::after{
    left: unset;
    right: 0;
}

body.dark{
    /*background: #222;*/
    background-image: url(../img-inicio/nhl-dark.jpg);
    color: #fff;
}

body.dark h1{
    color: #fff;
}

body.dark p{
    color: #000;
}