*{
    margin: 0rem !important;
    padding: 0 ;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    

}
body {
    overflow: hidden;
}
html {
    scroll-behavior:auto !important;
}
:root {
    --main-color:#000000 ;
    --secondary-color: #f7f7f7;
    --main-transition : all 0.5s;
     
}

/* global */
a{

    text-decoration: none;
}ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
}

#btnUP {
    background-color: red;
    width: 40px;
    height: 40px;
    position: fixed;
    bottom:  70px;
    right: 30px;
    z-index: 999;
    display: none;
}
/* spiner */
#loading {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: #333;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.sk-cube-grid {
    width: 40px;
    height: 40px;
    margin: 100px auto;
  }
  
  .sk-cube-grid .sk-cube {
    width: 33%;
    height: 33%;
    background-color: #fff ;
    float: left;
    -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
            animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out; 
  }
  .sk-cube-grid .sk-cube1 {
    -webkit-animation-delay: 0.2s;
            animation-delay: 0.2s; }
  .sk-cube-grid .sk-cube2 {
    -webkit-animation-delay: 0.3s;
            animation-delay: 0.3s; }
  .sk-cube-grid .sk-cube3 {
    -webkit-animation-delay: 0.4s;
            animation-delay: 0.4s; }
  .sk-cube-grid .sk-cube4 {
    -webkit-animation-delay: 0.1s;
            animation-delay: 0.1s; }
  .sk-cube-grid .sk-cube5 {
    -webkit-animation-delay: 0.2s;
            animation-delay: 0.2s; }
  .sk-cube-grid .sk-cube6 {
    -webkit-animation-delay: 0.3s;
            animation-delay: 0.3s; }
  .sk-cube-grid .sk-cube7 {
    -webkit-animation-delay: 0s;
            animation-delay: 0s; }
  .sk-cube-grid .sk-cube8 {
    -webkit-animation-delay: 0.1s;
            animation-delay: 0.1s; }
  .sk-cube-grid .sk-cube9 {
    -webkit-animation-delay: 0.2s;
            animation-delay: 0.2s; }
  
  @-webkit-keyframes sk-cubeGridScaleDelay {
    0%, 70%, 100% {
      -webkit-transform: scale3D(1, 1, 1);
              transform: scale3D(1, 1, 1);
    } 35% {
      -webkit-transform: scale3D(0, 0, 1);
              transform: scale3D(0, 0, 1); 
    }
  }
  
  @keyframes sk-cubeGridScaleDelay {
    0%, 70%, 100% {
      -webkit-transform: scale3D(1, 1, 1);
              transform: scale3D(1, 1, 1);
    } 35% {
      -webkit-transform: scale3D(0, 0, 1);
              transform: scale3D(0, 0, 1);
    } 
  }


/* end Spiner */

/* //SideBar// */

#siderBar {
    position: fixed;
    top: 150px;
    left: 0;
    z-index: 999;
    display: flex;
    align-items: flex-start;
}
#siderBar .box {
    background-color: #ccc;
    padding: 15px;
    border: solid 2px #333;
}
#siderBar .color-box {
    width: 30px;
    height: 30px;
    background-color: orange;
    display: inline-block;
    cursor: pointer;
}
#siderBar i {
    background-color: #333;
    color: #fff;
    padding: 10px;
    cursor: pointer;
}
.img-sideBar {
    width: 45px;
    height: 40px;
    cursor: pointer;
}

/* end sidebar */

.main-heading h2 {
    font-size: 3rem;
    z-index: 1;
}
#main-nav {
    transition: background-color 2s , padding 2s ;
}
.main-heading::before {
    content: "";
    position: absolute;
    background-image: url(/img/dots.png);
    width: 11rem;
    height: 30%;
    top: 3rem;
    right: 33rem;
    z-index: 1;
    opacity: 0.7;
}
/* start nav bar */
.navbar-nav .nav-link.active::after  {
    content: "";
    position: absolute;
    width: 2.7rem;
    height: 0.2rem;
    background-color: #fff;
    top: 80%;
    left: 0;
    transform: translate(20% );
}
@media screen and (max-width: 991px) {
    .navbar-nav .nav-link.active::after {
        display: none;
    }
}
header {
    background-image: url(../img/bg.jpg);
    background-position: center center;
    background-size: cover;
    
}
.social-header .icons {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.521);
    cursor: pointer;
   
}
.social-header .icons i {
    font-size: 0.8rem;
}
.layer-header{
    background-color: rgba(0, 0, 0, 0.7);

}
.header-content h1 {
    font-size: 4rem;
    
}
.header-content p {
    font-size: 3rem;
}
header .header-content span::before {
    content: " |";
    animation:move-letters 10s   infinite  ;
   
}
/* start about section  */
.about .box-img::after {
    content: "";
    background-image: url(/img/dots.png);
    position: absolute;
    width: 80%;
    height: 25rem;
    right: 7rem;
    top: 9rem;
    z-index: -99;

}
@media screen and (max-width:991px) {
    .about .box-img::after {
        display: none;
    }
}
.progress {
    height: 1.7rem;
    margin: 2rem 0 !important;
    
}

.btn-about .active {
    background-color: var(--main-color);
}
.btn-about .btn-transperant {
    background-color: white;
    color: black;
}
.btn-dark:hover{
    background-color: var(--secondary-color);
    color: black;
    transition: all 0.5;
}
.btn-transperant:hover {
    background-color: var(--main-color);
    color: white;
    transition: all 0.5;

}
/* end about */
/* start services section  */

.icons-serv {
    width: 5rem;
    height: 5rem;
    background-color: #f4f4f4;
    transition: var(--main-transition);

}
.icons-serv  i {
    font-size: 1.5rem;
}
.box-services:hover .icons-serv {
    background-color: var(--main-color);
    color: #fff;
}
/* end services */
/* start portfolio section  */

.work .box-portfolio .layer-portfolio  {
    transition: var(--main-transition);
}

.work .box-portfolio:hover .layer-portfolio {
    opacity: 0.9 !important;
    border: 7px solid #5555;
}
.work .box-icons .icons-port {
    height: 2rem;
    width: 2rem;
    border-radius: 50%;
    background-color: red;
    
    
}
.work .box-icons .icons-port i {
    font-size: 0.8rem;
}
.nav-pills .nav-link {
    color: var(--main-color);
    position: relative;
}
.nav-pills .nav-link.active {
    background-color: white !important;
    color: var(--main-color);
}

 .nav-pills .nav-link.active::before {
    content: ""; 
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: var(--main-color);
    bottom:  0;
    left: 0;
    transition: var(--main-transition);
} 
.nav-pills .nav-link.active:hover {
    color: var(--main-color);
    background-color: #fafafa;
}


/* end portfolio section */

/* start testimonials section */
.clients {
    background-color: var(--secondary-color);
}
 .carousel-indicators [data-bs-target] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

/* end testimonials section */
/* start counter section  */

.counter .counter-content h2 {
    font-weight: bold;
    margin-bottom: 0.8rem !important;
}
.counter .counter-content p {
    font-weight: 600;
    color: #748182;
}

/* end counter section   */
/* start blog section */

.blog {
    background-color: var(--secondary-color);
}
/* end blog section */
/* start contact us */

.form-control  {
    background-color: var(--secondary-color);
}
[type=button]:not(:disabled):hover {
    background-color: #fff;
    color: #000000;
}
/* end contact us */

@keyframes move-letters {
    0%{content: "M |";}
    1%{content: "Ma |";}
    2%{content: "Mah |";}
    3%{content: "Mahmo |";}
    4%{content: "Mahmou |";}
    5%{content: "Mahmoud |";}
    6%{content: "Mahmoud  |";}
    7%{content: "Mahmoud D |";}
    8%{content: "Mahmoud De |";}
    9%{content: "Mahmoud Der |";}
    10%{content: "Mahmoud Derb |";}
    11%{content: "Mahmoud Derba |";}
    12%{content: "Mahmoud Derbala. |";}
    14%{content: "Mahmoud Derbal |";}
    15%{content: "Mahmoud Derba |";}
    16%{content: "Mahmoud Derb |";}
    17%{content: "Mahmoud Der |";}
    18%{content: "Mahmoud De |";}
    19%{content: "Mahmoud D |";}
    20%{content: "Mahmoud  |";}
    21%{content: "Mahmou |";}
    22%{content: "Mahmo |";}
    23%{content: "Mahm |";}
    24%{content: "Mah |";}
    25%{content: "Ma |";}
    26%{content: "M |";}
    27%{content: "a |";}
    28%{content: "a  |";}
    29%{content: "a fr |";}
    30%{content: "a fre |";}
    31%{content: "a free |";}
    32%{content: "a freel |";}
    33%{content: "a freela |";}
    34%{content: "a freelan |";}
    35%{content: "a freelanc |";}
    36%{content: "a freelance |";}
    37%{content: "a freelancer |";}
    39%{content: "a freelancer. |";}
    40%{content: "a freelancer |";}
    41%{content: "a freelance |";}
    42%{content: "a freelanc |";}
    43%{content: "a freelan |";}
    44%{content: "a freela |";}
    45%{content: "a freel |";}
    46%{content: "a free |";}
    47%{content: "a fre |";}
    48%{content: "a fr |";}
    49%{content: "a f |";}
    50%{content: "a  |";}
    51%{content: "a |";}
    52%{content: "a |";}
    53%{content: "a D |";}
    54%{content: "a De |";}
    55%{content: "a Des |";}
    56%{content: "a Desi |";}
    57%{content: "a Desig |";}
    58%{content: "a Design |";}
    59%{content: "a Designe |";}
    60%{content: "a Designer |";}
    61%{content: "a Designer. |";}
    62%{content: "a Designer |";}
    63%{content: "a Designe |";}
    64%{content: "a Design |";}
    65%{content: "a Desig |";}
    66%{content: "a Desi |";}
    67%{content: "a Des |";}
    68%{content: "a De |";}
    69%{content: "a D |";}
    70%{content: "a  |";}
    71%{content: "a |";}
    72%{content: "a  |";}
    73%{content: "a P |";}
    74%{content: "a Ph |";}
    75%{content: "a Pho |";}
    76%{content: "a Phot |";}
    77%{content: "a Photo |";}
    78%{content: "a Photog |";}
    79%{content: "a Photogr |";}
    80%{content: "a Photogra |";}
    81%{content: "a Photograp |";}
    82%{content: "a Photograph |";}
    83%{content: "a Photographe |";}
    84%{content: "a Photographer |";}
    85%{content: "a Photographer. |";}
    86%{content: "a Photographer |";}
    87%{content: "a Photographe |";}
    88%{content: "a Photograph |";}
    89%{content: "a Photograp |";}
    90%{content: "a Photogra |";}
    91%{content: "a Photogr |";}
    92%{content: "a Photog |";}
    93%{content: "a Photo |";}
    94%{content: "a Phot |";}
    95%{content: "a Pho |";}
    96%{content: "a Ph |";}
    97%{content: "a P |";}
    98%{content: "a  |";}
    100%{content: "a |";}
}