@import url('fwd-forms.css');


:root {
    --time-duration: 2s;
    --customh: 300px;
}


body {
    font-size:1rem;
    font-family: var(--fwd-font-family);
}

* {
    margin: 0;
    padding: 0;
}


.circle {
    display: none;
}


#header {
    overflow: hidden;
    height: 300px;
    position: relative;
}

#header #bgStroke {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    width: 500px;
    height: 500px;
    transform: translate(-50%, -50%);
    fill: none;
    stroke: rgba(0, 0, 0, 1);
    stroke-miterlimit: 0;
    stroke-dasharray: 0;
    stroke-dasharray: 4190.830078125;
    stroke-dashoffset: 0;
    stroke-width: .3px;

}


.header-outline-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    fill: none;
    stroke: rgba(0, 0, 0, 1);
    stroke-miterlimit: 0;
    stroke-dasharray: 0;
    stroke-dasharray: 4190.830078125;
    stroke-dashoffset: 4190.830078125;
    stroke-width: .3px;
    transform: scale(.1) rotate(10deg) translate(-50%, -50%);
    animation:
        draw 10s linear alternate infinite,
        rotate360 10s ease-in-out alternate infinite;
}

@keyframes rotate360 {
    to {
        transform: scale(.1) rotate(360deg) translate(-50%, -50%);
    }
}

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




#login {
    opacity: 0;
    background: linear-gradient(to bottom right, rgb(2, 90, 161, .8), rgb(6, 140, 171, 1));
    min-height: calc(100vh - var(--customh) - 100px);
    padding: 50px;
    animation: fadein 1s 2.5s ease-in-out 1 normal forwards;

}

.login-form-body {
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
}

.login-form-body .btn-login {
    --varheight: 60px;
    text-align: center;
    margin: 20px auto;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0);
    transition: all 1s;
    width: var(--varheight);
    height: var(--varheight);
    line-height: var(--varheight);
    display: flex;
    place-items: center;
}

.login-form-body .btn-login:hover {
    background-color: rgba(255, 255, 255, .8);
    transition: all 1s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);

}

.login-form-body .btn-login .material-symbols-outlined {
    color: #fff;
    font-size: 2rem;
    margin: auto;
    cursor: pointer;
    transition: all 1s;
    background:none;
    border:0;
}

.login-form-body .btn-login:hover .material-symbols-outlined {
    color: rgb(2, 90, 161, .7);
    transition: all 1s;
}

input:focus::-webkit-input-placeholder {
    color: transparent;
}

input:focus:-moz-placeholder {
    color: transparent;
}

/* Firefox 18- */
input:focus::-moz-placeholder {
    color: transparent;
}

/* Firefox 19+ */
input:focus:-ms-input-placeholder {
    color: transparent;
}

/* oldIE ;) */



.fwd-form-container {
    display: flex;
    gap: 10px;
    flex-direction: column;
}


.fwd-input-container input[type=email],
.fwd-input-container input[type=password],
.fwd-input-container input[type=text] {
    border: 1px solid rgb(2, 90, 161, .5);
    border: 1px solid #fff;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); */
    border-radius: 5px;
    height: 40px;
    width: 100%;
    /* background: linear-gradient(to bottom right, rgb(255, 255, 255), rgba(255, 255, 255, .6)); */
    text-align: center;
    font-size: .9rem;
    color: #000;
    font-weight: 400;
    outline: 0;
}



.logo {
    margin: 0 auto;
    position: relative;
    display: block;
    width: var(--customh);
    height: var(--customh);
    display: grid;
    align-items: center;
}

.logo::after {
    content: '';
    inset: 30px;
    border-radius: 50% 30% 40% 10px;
    background: linear-gradient(to bottom right, rgb(2, 90, 161), #02bae3);
    opacity: .9;
    display: grid;
    align-items: center;
    position: absolute;
    z-index: -1;
    transform: scale(0) rotate(100deg) translateX(10px);
    animation:
        pop var(--time-duration) cubic-bezier(0.175, 0.885, 0.32, 1.675) 1 normal forwards,
        fade calc(var(--time-duration)/3) var(--time-duration) ease 1 normal forwards;
    box-shadow: 0 0 10px rgba(2, 4, 124, 0.4);
}

.logo-fard {
    margin: 0 auto;
    width: 30%;
    opacity: 0;
    display: block;
    animation:
        rotate var(--time-duration) cubic-bezier(0.175, 0.885, 0.32, 1.275) 1 normal forwards,
        fadein calc(var(--time-duration)/4) ease-in 1 normal forwards;
    transform: translate(10px, 10px) rotate(160deg);
}

#outline {
    transform: translateX(10px);
}

.fard-letter {
    fill: black;
    opacity: 0;
}

.fard-f {
    animation: fadein 2s 2.5s ease-in-out 1 normal forwards;
}

.fard-a {
    animation: fadein 2s 2.7s ease-in-out 1 normal forwards;
}

.fard-r {
    animation: fadein 2s 2.9s ease-in-out 1 normal forwards;
}

.fard-d {
    animation: fadein 2s 3.1s ease-in-out 1 normal forwards;
}


.fard-outline {
    fill: none;
    stroke: #ffffff;
    stroke-miterlimit: 10;
    stroke-dasharray: 0;
    stroke-dasharray: 2053.7607421875;
    stroke-dashoffset: 2053.7607421875;
    animation:
        draw calc(var(--time-duration)*1.5) ease-in-out 1 normal forwards,
        outline calc(var(--time-duration)*1.5) ease 1 normal forwards,
        toblack calc(var(--time-duration)/5) var(--time-duration) ease 1 normal forwards;
    stroke-width: 1pt;
}


.fard-solid {
    opacity: 0;
    fill: none;
    stroke: url(#gradient2);

    /* stroke: rgb(5, 63, 150); */
    stroke-miterlimit: 10;
    stroke-width: 17px;
    stroke-dasharray: 0;
    stroke-dasharray: 529.8300170898438;
    stroke-dashoffset: 529.8300170898438;
    animation:
        draw var(--time-duration) ease-in-out 1 normal forwards,
        fade calc(var(--time-duration)/6) var(--time-duration) ease 1 normal forwards;
}

@keyframes pop {
    to {
        transform: scale(.7) rotate(0deg) translateX(10px);
    }
}




@keyframes toblack {
    to {
        stroke: #000;
    }
}

@keyframes outline {
    to {
        stroke-width: 2pt;
    }
}

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



@keyframes fadein {
    to {
        opacity: 1;
    }
}

@keyframes fade {
    to {
        opacity: 0;
    }
}

@keyframes rotate {
    to {
        transform: translate(5px, 0) rotate(0deg);
    }
}
