.log-reg-body{
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    height: 105vh;
}

.mirror{
    flex-direction: row-reverse;
}
.mirror-log{
    animation:moveright 1s ;
}

.mirror .log-reg-container{
    animation: moveleft 1s;
}

.log-reg-body img{
    z-index: -1;
    width: 48rem;
    
    justify-self: flex-start;
    margin-bottom: 150px;
}

.log-img{
    animation: moveleft 1s ;
}

.reg-img{
    animation: moveright 1s;
}

.log-reg-container{
    margin: 20px 10px;
    border-radius: 20px;
    padding: 1.5rem;
    /* border: 1px solid black;
    box-shadow: 0 0 10px black; */
    background: transparent;
    height: fit-content;
    width:40vw;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: scale 0.4s ease;
}

.log-reg-container h2{
    margin-bottom: 30px;
    font-size: 3rem;
    width: fit-content;
    justify-self: flex-start;
}

.log-reg-form{
    width: 100%;
    display: flex;
    flex-direction: column;
}
.log-reg-form .input{
    margin-bottom: 25px;
    padding: 1rem;
    font-size: 1rem;
    height: auto;
    outline: none;
    border: 2px black solid;
    background:transparent;
    transition: all 0.2s ease;
    scale:1;
}
.log-reg-form .input::placeholder{
    color:black;
}


.log-reg-form .input:focus{
    scale:1.06;
    background: black;
    color:white;
}
.log-reg-form .input:focus::placeholder{
    color: whitesmoke;
}

.log-reg-button{

    font-weight:bold;
    margin-bottom: 10px;
    padding: 1.5rem;
    font-size: 2rem;
    outline: none;
    border: 2px black solid;
    background: transparent;
    transition: all 0.25s ease;
}
.log-reg-button:hover{
    scale: 1.05;
    color: beige;
    background-color: black;
}

.not-log-reg{
    padding: 10px;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.log-reg-redirect{
    border-radius: 10px;
    padding: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    transition:all 0.4s ease;
    overflow: hidden;

}
.log-reg-redirect div{
    animation: shake 0.8s infinite;
}
.log-reg-redirect:hover{
    color: beige;
    background-color: black;
}
.log-reg-error{
    padding: 1em;
    font-size: 1rem;
    font-weight: bold;
    color:rgb(239, 66, 66);
    animation: disappear 1s forwards;
    animation-delay: 8s;
}


/* -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
/* animations */
@keyframes shake {
    0%{
        transform: translateX(2%);
    }

    50%{
        transform: translateX(-2%);
    }

    100%{
        transform: translateX(2%);
    }

}

@keyframes fadein {

    0%{
        scale:1;
    }
    10%{
        scale: 1.1;
    }

    50%{
        scale: 1;
    }
}

@keyframes moveright{
    0%{
        transform: translateX(-100%);
    }
    100%{
        transform: translateX(0);
    }
}

@keyframes moveleft{
    0%{
        transform: translateX(100%);
    }
    100%{
        transform: translateX(0);
    }
}

@keyframes disappear {
    0%{
        scale:1;
    }
    55%{
        scale:1.3;
    }
    60%{
        scale:1.2;
    }
    100%{
        scale:0;
    }
}

/* ------------------------------------------------------------------------------------------------------------------------------------------------ */
/* media-queries */
@media (max-width:768px) {
    .log-reg-container{
        width: min(100%, 500px);
        margin: auto;
        justify-self: center;
    }
    .log-reg-body img{
        position: absolute;
        align-self: center;
        justify-self: center;
        left: 2%;
        margin: auto;
        width: auto;
        
    }
    
}

@media (max-width:219px) {
    .log-reg-container h2{
        font-size: 200%;
    }

    .log-reg-button{
        font-size: 20px;
    }
}