body {
  font-family: 'Poppins', sans-serif;
}

body,
html {
  scroll-behavior: smooth;
}


/* Background stars canvas */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

#home .container {
  position: relative;
  z-index: 1;
}


#home {
  position: relative;
  min-height: 100vh;
  background: #273745;
  overflow: hidden;
}

#home .content {
  z-index: 1;
}

#home h1,
#home h2 {
  text-align: center;
}

.animation {
  margin-left: -50px;
}

.animation span {
  display: inline-block;
  min-width: 20ch;
}

.animation span::after {
  content: '|';
  animation: h1 9s steps(1) infinite;
  font-weight: 400;
}

@keyframes h1 {
  0% {
    content: 'F|';
  }

  3% {
    content: 'Fr|';
  }

  6% {
    content: 'Fro|';
  }

  9% {
    content: 'Fron|';
  }

  12% {
    content: 'Front|';
  }

  15% {
    content: 'Front-|';
  }

  18% {
    content: 'Front-E|';
  }

  21% {
    content: 'Front-En|';
  }

  24% {
    content: 'Front-End|';
  }

  27% {
    content: 'Front-End |';
  }

  30% {
    content: 'Front-End D|';
  }

  33% {
    content: 'Front-End De|';
  }

  36% {
    content: 'Front-End Dev|';
  }

  39% {
    content: 'Front-End Deve|';
  }

  42% {
    content: 'Front-End Devel|';
  }

  45% {
    content: 'Front-End Develo|';
  }

  48% {
    content: 'Front-End Develop|';
  }

  51% {
    content: 'Front-End Develope|';
  }

  54% {
    content: 'Front-End Developer|';
  }

  /* deleting */
  57% {
    content: 'Front-End Develope|';
  }

  60% {
    content: 'Front-End Develop|';
  }

  63% {
    content: 'Front-End Develo|';
  }

  66% {
    content: 'Front-End Devel|';
  }

  69% {
    content: 'Front-End Deve|';
  }

  72% {
    content: 'Front-End Dev|';
  }

  75% {
    content: 'Front-End De|';
  }

  78% {
    content: 'Front-End D|';
  }

  81% {
    content: 'Front-End |';
  }

  84% {
    content: 'Front-End|';
  }

  87% {
    content: 'Front-En|';
  }

  90% {
    content: 'Front-E|';
  }

  93% {
    content: 'Front-|';
  }

  96% {
    content: 'Front|';
  }

  98% {
    content: 'Fron|';
  }

  100% {
    content: ' |';
  }
}

#home .icon {
  width: 2.5rem;
  height: 2.5rem;
}

#about h3 {
  color: #273745;
  /* margin-top: 14; */
}

#about p {
  color: gray;
  font-size: 12px;
}

#about .basic-p {
  color: gray;
  font-size: 14px;
}

#about .basic-p2 {
  color: #273745;
  font-size: 16px;
}

#about h6 {
  color: gray;
}

#about button {
  margin-top: 1%;
  padding: 8px 25px;

  border-radius: 15px;
}

#about .bg-btn a {
  text-decoration: none;
  color: white;
}

#about .bg-btn {
  padding: 8px 30px;
  background-color: #273745;
  color: white;
  font-weight: 400;
  border-radius: 15px;
}

#about .custom2-btn {
  background-color: white;
  color: #273745;
  padding: 8px 25px;
  border-radius: 15px;
  text-decoration: none;
  outline: none;
  box-shadow: none;
}

#about .custom2-btn:hover {
  background-color: #273745;
  color: white;
}

#skills p {
  margin-bottom: 1px;
  line-height: 0.5;
}

#services {
  background-color: #f7f7f7;
}

#services p {
  color: #748182;
}

#services h6 {
  color: #273745;
}

#services h3,
#portfolio h3,
#testimonials h3,
#team h3,
#contact h3 {
  font-weight: 900;
  font-size: 40px;
  font-family: 'Montserrat', sans-serif;
}

#services h3 .border,
#portfolio h3 .border,
#testimonials h3 .border,
#team h3 .border,
#contact h3 .border {
  position: absolute;
  background-image: url(../imgs/dots.png);
  background-repeat: repeat;
  width: 50%;
}

#portfolio .overlay {
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  height: 100%;
  width: 100%;
  background-color: black;
}

#portfolio .rounded-4:hover .overlay {
  opacity: 1;
}

#portfolio .rounded-4 img {
  width: 100%;
  height: 100%;
}

#clients,
#team {
  background-color: #f7f7f7;
}

#clients .img img {
  width: 2rem;
  height: 2rem;
}

.numbers p {
  color: #748182;
}

.numbers .row h3 {
  font-weight: 900;
}

#team .card {
  background-color: #5a5a5a;
  border-radius: 0 0 8px 8px;
}

#team .card img {
  width: 100%;
}

#contact .form-control {
  background-color: #f4f4f4;
}

.custom-btn {
  background-color: white;
  color: #273745;
}

.custom-btn:hover {
  background-color: #273745;
  color: white;
}

/* Custom NAV CSS */
.navbar {
  background-color: transparent;
  transition: background-color 0.3s;

}

.navbar:hover {
  background-color: #273745;
  color: white;
}

.navbar .navbar-brand,
.navbar .navbar-nav .nav-link {
  transition: color 0.3s;
}

.navbar:hover .navbar-brand,
.navbar:hover .navbar-nav .nav-link {
  color: white;
}

/* Icon Services */

.container .rounded-2 {
  position: relative;
  transition: background-color 0.3s;
}

.container .rounded-2:hover {
  background-color: black;
}

.container .rounded-2:hover .icon i {
  background-color: black;
  color: #fff;
  padding: 10px;
  border-radius: 50%;
}

.overlay-info {
  opacity: 0;
  background-color: rgba(255,
      255,
      255,
      0.8);
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #000000;
}

.img:hover .overlay-info {
  opacity: 1;
}

.card .content .overlay:hover img {
  opacity: 0.5;
}

.card .content .overlay .icons {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.card .content .overlay:hover .icons {
  display: flex;
}

#team:hover .icons {

  display: flex;
}

.card .content .overlay .icons a {
  margin: 0 5px;
  color: white;
  font-size: 20px;
}

.testimonial-item {
  background-color: #f5f5f5;
  text-align: center;
  padding: 20px;
}

.testimonial-item p,
.testimonial-item span {
  font-size: 14px;
  color: #748182;
}

#testimonials {
  background-color: #f5f5f5;
}

#contact .bg {
  background-color: #f4f4f4;
  border-radius: 100%;
  padding: 15px 15px;
}

#team .icons {
  display: none;
}

#footer {
  background-color: #273745;
  font-size: 14px;
}

#footer span {
  color: #748182;
  font-weight: 700;
}

.contact-link {
  text-decoration: none; 
  color: #1f1f1f;       
  font-weight: 500;    
  transition: color 0.2s;
}

