@import url('/static/css/fonts.css');
body {
    direction: rtl;
    font-family: ShabnamBold;
    user-select: none;
    background-image: url('/static/img/background-login.jpg');
    background-position: center;
    background-size: cover;
    overflow: hidden;
    height: 100vh;
}

.links-button {
    text-align: center;
    margin: 50px 0px;
}

.row {
    margin: 100px auto !important;
    text-align: center;
    background: #ffffffbd;
    box-shadow: 1px 1px 30px 1px #013137;
    border-radius: 5px;
    padding: 30px;
    max-width: 300px;
}

a {
    background-color: #bd2130;
    border-radius: 10px;
    display: block;
    color: #fff;
    margin: 10px auto;
    width: 90%;
    height: 50px;
    line-height: 3;
    transition: 0.3s;
    --animate-duration: 2s;
}

a:hover {
    border-radius: 7px;
    width: 95%;
}

img {
    width: 400px;
    --animate-duration: 2s;
    --animate-delay: 20s;
    box-shadow: 1px 1px 20px 1px #150b5f7d;
    border-radius:20px !important;
}

.label-form-field {
    display: block;
    text-align: right;
    font-family: Shabnam;
    margin: 10px;
    color:#218695 !important;
}

input {
    height: 25px;
    width:140px;
    border: none;
    border-radius: 5px;
    padding: 3px 10px;
    direction: ltr;
    font-family: ShabnamBold;
}

input[type=submit] {
    cursor: pointer;
    font-family: Shabnam;
    text-align: center;
    background-color:#158795;
    color:#fff;
    display:block;
    margin:auto;
    width:50px;
    height:35px;
}

#label-form {
    text-align: right;
    background-color: #FF9800;
    width: 62px;
    padding: 5px;
    border-radius: 5px;
}

#id_username {
    font-family: none !important;
}

.form-error {
    border-radius: 5px;
    color:#132067 !important;
}

.animate__animated.animate__swing {
    --animate-duration: 2s;
  }

.logo-form{
    width:50%;
    border-radius:50px;
}


#LoginImg { 
    animation-name: floating;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    margin-left: 30px;
    margin-top: 5px;
}
 
@keyframes floating {
    0% { transform: translate(0,  0px); }
    25%  { transform: translate(3px, 3px); }
    50%  { transform: translate(0px, 3px); }
    50%  { transform: translate(-3px, -3px); }
    75%  { transform: translate(3px, 0px); }
    100%   { transform: translate(0, -0px); }   
}

@media only screen and (max-width: 500px) {
    img {
        width: 100%;
    }
    .row {
        border-radius: 15px;
        margin: 50px margin;
    }
}