:root{
    --second-bg-color : #3c3c38ff;

    --second-txt-color : #7a7a6f;
}


@font-face {
    font-family: 'rubik';
    src: url('../fonts/Rubik-VariableFont_wght.ttf');
}

@keyframes transicion {
    0%{
        width: 100%;
        height: calc(100vh);
        top:50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    100%{
        width: 100%;
        height: calc(100vh);
        top:50%;
        left: -50%;
        transform: translate(-50%, -50%);
    }
}

.transicion{
    background-color: #2934ff;
    width: 100%;
    height: calc(100vh);
    position:absolute;
    top:0;
    left: 0;
    z-index: 99999;

    animation: transicion 0.5s ease-in-out forwards;
    transition: all 0.5s ease;
}

#transicion__logo{
    width: 80px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

html{
    background-color: black;
    font-family: 'rubik';
}

.flex__container{
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
}

.flex__item{
    height: calc(50vh);
    width: 100%;
    position: relative;
}

.logo__container{
    text-align: center;
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2em;
    font-weight: 500;
}

body{
    margin-bottom: 0;
    margin-top: 0;
    
    text-align: center;
}


#logo{
    width: 60px;
}
form{
    width: 100%;
}


.flex__input{
    display: flex;
    flex-direction: row;
    background-color: var(--second-bg-color);
    border-radius: 10px;
    
    margin-left: 10px;
    margin-right: 10px;
    padding: 10px 20px 10px 20px;
    margin-bottom: 15px;
    position:relative;
    
}

a{
    color:white;
    font-size: 0.8em;
    
}

.flex__input:focus{
    border-style: solid;
    outline:#2934ff;
    border-color: #2934ff;
}

.flex__input:focus-within {
    border-style: solid;
    outline:#2934ff;
    border-color: #2934ff;
}

.flex__input:focus-visible{
    border-style: solid;
    outline:#2934ff;
    border-color: #2934ff;
}

input{
    background-color: var(--second-bg-color);
    border-radius: 10px;
    padding:6px 10px 6px 10px;
    border-style: none;
    font-size: 1.3em;
    color:white;
    margin-left:50px;
    width: calc(100% - 70px);
    outline: none;
}

input::placeholder{
    color:#bbb;
}

input:focus{
    border-style: none;
    outline: none;
}

input:focus-visible{
    border-style: none;
}

.center-icon{
    position:absolute;
    top:50%;
    transform: translateY(-50%);
}


form button{
    width: calc(100% - 20px);
    color: white;
    border-radius: 25px;
    background-color: #2934ff;
    margin: 10px 10px 0px 10px;
    font-size: 1.5em;
    padding:15px 0px 15px 0px;
    border-style: none;

}

#continuar{
    margin-bottom: 30px;
}


@keyframes transicion_inv {
    0%{
        width: 100%;
        height: calc(100vh);
        top:50%;
        left: -50%;
        transform: translate(-50%, -50%);
    }
    100%{
        width: 100%;
        height: calc(100vh);
        top:50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.transicion_activa{
    animation: transicion_inv 0.5s ease-in-out forwards !important;
}