*{
  margin:0;
  padding:0;
  font-family:'Poppins', sans-serif;
  box-sizing:border-box;
}
html{
  scrollbar-width: thin;
  scroll-behavior: smooth;;
}
body{
  background:#181818;
  color:#fff;

}
:focus {
  outline: 2px solid rgba(0, 0, 255, 0.182);
  outline-offset: 2px;
}
/* ----------------------------------------------Navbar--------------------------------------------- */
header{
  width:100%;
  height:100vh;
  background-image:url(images/background.avif);
  background-size:cover;
  background-position:center;
  display:flex;
}
.logo{
  width:10rem
}
.navbar-toggler{
  border:none
}
.navbar-toggler:focus {
    text-decoration: none;
    outline: none;
    box-shadow:none;
    border:none
}
nav ul li a::after{
  content:'';
  width:0%;
  height:2px;
  position:absolute;
  right:50%;
  left:0;
  bottom:-6px;
  background:rgb(228, 43, 43);
  transition:width .3s;
  
}
nav ul li a:hover::after{
  width:100%;
}
/* -------------------------------------------Hero----------------------------------------- */
.hero-text p{
  font-size:1.8rem;
  font-weight:200;
  color:#dcdcdcc3
}
.hero-text h1{
  font-size:3.6rem;
  font-weight:700;
}
.hero-text span{
  color:rgba(218, 24, 24, 0.896)
}
.hero-text{
  margin:10rem 0;
}
/*--------------------------------------------About Me----------------------------------------------*/

#about img{
  border:1px solid rgb(65, 64, 64);
  
}
.head-text{
  font-size:3.5rem;
  font-weight:bold;
  margin-bottom:2rem
}
.text-about-me button{
  font-size:1.3rem;
  color:#dcdcdcc3
  
}

.tab-links{
  font-size:2rem;
  margin-bottom:2rem;
  position:relative;
  cursor:pointer;
}
.tab-links.active-link{
  color:white
}
.tab-links::after{
  content:'';
  position:absolute;
  background:red;
  width: 0%;
  height:3px;
  left:5px;
  bottom: -5px;
  transition:width .3s;
  border-radius: 30px;
}
.tab-links.active-link::after{
  width:90%;
}
.tab-contents{
  display:none;
  color:rgb(169, 161, 161)
}
.tab-contents.active-tab{
  display:inline-block;
  border:1px solid red;
  border-radius: 10px;
  padding:1rem 1rem;
}


/* --------------------------------------------Services---------------------------------------- */

.service-card{
  width:26rem;
  display:flex;
  flex-direction: column;
  align-items: center;
  border:1px dotted red;
  transition:border .3s
}
.service-img{
  width:6rem;
  margin:1rem 0 1rem 0;
}
.service-card p{
  line-height: 1.5rem;
}
.service-card:hover{
    border:1px solid red;
    box-shadow:inset 0 0 10px #6f252aab;
}
/* --------------------------------------------Portfolio---------------------------------------- */
.work-card a img:hover{
  opacity:0.8;
  box-shadow: inset 5px 5px 20px #060000ab;
  border:1px solid rgba(209, 18, 18, 0.835);
}
.work-card a{
  text-decoration:none;
  color:#fff;
  position:relative;
}

/* --------------------------------------------------contact me------------------------------------------------------ */

form input, form textarea{
  background:rgba(18, 18, 18, 0.5);
  border:1px solid rgba(197, 16, 16, 0.752);
  border-radius: 5px;
  padding:1rem 1rem;
}
form input:focus, form textarea:focus{
  outline:none;
  box-shadow:inset 0 0 10px #6f252aab;
}
.contact-me-row{
  margin-top:5rem;
  display:flex;
  justify-content: space-between;
  padding-bottom:2rem;
}
.download{
  width:10rem;
  padding:.6rem 0;
  border:1px solid rgba(197, 16, 16, 0.752);
  cursor:pointer;
}
.download.dd{
  display:inline-block;
}
form input, form textarea{
  color:white;
}
/* --------------------------------------------small screen---------------------------------------- */
@media (min-width:1px ) and (max-width: 576px) {
  .head-text{
    font-size:2.5rem;
    text-align:center;
  }
  header{
    background-image: url(images/bg-portrait1.avif);
  }
  #services{
    padding:0 2rem;
  }
  .hero-text{
    margin-top: 35rem;
    margin-left:1rem
  }
}
