@font-face {
    font-family: iransns;
    src: url("../font/iransns.ttf");
}
@font-face {
    font-family: colak;
    src: url("../font/Colak.ttf");
}

body{
    margin: 0px;
    overflow: hidden;
    padding: 0px;
    background: url("../img/wallpapersden.com_anime-girl-in-mountains-lake_1952x1120.jpg");
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    direction: rtl;
    justify-content: center;
    background-size: cover;
    font-family: iransns;
    background-attachment: fixed;
}

/* width */
::-webkit-scrollbar {
    width: 5px;
    cursor: pointer;
    
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 8px;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #bf0000;
    border-radius: 8px;
    cursor: pointer;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #900000;
  }

a{
    text-decoration: none;
    text-decoration-style: none;
  }
.login{
    width: 32%;
    position:fixed;
    top: 0;
    border-radius: 20px;
    margin-top: 20px;
    z-index: 1;
    /* backdrop-filter: blur(5px); */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 95%;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    background-color: #2c2f3a;
}
.login .top{
    width: 100%;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* border: 1px solid #fff; */
}
.login .top .title{
    width: 75%;
    margin-top: 30px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    
}
.login .top h3{
    color: #fff;
    margin-bottom: 0px;
}
.login .top img{
    border-radius: 12px;
    width: 80px;
    height: 80px;
}
.login .input{
    display: flex;
    align-items: center;
    /* margin-top: 30px; */
    justify-content: space-evenly;
    height: 60%;
    flex-direction: column;
}
.login .input form{
    display: flex;
    align-items: center;
    overflow: auto;
    justify-content: space-around;
    flex-direction: column;
    /* height: 60%; */
}
.login .input form .all{
    margin-bottom: 10px;
    width: 320px;
    border-radius: 10px;
    color: #fff;
    /* text-align: center; */
    font-family: iransns;
    outline: none;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-right: 10px;
    background-color: rgba(28, 28, 28, 0.052);
    border: 2px solid rgba(64, 64, 64, 0.624);
}
.login .input form #eye{
    margin-bottom: 10px;
    width: 320px;
    border-radius: 10px;
    color: #fff;
    /* text-align: center; */
    font-family: iransns;
    outline: none;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding-right: 10px;
    background-color: rgba(28, 28, 28, 0.052);
    border: 2px solid rgba(64, 64, 64, 0.624);
}
.login .input form #eye #eye_b{
    cursor: pointer;
}
.login .input form input{
    /* margin-bottom: 10px; */
    width: 260px;
    /* border-radius: 10px; */
    color: #fff;
    /* text-align: center; */
    font-family: iransns;
    outline: none;
    height: 40px;
    padding-right: 10px;
    background-color: rgba(28, 28, 28, 0.052);
    border: none;
    /* border: 2px solid rgba(64, 64, 64, 0.624); */
}
.login .input form input::placeholder{
    color: #fff;
}
.login .input form .all:hover{
    border: 2px solid rgb(91, 91, 91);
}
.login .input #link{
    color: rgb(255, 255, 255);
    font-weight: 100;
    /* border-bottom:1px solid #fff; */
    
}

.login .input form .button button{
    width: 160px;
    cursor: pointer;
    height: 40px;
    
    background-color: rgb(79, 151, 70);
    border-radius: 10px;
    color: #fff;
    font-family: iransns;
    border: none;
}
.login .input hr{
    width: 95%;
    opacity: 0.2;
}
.login .input .register{
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    justify-content: space-around;
}
.login .input .register h5{
    margin-left: 10px;
    margin-right: 10px;
    color: #b6b6b6;
}
.login .input #open{
    width: 160px;
    cursor: pointer;
    height: 40px;
    
    background-color: rgb(79, 151, 70);
    border-radius: 10px;
    color: #fff;
    font-family: iransns;
    border: none;
}
.alert{
    position: fixed;
    top:0px;
    z-index: 9999999999999999999999999999999999999999999999;
    right: -5000px;
    width: 260px;
    animation: showw 1s ease 1s 1 normal forwards;
    margin-top: 20px;
    border-radius: 10px;
    margin-right: 20px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    height: 80px;
    background-color: rgba(55, 55, 55, 0.871);
}

.close{
    animation: close 1s ease 1s 1 normal forwards;
    right: 0px;
}
@keyframes closees {
    0%{
        right: 0px;

    }
    50%{
        right: 30px;

    }
    100%{
        right: -5000px;
    }
    
}
@keyframes showw {
    0%{
        right: -500px;

    }
    20%{
        right: 30px;
    }
    40%{
        right: 0px;
    }
    60%{
        right: 30px;
    } 

    100%{
        right: 0px;
    }
    
}



.alert .alert_top{
    width: 100%;
    color: rgb(176, 176, 176);
    display: flex;
    align-items: center;

    justify-content: flex-end;
}
.alert .midell{
    width: 100%;
    display: flex;
    margin-top: 10px;
    align-items: center;
    justify-content: center;
}
.alert .midell h4{
    margin: 0px;
    margin-right: 5px;
    font-size: 13px;
    color: rgb(255, 0, 0);
}
.alert .midell .bi{
    margin: 0px;
    margin-right: 5px;
    font-size: 13px;
    color: rgb(255, 0, 0);
}
.alert .alert_top .bi{
    margin-left: 10px;
    margin-top: 3px;
    cursor: pointer;
}
.alert .back{
    width: 99%;
    border-radius:8px ;
    height: 4px;
    position: relative;
    top:25px;
    animation: back 4s ease 2s 1 normal forwards;
    background-color: rgb(255, 0, 0);
}

@keyframes back {

    0%{
        width: 99%;

    }
    100%{
        width: 0%;
        
    }

    
}





@media screen and (max-width:1000px){
    .login{
        width: 80%;

    }

    
}
@media screen and (max-width:650px){
    .login{
        width: 90%;

    }

    
}
@media screen and (max-width:500px){
    .login{
        width: 100%;
        margin-top: 0px;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.65);
        backdrop-filter: blur(5px);
        border-radius: 0px;

    }

    
}