@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800;900&display=swap");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}
body {
  background-color: #1b1b22;
  font-family: "Raleway", sans-serif;
  color: #c8c8c8;
  line-height: 1.5;
}
.container {
  max-width: 1170px;
  margin: auto;
}
a {
  text-decoration: none;
}
.section-title {
  padding: 0px 15px;
}
.section-title h2 {
  font-size: 40px;
  text-transform: capitalize;
  text-align: center;
  padding-bottom: 12px;
}
.nav {
  text-align: center;
  padding: 25px 15px;
}
.nav a {
  color: white;
  font-size: 24px;
  font-size: 700;
  margin: 0 20px;
  transition: 0.3s ease all;
}
.nav a:hover {
  color: #e98b2c;
}

/* about start */
.about-text {
  text-align: center;
  max-width: 640px;
  margin: auto;
  width: 100%;
  padding: 120px 15px;
}
.about-text h1 {
  font-size: 28px;
  margin: 0 0 8px;
  font-weight: 600;
}
.about-text p span {
  font-weight: 600;
  text-transform: capitalize;
}
.about-text a {
  color: #e98b2c;
  text-transform: capitalize;
  font-weight: 600;
  position: relative;
}
.about-text a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  background-color: #e98b2c;
  width: 0%;
  transition: 0.3s ease all;
}
.about-text p a:hover::before {
  width: 100%;
}
.about-text h2 {
  text-transform: capitalize;
  font-size: 20px;
  margin: 20px 0 5px;
}
.about-text .skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.about-text .skill-item {
  margin: 0 4px 10px;
  background-color: #32323a;
  margin: 4px 2px 0;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 16px;
  text-transform: capitalize;
}
/* about end */
section.works-section {
  padding: 60px 0px;
}
.works {
  display: flex;
  flex-wrap: wrap;
}
.works-item {
  width: calc((100% / 3) - 30px);
  margin: 30px 15px;
  transition: 0.3s all ease;
}
.work-item-thubnail {
  width: 100%;
  height: 250px;
  position: relative;
  overflow: hidden;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}
.works-item:hover img {
  transform: scale(1.1);
}
.works-item:hover .overlay {
  background-color: rgba(0, 0, 0, 0);
}
.works-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.3s all ease;
}
.project-info {
  margin-top: 20px;
}
.project-info p {
  font-size: 14px;
  line-height: 28px;
}
.project-info a {
  color: #e98b2c;
}

/* contact section start */
section.contact-section {
  padding: 60px 15px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.contact-text {
  max-width: 700px;
  width: 100%;
  margin: auto;
  text-align: center;
}
.contact-info-item {
  margin-top: 30px;
}
.contact-info-item p {
  font-size: 20px;
  font-weight: 600;
}
.contact-info-item p a {
  color: #e98b2c;
}
.social-links span {
  margin-right: 4px;
}
.social-links span a {
  height: 30px;
  width: 30px;
  border: 1px solid #c8c8c8;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c8c8c8;
  border-radius: 50%;
  transition: 0.3s ease all;
  margin: 0 3px;
}
.social-links span a:hover {
  color: #e98b2c;
  border-color: #e98b2c;
}
/* contact section end */
@media screen and (max-width: 991px) {
  .nav a {
    font-size: 18px;
    margin: 0 10px;
  }
  .works-item {
    width: calc(50% - 30px);
  }
}
@media screen and (max-width: 767px) {
  .works-item {
    width: calc(100% - 30px);
  }
}
