@font-face {
    font-family: 'Yekan';
    src: url('/fonts/Yekan.eot');
    src: url('/fonts/Yekan.eot?#iefix') format("embedded-opentype"),
        url('/fonts/Yekan.woff2') format('woff2'),
        url('/fonts/Yekan.woff') format('woff'),
        url('/fonts/Yekan.ttf') format('truetype'),
        url('/fonts/Yekan.otf') format('opentype'),
        url('/fonts/Yekan.svg#Yekan') format('svg');
    font-weight: normal;
    font-style: normal;
}

:root {
    --black: #252A34;
    --red: #FF2E63;
    --blue: #08D9D6;
    --silver: #EAEAEA;
}

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-family: Yekan, sans-serif;
}

body, html {
    height: 100%;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto
}

.form-con {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap
}

.log-con {
    display: flex;
    display: -webkit-flex;
    justify-content: space-around;
    align-items: center;
    background-image: url('../img/login_background.webp');
    background-size: cover;
    position: relative;
    overflow: hidden;
    height: inherit
}

.caform {
    background: #fff;
    width: 400px
}
.caform{
    opacity: 0;
    transform: translate(400px,0)
}
.login,.caform ,.confirm{
    position: absolute;
    background: whitesmoke;
    width: 350px;
    height: 80vh;
    min-height: 500px;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: all ease-in-out 1s;
    align-self: center
}
.confirm{
    position: unset
}
.login form,.caform form ,.confirm form{
    width: 100%
}

.fgroup {
    text-align: center;
    margin: 12px 0
}

.fgroup input, .btn {
    padding: 10px;
    border: 1px solid var(--silver);
    border-radius: 7px;
    width: 80%;
    outline: none
}

.fgroup input:focus {
    border: 1px solid var(--blue);
}

.btn {
    display: block;
    margin: auto;
    background: #0A8A99;
    cursor: pointer;
    color: #fafafa;
    font-size: 16px;
}
.sbtn,.bbtn{
    display: none;
    background: var(--silver);
    color: var(--black);
    margin-top: 16px
}
.bbtn{
    display: block
}
.btn:hover {
    background: #005D6B
}
.sbtn:hover ,.bbtn:hover{
    background: #fff
}
#resend{
    padding: 12px;
    text-align: center
}
.txt-con{
    text-align: center;
    color: whitesmoke
}
.txt-con img{
    background: #00000033;
    border-radius: 50%
}
.logo{
    width: 110px
}
.switcher{
    border: 2px solid whitesmoke;
    overflow: hidden;
    width: 302px;
    text-align: center;
    margin-top: 32px;
    color: whitesmoke;
    border-radius: 7px
}
.switch{
    display: inline-block;
    padding: 12px;
    width: 147px;
    cursor: pointer
}
.act{
    background: whitesmoke;
    cursor: default;
    color: var(--black)
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1
}

.alert {
    padding: 8px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb
}

@media (max-width:1050px) {
    .log-con{
        flex-direction: column;
    }
    .txt-con{
        display: none;
    }
    .form-con{
        justify-content: center;
    }
    .sbtn{
        display: block;
    }

}

@keyframes backanim {
    0% {border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;}
    25% {border-radius: 53% 47% 58% 42% / 42% 46% 54% 58%;}
    50%{border-radius: 22% 78% 40% 60% / 58% 26% 74% 42% ;}
    100%{ animation-direction: alternate;}
}