/* Start global styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  background-color: #f7f7f7;
  color: #343434;
}
.text-gray {
  color: #748182 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
}
img {
  max-width: 100%;
  display: block;
}
ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit !important;
}
p {
  line-height: 1.6;
}
.ls-2 {
  letter-spacing: 2px;
}

.py-100 {
  padding-block: 100px;
}
.pb-5rem {
  padding-bottom: 5rem;
}
.mb-50 {
  margin-bottom: 50px;
}
.mb-5rem {
  margin-bottom: 5rem;
}
.mt-4rem {
  margin-top: 4rem;
}
.w-80 {
  width: 80%;
}
.w-90 {
  width: 90%;
}
.w-95 {
  width: 95%;
}
.fs-13 {
  font-size: 13px;
}
.fs-14 {
  font-size: 14px;
}
.fs-15 {
  font-size: 15px;
}

.fw-300 {
  font-weight: 300;
}
.fw-800 {
  font-weight: 800;
}
.fw-900 {
  font-weight: 900;
}
.title-dots::after {
  content: "";
  width: 100%;
  height: 30px;
  background-image: url("../images/dots.png");
  background-repeat: repeat;
  position: absolute;
  bottom: -10px;
  left: 0;
  z-index: -1;
}

.my-nav .nav-link {
  position: relative;
}
.my-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0%;
  height: 2px;
  width: 0;
  background-color: #000;
  transition: width 0.5s;
}
.my-nav .nav-link.active::after {
  width: 100%;
}
.layer-icons i {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 28px;
  border-radius: 50%;
  border: 1px solid #111;
  background: #111;
  color: #eee;
  font-size: 12px;
}
.layer-icons i:hover {
  background-color: #eee;
  color: #111;
}
/* End global styles */

/* Start navbar styles */

.my-nav .container .logo {
  letter-spacing: 1px;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  color: #1c1c1c !important;
}

/* End navbar styles */

/* Start Home styles */
.home {
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.65),
      rgba(0, 0, 0, 0.65)
    ),
    url("../images/bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.typed-cursor {
  font-size: 5rem;
  font-weight: 100;
}
.home .social-icons li {
  width: 35px;
  height: 35px;
  background-color: rgba(0, 0, 0, 0.35);
}
/* End Home styles */

/* Start About styles */
.about .image::after {
  content: "";
  width: 85%;
  height: 80%;
  position: absolute;
  left: -30px;
  bottom: -30px;
  background-image: url("../images/dots.png");
  background-repeat: repeat;
}

.about .container .skills .my-progress {
  height: 25px;
  margin-bottom: 30px;
  background: #f7f7f7;
  box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.15) inset;
}

.about .container .btns button {
  transition: 0.5s;
  font-size: 13px;
  padding: 10px 30px;
}

.about .container .btns .hover-white:hover {
  background-color: #fff;
  color: #000;
}
/* End About styles */

/* Services styles */

.services .container .card-body {
  padding: 50px 20px;
}

.services .container .my-card h6 {
  font-size: 18px;
}
.services .container .my-card p {
  word-spacing: 2px;
}
.services .icon {
  width: 80px;
  height: 80px;
  background-color: #f4f4f4;
  transition: 0.5s;
  font-size: 30px;
}

.services .container .card:hover .icon {
  background-color: #1c1c1c;
  color: #fff;
}
/* End Services styles */

/* portfolio styles */

.portfolio .inner .layer {
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.5s;
  z-index: 2;
  transform: translateY(10px);
  opacity: 0;
}
.portfolio .inner:hover .layer {
  transform: translateY(0);
  opacity: 1;
}
.portfolio .inner .layer .layer-info {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translate(0%, -50%);
}
.portfolio .inner .layer .layer-info h6 {
  transform: translateY(-15px);
  transition: all 0.5s;
}
.portfolio .inner .layer:hover h6 {
  transform: translateY(0);
}

/* End portfolio styles */

/* Testimonial styles */

.my-slider .btn-swipe {
  width: 10px;
  height: 10px;
  background-color: #869791;
}
.my-slider .carousel-item p {
  word-spacing: 2px;
}
/* End Testimonial styles */

/* Team styles */

.team .container .card-body {
  background-color: #5b5b5b;
  color: #fff;
}
.team .container .card-img img {
  transition: all 0.4s ease 0s;
}
.team .container .card-img:hover img {
  transform: scale(1.2);
}
.team .container .layer {
  background-color: rgba(255, 255, 255, 0.95);
  position: absolute;
  inset: 5px;
  transition: 0.5s;
  opacity: 0;
  transform: rotateY(180deg) scale(0.5, 0.5);
}
.team .container .layer .layer-icons i {
  width: 40px;
  height: 40px;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.team .container .card:hover .layer,
.team .container .card-img:hover .layer {
  opacity: 1;
  transform: rotateY(0) scale(1, 1);
}
/* End Team styles */

/* Contact styles */

.contact .container .card .icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f4f4f4;
  font-size: 25px;
  transition: 0.5s;
}
.contact .container .card:hover .icon {
  color: #fff;
  background-color: #1c1c1c;
}
.contact .container form .form-control {
  background-color: #f4f4f4;
}

.contact .container form .my-btn {
  padding: 10px 40px;
  background-color: #1c1c1c;
  border: 1px solid #1c1c1c;
  color: #eee;
  transition: 0.5s;
}
.contact .container form .my-btn:hover {
  background-color: transparent;
  color: #1c1c1c;
}

/* End Contact styles */

/* Footer styles */

.footer {
  background-color: #1c1c1c;
  padding: 30px;
  word-spacing: 2px;
}

/* End Footer styles */

/* media queries */

@media screen and (min-width: 992px) {
  .w-lg-90 {
    width: 90%;
  }
  .px-lg-80 {
    padding-inline: 80px;
  }
}
