/*************[start global system]******************/
/*
--- 01 TYPOGRAPHY SYSTEM

- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Font weights
Default: 400
Medium: 500
Semi-bold: 600
Bold: 700


--- 07 WHITESPACE

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

*/
/* .dark:root {
    --main-bg: #1F2125;
    --second-bg: #16171B;
    --font-dark: #fff;
    --font-light: #ebebeb;
} */

.dark .content {
    background: var(--second-bg);
}

:root {
    --main-color: rgb(54, 178, 232);
    --main-bg: #fff;
    --main-brown: #208cbb;
    --second-bg: #fff;
    --font-dark: #090909;
    --font-light: #959595;
    --shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px;
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    list-style: none;
    word-wrap: break-word;

    font-family: "cairo";
}

html {
    /* font-size: 10px; */
    /* 10px / 16px = 0.625 = 62.5% */
    /* Percentage of user's browser font-size setting */
    font-size: 62.5%;
}

body {
    line-height: 1.6;
    font-weight: 500;
    font-size: 14px;
    text-transform: capitalize;
    color: var(--font-dark);
    background: #ceeeff;
    overflow-x: hidden;
    transition: 0.4s all ease;
    margin: 0 auto;
}

::-moz-selection {
    background-color: var(--main-color);
    color: #fff;
    text-shadow: none;
}

::selection {
    background-color: var(--d-yellow-color);

    color: #fff;
    text-shadow: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    color: var(--font-dark);
    line-height: 1.6;
}

p {
    color: var(--p-color);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

ul {
    margin: 0;
}

span,
a,
a:hover {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.section-padding {
    padding: 8rem 0;
}

.ontop {
    position: relative;
    z-index: 4;
}

.position-re {
    position: relative;
}

.bg-img {
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-fixed {
    background-attachment: fixed;
}

/******* start login icons ********/

.icons {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.backgroundRow {
    position: relative;
    width: 100%;
    display: flex;
    padding: 0px 0;
    white-space: nowrap;
    font-size: 65px;
    top: -65%;
    transform: rotate(-30deg);
    right: -5%;
}

.backgroundRow i,
.backgroundRow svg {
    color: #37455462;
    transition: 0.5s;
    padding: 0 1px;
    user-select: none;
    cursor: pointer;
}

.backgroundRow i:hover,
.backgroundRow svg:hover {
    transition: 0s;
    color: var(--d-red-color);
    filter: drop-shadow(0 0 80px var(--d-red-color));
}

.errorMessageModal {
    position: fixed;
    top: -2%;
    left: 50%;
    transform: translate(-50%, 0);
    background: #ffcbcb;
    width: fit-content;
    padding: 1rem 2rem;
    opacity: 0;
    color: #ea0606;

    z-index: 9999999999;
    /* transition: 0.5s all ease; */
    animation: show 4s linear;
    animation-iteration-count: 1;
}

@keyframes show {
    0% {
        opacity: 0;
        top: -2%;
    }

    8% {
        opacity: 1;
        top: 1%;
    }

    90% {
        opacity: 1;
        top: 1%;
    }

    100% {
        top: -2%;
        opacity: 0;
    }
}

.logo {
    width: 20rem;
}

.logo path {
    fill: #fff;
}

.logo .st1 {
    fill: var(--main-color);
}

.contentBrand path {
    fill: var(--font-dark);
}

.contentBrand .st1 {
    fill: var(--main-color);
}

/********* start login page *************/
.contentBrand {
    display: none;
}

.headerIcons {
    font-size: 3.4rem;
}

.headerIcons svg,
.headerIcons i {
    transition: 0.3s all ease;
    margin: 3rem 0.5rem 0;
}

.headerIcons a:nth-child(1):hover {
    color: #74b9ff;
}

.headerIcons a:nth-child(2):hover {
    color: #ff7675;
}

.headerIcons a:nth-child(3):hover {
    color: #a29bfe;
}

.headerIcons a:nth-child(4):hover {
    color: #2dcf8c;
}

.headerIcons a:not(:last-child) {
    margin-left: 0.5rem;
}

.back {
    color: var(--main-color);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    transition: 0.3s all ease;
}

.back i,
.back svg {
    margin-right: 1rem;
    transition: 0.3s all ease;
}

.back:hover {
    display: flex;
    color: var(--main-brown);
}

.back:hover svg,
.back:hover i {
    color: var(--main-brown);
    margin-right: 1.5rem;
}

.signupCard {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    width: 60vw;
}

.customeRow {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: linear-gradient(
            270deg,
            rgba(13, 140, 213, 0.75) -30.44%,
            rgba(104, 102, 101, 0.75) 131.24%
        ),
        url(../imgs/header.webp) no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 1.5rem;
    padding: 4rem;
}

.image2 {
    width: 55%;
    height: 600px;
    position: relative;
    /* height: 100%; */
}

.imageContent {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 50%;
    height: 100%;
    /* background: rgba(45, 57, 70, 0.8); */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    /* padding-bottom: 9rem; */
}

.imageContent p {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    width: 80%;
    margin-left: auto;

    margin-right: auto;
    font-weight: bold;
}

.image img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.content {
    background: #fff;
    padding: 5rem 5rem;
    width: 50%;
    max-height: 70vh;
    overflow-y: scroll;
    border-radius: 1.5rem;
    margin-right: auto;
}

.content::-webkit-scrollbar {
    display: none;
}

.content h2 {
    font-size: 2.8rem;
    color: var(--font-dark);
    position: relative;
    padding-bottom: 3rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 10%;
    height: 4px;
    background: var(--main-color);
}

.content .box {
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
}

.content .inputItem {
    width: 100%;
    position: relative;
}

.content .inputIcon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--main-color);
}

.content .inputItem input,
.content .inputItem select {
    width: 100%;
    padding: 1rem 4rem 1rem 1rem;
    background: transparent;
    border: none;
    color: var(--font-dark);
    border-bottom: 1px solid #b4b5b5;
    font-size: 1.6rem;
    text-align: right;
    transition: 0.3s all ease;
    direction: rtl;
}

.content .inputItem select {
    cursor: pointer;
}

.content .inputItem select option {
    background-color: var(--second-bg);
}

.content .inputItem input:focus,
.content .inputItem select:focus {
    border-bottom-color: var(--main-color);
}

.inputItem label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 40px;
    font-size: 1.6rem;
    pointer-events: none;
    transition: 0.3s all ease;
    color: #b4b5b5;
}

.inputItem input:focus ~ label,
.inputItem input:not(:placeholder-shown) ~ label {
    font-size: 1.2rem;

    right: 20px;
    top: -10px;
    color: var(--main-color);
}

.content .error {
    margin-top: 0.5rem;
    color: #ea0606;
    display: none;
    padding-right: 1.5rem;
}

.isInvalid .error {
    display: block;
}

.isInvalid .inputItem input,
.isInvalid .inputItem select {
    border-bottom-color: #ea0606;
}

.content .forgotPassword {
    color: #54a0ff;
    text-decoration: underline;
    text-align: left;
    transition: 0.3s all ease;
    display: block;
    font-size: 1.6rem;
    margin-right: auto;
    width: fit-content;
}

.content .forgotPassword:hover {
    color: var(--main-color);
}

.content .reg {
    width: 100%;
    background: var(--main-color);
    padding: 1.5rem 1rem;
    text-align: center;
    border: none;
    border-radius: 1rem;
    font-size: 1.8rem;
    color: #fff;
    font-weight: bold;
    transition: 0.3s all ease;
    margin: 3rem 0 1.5rem;
}

.content .reg:hover {
    transform: translateY(-10px);
    background: var(--main-brown);
}

.content .haveAccount {
    text-align: center;
}

.content .haveAccount a {
    color: var(--main-color);
    transition: 0.3s all ease;
}

.content .haveAccount a:hover {
    color: var(--d-red-color);
}

/******************************************
********************************************
*********************************************
*********************************************
****** start dark ****************************
****************************************
********************************************
*********************************************
**********************************************/
