html {
    scroll-padding-top: 73px;
}

:root {
    --color-heading: #343434;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat", sans-serif;
}

body {
    font-family: "Poppins", sans-serif;
}

/*nav*/
.navbar.scrolled {
    background-color: white !important;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

 
    body:has(.About:target) .nav-item .about-link::before {
        width: 100%;
    }
 body:has(.Services:target) .nav-item .services-link::before {
        width: 100%;
    }
    body:has(.Home:target) .nav-item .home-link::before {
    width: 100%;
}
body:has(.Works:target) .nav-item .works-link::before {
    width: 100%;
}
body:has(.Clients:target) .nav-item .clients-link::before {
    width: 100%;
}
body:has(.Team:target) .nav-item .team-link::before {
    width: 100%;
}
body:has(.Contact:target) .nav-item .contact-link::before {
    width: 100%;
}

    .nav-item a::before {
        content: "";
        position: absolute;
        left: 0%;
        height: 2px;
        width: 0%;
        background-color: rgb(17, 1, 1);
        bottom: 5px;
        transition: .3s;
    }

    .nav-item a:hover {
        color: rgb(0, 0, 0);
    }

    .nav-item a:hover::before {
        width: 100%;
    }
}

.navbar.scrolled .navbar-brand,
.navbar.scrolled .nav-link {
    color: #333 !important;

    body:has(.About:target) .nav-item .about-link {
        color: rgb(0, 0, 0);
    }

    body:has(.About:target) .nav-item .about-link::before {
        width: 100%;
    }

    body:has(.Services:target) .nav-item .services-link {
        color: rgb(0, 0, 0);
    }

    body:has(.Services:target) .nav-item .services-link::before {
        width: 100%;
    }
body:has(.Home:target) .nav-item .home-link {
    color: rgb(0, 0, 0);
}

body:has(.Home:target) .nav-item .home-link::before {
    width: 100%;
}
body:has(.Works:target) .nav-item .works-link {
    color: rgb(0, 0, 0);
}

body:has(.Works:target) .nav-item .works-link::before {
    width: 100%;
}

body:has(.Clients:target) .nav-item .clients-link {
    color: rgb(0, 0, 0);
}

body:has(.Clients:target) .nav-item .clients-link::before {
    width: 100%;
}

body:has(.Team:target) .nav-item .team-link {
    color: rgb(0, 0, 0);
}

body:has(.Team:target) .nav-item .team-link::before {
    width: 100%;
}

body:has(.Contact:target) .nav-item .contact-link {
    color: rgb(0, 0, 0);
}

body:has(.Contact:target) .nav-item .contact-link::before {
    width: 100%;

}

    .nav-item a::before {
        content: "";
        position: absolute;
        left: 0%;
        height: 2px;
        width: 0%;
        background-color: rgb(17, 1, 1);
        bottom: 5px;
        transition: .3s;
    }

    .nav-item a:hover {
        color: rgb(0, 0, 0);
    }

    .nav-item a:hover::before {
        width: 100%;
    }
}

.navbar-light .navbar-nav .nav-link {
    color: rgb(255, 255, 255);
    font-weight: 400;
    font-family: "Poppins", sans-serif;
}

.nav-item a {
    position: relative;
}

body:has(.Home:target) .nav-item .home-link {
    color: rgb(255, 255, 255);
}

body:has(.Home:target) .nav-item .home-link::before {
    width: 100%;
}

body:has(.About:target) .nav-item .about-link {
    color: rgb(255, 255, 255);
}

body:has(.About:target) .nav-item .about-link::before {
    width: 100%;
}

body:has(.Services:target) .nav-item .services-link {
    color: rgb(255, 255, 255);
}

body:has(.Services:target) .nav-item .services-link::before {
    width: 100%;
}

body:has(.Works:target) .nav-item .works-link {
    color: rgb(255, 255, 255);
}

body:has(.Works:target) .nav-item .works-link::before {
    width: 100%;
}

body:has(.Clients:target) .nav-item .clients-link {
    color: rgb(255, 255, 255);
}

body:has(.Clients:target) .nav-item .clients-link::before {
    width: 100%;
}

body:has(.Team:target) .nav-item .team-link {
    color: rgb(255, 255, 255);
}

body:has(.Team:target) .nav-item .team-link::before {
    width: 100%;
}

body:has(.Contact:target) .nav-item .contact-link {
    color: rgb(255, 255, 255);
}

body:has(.Contact:target) .nav-item .contact-link::before {
    width: 100%;

}

.nav-item a::before {
    content: "";
    position: absolute;
    left: 0%;
    height: 2px;
    width: 0%;
    background-color: white;
    bottom: 5px;
    transition: .3s;
}

.nav-item a:hover {
    color: white;
}

.nav-item a:hover::before {
    width: 100%;
}

.navbar-brand {
    color: white;
    font-weight: 800;
    font-family: "Montserrat", sans-serif;
}

/*header*/
.header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.473), rgba(0, 0, 0, 0.79)), url(imgs/bg.jpg);
    background-position: center;
    background-size: cover;
}

.word {
    font-size: 60px;
}

.blc {
    font-weight: 200;
    font-size: 70px;
    font-family: "Montserrat", sans-serif;

    &::after {
        content: "";
        font-size: 60px;
        font-weight: 500;
        animation: header-animation 15s infinite alternate;
    }

}

@keyframes header-animation {
    0% {
        content: "|";
    }

    2% {
        content: "L|";
    }

    4% {
        content: "La|";
    }

    6% {
        content: "Lar|";
    }

    8% {
        content: "Larr|";
    }

    10% {
        content: "Larry|";
    }

    12% {
        content: "Larry D|";
    }

    14% {
        content: "Larry Da|";
    }

    16% {
        content: "Larry Dan|";
    }

    18% {
        content: "Larry Dani|";
    }

    20% {
        content: "Larry Danie|";
    }

    22% {
        content: "Larry Daniel|";
    }

    24% {
        content: "Larry Daniels|";
    }

    26% {
        content: "Larry Daniel|";
    }

    28% {
        content: "Larry Danie|";
    }

    30% {
        content: "Larry Dani|";
    }

    32% {
        content: "Larry Dan|";
    }

    34% {
        content: "Larry Da|";
    }

    36% {
        content: "Larry D|";
    }

    38% {
        content: "Larry|";
    }

    40% {
        content: "Larr|";
    }

    42% {
        content: "Lar|";
    }

    44% {
        content: "La|";
    }

    46% {
        content: "L|";
    }

    48% {
        content: "|";
    }

    50% {
        content: "D|";
    }

    52% {
        content: "De|";
    }

    54% {
        content: "Dev|";
    }

    56% {
        content: "Deve|";
    }

    58% {
        content: "Devel|";
    }

    60% {
        content: "Develo|";
    }

    62% {
        content: "Develop|";
    }

    64% {
        content: "Develope|";
    }

    66% {
        content: "Developer|";
    }

    68% {
        content: "Develope|";
    }

    70% {
        content: "Develop|";
    }

    72% {
        content: "Develo|";
    }

    74% {
        content: "Devel|";
    }

    76% {
        content: "Deve|";
    }

    78% {
        content: "Dev|";
    }

    80% {
        content: "De|";
    }

    82% {
        content: "D|";
    }

    8% {
        content: "|";
    }

    82% {
        content: "D|";
    }

    83% {
        content: "De|";
    }

    84% {
        content: "Des|";
    }

    85% {
        content: "Desi|";
    }

    86% {
        content: "Desig|";
    }

    87% {
        content: "Design|";
    }

    89% {
        content: "Designe|";
    }

    90% {
        content: "Designer|";
    }

    92% {
        content: "Designe|";
    }

    93% {
        content: "Design|";
    }

    94% {
        content: "Desig|";
    }

    95% {
        content: "Desi|";
    }

    97% {
        content: "Des|";
    }

    98% {
        content: "De|";
    }

    99% {
        content: "D|";
    }

    100% {
        content: "|";
    }


}

.icons {
    bottom: 240px;

    li {
        width: 30px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #000000;
        background-color: black;
        border-radius: 50%;
    }
}

/*about*/
.image-container {
    position: relative;
    display: inline-block;
    padding: 15px;

}

.left {
    padding-left: 100px;
}

.image-container::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: -10px;
    width: 75%;
    height: 75%;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.156) 1px, transparent 2px);
    background-size: 10px 10px;
    z-index: -1;
}

.about-tittle {
    color: #343434;
    font-size: 30px;
}

.sub-tittle {
    color: #999999;
    font-family: "Poppins", sans-serif;
}

.sub-text {
    color: #748182;
    line-height: 30px;
}

.progress-container {
    max-width: 500px;

    text-align: left;

}

.progress {
    height: 25px;
    margin-bottom: 15px;

    box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
}

.progress-bar {
    background-color: black;
    color: white;
    text-align: center;
    line-height: 25px;
    font-weight: bold;
    box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
}

.button1 {
    background-color: black;
    color: white;
    transition: .5s;
}

.button1 :hover {
    color: black;
    background-color: white;
}

.button2 {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    transition: .5s;
}

.button2:hover {
    color: rgb(255, 255, 255);
    background-color: rgb(0, 0, 0);
}

/*services*/

.heading{
   background-color: #f7f7f7;
  
}
.Services{
    position: relative;
    display: inline-block;
    padding: 10px;
    
}

.Services::before {
     content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    height: 60%;
    transform: translate(-50%, -50%);
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.058) 1px, transparent 3px);
    background-size: 10px 10px;
    z-index: 2;
   
}
.item-service{
    color: var( --color-heading);
    font-weight: 800;
}
.item1{
    width: 350px;
    height: 270px;
    background-color: white;
    border-radius: 2px;
    align-items: center;
    margin-top: 10px;
    justify-content: center;
    margin-left: 25px;
  
  
   i {
  
        width: 75px;
        height: 75px;
        justify-content: center;
        align-items: center;
       text-align: center;
       align-content: center;
        background-color: #f7f7f7;
       border-radius: 50%;
       color: #343434;
       transition: .5s;
    }
i:hover {
        color: #f7f7f7;
        background-color: #343434;
    }
}
/*works*/
.Works{
    position: relative;
    display: inline-block;
    padding: 10px;
    
}

.Works::before {
     content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    height: 60%;
    transform: translate(-50%, -50%);
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.058) 1px, transparent 3px);
    background-size: 10px 10px;
    z-index: 2;
   
}
.item-works{
    color: var( --color-heading);
    font-weight: 800;
}

 .nav-pills .nav-link.active{
    background-color: transparent;
    color: black;
       
 }
    .nav-pills .nav-link{
     color: black;
    font-weight: 700;
    position: relative;
     
}
 .nav-pills .nav-link.active::before {
        content: "";
        position: absolute;
        left: 0%;
        height: 2px;
        width: 100%;
        background-color: rgb(17, 1, 1);
        bottom: 5px;
        transition: .3s;
    }
     .nav-pills .nav-link.active:hover::before {
        width: 100%;
        
    }
body:has(.nav-link .active:target) .nav-pills .nav-link.active{
   color: black;
 
}
body:has(.nav-link .active:target) .nav-pills .nav-link.active::before{
    width: 100%;
   
}

i{
    width: 25px;
        height: 25px;
        justify-content: center;
        align-items: center;
       text-align: center;
       align-content: center;
        background-color:var( --color-heading);
       border-radius: 50%;
       color: #f7f7f7;
       transition: .5s;
       border: 1px solid black;
}
i:hover {
        color:var( --color-heading);
        background-color: #f7f7f7;
    }
    .layer{
        opacity: 0;
        transition: .5s;
        background-color: rgba(255, 255, 255, 0.797);
        
    }
  .layer:hover{
    opacity: 1;
 border: 10px solid transparent;
  }
  /*clients*/
 .heading{
   background-color: #eeecec;
  
}
.Clients{
    position: relative;
    display: inline-block;
    padding: 10px;}
   
   img {
        width: 100px;
    }
   


.Clients::before {
     content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    height: 60%;
    transform: translate(-50%, -50%);
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.058) 1px, transparent 3px);
    background-size: 10px 10px;
    z-index: 2;
   
}
.item-clients{
    color: var( --color-heading);
    font-weight: 800;
}
 .carousel-indicators [data-bs-target]
    {background-color: gray;
        height: 2px;
        width: 2px;
        border-radius: 50%;
        padding: 6px;
       
        
    }
    
    .envato{
    font-size: 13px;
    color: var( --color-heading);
    }
    i .counter{
        background-color: white;
    }
    .count-h{
      font-weight: 800;
    }
    .sec{
        padding-top: 60px;
    }
    /*team*/
    .heading{
   background-color: #eeecec;
  
}
.Team{
    position: relative;
    display: inline-block;
    padding: 10px;}
   
   img {
        width: 100px;
    }
   


.Team::before {
     content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    height: 60%;
    transform: translate(-50%, -50%);
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.058) 1px, transparent 3px);
    background-size: 10px 10px;
    z-index: 2;
   
}
.item-team{
    color: var( --color-heading);
    font-weight: 800;}
    .card-body{
        background-color: var( --color-heading);
    }
    

    
    .card {
        overflow: hidden;
          &::after{
        content: "";
        background-color: rgba(199, 1, 197, 0);
        position: absolute;
        inset: 0;
        transition: 200ms;
    }
    
        &:hover{
            img{
                scale: 1.4;
            }
             .layer2{
        transform: translateY(0);
    }
             &::after{
                background-color:rgba(255, 255, 255, 0.603) ;
             }
        }
      
    }
      img{
              transition: 200ms;
            }
    .layer2{
        transition: 200ms;
        z-index: 5;
        color: white;
        transform: translateY(100%);
    }
    /*contact*/
  .Contact{
    position: relative;
    display: inline-block;
    padding: 10px;
    
}

.Contact::before {
     content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    height: 60%;
    transform: translate(-50%, -50%);
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.058) 1px, transparent 3px);
    background-size: 10px 10px;
    z-index: 2;
   
}
.item-contact{
    color: var( --color-heading);
    font-weight: 800;
}
.last{
    width: 70px;
    height: 70px;
    background-color: #f7f7f7;
    border: 0px;
      justify-content: center;
        align-items: center;
       text-align: center;
       align-content: center;
         transition: .5s;
         color: #343434;
}

 
.last:hover {
        color: #f7f7f7;
        background-color: #343434;
    }
.footer{
    height: 100px;
    background-color: #1f1f1f;
    color: rgb(109, 110, 110);
    padding-top: 40px;
}















.form-control{
    background-color: #f7f7f7;
    margin: 10px;
}
.button3 {
    background-color: black;
    color: white;
    transition: .5s;
    border: 3px solid black;
}

.button3 :hover {
    color: black;
    background-color: white;
     border: 3px solid black;
}
