*{
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}

/* ----------------------------------------------------------------------------- */
/* Loader ---------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------- */

body{
    scroll-behavior: smooth;
    overflow: hidden;
    margin: 0;
  }
    
  #myLoading{
    background-color: black;
    width: 100%;
    height: 100vh;
    display: flex;
    position: fixed;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    z-index: 999999999999999999999;
  }
  
  #loaderDiv{
    margin: 0 0 2em;
    width: 20%;
    text-align: center;
    padding: 1em;
    margin: 0 auto 1rem;
    display: inline-block;
    vertical-align: top;
  }
  
  #loaderSize{
    transform: scale(3);
  }
  
  /* ----------------------------------------------------------------------------- */
  /* Shared ---------------------------------------------------------------------- */
  /* ----------------------------------------------------------------------------- */
  
  .Pointer{
      cursor: pointer;
  }
  
  .a_None{
      text-decoration: none;
  }
  
  .SM-BTN-icon{
      width: 3rem;
      height: 3rem;
      border-radius: 50%;
      border: solid black 3px;
      transition: transform 0.75s;
  }
  .SM-BTN-icon:hover{
      border: solid white 2px;
      transform: scale(1.25);
  }
  
  .GitHub{
      color: black;
  }
  
  .LinkedIn{
      color: #0366C3;
  }
  
  .Facebook{
      color: #1877F2;
  }
  
  .Twitter{
      color: #1877F2;
  }
  
  .Instagram{
      color: #E8067F;
  }
  
  .Youtube{
      color: red;
  }
  
  .TikTok{
      color: black;
  }
  
  /* ----------------------------------------------------------------------------- */
  /* Footer ---------------------------------------------------------------------- */
  /* ----------------------------------------------------------------------------- */
  
  .footer_logo{
      width: 200px;
      height: 200px;
      transition: all 0.5s;
      border: solid black 1px;
  }
  
  .footer_logo:hover{
      border: solid blueviolet 10px;
  }
  
/* ---------------------------------------------------------------- */
/* Home ----------------------------------------------------------- */

#home{
    background-image: url(../src/Images/bg.jpg);
    background-size: cover;
    background-position: center center;
}

.mega-navbar{
    background-color: rgba(0, 0, 0, 0.8);
}


.mega-navbar ul li:hover{
    border-bottom: solid white 3px;
    border-top: solid white 3px;
}


.mega-bg{
    background-color: rgb(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
}
.mega-bg h1{
    font-size: 5rem;
}

.kf::after{
    content: "F |";
    animation-name: moveLetters;
    animation-duration: 7s;
    animation-iteration-count: infinite;
}

@keyframes moveLetters {
    0%{content: "F |";}
    2%{content: "Fr |";}
    4%{content: "Fre |";}
    6%{content: "Free |";}
    8%{content: "Freel |";}
    10%{content: "Freela |";}
    12%{content: "Freelan |";}
    14%{content: "Freelanc |";}
    16%{content: "Freelance |";}
    18%{content: "Freelancer |";}
    20%{content: "Freelance |";}
    22%{content: "Freelanc |";}
    24%{content: "Freelan |";}
    26%{content: "Freela |";}
    28%{content: "Freel |";}
    30%{content: "Free |";}
    32%{content: "Fre |";}
    34%{content: "Fr |";}
    36%{content: "F |";}
    38%{content: " |";}
    40%{content: "W |";}
    42%{content: "We |";}
    44%{content: "Web  |";}
    46%{content: "Web D |";}
    48%{content: "Web De |";}
    50%{content: "Web Dev |";}
    52%{content: "Web Deve |";}
    54%{content: "Web Devel |";}
    56%{content: "Web Develo |";}
    58%{content: "Web Develop |";}
    60%{content: "Web Develope |";}
    62%{content: "Web Developer |";}
    64%{content: "Web Develope |";}
    68%{content: "Web Develop |";}
    70%{content: "Web Develo |";}
    72%{content: "Web Devel |";}
    74%{content: "Web Deve |";}
    76%{content: "Web Dev |";}
    78%{content: "Web De |";}
    80%{content: "Web D |";}
    82%{content: "Web  |";}
    84%{content: "Web |";}
    86%{content: "We |";}
    88%{content: "W |";}
    90%{content: " |";}
    95%{content: " |";}
}

#home .mega-bg .social-icons .icon{
    border: solid white 3px !important;
    background-color: black;
    transition: all 0.5s;
    border-radius: 50%;
    height: 3rem;
    width: 3rem;
}
#home .mega-bg .social-icons .icon:hover{
    border: solid black 3px !important;
}
#home .mega-bg .social-icons .icon a{
    color: white;
}

/* ---------------------------------------------------------------- */
/* About ---------------------------------------------------------- */

.progress{
    height: 1.75rem;
    border: solid black;
}
.progress-bar{
    background-color: black;
}
.progress-bar p{
    font-size: 13px;
}





#about form .custom-btn1{
    border-radius: 5px;
    background-color: black;
    width: 150px;
    padding: 10px;
}
#about form .custom-btn2{
    border-radius: 5px;
    background-color: white;
    width: 150px;
    padding: 10px;
}



#about form .custom-btn1 a{
    text-decoration: none;
    color: white;
    font-weight: bolder;
}

#about form .custom-btn2 a{
    text-decoration: none;
    color: black;
    font-weight: bolder;
}
#about form .custom-btn2:hover{
    background-color: black;
}
#about form .custom-btn2:hover a{
    color: white;
}

/* ---------------------------------------------------------------- */
/* services ------------------------------------------------------- */

#services{
    background-color: #F7F7F7;
}

.services_heder{
    font-size: 3rem;
    font-weight: bolder;
}

#services .icon{
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
}
#services .icon i{
    font-size: 2.5rem;
}
#services .icon:hover{
    background-color: black!important;
}
#services .icon:hover i{
    color: white;
}


/* ---------------------------------------------------------------- */
/* portfolio ------------------------------------------------------ */

#portfolio ul{
    border: none;
}
#portfolio ul li button{
    position: relative;
    border: none;
    color: black;
}
#portfolio ul .myBtn button::after{
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: black;
    bottom: 0px;
    left: 0px;
    transition: all 0.5s;
}
#portfolio ul .myBtn:hover button::after{
    width: 100%;
}





#portfolio .card .fame_img {
    width: 100%;
    height: 100%;
    background-color: white;
    text-align: center;
    position: absolute;
    top:0px;
    bottom: 0px;
    opacity: 0;
    border: solid lightgray 5px;
    transition: 1s all;
}

#portfolio .card:hover .fame_img{
    opacity: 1;
}

#portfolio .card .fame_img span{
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: solid black 1px;
    background-color: black;
}
#portfolio .card .fame_img span i{
    font-size: 1rem;
    color: white;
}
#portfolio .card .fame_img span:hover{
    background-color: white;
}
#portfolio .card .fame_img span:hover i{
    color: black;
}

/* ---------------------------------------------------------------- */
/* Testimonials ------------------------------------------------------ */

.carousel-indicators [data-bs-target]{
    width: 1rem;
    height: 1rem;
    background-color: black;
    border-radius: 50%;
}

/* ---------------------------------------------------------------- */
/* our_blog ------------------------------------------------------- */

#our_blog .me_flex .card img{
    transition: transform 2s;
}
#our_blog .me_flex .card span{
    overflow: hidden;
}
#our_blog .me_flex .card:hover img{
    transform: scale(1.5);
}

/* ---------------------------------------------------------------- */
/* our_blog ------------------------------------------------------- */

#contact_us a{
    text-decoration: none;
    color: black;
}

















@media screen and (max-width:600px) {
    #our_blog .me_flex{
        display: flex;
        flex-wrap: wrap;
    }
    #our_blog .card{
        width: 100%;
        margin-bottom: 10px;
    }
}

@media screen and (min-width:601px) and (max-width:768px) {
    #our_blog .me_flex{
        display: flex;
        flex-wrap: wrap;
    }
    #our_blog .card{
        width: 100%;
        margin-bottom: 10px;
    }
}



@media screen and (min-width:769px){
    #our_blog .me_flex{
        display: flex;
        flex-wrap: nowrap;
    }
}
#testimonials{
    background-color: #F7F7F7;
}
#none .mega_ic i{
    font-size: 3rem;
}
#none .mega_ic h3{
    font-weight: bolder;
    opacity: 0.2;
    transition: all 0.5s;
}
#none .mega_ic:hover h3{
    opacity: 1;
}


#our_blog{
    background-color: #F7F7F7;
}
#contact_us .meg_ic span{
    width: 4rem;
    height: 4rem;
    background-color: #F7F7F7;
    transition: all 0.5s;
}
#contact_us .meg_ic i{
    color: black;
    font-size: 2rem;
    padding: 10px;
    transition: all 0.5s;
}
#contact_us .meg_ic:hover span{
    background-color: black;
}
#contact_us .meg_ic:hover i{
    color: #F7F7F7;
}
.meg{
    padding-left: 5%;
    padding-right: 5%;
    text-align: center;
}
.meg input{
    background-color: #F7F7F7;
    height: 50px;
    border-radius: 10px;
    border: none;
    padding: 10px;
}
.meg textarea{
    text-indent: 10;
    background-color: #F7F7F7;
    height: 150px;
    border-radius: 10px;
    border: none;
    padding: 10px;
}
.meg #submit{
    color: white;
    background-color: black;
}
#last{
    width: 100%;
    height: 20vh;
    background-color: #1c1c1c;
    color: white;
}
.bg_dot h2{
    position: relative;
    display: inline-block;
    z-index: 4;
    left: 50%;
    transform: translate(-50%);
}
.bg_dot h2::after{
    content: "";
    width: 100%;
    height: 30px;
    background-image: url(../src/Images/dots.png);
    background-repeat: repeat;
    position: absolute;
    bottom: 25px;
    left: 0px;
    z-index: -1;
    display: inline-block;
    z-index: 4;
}
