body {
    overflow-x: hidden;
}

.main {
    background: var(--bg-color-primary);
}

.main *{
    transition: background .3s ease-in-out, color .3s ease-in-out;
    
}

body.dark .navbar{
    box-shadow: none;
    
}

footer {
    margin-top: 0;
}

.area{
    background: var(--bg-color-primary);
    position: fixed;
    width: 100%;
    min-height: 95vh;
    z-index: -1;
    
   
}

.circles{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: var(--border-color-20);
    animation: animate 25s linear infinite;
    bottom: -150px;
    border-radius: 1rem;
    
}

.circles li:nth-child(1){
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.circles li:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
    
}

.circles li:nth-child(3){
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
    
}

.circles li:nth-child(5){
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
    animation-duration: 22s;
}

.circles li:nth-child(6){
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
    animation-duration: 20s;
}

.circles li:nth-child(7){
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8){
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
    
}

.circles li:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
    
}

.circles li:nth-child(10){
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
    
}

@keyframes animate {

    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;

        
    }

    100%{
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;

        
    }

}








.form {
    position: relative;
    width: 100%;
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 95vh;
}

.form__container {
    padding: 1.5rem 2rem;
    display: flex;
    column-gap: 2rem;
    background: var(--bg-color-60);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color-10);
    width: 100vw;
    height: 100vh;
    max-width: 500px;
    max-height: 450px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 8px;

}



.form__container-login {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 1s ease-in-out;
}

.form__container-login.hidden {
    display: none;
    position: absolute;
}

.login-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    
}

.login-form.animate {
    animation: swapToLeft 1s ease;
}

@keyframes swapToLeft {
    0% {
        transform: translateX(0%);
    }
    49.9%, 50% {
        transform: translateX(-125%);
    }
    50%{
        transform: translateX(125%)
    }
    100% {
        transform: translateX(0%);
    }
}

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

.login-form__header {
    color: var(--border-color-primary);
    text-align: center;
    margin-bottom: var(--space-50);
}

.login-form__description {
    display: none;
    color: var(--border-color-50);
    text-align: center;
    margin-bottom: var(--space-100);
}

.login-form__description.active {
    display: block;
}

.login-form__error {
    color: var(--accent-color);
}

.login-form__error.animate {
    animation: textError .5s linear;
}

.login-form__input {
    display: none;
    border: none;
    outline: none;
    width: 100%;
    padding: .5rem;
    font-size: var(--text-size-150);
    background: none;
    color: var(--border-color-primary);
    text-align: center;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border-color-10);
    /* border-radius: .5rem; */
    /* box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 8px; */
}


.login-form__input.animate {
    animation: textError .5s 1 linear both;
}

.login-form input:-webkit-autofill{
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--border-color-primary);
    background-color: unset;
    transition: background-color 5000s ease-in-out 0s;
    
}



.login-form__input.active {
    display: block;
}

.login-form__submit {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--border-color-80);
    
    border: none;
    font-size: var(--text-size-150);
    color: var(--bg-color-primary);
    margin-top: var(--space-100);
    padding: .7rem;
    width: 80%;
    border-radius: .5rem;
    cursor: pointer;
    transition: .3s ease-in-out;
    
}


.right-arrows {
    
    width: 0;
    height: 1.7rem;
    stroke: var(--positive-color);
    margin-right: 0;
    stroke-width: 3px;
    
    cursor: pointer;
    
    transition: .3s ease-in-out;
  }
  
  
.right-arrows__first {
    opacity: 0;
    animation: arrowMovementRight 1.5s .22s  infinite;
}

.right-arrows__second {
    opacity: 0;
    animation: arrowMovementRight 1.5s  infinite;
}

.login-form__submit:hover {
    background: var(--border-color-primary);
    
}
.login-form__submit:hover .right-arrows{
    
    width: var(--space-150);
    margin-right: 1rem;
    
}


.login-form__divider {
    color: var(--border-color-40);
    margin: var(--space-70) 0;
}

.login-form__container {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: .5rem;
    width: 100%;
}

.login-form__alternative {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: .5rem;
    color: var(--border-color-60);
    text-align: center;
    width: 50%;
    border: 1px solid var(--border-color-30);
    border-radius: .5rem;
    padding: .5rem;
    transition: .15s linear;
    cursor: pointer;
}


.login-form__alternative svg {
    width: 1.5rem;
    transition: .3s ease-in-out;
    fill: var(--border-color-60);
}

.login-form__alternative p {
    
    transition: none;
}

.login-form__alternative:hover {
    border: 1px solid var(--border-color-primary);
    color: var(--border-color-primary);
}

.login-form__alternative:hover  svg{
    fill: var(--border-color-primary);
}

.login-form__alternative.active {
    border: 1px solid rgb(36, 161, 222);
    color: rgb(36, 161, 222);
    pointer-events: none;
}

.login-form__alternative.active svg {
    fill: rgb(36, 161, 222);
}

.login-form__alternative.email.active {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    pointer-events: none;
}



.login-form__alternative.email.active svg{
    fill: var(--accent-color);
}

.login-form__security {
    color: var(--border-color-30);
    text-align: center;
    margin-top: var(--space-100);
}

.login-form__security a {
    color: var(--border-color-40);
    text-decoration: underline;
}

.login-form__security a:hover {
    color: var(--border-color-80);
    
}

.login-form__security a:visited {
    color: var(--border-color-40);
}

.form__container-code {
    min-width: 100%;
    position: absolute;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form__container-code.active {
    display: flex;
    position: relative;
}

.code-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    
    opacity: 1;
    visibility: visible;
    transition: .3s ease-in-out;
}

.code-form.hidden {
    opacity: 0;
    visibility: hidden;
}

.code-form__header {
    color: var(--border-color-primary);
    margin-bottom: .5rem;
}

#auth_contact {
    display: none;
}

.code-form__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.code-form__error {
    color: var(--accent-color);
    
}

.code-form__error.animate {
    animation: textError .5s linear;
}

.code-updater {
    margin-top: 2rem;
    color: var(--border-color-primary);
    transition: none;
    opacity: 1;
    visibility: visible;
    cursor: pointer;
}



.code-updater:disabled {
    cursor: default;
    color: var(--border-color-40);
}

.code-updater.hidden {
    opacity: 0;
    visibility: hidden;
}

.verification-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 1rem;
}

.verification-container.animate {
    animation: textError .5s linear;
}

.fake-input {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--text-size-200);
    
    width: 15vw;
    height: 15vw;
    max-width: 80px;
    max-height: 80px;
    border: 1px solid var(--border-color-05);
    border-radius: 5px;
    text-align: center;
    background: var(--bg-color-secondary-40);
    font-family: monospace;
    color: var(--border-color-primary);
    position: relative;
    line-height: 40px;
    cursor: text;
}

@media (min-width:500px) {
    .fake-input {
        font-size: var(--text-size-300);
    } 
}

.fake-input.focused {
    
    
}

.fake-input.active::after {
    content: "";
    display: block;
    position: absolute;
    width: 2px;
    height: 40%;
    background-color: var(--border-color-80);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: blink 1s infinite;
}

.form__verified {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s ease-in-out;
}

.form__verified.active {
    visibility: visible;
    opacity: 1;
}

.form__verified-svg {
    max-width: 175px;
    max-height: 175px;
}

#tick {
    stroke: var(--accept-color-60);
    stroke-width: 5;
    transition: all 1s;
}

#circle {
    stroke: var(--accept-color-60);
    stroke-width: 5;
    transform-origin: 50px 50px 0;
    transition: all 1s;
}

.progress #tick {
    opacity: 0;
}

.ready #tick {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 8s ease-out forwards;
}

.progress #circle {
    stroke: var(--border-color-50);
    stroke-dasharray: 314;
    stroke-dashoffset: 1000;
    animation: spin 3s linear infinite;
}

.ready #circle {
    stroke-dashoffset: 66;
    stroke: var(--accept-color-60);
}

#circle {
    stroke-dasharray: 500;
}

@keyframes spin {
    0% { 
        transform: rotate(0deg);
        stroke-dashoffset: 66;
    } 
    50% {
        transform: rotate(540deg);
        stroke-dashoffset: 314;
    } 
    100% {
        transform: rotate(1080deg);
        stroke-dashoffset: 66;
    }
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

#check {
    width: 60%;
    height: 60%;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}


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

@media (max-height: 750px) {
    .circles li{
        animation: animateSmallScreen 25s linear infinite;
    }
    .area {
        min-height: 100vh;
        
    }
    .form {
        min-height: 100vh;
        
    }
}

@media (max-height: 650px) {
    .area {
        min-height: 120vh;
        
    }
    .form {
        min-height: 120vh;
        
    }
}

@media (max-height: 550px) {
    
    .area {
        min-height: 140vh;
        
    }
    .form {
        min-height: 140vh;
        
    }
}

@keyframes animateSmallScreen {

    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;

        
    }

    100%{
        transform: translateY(-140vh) rotate(720deg);
        opacity: 0;

        
    }

}

@media (min-width: 500px) {
    .form__container {
        border-radius: .5rem;
    }
}

