body {
  background-color: #f5f5f5;
}

.navbar {
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.9);
}

.navbar-collapse {
  margin-right: 40px;
}

li.nav-item {
  margin: 0 10px;
}

li.nav-item-active ::after {
  content: "";
  color: white;
  background-color: white;
  font-weight: bold;
  display: block;
  width: 80%;
  height: 4px;
  border: 1px solid;
  /* margin-top: 10px; */
  /* margin-bottom: 30px; */
}

li.nav-item:hover::after {
  content: "";
  color: white;
  background-color: white;
  font-weight: bold;
  display: block;
  width: 80%;
  height: 4px;
  border: 1px solid;
  animation: mynav 0.5s;
}

@keyframes mynav {
  0% {
    width: 0;
  }

  100% {
    width: 80%;
  }
}

h1.name::after {
  content: "";
  animation: myname 1s infinite;
  color: white;
  display: block;
}

@keyframes myname {
  0% {
    content: I;
  }
  25% {
    content: DeI;
  }
  50% {
    content: siI;
  }
  75% {
    content: gnI;
  }
  100% {
    content: erI;
  }
  /* 0%{content: I;}
  0%{content: I;}
  0%{content: I;}
  0%{content: I;} */
}

.header {
  background-image: url(Images/hero-bg.jpg);
  height: 100vh;
  background-size: cover;
  background-position: center center;
  position: relative;
  display: flex;
  justify-content: center;
}

h2.about::after {
  content: "";
  color: #0078ff;
  background-color: #0078ff;
  font-weight: bold;
  display: block;
  width: 20%;
  height: 4px;
  border: 1px solid;
  margin-top: 10px;
  margin-bottom: 30px;
}

p.par-about-me {
  font-size: 20px;
}

.layer {
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  left: 0px;
  padding: 0;
  height: 100%;
  width: 100%;
  opacity: 0.9;
}

.icon-cv {
  border: 8px solid #cde1f8;
  border-radius: 50%;
  border-width: 10px;
  width: 100px;
  height: 100px;
  margin: auto;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.custom-service {
  border: 1px solid white;
  box-shadow: 1px 1px 10px 1px #e7e7e7;
}

.back-ground2 {
  height: 80vh;
  width: 100%;
  background-image: url(Images/counters-bg.jpg);
  margin-top: 60px;
  margin-bottom: 100px;
  background-attachment: fixed;
}

.layer2 {
  height: 100%;
  width: 100%;
  background-color: blue;
  opacity: 0.7;
}

.custom-count {
  z-index: 2;
}

.button-icon a {
  border-radius: 50%;
  border: 2px solid #1080ff;
  width: 40px;
  height: 40px;
  padding: 10px;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.button-icon i {
  color: #1080ff;
  font-size: 2rem;
}

.first-icon i {
  padding: 20px;
  font-size: 30px;
}

.first-icon {
  border: 10px solid #0078ff;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  margin: auto;
  margin-bottom: 10px;
}

.first-icon:hover {
  background-color: #0078ff;
  border-color: #cde1f8;
  transition: all 0.5s;
  color: white;
}

/* .button-icon span {
  border: 1px solid #0062d3;
  border-radius: 50%;
  height: 50px;
  width: 50px;
  background-color: #0062d3;
} */
/* 
.button-icon a:hover {
  border: 3px solid white;
  text-decoration: none;
  color: #dadada;
  background-color: blue;
  transition: all 0.5s;
}

.button-icon i:hover {
  color: #fff;
} */

span.web-design {
  color: #57a6ff;
}

.custom-icon i {
  padding: 10px;
  font-size: 15px;
}

.back-ground3 {
  height: 90vh;
  width: 100%;
  background-image: url(Images/overlay-bg.jpg);
  margin-top: 150px;
  margin-bottom: 150px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
}

.layer3 {
  background-color: #0078ff;
  position: absolute;
  top: 0;
  left: 0px;
  padding: 0;
  height: 100%;
  width: 100%;
  opacity: 0.7;
}

.section-blog {
  background-color: #f5f5f5;
}

.footer-card {
  border-top: 1px solid;
  background-color: #f5f5f5;
}

/* .footer-card img {
  width: 10%;
} */

.custom-section {
  background-image: url(Images/overlay-bg.jpg);
  height: 90vh;
  width: 100%;
  background-image: url(Images/overlay-bg.jpg);
  margin-top: 200px;
  margin-bottom: 60px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
}

.custom-form {
  z-index: 1;
}

ul {
  list-style-type: none;
  display: flex;
  justify-content: space-around;
  padding-left: 0;
}

.media li {
  border: 2px solid #0078ff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding: 5px; */
}

.media li:hover {
  border: 2px solid #dadada;
  color: #f5f5f5;
  background-color: #0078ff;
  transition: all 0.5s;
}

.custom-button {
  border-radius: 30px;
  padding: 10px 20px;
}

.footer {
  text-align: center;
  color: #fff;
  padding: 25px 0;
  background: #0062d3;
}

.work-box {
  overflow: hidden;
}

.work-box:hover img {
  transform: scale(1.3);
}

.work-img img {
  transition: all 1.5s;
}

button.button-slider {
  height: 10px;
  width: 10px;
}

.card-blog {
  position: relative;
  background-color: white;
  border: gainsboro 1px solid;
  box-shadow: 0px 13px 8px -10px rgba(0, 0, 0, 0.1);
  /* padding: 4px; */
}

span.custom-badge {
  position: absolute;
  left: 130px;
  bottom: 170px;
}

img.img-footer {
  width: 30px;
}

.contact p {
  margin-bottom: 0;
}

.contact i {
  color: #0078ff;
}

.text p.touch::after {
  content: "";
  color: #0078ff;
  background-color: #0078ff;
  font-weight: bold;
  display: block;
  width: 20%;
  height: 4px;
  border: 1px solid;
  margin-top: 10px;
  margin-bottom: 30px;
}

.form p::after {
  content: "";
  color: #0078ff;
  background-color: #0078ff;
  font-weight: bold;
  display: block;
  width: 20%;
  height: 4px;
  border: 1px solid;
  margin-top: 10px;
  margin-bottom: 30px;
}

.text-blog::after {
  content: "";
  color: #0078ff;
  background-color: #0078ff;
  font-weight: bold;
  display: block;
  width: 10%;
  height: 4px;
  border: 1px solid;
  margin-top: 10px;
  margin-bottom: 30px;
  margin: auto;
}

.text-section::after {
  content: "";
  color: #0078ff;
  background-color: #0078ff;
  font-weight: bold;
  display: block;
  width: 10%;
  height: 4px;
  border: 1px solid;
  margin-top: 10px;
  margin-bottom: 30px;
  margin: auto;
}

.text-services::after {
  content: "";
  color: #0078ff;
  background-color: #0078ff;
  font-weight: bold;
  display: block;
  width: 10%;
  height: 4px;
  border: 1px solid;
  margin-top: 10px;
  margin-bottom: 30px;
  margin: auto;
}
