*{
  margin:0;
  padding:0;
  font-family: 'poppins', sans-serif;
  box-sizing: border-box;
  color: white;
}

/*-------------------- main ------------------*/
  .home{
    background-color: black;
    background-image:url(homep.png);
    background-size: contain;
    background-position: center;
    width: 100%;
    height: 100vh;

  }

  .container{
    padding: 10px 10%;
  }

  nav{
    /*-position:fixed;
    top:0;
    right:0;
    z-index: 1000;-*/ 
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  #logo{
    width: 140px;
  }

  nav ul li{
    display: inline;
    list-style: none;
    margin: 10px 20px;
  }

  nav ul li a{
    text-decoration: none;
    color: white;
    font-size: 18px;
    position: relative;
  }
  nav ul li a::after{
    content: '';
    width:20%;
    height: 3px;
    background: red;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 1s;
  }

  nav ul li a:hover::after{
    width: 100%;
  }

  #name{
    color:red;
  }
/*-------------------- description ------------------*/
#description{
  display: flex;
  position:sticky;
  top: 0;
  background-color: rgb(14, 13, 13);
  width: 100%;
  height:750px;
  padding: 30px;;
}

.tlntimg{
  width: 450px;
  height: 700px;
}

.row{
  display: flex;
  justify-content: space-between;
}

.about-col-1{
  flex-basis: 40%;
}

.about-col-1 img{
  flex-basis: 100%;
  border-radius: 15px;

}

.about-col-2{
  flex-basis: 60%;
}

.sub-title{
  font-size: 60px;
  font-weight: 600;
  color: white;
}

.tab-tittles{
  display: flex;
  margin: 20px 0 40px;
}

.tab-links{
  margin-right: 50px;
  font-size: 20px;
  font-weight: 500;
  position: relative;
  display: inline;
  cursor: pointer;
}

.tab-links::after{
  content: '';
  width:0px;
  height: 3px;
  background: red;
  position: absolute;
  left: 0;
  bottom: -8px;
  transition: 0.5s; 
}

.tab-links.active-link::after{
  width: 35%;
}

.tab-contents ul li span{
  color: rgb(154, 0, 0);
}

.tab-contents{
  display: none;
}

.tab-contents.active-tab{
  display:block;
}
/*-------------------- services ------------------*/
#services{
  background: black;
  width: 100%;
  height:750px;
  display: flex;
  position: sticky;
  top:0
}

.sub-title2{
  font-size: 60px;
  font-weight: 600;
  color: white;
  margin-left: 50px;
  margin-top: 50px;
}

.services-list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 40px;
  margin-top: 50px;
  margin-left: 20px;
  margin-right: 20px;
  }

.services-list div{
  background: rgba(128, 128, 128, 0.377);
  padding: 30px;
  transition: background 0.5s, transform 0.5s;  
  border-radius: 15px;
}

.services-list div a{
  text-decoration: none;
  color: #fff;  
  margin-top: 20px;
  display: inline-block;
}

.services-list div:hover{
  background: red;
  transform: translateY(-10px);
}
/*-------------------- my work ------------------*/
#myWork{
  background: rgb(33, 32, 32);
  width: 100%;
  height:750px;
  display: flex;
  position: sticky;
  top:0
}

/*-------------------- contact me ------------------*/
#contactMe{
  background: black;
  width: 100%;
  height: 740px;
  display: flex;
  position: sticky;
  top:0
} 

.sub-title-cntct{
  font-size: 60px;
  font-weight: 600;
  color: white;
  margin-left: 50px;
  margin-top: 50px;
}

.contact-left{
  flex-basis: 45%;
  margin-top: 100px;
}

.contact-right{
  flex-basis:50%;
  margin-top: 300px;
}

.contact-left p{
  margin-top: 30px;
}

.contact-left p i{
  color: red;
  margin-right: 15px;
  margin-left: 20px;
  font-size:25px;
}

.social-icons{
  margin-top: 30px;
}

.social-icons a{
  text-decoration: none;
  font-size: 30px;
  margin-right: 15px;
  color: white;
  display: inline-block;
  transition: transform 0.5s, color 0.5s;
}

.social-icons a:hover{
  background: red;
  transform: translateY(-5px);
}

.btn.btn2{
  display: block;
  margin: 50px auto;
  width: fit-content;
  border: 1px solid red;
  padding: 14px 50px;
  border-radius: 6px;
  text-decoration: none;
  color: white;
  transition: background 0.5s;
}
.btn.btn2:hover{
  background: red;
}









html{
  scroll-behavior: smooth;
}





/*-------------------- back to top------------------*/
.back-to-top{
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: red;
  padding: 0.5rem;
  border-radius: 0.5rem;

}