﻿@font-face {
    font-family: 'Sans';
    src: url('font/Sans.eot');
    src: local('Sans'), local('Sans'), url('font/Sans.eot?#iefix') format('embedded-opentype'), url('font/Sans.woff') format('woff'), url('font/Sans.ttf') format('truetype'), url('font/Sans.svg#Sans') format('svg');
    font-style: normal;
    font-weight: normal;
}

* {
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Sans;
    font-size: 18px;
    margin: 0;
    color: #000000;
    direction: rtl;
}

.bg-image1 {
    background-image: url("img/wallpaper/1.jfif");
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: 0.5s;
}

.logo {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 3%;
}

@media screen and (max-width: 500px) {
    .logo {
        width: 7%;
    }
}

input[type=text], input[type=password] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.btn-group {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.btn-group button {
    font-family: Sans;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    transition-duration: 0.4s;
    cursor: pointer;
    width: 49%;
    height: 50px;
    background-color: #1d4faf;
    color: white;
    border: none;
    border-radius: 10px;
}

.btn-group button:hover {
    opacity: 0.8;
}

.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}

img.avatar {
    width: 15%;
    border-radius: 20%;
}

.container {
    padding: 16px;
}

span.psw {
    float: right;
    padding-top: 16px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: rgb(254, 254, 254);
    margin: 5% auto 15% auto;
    border: 1px solid #888;
    width: 40%;
}

.close {
    position: absolute;
    right: 25px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}

.close:hover {
    color: red;
    cursor: pointer;
}

.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
    from {
        -webkit-transform: scale(0)
    }
    to {
        -webkit-transform: scale(1)
    }
}

@keyframes animatezoom {
    from {
        transform: scale(0)
    }
    to {
        transform: scale(1)
    }
}

@media screen and (max-width: 930px) {
    .modal-content {
        width: 65%;
    }

    .btn-group button {
        width: 49%;
        margin-top: 5px;
    }
}

@media screen and (max-width: 650px) {
    span.psw {
        display: block;
        float: none;
    }

    .modal-content {
        width: 80%;
    }

    .btn-group button {
        width: 90%;
        margin-top: 5px;
    }
}

.lock {
    font-size: 45px;
    cursor: pointer;
    color: gold;
    position: fixed;
    top: 50%;
    right: 5px;
}

