@import url("https://fonts.googleapis.com/css2?family=Work+Sans:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=DynaPuff:wght@400..700&family=Metal&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style-type: none;
  text-decoration: none;
}

:root {
  --main-color: #81b29a;
  --btn-color: #e9edc9;
}

body {
  font-family: "Work Sans", sans-serif;
  overflow-x: hidden;
  position: relative;
  color: #fff;
  background: linear-gradient(90deg,
      rgb(43, 3, 3) 0%,
      rgb(2, 2, 32) 50%,
      rgb(18, 31, 32) 100%);
}

p,
h1,
h2,
h3,
span,
div {
  overflow-wrap: break-word;
  word-break: break-word;
}

header {
  width: 100%;
  height: 70px;
  position: fixed;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

header.scrolled {
  background: rgba(10, 10, 30, 0.95);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.navBar {
  width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
}

.follow-me {
  position: absolute;
  display: none;
  bottom: 140px;
  justify-content: center;
  justify-content: space-evenly;
  margin: auto;
  width: 100%;
}

.my-logo {
  font-size: 2rem;
}

.navMenu {
  display: flex;
  gap: 30px;
}

li a {
  font-size: 19px;
  color: #fff;
}

.hamburger,
input {
  display: none;
  cursor: pointer;
}

.hamburger svg {
  height: 3em;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
  fill: none;
  stroke: white;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
  stroke-dasharray: 12 63;
}

.hamburger input:checked+svg {
  transform: rotate(-45deg);
}

.hamburger input:checked+svg .line-top-bottom {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42;
}

.fa-star-of-life {
  color: #eddea4;
}

.fa-terminal {
  color: #eb4d4b;
}

.fa-id-card {
  color: #cbf3f0;
}

.fa-headset {
  color: #eff6e0;
}

/* Here is Container */
.container {
  width: min(100%, 1200px);
  margin-inline: auto;
  padding: 5rem 0 5rem 0;
  align-content: center;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.my-image {
  width: auto;
  height: 470px;
}

.bg-one {
  height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-name {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.3;
}

.text-title {
  font-size: 33px;
  font-weight: 600;
  color: #81c3d7;
  margin-top: 10px;
}

.style-1 {
  font-size: 17px;
  line-height: 28px;
  margin-top: 20px;
  padding: 5px 5px 5px;
  position: relative;
  color: #eddea4;
}

.style-2 {
  font-size: 18px;
  line-height: 28px;
  margin-top: 20px;
  color: #fff;
}

/* Here is span with class for my name */
.span-color {
  color: #eb4d4b;
}

/* My projects btn */
.my-btn {
  padding: 12px 12px;
  background-color: transparent;
  border-radius: 0.3em;
  position: relative;
  top: 30px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.6s;
  font-weight: 400;
  font-size: 17px;
  border: 2px solid;
  font-family: inherit;
  color: var(--btn-color);
  z-index: 1;
}

.my-btn::before,
.my-btn::after {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%);
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  background-color: var(--btn-color);
  transition: 1s ease;
}

.my-btn::before {
  top: -1em;
  left: -1em;
}

.my-btn::after {
  left: calc(100% + 1em);
  top: calc(100% + 1em);
}

.my-btn:hover::before,
.my-btn:hover::after {
  height: 410px;
  width: 410px;
}

.my-btn:hover {
  color: rgb(10, 25, 30);
}

.my-btn:active {
  filter: brightness(0.8);
}

/* Arrow Down inside the button */
.fa-bounce {
  margin-left: 10px;
}

/* My projects btn */

/* Title Services */
.my-skills {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.services-title {
  text-align: left;
  font-size: 30px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: 1px;
}

.text-paragraf {
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0;
  margin-top: 50px;
  color: #fff;
}

.skills-box {
  display: flex;
  position: relative;
}

.d-block {
  position: relative;
  left: 15px;
}

.fa-code,
.fa-cart-shopping,
.fa-wordpress,
.fa-computer {
  font-size: 28px;
  position: relative;
  top: 5px;
}

.fa-code {
  color: #eb4d4b;
}

.fa-cart-shopping {
  color: #96588a;
}

.fa-computer {
  color: #007bff;
}

.title-skills {
  font-size: 22px;
  font-weight: 400;
  line-height: 30px;
  margin-bottom: 20px;
  color: #fff;
}

.p-skills {
  font-size: 17px;
  line-height: 23.4px;
  color: #bdbdbd;
}

/* Text under services on the right */
.extra-text {
  position: relative;
  text-align: end;
  top: 90px;
}

.my-color {
  font-weight: 700;
  text-decoration: underline;
  color: #e9edc9;
}

/* Project Box */
.mproject-title {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 20px;
}

.project-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.project-box {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 10px;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.project-box img {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.project-box:hover img {
  transform: scale(1.05);
  opacity: 0.8;
}

/* Grid Container Box */

/* Here Start Footer */
.footer {
  width: 100%;
  background-color: #0a001b;
}

.first-row {
  width: 1600px;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}

.title-footer {
  font-size: 18px;
  text-align: center;
  position: relative;
  color: #d9e1c5;
}

.fa-envelope,
.fa-linkedin,
.fa-github {
  width: 40px;
  height: 40px;
  display: grid;
  font-size: 18px;
  align-items: center;
  text-align: center;
  color: #fff;
  border: 2px solid #aec3b0;
  border-radius: 50px;
}

.fa-envelope,
.fa-linkedin,
.fa-github,
a {
  text-decoration: none;
}

.contact-me {
  gap: 15px;
  display: flex;
}

.fa-copyright {
  color: #eb4d4b;
}


/* Button go to top */
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 18px;
  z-index: 99;
  width: 40px;
  height: 40px;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 50px;
  background-color: #eb4d4b;
  color: white;
}

.fa-arrow-up {
  font-size: 20px;
}

/* This is for title with semmicolon  */
.semicolon {
  font-size: 56px;
  border-radius: 50px;
  color: #eb4d4b;
}


@media (max-width: 600px) {

  .hamburger {
    display: block;
  }

  .navMenu {
    position: fixed;
    height: 100vh;
    line-height: 90px;
    left: -100%;
    top: 70px;
    gap: 0;
    flex-direction: column;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    background: rgba(10, 10, 30, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  }

  .navMenu.active {
    left: 0;
  }

  .navLink {
    font-size: 25px;
  }

  .follow-me {
    display: flex;
  }

}

@media (min-width: 767px) {

  .project-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .my-skills {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (min-width: 1024px) {

  .bg-one {
    flex-direction: row;
    justify-content: space-between;
  }

  .project-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .my-skills {
    grid-template-columns: repeat(3, 1fr);
  }

}

@media (max-width: 1200px) {

  header {
    padding: 0 20px 0 20px;
  }

  .bg-one {
    height: 100%;
  }

  .my-image {
    margin-top: 4rem;
  }

  .container {
    margin-inline: auto;
    padding: 5rem 1rem 5rem 1rem;
  }

  .services-title {
    font-size: 25px;
  }

}

@media (min-width: 1440px) {

  .container {
    max-width: 1200px;
    margin-inline: auto;
  }

  .my-skills {
    grid-template-columns: repeat(4, 1fr);
  }

}

@media (max-width: 1600px) {

  .first-row {
    width: 100%;
    padding: 0 20px;
  }

}