@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  user-select: none; /*preventing from copying my web details */
}
html {
  scroll-behavior: smooth;
}
::-webkit-scrollbar {
  display: none;
}
/* navbar styling */
.max-width {
  max-width: 1300px;
  margin: auto;
  padding: 0 80px;
}
.navbar {
  width: 100%;
  /* background: crimson; */
  z-index: 998;
  padding: 30px 0px;
  position: fixed;
  font-family: "Ubuntu", sans-serif;
  transition: all 0.3s ease;
}
.navbar.sticky {
  padding: 15px 0px;
  background-color: crimson;
}
.navbar .max-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar .logo a {
  color: #fff;
  font-size: 35px;
  font-weight: 600;
}
.navbar.sticky .logo a span {
  color: #fff;
  transition: all 0.3s ease;
}
.navbar .logo a span {
  color: crimson;
}
.navbar .menu li {
  list-style: none;
  display: inline;
}
.navbar .menu li a {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  margin-left: 25px;
  transition: color 0.3s ease;
}
.navbar .menu li a:hover {
  color: crimson;
}
.navbar.sticky .menu li a:hover {
  color: #fff;
}

.navbar .menu-btn {
  color: #fff;
  font-size: 23px;
  cursor: pointer;
  display: none;
}

/* home section styling */
.home {
  width: 100%;
  display: flex;
  background: url("https://static.vecteezy.com/system/resources/previews/001/946/655/non_2x/abstract-template-luxury-overlapping-layer-on-black-background-with-golden-lines-glowing-free-vector.jpg")
    no-repeat center;
  height: 100vh;
  background-size: cover;
  min-height: 500px;
  color: #fff;
  font-family: "Ubuntu", sans-serif;
}
.home .max-width {
  margin: auto 0 auto 4px;
}
.home .home-content {
  padding-left: 30px;
  text-shadow: 1px 1px 3px rgb(0, 0, 0);
}
.home .home-content .text-1 {
  font-size: 27px;
}
.home .home-content .text-2 {
  font-size: 75px;
  font-weight: 600;
  margin-left: -3px;
}
.home .home-content .text-3 {
  font-weight: 100;
  font-size: 40px;
  margin: 5px 0;
}
.home .home-content .text-3 span {
  color: crimson;
  font-weight: 600;
}
.home-content a {
  font-size: 23px;
  display: inline-block;
  color: #fff;
  background-color: crimson;
  padding: 7px 20px;
  margin: 10px 0px;
  border-radius: 9px;
  border: 3px solid crimson;
  box-shadow: 0px 0px 3px white;
  transition: all 0.3s;
}
.home-content a:hover {
  box-shadow: none;
  background: transparent;
  color: crimson;
}

/* lets start about section */
section {
  padding: 100px 0px;
}
.about,
.services,
.skills,
footer {
  font-family: "Poppins", sans-serif;
}
section .title {
  position: relative;
  text-align: center;
  font-family: "Ubuntu", sans-serif;
  font-size: 40px;
  margin-bottom: 60px;
  padding-bottom: 20px;
  font-weight: 500;
}
section .title::before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 180px;
  height: 3px;
  background: #111;
  transform: translateX(-50%);
}

section .title::after {
  position: absolute;
  bottom: -12px;
  left: 50%;
  font-size: 20px;
  color: crimson;
  background: #fff;
  padding: 5px;
  transform: translateX(-50%);
}
.about .title::after {
  content: "who i am";
}
.about .about-content,
.services .serv-content,
.skills .skills-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.about .about-content .left {
  width: 45%;
}
.about .about-content .right {
  width: 55%;
}
.about .about-content .left img {
  height: 400px;
  width: 400px;
  border-radius: 6px;
  object-fit: cover;
}
.about .about-content .right .text {
  font-weight: 600;
  font-size: 25px;
  margin-bottom: 10px;
}
.about .about-content .right .text span {
  color: crimson;
}
.about .about-content .right p {
  text-align: justify;
}
.about .about-content .right a {
  font-size: 20px;
  display: inline-block;
  color: #fff;
  background-color: crimson;
  padding: 1px 30px;
  margin: 10px 0px;
  border-radius: 9px;
  border: 3px solid crimson;
  box-shadow: 0px 0px 3px white;
  transition: all 0.3s;
}

.about .about-content .right a:hover {
  box-shadow: none;
  background: transparent;
  color: crimson;
}

/* services section styling */
.services {
  background-color: #111;
  color: #fff;
}
.services .title::before {
  background-color: #fff;
}
.services .title::after {
  background-color: #111;
  content: "Things i do";
}
.services .serv-content .card {
  width: calc(33% - 20px);
  background-color: #222;
  text-align: center;
  border-radius: 6px;
  padding: 20px 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.services .serv-content .card .box {
  transition: all 0.3s ease;
}
.services .serv-content .card:hover .box {
  transform: scale(1.05);
}

.services .serv-content .card:hover {
  box-shadow: 0px 0px 15px rgb(85, 83, 83);
}
.services .serv-content .card i {
  font-size: 50px;
  color: crimson;
  transition: color 0.7s ease;
}
.services .serv-content .card .text {
  font-size: 25px;
  font-weight: 500;
  padding: 10px 0 7px 0;
}

/* skills section starts */
.skills .title::after {
  content: "what i know";
}
.skills .skills-content .column {
  width: calc(50% - 30px);
}
.skills .skills-content .left .text {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 10px;
}
.skills .skills-content .right .bars {
  margin-bottom: 15px;
}
.skills .skills-content .right .info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.skills .skills-content .right span {
  font-weight: 500;
  font-size: 18px;
}
.skills .skills-content .right .line {
  height: 5px;
  width: 100%;
  background: lightgray;
  position: relative;
}
.skills .skills-content .right .line::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 80%;
  left: 0;
  top: 0;
  background-color: crimson;
}
.skills .skills-content .right .html::before {
  width: 90%;
}
.skills .skills-content .right .css::before {
  width: 80%;
}
.skills .skills-content .right .js::before {
  width: 65%;
}
.skills .skills-content .right .react::before {
  width: 60%;
}
.skills .skills-content .right .java::before {
  width: 81%;
}

/* footer starts */
footer {
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 20px 22px;
}
footer span a {
  font-weight: 600;
  color: crimson;
  text-decoration: none;
}
footer span a:hover {
  text-decoration: underline;
}
/* ------------------------------------------------------------------------------------------- */
/* make webpage responsive */
@media (max-width: 1300px) {
  .home .max-width {
    margin-left: 0px;
  }
  .about .about-content .right {
    width: 50%;
  }
}
@media (max-width: 1104px) {
  .about .about-content .left img {
    height: 300px;
    width: 300px;
  }
}
@media screen and (max-width: 1000px) {
  .max-width {
    padding: 0 50px;
  }
  .navbar .menu-btn {
    display: block;
    z-index: 999;
  }
  /* .menu-btn i.active:before {
    content: "\f00d";
  } */
  .navbar .menu {
    position: fixed;
    background-image: radial-gradient(
      circle farthest-corner at 10% 20%,
      rgba(90, 92, 106, 1) 0%,
      rgb(7, 9, 12) 81.3%
    );
    height: 100vh;
    width: 100vw;
    left: 100%;
    top: 0;
    text-align: center;
    padding-top: 80px;
    transition: all 0.4s ease-in-out;
  }
  .navbar .menu.active {
    left: 0;
  }
  .navbar .menu li {
    display: block;
  }
  .navbar .menu li a {
    display: inline-block;
    margin: 20px 0;
    font-size: 25px;
  }
  .home .home-content .text-1 {
    font-size: 24px;
  }
  .home .home-content .text-2 {
    font-size: 65px;
  }
  .home .home-content .text-3 {
    font-size: 30px;
  }
  .max-width {
    max-width: 800px;
  }
  .about .about-content .column {
    width: 100%;
  }
  .about .about-content .left {
    display: flex;
    justify-content: center;
    margin: 0 auto 60px;
  }
  .about .about-content .right {
    flex: 100%;
  }
  .services .serv-content .card {
    width: calc(50% - 10px);
    margin-bottom: 20px;
  }
  .skills .skills-content .column {
    width: 100%;
    margin-bottom: 25px;
  }
}
@media screen and (max-width: 600px) {
  .home .home-content .text-2 {
    font-size: 50px;
  }
  .home .home-content .text-3 {
    font-size: 27px;
  }
  .home-content a {
    font-size: 20px;
  }
  .services .serv-content .card,
  .skills .skills-content .column {
    width: 100%;
  }
}
@media screen and (max-width: 440px) {
  .home .home-content .text-1 {
    font-size: 19px;
    margin-left: -50px;
  }
  .home .home-content .text-2 {
    font-size: 45px;
    margin-left: -50px;
  }
  .home .home-content .text-3 {
    margin-left: -50px;
    font-size: 23px;
  }
  .home-content a {
    font-size: 19px;
    margin-left: -50px;
  }
}
