@import url(root.css);

body {
    font-family: 'Montserrat Arabic', sans-serif;
    color: var(--md-body-color);
    max-width: 1440px;
    margin-right: auto;
    margin-left: auto;
    zoom: 68%;
}

@media (max-width: 992px) {
    body {
        zoom: unset;
    }
}

.banner_bg {
    background-image: url("../images/public/hero_bg.png");
    background-repeat: no-repeat;
    background-position: center top;
}

@media (max-width: 992px) {
    .banner_bg {
        background-repeat: no-repeat;
        background-position: center top;
        background-size: 100%;
    }
}

.content {
    background-color: var(--md-gray-bg);
}

a {
    text-decoration: none;
}

/* header desk */
.desk {
    padding-top: 65px;
}

.desk .right {
    background-image: url("../images/public/right_header_bg.png");
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    position: relative;
}

.desk .vector1 {
    position: absolute;
    left: 0;
    overflow: hidden;
    margin-top: 50px;
}

.desk .left {
    background-image: url("../images/public/left_header_bg.png");
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;

}

/* nav */
nav {
    background-color: var(--md-light-gray-color);
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: relative;
}

nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
}

nav span {
    border-bottom: 3px solid transparent;
}

nav a:hover span,
nav .active span {
    border-bottom: 3px solid var(--md-orange-color);
}

/* aside */
.aside {
    background-color: var(--md-secondary-color);
    border-top-right-radius: 3rem;
    margin-top: -60px;
}

.aside_body {
    margin-top: 60px;
}


/* text color */
.text-title {
    color: var(--md-title-color);
}

.text-body {
    color: var(--md-body-color) !important;
}

.text-orange {
    color: var(--md-orange-color) !important;
}

/* bg color */
.bg-orange {
    background-color: var(--md-orange-color);
}

.bg-secondary {
    background-color: var(--md-secondary-color) !important;
}

/* border color */
.border-orange {
    border-color: var(--md-orange-color) !important;
}

.btn {
    border-radius: 1rem;
    border: 1px solid transparent;
}

.btn-orange {
    background-color: var(--md-orange-color) !important;
    color: var(--md-btn-color) !important;
    border-color: var(--md-orange-color) !important;
    opacity: 1 !important;
}

.btn-orange:hover,
.btn-orange:active {
    background-color: var(--md-orange-color) !important;
    color: var(--md-btn-color) !important;
    opacity: .8 !important;
}

.btn-outline {
    background-color: transparent;
    color: var(--md-orange-color);
    border: 4px solid var(--md-orange-color);
}

.btn-outline:hover {
    background-color: var(--md-orange-color);
    color: var(--md-btn-color);
    border: 4px solid transparent;
    opacity: 1;
}

.btn-secondary {
    background-color: #46454B !important;
    color: var(--md-btn-color) !important;
    border-color: #46454B !important;
    opacity: 1 !important;
}

.btn-secondary:hover {
    background-color: #46454B !important;
    color: var(--md-btn-color) !important;
    opacity: .8 !important;
}



/* progress */
.progress,
.progress-stacked {
    --bs-progress-bg: #46454B;
    --bs-progress-bar-transition: width 0.6s ease;
}

.progress-bar {
    background-color: var(--md-orange-color);
    transition: var(--bs-progress-bar-transition);
}

/* circle */
.circle {
    height: 3.5rem;
    width: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;

}

.card {
    border-radius: 1rem;
}

/* latest_work */
.latest_work .line {
    width: 5px;
    background-color: #C5C0C0;
}

.latest_work :last-child .line {
    display: none;
}


.text-sm {
    font-size: 0.875rem !important;
    line-height: 1.25rem !important;
}

.text-xs {
    font-size: .70rem !important;
    line-height: 20px;
}

/*  */
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"] {
    direction: rtl;
}

.alert-orange {
    --bs-alert-color: #fff;
    --bs-alert-bg: var(--md-orange-color);
    --bs-alert-border-color: var(--md-orange-color);
    --bs-alert-link-color: #442f10;
}

/* .success_message {
    margin-top: 250px;
} */

/* @media (max-width: 992px) {
    .success_message {
        margin-top: 100px;
    }
} */


/* post_content */
.post_content img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover;
}


/* form-control */
.form-control {
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: 0.25rem;
    /* color: #1f2124; */
    box-shadow: none;
}

.form-control:focus {
    box-shadow: 0 0 0 0.125rem #3e7dd5;
    outline: 0.0625rem solid #0000;
    border: var(--bs-border-width) solid var(--bs-border-color);
}

/* needs-validation */
.form-control.is-valid,
.was-validated .form-control:valid {
    border: var(--bs-border-width) solid var(--bs-border-color);
    box-shadow: none;
    padding-left: 0;
    background-image: none;
    padding-left: 0px;
}

.form-control.is-valid:focus,
.was-validated .form-control:valid:focus {
    box-shadow: 0 0 0 0.125rem #3e7dd5;
    outline: 0.0625rem solid #0000;
    border: var(--bs-border-width) solid var(--bs-border-color);
}

.form-check-input.is-valid~.form-check-label,
.was-validated .form-check-input:valid~.form-check-label {
    color: var(--bs-form-valid-color);
}

/* login */
.login .form-control:focus {
    box-shadow: 0 0 0 0.0625rem #008060;
    border-color: #008060;
}

.login .form-control.is-valid,
.login .was-validated .form-control:valid {
    box-shadow: none;
    border: var(--bs-border-width) solid var(--bs-border-color);
    padding-left: 0;
    background-image: none;
}

/* form-check-input */
.form-check-input {
    /* border-color: #abb1ba; */
    box-shadow: none;
}

.form-check-input:focus {
    /* border-color: #abb1ba; */
    box-shadow: none;
}

/* form-select */
.form-select,
.form-select.is-valid,
.was-validated .form-select:valid {
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: 0.25rem;
    box-shadow: none;
}

.form-select:focus,
.was-validated .form-select:valid:focus {
    border: var(--bs-border-width) solid var(--bs-border-color);
    box-shadow: 0 0 0 0.125rem #3e7dd5;
}

.form-select.is-valid:not([multiple]):not([size]),
.form-select.is-valid:not([multiple])[size="1"],
.was-validated .form-select:valid:not([multiple]):not([size]),
.was-validated .form-select:valid:not([multiple])[size="1"] {
    --bs-form-select-bg-icon: none;
    padding-left: unset;
}

.form-check-input.is-valid,
.was-validated .form-check-input:valid {
    border: var(--bs-border-width) solid var(--bs-border-color);
}

.form-check-input.is-valid~.form-check-label,
.was-validated .form-check-input:valid~.form-check-label {
    color: var(--bs-body-color);
}

.form-check-input.is-valid:checked,
.was-validated .form-check-input:valid:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-check-input.is-valid:focus,
.was-validated .form-check-input:valid:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-body-rgb), .25);
}



@media (min-width: 992px) {
    .pe-lg {
        padding-left: 3rem !important;
    }
}

.clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 3;
}

.post_image {
    width: 100px;
    height: 100px;
}

/* scrollTop */
#scrollTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 15px;
    z-index: 99;
    transition: opacity 0.3s ease;
    opacity: 0;

    border: none;
    outline: none;
    background-color: var(--md-orange-color);
    color: white;
    cursor: pointer;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#scrollTop.show {
    opacity: 1;
}
@media (min-width: 992px) {
    #scrollTop {
        display: none !important;
    }
}






/* mobile_css */
/* صورتي */
.profile_image{
    width: 120px;
    height: 120px;
}
/* اسمي */
.mobile .name {
    font-size: 14px !important;
}
/* نبذة عني */
.mobile .about-me {
    font-size: 15px !important;
}
/* محتوى نبذة عني */
.mobile .about-me-description {
    font-size: 10px !important;
}
/* المنشورات */
@media (max-width: 992px) {
    /* عنوان الصفحة */
    .page_title {
        font-size: 12px !important;
    }
    /* صورة المنشور */
    .post_image {
        width: 60px;
        height: 60px;
    }
    /* عنوان المنشور */
    .post_title {
        font-size: 12px !important;
    }
    /* محتوى المنشور */
    .post_content {
        font-size: 10px !important;
    }
    /* زر عرض التفاصيل */
    .post_btn {
        font-size: 10px !important;
    }
}

/* منتجاتي على شاشة الكمبيوتر*/
/* عنوان المنتج */
.product_title {
    font-size: 16px !important;
}
/* وصف المنتج */
.product_description {
    font-size: 14px !important;
}
/* ازرار المنتج */
.product_btn {
    font-size: 16px !important;
}
@media (min-width: 992px) {
    /* صورة المنتج */
    .product_image {
        max-width: 250px;
    }
}

/* منتجاتي على شاشة الجوال*/
@media (max-width: 992px) {
    /* عنوان المنتج */
    .product_title {
        font-size: 12px !important;
    }
    /* وصف المنتج */
    .product_description {
        font-size: 10px !important;
    }
    /* ازرار المنتج */
    .product_btn {
        font-size: 10px !important;
    }
}
/* نص الحقوق على الكمبيوتر*/

.rights_text{

font-size: 17px !important;

}

/* نص الحقوق على الجوال*/

@media (max-width: 992px) {

.rights_text{

font-size: 12px !important;

}

}
/* -----صفحة المنشور على الكمبيوتر------ */

/* الصورة */

.view .post_image {

width: 100px;

height: 100px;

}

/* العنوان */

.view .post_title {

font-size: 19px !important;

}

/* المحتوى */

.view .post_content,

.view .post_content h2,

.view .post_content h3,

.view .post_content h4 {

font-size: 20px !important;

}

/* الأزرار */

.view .btn {

font-size: 17px !important;

}

/* --------صفحة المنشور على الجوال----------- */

@media (max-width: 992px) {

/* الصورة */

.view .post_image {

width: 100px;

height: 100px;

}

/* العنوان */

.view .post_title {

font-size: 14px !important;

}

/* المحتوى */

.view .post_content,

.view .post_content h2,

.view .post_content h3,

.view .post_content h4 {

font-size: 12px !important;

}

/* الأزرار */

.view .btn {

font-size: 14px !important;

}

}