/*** General CSS ***/
body {
    font-family: 'Tajawal', sans-serif;
    margin: 0;
    padding: 0;
    direction: rtl;
}

.theme-btn {
    padding: 5px;
    border-radius: 8px;
    background: linear-gradient(45deg,#0c4c83,#119548);
    color: #fff;
}

/*** Classes CSS ***/
nav.nav {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 9999;
    color: #fff;
    width: 100%;
}

nav.nav a {
    text-decoration: none;
    color: #fff;
}

#nav-login,
#nav-register {
    background: #fff;
    color: #333;
    box-shadow: 4px 4px 15px #555;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

#nav-login-tab,
#nav-register-tab {
    border: 1px solid #fff;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

#nav-login-tab.active,
#nav-register-tab.active {
    box-shadow: 7px 0 6px -5px #555
}

form {
    text-align: right;
    padding: 15px;
}

form .col-md-6,
form .col-sm-12 {
    padding: 0 8px;
}

form label {
    margin-right: 20px;
}

section {
    line-height: 28px;
    position: relative;
    width: 100%;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,#0c4c83,#119548);
    border-radius: 0 0 50% 50%/0 0 100% 100%;
    transform: scaleX(2);
}

section .content {
    position: relative;
    z-index: 999;
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
    padding: 0;
    margin: 0;
}

section .content a {
    color: #fff;

}

section .content p {
    margin: 0;
    text-decoration: none;
    font-size: 1.2em;
}

.button {
    margin-top: 30px;
    background: #fff;
    padding: 5px 5px;
    border-radius: 50%;
    border: 1px solid #fff;
    color: #0c4c83;
    cursor: pointer;
    box-shadow: 4px 4px 15px #555;
}

.button:hover {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.row {
    padding: 40px 40px;
    margin: 0;
    text-align: right;
}

.content-body h4 {
    padding: 10px 20px;
    color: #fff;
    background: linear-gradient(45deg,#0c4c83,#119548);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    width: 60%;
    position: relative;
    right: -30px;
    margin-bottom: 20px;
}

footer {
    position: relative;
    bottom: -2px;
    margin-top: 20px;
    background-color: #e8e8e8;
    width: 100%;
    text-align: center;
    padding: 10px;
}

@media (max-width: 768px) {
    section {
        height: 180vh;
    }

    section::before {
        transform: scaleX(4);
    }

    .content-body h4 {
        width: 100%;
    }

    .row {
        padding: 10px;
        margin: 0;
        text-align: right;
    }

    ul {
        padding-right: 10px;
    }
}
