/* global */
* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #343434;
  font-weight: 400;
}

:root {
  --section-bg: #f7f7f7;
  --s-padding: 5rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
  font-family: "Montserrat", sans-serif;
}

input:focus,
textarea:focus {
  outline: none;
}

p {
  line-height: 1.6;
  margin: 0;
  font-size: 15px;
  color: #748182;
}

a {
  text-decoration: none;
  color: white;
}

ul {
  list-style: none;
}

.section-padding {
  padding-top: var(--s-padding);
  padding-bottom: var(--s-padding);
}

.section-heading {
  margin-bottom: 80px;
  text-align: center;
}

.section-heading h3 {
  font-weight: 900;
  font-size: 40px;
  position: relative;
  display: inline-block;
  z-index: 5;
}

.section-heading h3:after {
  content: "";
  width: 100%;
  height: 30px;
  background-image: url(../imgs/dots.png);
  background-repeat: repeat;
  position: absolute;
  bottom: -10px;
  left: 0;
  z-index: -1;
}

/* end global */

/* start header */
.navbar-brand {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}

header {
  background-image: url(../imgs/bg.jpg);
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  max-width: 100%;
  position: relative;
  z-index: 0;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.caption h5 {
  font-size: 3.125rem;
  font-weight: bold;
}

.caption h1 span {
  font-weight: 300;
  position: relative;
}

.caption h1 span::after {
  content: "";
  font-weight: bold;
  width: 100%;
  font-size: 2.5rem;
  animation: typing 4s infinite linear;
}

/* end header */

/* start about */

#about .image {
  padding: 0 0 0 1.875rem;
  position: relative;
}

#about .image img {
  width: 100%;
}

#about .image:after {
  content: "";
  width: 80%;
  height: 70%;
  position: absolute;
  left: 0;
  bottom: -1rem;
  background-image: url(../imgs/dots.png);
  background-repeat: repeat;
  z-index: -1;
}

.skills .bar {
  margin-bottom: 30px;
  position: relative;
}

.skills h6 {
  font-size: 13px;
  color: #fff;
  position: relative;
  z-index: 2;
}

.skills .skills-progress {
  width: 100%;
  padding: 5px 10px;
  border-radius: 5px;
  background: #f7f7f7;
  box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.15) inset;
  position: relative;
}

.skills .skills-progress span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 10%;
  border-radius: 5px;
  background-color: #1c1c1c;
  -webkit-transition: all 1s;
  transition: all 1s;
}

.skills .skills-progress span:after {
  content: attr(data-value);
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 11px;
  color: #fff;
}

#download,
#contact-me {
  padding: 0.625rem 0.9375rem;
  border: 0.0625rem solid lightgrey;
  border-radius: 0.4375rem;
  transition: 0.3s;
}

#download,
#contact-me:hover {
  background-color: #1c1c1c;
  color: white;
}

#contact-me,
#download:hover {
  background-color: white;
  color: #1c1c1c;
}

/* end about */

/* start services */
#services {
  background-color: var(--section-bg);
}

#services i {
  background-color: lightgray;
  transition: 0.3s;
}

#services .col-md-3:hover i {
  background-color: #1c1c1c;
  color: white;
}

/* end services */

/* start portfolio */
#portfolio .section-heading {
  margin-bottom: 2.5rem;
}

#portfolio ul .active {
  border-bottom: 2px solid black;
}

.item-image {
  position: relative;
  overflow: hidden;
}

.item-image img {
  transition: 0.3s;
}

.item-overlay {
  position: absolute;
  inset: 0.3125rem;
  background: rgba(255, 255, 255, 0.95);
  opacity: 0;
  transition: all 0.5s;
  z-index: 2;
  transform: translateY(0.625rem);
}

.item-caption {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translate(0%, -50%);
}

.portfolio .item-caption h6 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.125rem;
  position: relative;
  margin-bottom: 0.9375rem;
  transform: translateY(-0.9375rem);
  transition: all 0.5s;
}

.item-icons i {
  display: inline-block;
  width: 1.875rem;
  height: 1.875rem;
  line-height: 1.5625rem;
  border-radius: 50%;
  border: 0.0625rem solid #111;
  background: #111;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.item-icons i:hover {
  color: black;
  background-color: white;
}

.item-image:hover .item-overlay {
  opacity: 1;
  transform: translateY(0);
}
/* end portfolio */

/* start testimonials */
.testimonials {
  background-color: var(--section-bg);
}

.carousel-item img {
  width: 4.375rem;
  border-radius: 50%;
  align-self: center;
  justify-self: center;
  margin-bottom: 6.25rem;
}

.carousel .carousel-indicators .active {
  background-color: #111;
}

/* end testimonials */

/* start team */
#team {
  background-color: var(--section-bg);
}

.item-overlay-rotate {
  position: absolute;
  inset: 0.3125rem;
  background: rgba(255, 255, 255, 0.95);
  opacity: 0;
  transition: all 0.5s;
  z-index: 2;
}

.item-image:hover .item-overlay-rotate {
  opacity: 1;
  transform: rotatey(360deg);
}

.item-image img:hover img {
  transform: scale(1.2);
}

.item-id {
  background-color: rgba(52, 52, 52, 0.8);
  border-bottom-left-radius: 0.4375rem;
  border-bottom-right-radius: 0.4375rem;
}
/* end team */

/* start contact us  */

#contact .info {
  width: 80%;
  margin: auto;
}
#contact .info .item .icon i {
  font-size: 1.5625rem;
  margin-bottom: 0.9375rem;
  width: 3.75rem;
  height: 3.75rem;
  line-height: 3.75rem;
  background-color: #f4f4f4;
  border-radius: 50%;
  transition: all 0.5s;
}

#contact .info .item h6 {
  font-weight: 700;
  margin-bottom: 10px;
}

#contact .form {
  width: 80%;
  margin: auto;
}

#contact .form input[type="text"],
#contact .form input[type="email"],
#contact .form textarea {
  width: 100%;
  border: 0;
  border-radius: 0.3125rem;
  padding: 0.625rem;
  background: #f4f4f4;
  margin-bottom: 0.625rem;
}

#contact .form .buton {
  padding: 10px 40px;
  border: 0.0625rem solid gray;
  border-radius: 0.4375rem;
  background-color: #111;
  color: white;
  transition: 0.3s;
}

#contact .form .buton:hover {
  background-color: white;
  color: #111;
}
/* end contact us  */

/* start footer */
footer {
  background-color: #1c1c1c;
  padding: 1.875rem;
}
/* end footer */
