:root {
  --Montserrat-Font: "Montserrat", sans-serif;
  --Poppins-Font: "Poppins", sans-serif;
  --Main-Color: #1c1c1c;
}

/* Nav */

nav .navbar-brand {
  font-family: var(--Montserrat-Font);
  font-weight: 800;
}

nav .nav-item {
  font-family: var(--Poppins-Font);
  position: relative;
  font-size: 14px;
  padding: 6px 12px;
}

.navbar-nav > li {
  padding: unset;
  margin: unset;
}
.navbar-nav > li > a {
  padding: unset;
  margin: unset;
}

.navbar-nav > li > a:after {
  content: "";
  width: 0;
  height: 2px;
  background: black;
  position: absolute;
  bottom: 10px;
  left: 15px;
  right: 0;
  transition: all 0.5s;
}

.navbar-nav > li .active:after {
  width: 60%;
}

.navbar-nav > li.services .active:after {
  width: 67%;
}

.navbar-nav > li.contact .active:after {
  width: 66%;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.nav-link {
  color: black;
  transition: 0.3s;
}

.nav-link:hover {
  color: black;
}

@media screen and (max-width: 991px) {
  .navbar-collapse {
    text-align: center;
    border: none;
    background: #fff;
    margin-top: 5px;
    padding-bottom: 15px;
  }

  .navbar-nav {
    margin: auto;
  }

  .nav-link {
    color: black;
  }

  .navbar-nav .nav-link.active,
  .navbar-nav .nav-link.show {
    color: black;
  }
  .navbar-nav > li .active:after,
  .navbar-nav > li.contact .active:after,
  .navbar-nav > li.services .active:after {
    width: 0%;
  }
}

/* Nav */

/* Header */
header {
  background-image: url(../img/bg.jpg);
  background-position: center;
  background-position-y: 5%;
  background-size: cover;
  height: 100vh;
}

header .layer {
  background-color: rgba(0, 0, 0, 0.7);
  height: 100%;
}

header .layer h1 {
  font-family: var(--Montserrat-Font);
  font-size: 50px;
  font-weight: 800;
}

header .layer h3 {
  font-family: var(--Montserrat-Font);
  font-size: 60px;
  font-weight: 200;
}

header .layer h3 span {
  font-family: var(--Montserrat-Font);
  font-size: 60px;
  font-weight: 400;
}

header .items .item i {
  text-decoration: none;
  cursor: pointer;
  color: white;
  background: rgba(0, 0, 0, 0.3);
  padding: 9px;
}

/* Header */

/* About */

.about-img {
  position: relative;
}

.about-img::after {
  content: "";
  width: 80%;
  height: 80%;
  position: absolute;
  left: -30px;
  bottom: -33px;
  background-image: url(../img/dots.png);
  background-repeat: repeat;
  z-index: -1;
}

#about .col-md-6 h2 {
  font-family: var(--Montserrat-Font);
  color: rgb(52, 52, 52);
}

#about .col-md-7 h3 {
  color: rgb(153, 153, 153);
  font-family: var(--Poppins-Font);
  letter-spacing: 3px;
  font-size: 14px;
}

#about .col-md-6 p {
  font-family: var(--Poppins-Font);
}

.progress {
  height: 25px;
}
.progress-bar {
  background-color: var(--Main-Color);
  position: relative;
  color: white;
}

.progress {
  border-radius: 5px;
  background: #f7f7f7;
  box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.15) inset;
}

.progress span {
  color: white;
  font-family: var(--Montserrat-Font);
  padding: 10px;
}

.progress-bar.web::after {
  content: "95%";
  position: absolute;
  right: 5px;
}

.progress-bar.brand::after {
  content: "80%";
  position: absolute;
  right: 5px;
}

.progress-bar.development::after {
  content: "90%";
  position: absolute;
  right: 5px;
}
.buttons .btn-secondary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--Main-Color);
  --bs-btn-border-color: black;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: white;
  --bs-btn-hover-border-color: #565e64;
  --bs-btn-focus-shadow-rgb: 130, 138, 145;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: none;
  --bs-btn-active-border-color: #51585e;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #6c757d;
  --bs-btn-disabled-border-color: #6c757d;
  padding: 7px 30px;
}

.btn2-secondary {
  --bs-btn-color: black;
  --bs-btn-bg: white;
  --bs-btn-border-color: black;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: black;
  --bs-btn-hover-border-color: black;
  --bs-btn-focus-shadow-rgb: 130, 138, 145;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: none;
  --bs-btn-active-border-color: #51585e;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #6c757d;
  --bs-btn-disabled-border-color: #6c757d;
  padding: 7px 30px;
}

.btn-secondary:hover {
  color: black;
}

.btn2-secondary:hover {
  color: white;
}

/* About */

/* Services */

#services .container h2 {
  font-family: var(--Montserrat-Font);
  font-weight: 900;
  font-size: 40px;
}

#services .container h2 {
  position: relative;
}

#services .container h2::after {
  content: "";
  width: 100%;
  height: 30px;
  background-image: url(../img/dots.png);
  background-repeat: repeat;
  position: absolute;
  bottom: -10px;
  left: -4px;
  z-index: -1;
}

#services .container .item {
  padding: 30px 45px;
  transition: 0.3s;
}

#services .container .item h4 {
  font-family: var(--Montserrat-Font);
  font-size: 18px;
  color: var(--Main-Color);
  font-weight: 800;
}

#services .container .item p {
  font-family: var(--Poppins-Font);
  font-size: 14px;
  color: rgb(116, 129, 130);
}

#services .container .item i {
  border-radius: 50%;
  transition: 0.3s;
  padding: 20px;
}

#services .container .item:hover i {
  background-color: var(--Main-Color);

  transition: 0.3s;
  color: white;
}

/* Services */

/* Portfolio */

#portfolio .container h2 {
  font-family: var(--Montserrat-Font);
  font-weight: 900;
  font-size: 40px;
}

#portfolio .container h2 {
  position: relative;
}

#portfolio .container h2::after {
  content: "";
  width: 100%;
  height: 30px;
  background-image: url(../img/dots.png);
  background-repeat: repeat;
  position: absolute;
  bottom: -10px;
  left: -4px;
  z-index: -1;
}

.nav-tabs {
  border: none;
  margin: 0 12px;
}

.nav-tabs .nav-link.active {
  color: black;
  border-color: transparent;
  border-radius: 20px;
  position: relative;
  font-family: var(--Poppins-Font);
  font-weight: 700;
  font-size: 16px;
}

.nav-tabs .nav-link {
  border-color: transparent;
  border-radius: 20px;
  position: relative;
  font-family: var(--Poppins-Font);
  font-weight: 700;
  font-size: 16px;
  transition: 0.3s;
  color: #333;
}

.nav-tabs .nav-link::after {
  content: "";
  width: 0%;
  height: 2px;
  background: var(--Main-Color);
  position: absolute;
  bottom: 5px;
  left: 13px;
  cursor: pointer;
  transition: 0.3s;
}

.nav-tabs .nav-link.active::after {
  width: 55%;
}

.nav-tabs .nav-link.active#brand-tab::after {
  width: 60%;
  left: 16px;
}

.nav-tabs .nav-link.active#design-tab::after {
  width: 65%;
  left: 16px;
}

.nav-tabs .nav-link.active#graphic-tab::after {
  width: 67%;
  left: 16px;
}

.nav-tabs .nav-link:hover {
  border-color: transparent;
  transition: 0.3s;
}

#portfolio .tab-content .row .item {
  position: relative;
}

#portfolio .tab-content .row .item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
}

#portfolio .item {
  position: relative;
  overflow: hidden;
}

#portfolio .item .icons a {
  text-decoration: none;
}

#portfolio .item:hover .img-overlay {
  opacity: 1;
  transform: translateY(0);
}

#portfolio .item:hover h3,
#portfolio .item:hover .icons {
  transform: translateY(0);
}
#portfolio .item h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  position: relative;
  margin-bottom: 15px;
  transform: translateY(-15px);
  transition: all 0.5s;
}

#portfolio .item .icons i {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 28px;
  border-radius: 50%;
  border: 1px solid #111;
  background: #111;
  color: #eee;
}
#portfolio .item .icons i:hover {
  background: transparent;
  color: #000;
}
#portfolio .img-overlay {
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  background: rgba(255, 255, 255, 0.95);
  opacity: 0;
  transition: all 0.5s;
  z-index: 2;
  transform: translateY(10px);
}

/* Portfolio */

/* Testimonail */

#testimonial .container .testimonial-text h2 {
  font-family: var(--Montserrat-Font);
  font-weight: 900;
  font-size: 40px;
}

#testimonial .container .testimonial-text h2 {
  position: relative;
}

#testimonial .container .testimonial-text h2::after {
  content: "";
  width: 100%;
  height: 30px;
  background-image: url(../img/dots.png);
  background-repeat: repeat;
  position: absolute;
  bottom: -10px;
  left: -4px;
  z-index: -1;
}

.carousel-indicators [data-bs-target] {
  box-sizing: content-box;
  flex: 0 1 auto;
  top: 30px;
  position: relative;
  width: 10px;
  height: 10px;
  padding: 0;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  border-radius: 50%;
  cursor: pointer;
  background-color: #d6d6d6;
  background-clip: padding-box;
  border: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  opacity: 0.5;
  transition: opacity 0.6s ease;
}

.carousel-indicators [data-bs-target]:hover {
  background-color: #869791;
}
.carousel-indicators .active {
  background-color: #869791;
}

#testimonial .carousel-item img {
  width: 10%;
}

#testimonial .carousel-item p {
  font-family: var(--Poppins-Font);
  font-weight: 400;
  font-size: 15px;
  color: rgb(116, 129, 130);
}

#testimonial .carousel-item h6 {
  font-family: var(--Montserrat-Font);
  font-weight: 700;
  font-size: 16px;
  color: var(--Main-Color);
}

#testimonial .carousel-item .job {
  font-size: 12px;
  font-weight: 600;
}

/* Testimonial */

/* Numbers */

#numbers .container .item h6 {
  font-family: var(--Montserrat-Font);
  font-weight: 900;
  font-size: 30px;
  color: var(--Main-Color);
}

#numbers .container .item p {
  font-family: var(--Poppins-Font);
  font-weight: 600;
  font-size: 15px;
  color: rgb(116, 129, 130);
}

/* Numbers */

/* Team */
#team .container .team-text h2 {
  font-family: var(--Montserrat-Font);
  font-weight: 900;
  font-size: 40px;
}

#team .container .team-text h2 {
  position: relative;
}

#team .container .team-text h2::after {
  content: "";
  width: 100%;
  height: 30px;
  background-image: url(../img/dots.png);
  background-repeat: repeat;
  position: absolute;
  bottom: -10px;
  left: -4px;
  z-index: -1;
}

#team .container .card .card-body {
  background-color: #5b5b5b;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}
#team .container .card {
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
  border-top-left-radius: unset;
  border-top-right-radius: unset;
  border: none;
  position: relative;
}

.card-img {
  border-radius: unset;
}

#team .container .card .card-img {
  transition: 0.3s;
}

#team .container .img-content:hover .card-img {
  transition: 0.3s;
  transform: scale(1.2);
}

#team .container .card .card-body p {
  font-family: var(--Montserrat-Font);
}

#team .container .card .card-body .card-text {
  font-size: 25px;
  font-weight: 500;
}

#team .container .card .card-body .job {
  font-size: 20px;
  font-weight: 700;
}

#team .overlay {
  background-color: white;
  position: absolute;
  text-align: center;
  left: 5px;
  right: 5px;
  top: 5px;
  bottom: 105px;
  opacity: 0;
  transition: 0.5s;
  transform: rotateY(180deg) scale(0.5, 0.5);
}

#team .card:hover .overlay {
  opacity: 100;
  transform: rotateY(0) scale(1);
}

#team .overlay ul {
  text-align: center;
  position: relative;
  top: 175px;
}

#team .overlay ul li a {
  border: 1px solid #000;
  color: #fff;
  background-color: #000;
  display: block;
  font-size: 20px;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin: 5px;
}

#team .overlay ul li a:hover {
  background-color: white;
}

#team .overlay ul li a:hover i {
  color: black;
}

/* Team */

/* Contact */

#contact .container .contact-text h2 {
  font-family: var(--Montserrat-Font);
  font-weight: 900;
  font-size: 40px;
}

#contact .container .contact-text h2 {
  position: relative;
}

#contact .container .contact-text h2::after {
  content: "";
  width: 100%;
  height: 30px;
  background-image: url(../img/dots.png);
  background-repeat: repeat;
  position: absolute;
  bottom: -10px;
  left: -4px;
  z-index: -1;
}

#contact .container .item i {
  transition: 0.4s;
  padding: 15px;
  border-radius: 50%;
  font-size: 20px;
}

#contact .container .item h6 {
  font-family: var(--Montserrat-Font);
  font-weight: 700;
  font-size: 16px;
  color: var(--Main-Color);
}

#contact .container .item p {
  font-family: var(--Poppins-Font);
  font-size: 15px;
  color: rgb(116, 129, 130);
}

#contact .container .item:hover i {
  background-color: #1c1c1c;
  transition: 0.4s;
  color: white;
}

#contact input {
  border: none;
}

#contact input:focus {
  outline: none;
}

#contact textarea {
  height: 120px;
  border: none;
}

#contact textarea:focus {
  outline: none;
}
/* Contact */

/* Footer */

footer {
  background-color: var(--Main-Color);
  width: 100%;
}

footer p {
  font-family: var(--Poppins-Font);
  font-size: 13px;
  font-weight: 400;
  color: rgb(116, 129, 130);
}
