:root {
    --main-color: #ec4d37;
}
* {
    box-sizing: border-box;
}
body {
    font-family: 'Open Sans', sans-serif;
}
.container {
    /* max-width: 1170px; */
    padding: 0 15px;
    margin: auto;
    position: relative;
}
/* start setting box */
.settings-box {
    position: fixed;
    top: 0;
    left: -200px;
    width: 200px;
    min-height: 100vh;
    z-index: 1100;
    background: #fff;
    transition: .2s;
    border: 1px solid #eee;
}
.settings-box.opened {
    left: 0;
}
.settings-box .toggle-settings {
    position: absolute;
    top: 100px;
    right: -30px;
    background: #fff;
    text-align: center;
    cursor: pointer;
}
.settings-box .toggle-settings .fa-cog {
    width: 30px;
    padding: 8px 0;
}
.settings-box .option-box {
    padding: 10px;
    text-align: center;
    margin: 10px;
    background-color: #eee;
}
.settings-box .option-box h4 {
    margin: 0;
    color: #666;
    font-size: 14px;
}
.settings-box .option-box .colors-list {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 10px 0 0;
}
.settings-box .option-box .colors-list li {
    width: 25px;
    height: 25px;
    background-color: #333;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    border: 3px solid #eee;
}
.settings-box .option-box .colors-list li.active {
    border-color: #fff;
}
.settings-box .option-box .colors-list li:first-child {
    background-color: #ec4d37;
}
.settings-box .option-box .colors-list li:nth-child(2) {
    background-color: #e91e63;
}
.settings-box .option-box .colors-list li:nth-child(3) {
    background-color: #009688;
}
.settings-box .option-box .colors-list li:nth-child(4) {
    background-color: #03a964;
}
.settings-box .option-box .colors-list li:nth-child(5) {
    background-color: #ff9800;
}
.settings-box .option-box .yes,
.settings-box .option-box .no {
    width: 50px;
    background-color: var(--main-color);
    color: #fff;
    margin-top: 10px;
    display: inline-block;
    font-size: 12px;
    padding: 4px 10px;
    font-weight: bold;
    border-radius: 4px;
    opacity: .5;
    cursor: pointer;
}
.settings-box .option-box span.active {
    opacity: 1;
}
.settings-box .reset-options {
    background-color: #f44336;
    border: none;
    width: 178px;
    margin: 10px auto;
    display: block;
    color: #fff;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}
/* end setting box */
/* start nav bullet */
.nav-bullets {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    z-index: 30;
}
.nav-bullets .bullet {
    width: 20px;
    height: 20px;
    border: 3px solid var(--main-color);
    margin: 20px auto;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}
.nav-bullets .bullet.active {
    background-color: var(--main-color);
}
.nav-bullets .bullet .tooltip {
    background-color: var(--main-color);
    width: 120px;
    color: #fff;
    padding: 8px 10px;
    position: absolute;
    right: 32px;
    top: -10px;
    text-align: center;
    cursor: default;
    pointer-events: none;
    display: none;
}
.nav-bullets .bullet:hover .tooltip {
    display: block;
}
.nav-bullets .bullet .tooltip::before {
    content: '';
    border-style: solid;
    border-width: 10px;
    border-color: transparent transparent transparent var(--main-color);
    height: 0;
    width: 0;
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
}
/* end nav bullet */
/* start landing page */
.landing-page {
    min-height: 100vh;
    background: url(../imgs/img10.jpg);
    background-size: cover;
    position: relative;
}
.landing-page .overlay {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 1;
    background-color: rgba(0, 0, 0, .7);
}
.landing-page .container {
    position: relative;
    z-index: 1000;
}
.header-area {
    position: relative;
    z-index: 2;
    color: #fff;
    display: flex;
    padding: 10px;
}
.header-area .projects {
    padding:0;
}
.header-area img {
    width: 60px;
    height:60px;
    border-radius: 50%;
    cursor: pointer;
}
.header-area .logo {
    width: 300px;
    padding: 15px;
    font-weight: bold;
    font-size: 20px;
}
.header-area .logo span {
    color: var(--main-color);
}
.header-area .links-container {
    width: 100%;
    text-align: right;
}
.header-area .links {
    list-style: none;
    padding-left: 0;
}
.header-area .links li {
    display: inline-block;
    margin-left: 10px;
    margin-bottom: 10px;
}
.header-area .links li a {
    color: #fff;
    text-decoration: none;
}
.header-area .links li a:hover,
.header-area .links li a.active {
    color: var(--main-color);
}
.header-area .toggle-menu {
    background: none;
    border: none;
    width: 30px;
    cursor: pointer;
    margin-top: 15px;
    display: none;
    position: relative;
}
.header-area .toggle-menu.menu-active::before {
    content: '';
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
    position: absolute;
    bottom: -23px;
    left: 5px;
}
.header-area .toggle-menu:focus {
    outline: none;
}
.header-area .toggle-menu span {
    display: block;
    background-color: #fff;
    height: 3px;
    margin-bottom: 4px;
}
.introduction-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    z-index: 2;
    text-align: center;
    width: 95%;
}
.introduction-text h1 {
    font-size: 35px;
    margin-left: 0 0 12px;
}
@media (max-width:575px) {
    .introduction-text h1 {
        font-size: 26px;
    }
}
.introduction-text h1 span {
    color: var(--main-color);
}
.introduction-text p {
    line-height: 1.6;
    font-size: 20px;
    margin: 0;
}
@media (max-width: 991px) {
    .header-area .links {
        display: none;
    }
    .header-area .links.open {
        background-color: #fff;
        padding: 10px;
        display: block;
        position: absolute;
        left: 0;
        top: 55px;
        width: 100%;
        border-radius:4px;
        text-align: left;
    }
    .header-area .links.open li {
        display: block;
        margin: 10px;
    }
    
    .header-area .links.open li a {
        color: var(--main-color);
        font-weight: bold;
        transition: 1s;
    }
    .header-area .links.open li a:hover {
        margin-left: 10px;
    }
    .header-area .toggle-menu {
       display: inline-block;
    }
}
/* end landing page */
/* start about me */
.about-me {
    padding: 50px 0;
}
.about-me .container {
    display: flex;
}
@media (max-width:767px) {
    .about-me .container {
        display: block;
        width: 100%;
    }
}
.about-me .info-box {
    flex: 1;
    padding: 30px;
}
@media (max-width:767px) {
    .about-me .info-box {
       padding: 0;
    }
}
.about-me .info-box h2 {
    font-weight: bold;
    font-size: 30px;
    color: var(--main-color);
    margin: 0 0 10px;
}
.about-me .info-box p {
    line-height: 1.8;
    color: #676767;
    margin: 0;
}
.about-me .image-box {
    flex: 1;
    text-align: center;

}
.about-me .image-box img {
    width: 100%;
}
/* end about me */
/* start my skills */
.skills {
    padding: 50px 0 30px;
    background-color: #eee;
}
.skills h2 {
    font-weight: bold;
    font-size: 30px;
    color: var(--main-color);
    margin: 0 0 50px;
    text-align: center;
}
.skills .skill-box {
    background-color: #fff;
    display: flex;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
}
@media (max-width:767px) {
    .skills .skill-box {
        display: block;
    }
}
.skills .skill-box .skill-name {
    font-weight: bold;
    width: 140px;
    text-align: center;
    line-height: 30px;
}
@media (max-width:767px) {
    .skills .skill-box .skill-name {
        margin-bottom: 15px;
        width: 100%;
    }
}
.skills .skill-box .skill-progress {
    height: 30px;
    width: 100%;
    background-color: #f6f6f6;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}
.skills .skill-box .skill-progress span {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--main-color);
    transition: all 1s;
}
/* end my skills */
/* start my Projects  */
.projects {
    padding: 70px 0;
    text-align: center;
}
.projects h2 {
    font-weight: bold;
    font-size: 30px;
    color: var(--main-color);
    margin: 0 0 50px;
    text-align: center;
}
.projects .images-box {
    text-align: center;
}
.projects .images-box img {
    width: 48%;
    padding: 3px;
    background-color: #f6f6f6;
    border: 1px solid #ccc;
    margin: 5px;
    cursor: pointer;
}
@media (max-width: 767px) {
    .projects .images-box img  {
        width: 90%;
    }
}
.popup-overlay {
    position: fixed;
    background-color:rgba(0, 0, 0, .7);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}
.popup-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    z-index: 1001;
    text-align: center;
}
@media (max-width: 767px) {
    .popup-box {
        width: 75%;
    }
    
}
.popup-box h3 {
    font-weight: bold;
    margin: 0 0 10px;
    color: var(--main-color);
}
.popup-box a {
    text-decoration: none;
    color: var(--main-color);
}
.popup-box img {
    max-width: 100%;
    margin-top: 10px;

}
.close-button {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: var(--main-color);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    border-radius: 50%;
    font-family: Arial, Tahoma;
}
/* end my Projects  */
/* start timeline */
.timeline {
    padding: 50px 0;
    background-color: #eee;
}
.timeline .timeline-content {
    position: relative;
    overflow: hidden;
}
.timeline .timeline-content::before {
    content: '';
    width: 2px;
    height: 100%;
    background-color: var(--main-color);
    position: absolute;
    left: 50%;
    margin-left: -1px;
    top: 0;
}
.timeline .timeline-content .year {
    margin: 20px auto;
    width: 50px;
    background-color: var(--main-color);
    position: relative;
    z-index: 2;
    border-radius: 4px;
    text-align: center;
    color: #fff;
    padding: 2px 5px;
    font-weight: bold;
}
.timeline .timeline-content .left,
.timeline .timeline-content .right {
    width: calc(50% - 25px);
    margin-bottom: 40px;
    position: relative;
}
@media (max-width:767px) {
    .timeline .timeline-content .left,
    .timeline .timeline-content .right {
        margin-bottom: 20px;
        width: 100%;
    }
    .timeline .timeline-content .left::before,
    .timeline .timeline-content .right::before {
        display: none;
    }
    .timeline .timeline-content .left .content::before,
    .timeline .timeline-content .right .content::before{
       display: none;
    }
}
.timeline .timeline-content .left {
    float: left;
}
.timeline .timeline-content .left::before {
    right: -35px;
}
.timeline .timeline-content .right {
    float: right;
}
.timeline .timeline-content .right::before {
    left: -35px;
}
.timeline .timeline-content .left::before,
.timeline .timeline-content .right::before {
    content: '';
    width: 14px;
    height: 14px;
    background-color: #fff;
    border:3px solid var(--main-color);
    position: absolute;
    border-radius: 50%;
    top: 20px;
}
.timeline .timeline-content .content {
    padding: 20px;
    background-color: #fff;
}
.timeline .timeline-content .content h3 {
    font-weight: bold;
    color: var(--main-color);
    margin: 0 0 10px;
}
.timeline .timeline-content .content p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}
.clearfix {
    clear: both;
}
.timeline .timeline-content .left .content::before {
    content: '';
    border-style: solid;
    border-width: 10px;
    border-color: transparent transparent transparent #fff;
    height: 0;
    width: 0;
    position: absolute;
    right: -20px;
    top: 20px;
}
.timeline .timeline-content .right .content::before {
    content: '';
    border-style: solid;
    border-width: 10px;
    border-color: transparent #fff transparent transparent;
    height: 0;
    width: 0;
    position: absolute;
    left: -20px;
    top: 20px;
}
/* end timeline */
/* start my certificates */
.certificates {
    position: relative;
    padding: 60px 0;
}
.certificates::before {
    content: '';
    width: 50%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--main-color);
    height: 100%;

}
.certificates::after {
    content: '';
    width: 50%;
    position: absolute;
    right: 0;
    top: 0;
    background-color: #333;
    height: 100%;
}
.certificates h2 {
    font-weight: bold;
    font-size: 30px;
    color: #333;
    margin: 0 0 50px;
    text-align: left;
    position: relative;
    z-index: 2;
    text-align: center;
}
.certificates h2 span {
    color: var(--main-color);
}
.certificates .images-box {
    text-align: center;
    z-index: 2;
    position: relative;
}
.certificates .images-box img {
    background-color: #f6f6f6;
    cursor: pointer;
    float: left;
}
.certificates .images-box .first-row {
    width: 49%;
    margin-bottom: 10px;
    margin-right: .5%;
    margin-left: .5%;
}
.certificates .images-box .second-row {
    width: calc(98% / 3);
    margin-bottom: 10px;
    margin-right: calc(1% / 3);
    margin-left: calc(1% / 3);
}
@media (max-width:767px) {
    .certificates .images-box .first-row,
    .certificates .images-box .second-row {
        width: 95%;
    }
}
/* end my certificates */

/* start contact me */
.contact {
    min-height: 600px;
    background: url(../imgs/GoogleMapTA.jpg);
    background-size: cover;
    padding: 80px 0;
    position: relative;
}
@media (max-width:767px) {
    .contact {
        min-height: 750px;
    }
}
.contact .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .6);
    /* background-color: rgba(255 255 255 / 60%); */
}
.contact .container {
    position: relative;
    z-index: 2;
}
.contact h2 {
    font-weight: bold;
    font-size: 30px;
    color: var(--main-color);
    margin: 0 0 60px;
    text-align: center;
}
.contact  .left {
    float: left;
    width: 49%;
}
.contact  .right {
    float: right;
    width: 49%;
}
@media (max-width:767px) {
    .contact .left,
    .contact .right {
        float:none;
        width: 100%;
    }
}
.contact .info {
    overflow: hidden;
    max-width: 800px;
    margin: auto;
    text-align: center;
}
.contact .info .info-box {
    padding: 10px;
}
.contact .info .info-box p {
    font-weight: bold;
    font-size: 20px;
}
.contact .info i {
    padding: 10px;
}
.contact .info i.fa-linkedin {
    color: #0e76a8;
}
.contact .info .linkedin {
    color: #0e76a8;
}
.contact .info i.fa-github {
    color: #183153;
}
.contact .info .github {
    color: #183153;
}
.contact .info i.fa-envelope{
   color:var(--main-color);
}
.contact .info .envelope {
    color:var(--main-color);
}
/* end contact me */
/* start footer */
.footer {
    background-color: #333;
    color: #eee;
    padding: 20px;
    text-align: center;
}
.footer span:last-child {
    color: var(--main-color);
}
@media (max-width:767px) {
    .footer span  {
        width: 100%;
        text-align: center;
        display: block;
    }
    .footer span:last-child {
        margin-top: 5px;
    }
}
/* end footer */
/*start section loadind */
.loading-overlay{ 
    background: #222;  
    color: #fff;
    position:fixed;/* لكى يغطي الصفحة باكملها*/  
    top: 0; 
    left: 0;
    width: 100%;  
    height: 100%;
    z-index:99999;
}

.loader-frame{
    width: 70px;
    height: 70px;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader1,.loader2{
    position: absolute;
    border: 5px solid transparent;
    border-radius: 50%;
}
.loader1{
    width: 80px;
    height: 80px;
    border-top: 5px solid azure;
    border-bottom: 5px solid azure;
     animation: clockwisespin 2s linear 3
}

.loader2{
    width: 70px;
    height: 70px;
    border-left: 5px solid var(--main-color);
    border-right: 5px solid var(--main-color);
    top: 5px;
    left: 5px;
    animation: anticlockwisespin 2s linear 3
}

@keyframes clockwisespin{
    from{transform: rotate(0deg);}
    to {transform: rotate(360deg)}
}

@keyframes anticlockwisespin{
    from{transform: rotate(0deg);}
    to {transform: rotate(-360deg)}
}
@keyframes fadeout {
    from{opacity:1 }
    to{opacity: 0}
}
/*end section loading*/

/*start scroll up*/
.scroll-top{
    width: 30px;
    height: 30px;
    line-height: 30px;
    color: #ddd;
    background-color: var(--main-color); 
    text-align: center; 
    position: fixed;  
    right: 15px; 
    bottom: 10px; 
    z-index: 9999; 
    display: none;  
    cursor: pointer;
    border-radius: 50%
}
.scroll-top:hover{  background-color: #fff; color: var(--main-color);}
.scroll-top i {
    font-size: 20px;
}
/*end scroll up*/

/* start grid system */
@media (min-width: 576px) { /*small devices => landscape phones */
    .container {
        max-width: 540px;
    }
}
@media (min-width: 768px) { /*medium devices => tablets */
    .container {
        max-width: 720px;
    }
}
@media (min-width: 992px) { /*Desktops */
    .container {
        max-width: 960px;
    }
}
@media (min-width: 1200px) { /*large Screens */
    .container {
        max-width: 1140px;
    }
}
/* end grid system */