@import url('https://fonts.googleapis.com/css2?family=Tajawal&display=swap');

:root {
    /* --main-color: #7e9eb0 */
    /* --main-color: #36A6DE; */
    /* --main-color: #21739d; */
    --main-color: #116e63;
    /* #0075ff */
    /* --shapes-color: #36a6de07; */
    --shapes-color: #36a6de11;
}



section hr {
    width: 50%;
    margin-bottom: 20px;

}

section .signInBox {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    padding: 50px;
    position: relative;
    color: #333;
    box-shadow: 0 0 5px #333;

}

section .signInBox span {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #eee;
    border-radius: 10px;
    z-index: -1;
    opacity: 0.5;
    height: 100%;
    width: 100%;
}

section .signInBox label {
    font-weight: 700;
    font-size: 20px;
}

section .signInBox input[type="password"] {
    padding: 10px;
    border-radius: 10px;
    border: 0.5px solid #888;
    font-size: 20px;
    /* background-color: #aaa; */
}

section .signInBox input[type="password"]:hover {
    border-color: var(--main-color);
}

section .signInBox button {
    padding: 10px;
    border-radius: 30px;
    cursor: pointer;
    border: 1px solid var(--main-color);
    background-color: var(--main-color);
    color: #eee;
    font-size: 20px;
}

section .signInBox button:hover {
    background-color: #eee;
    color: var(--main-color);
    border: 1px solid var(--main-color);
    box-shadow: 0px 0px 5px var(--main-color);
}

section .signInInputs {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 10px;
}

section .signInBox .signOutButton {
    background-color: #6e1111;
    border-color: #6e1111;
}

section .signInBox .signOutButton:hover {
    background-color: #eee;
    color: #6e1111;
    border: 1px solid #6e1111;
    box-shadow: 0px 0px 5px #6e1111;
}

/* Looding */
/* from https://codepen.io/MOHAMMED_ALSIDDIG/pen/JjvBeKw  with some changes :)*/

.loader-body {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    border-radius: 300px;
    /* position: relative; */
    position: fixed;
    border: 1px solid rgb(228, 223, 223);
    background-color: rgb(228, 223, 223);
    box-shadow: 1px 1px 25px 1px var(--main-color);
    z-index: 10;
}

.loader-title {
    color: var(--main-color);
    font-size: 25px;
    letter-spacing: 10px;
    text-transform: uppercase;
    opacity: 0.8;
    -webkit-animation: 5s title-anim linear infinite;
    animation: 5s title-anim linear infinite;
}

.loader-arrow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: rotate(0deg);
    opacity: 0.5;
    -webkit-animation: 5s rotae-arrow linear infinite;
    animation: 5s rotae-arrow linear infinite;
}

.loader-arrow::before {
    content: "";
    position: absolute;
    width: 25px;
    height: 20px;
    top: -10.4px;
    left: 50%;
    transform: rotateX(-50%);
    background-color: var(--main-color);
    -webkit-clip-path: polygon(0% 0%, 100% 45%, 0% 98%, 24% 49%);
    clip-path: polygon(0% 0%, 100% 45%, 0% 98%, 24% 49%);
}


.looding {
    /* display: flex; */
    display: none;
    justify-content: center;
    align-items: center;
    /* position: absolute; */
    position: fixed;
    right: 0;
    top: 0;
    
    width: 100%;
    height: 100%;

    background-color: #eee;
    /* cursor: auto; */
    -webkit-animation-name: looding;
    animation-name: looding;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
}


@-webkit-keyframes title-anim {
    0% {
        letter-spacing: 3px;
    }

    50% {
        letter-spacing: 1px;
    }

    100% {
        letter-spacing: 3px;
    }
}


@keyframes title-anim {
    0% {
        letter-spacing: 3px;
    }

    50% {
        letter-spacing: 1px;
    }

    100% {
        letter-spacing: 3px;
    }
}

@-webkit-keyframes rotae-arrow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotae-arrow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media screen and (max-width:425px) {
    section .signInBox {
        width: 90%;
    }

    section .signInInputs {
        flex-direction: column;
        position: relative;

    }

    section .signInInputs button {
        margin-top: 10px;
        padding: 10px 15px;
    }

    section .signInInputs input[type="password"] {
        width: 100%;
        background-color: #eee;
    }

    section .container h1 {
        font-size: 30px;
        /* width: 100%; */
    }

    section .signInBox label {
        /* display: none; */
        font-size: 10px;
        position: absolute;
        top: -7px;
        right: 5px;
        background-color: #eee;
        border-radius: 20px;
    }
}