@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

:root {
  --primary-color: #ffff;
  --secondary-color: #d3e97a;
  --text-color: #c7c7c7;
  --background-color: #000000;
  --cards-background-color: #1a1a1a;
}

body {
  background: var(--background-color);
  color: var(--primary-color);
}

.under-line {
  border: 1px solid var(--secondary-color);
  width: 100%;
  margin-top: 0.55px;
}

.wrapper {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 3rem;
  margin-bottom: 1rem;
}

/* heder */

.navbar {
  width: 100%;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 5%;
  color: var(--text-color);
}

.logo {
  font-size: 2rem;
  text-transform: capitalize;
  font-family: "Bebas Neue", sans-serif;
  line-height: 150%;
  letter-spacing: -1%;
}

.navbar .list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar .list {
  list-style: none;
}

.navbar .links {
  color: var(--text-color);
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 24%;
  letter-spacing: -3%;
  text-transform: capitalize;
}

.navbar .links:hover {
  color: var(--secondary-color);
}
.navbar .ham {
  font-size: 2rem;
  display: none;
}

/* hero */

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  width: 50%;
}

.hero-heding {
  font-size: 5rem;
  line-height: 100%;
  font-weight: 300;
  text-transform: uppercase;
  font-family: "Bebas Neue", sans-serif;
}

.hero-sub-heding {
  color: var(--text-color);
  font-size: 1.1rem;
  font-family: "Manrope", sans-serif;
  line-height: 150%;
  max-width: 544px;
}

.action {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 5%;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: black;
  background: var(--secondary-color); /* neon green */
  border: none;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
}

.action a {
  text-decoration: none;
}

.btn .arrow {
  /* border: 1px solid black; */
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  padding: 0.3rem;
  background-color: #000000;
  color: #000;
  margin-left: 6px;
  transform: rotate(-50deg) scale(0.4);
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.btn:hover .arrow {
  transform: rotate(-50deg) scale(1.4);
  color: #ffff;
}

.hero-image {
  width: 40%;
  background-color: #c7c7c7;
  border-radius: 10px;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Project sections */

.project-section {
  margin-top: 2rem;
}
.section-hedding {
  font-size: 4rem;
  font-family: "Bebas Neue", sans-serif;
  line-height: 100%;
  font-weight: 400;
}

.section-subhedding {
  color: var(--text-color);
  font-size: 1.1rem;
  font-family: "Manrope", sans-serif;
  line-height: 150%;
  max-width: 544px;
  margin-top: 0.55%;
}

.project {
  width: 100%;
  height: auto;
  /* border: 1px solid pink; */
  padding: 2rem 0;
  margin-top: 3%;
}

.project {
  height: auto;
  display: flex;
  justify-content: space-between;
}

.project-card {
  width: 45%;
  /* border: 1px solid red; */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a1a1a;
  padding: 8% 0%;
  height: 50%;
  border-radius: 10px;
  position: relative;
  transition: all 0.4s ease;
}

.project-card:hover {
  background: #393838f2;
  transform: translateY(-4%);
}

.project img {
  width: 80%;
}

.tag {
  width: 145px;
  height: 40px;
  background-color: #0a0a0a;
  font-size: 0.85rem;
  line-height: 150%;
  border-radius: 40px;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Manrope", sans-serif;
  top: 4%;
  left: 4%;
}

.project-content {
  width: 50%;
  font-family: "Manrope", sans-serif;
}

.project-content .title {
  font-size: 2rem;
  line-height: 140%;
  margin-bottom: 1%;
}

.project-content .description {
  color: var(--text-color);
  font-size: 1.1rem;
  font-family: "Manrope", sans-serif;
  line-height: 145%;
  max-width: 560px;
  margin-top: 0.55%;
}

.project-info {
  display: flex;
  flex-direction: column;
  height: auto;
}

.info-title {
  font-size: 1rem;
  font-weight: 600;
  display: inline-block;
  padding: 1rem 0;
}

.p-list {
  display: flex;
  justify-content: space-between;
  padding: 2%;
  font-family: "Inter", sans-serif;
  line-height: 150%;
  color: var(--text-color);
  font-weight: 300;
  text-transform: capitalize;
}

.view-project {
  margin-top: 1rem;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.view-project a {
  color: var(--secondary-color);
  text-transform: uppercase;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  text-decoration: none;
}

.view-project a .view-arrow {
  transform: rotate(-40deg);
  font-size: 0.95rem;
}

/* about me */

.aobut-me {
  display: flex;
  justify-content: space-between;
  margin-top: 5%;
}

.aobut-me .title-description {
  width: 50%;
}

.aobut-me .title {
  font-size: 2rem;
  line-height: 140%;
  margin-bottom: 1%;
  font-family: "Manrope", sans-serif;
}
.aobut-me .description {
  color: var(--text-color);
  font-size: 1.1rem;
  font-family: "Manrope", sans-serif;
  line-height: 145%;
  max-width: 590px;
  margin-top: 2%;
  margin-bottom: 5%;
}
.resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: black;
  background: var(--secondary-color); /* neon green */
  border: none;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  transform: rotate(0deg);
}

.resume-btn:hover .arrow {
  transform: rotate(0deg) scale(1.3);
}

/* capabilities */

.capabilities {
  display: flex;
  justify-content: space-between;
  margin-top: 5%;
  padding: 3rem;
}

.capabilities .description-tags {
  width: 50%;
}

.capabilities .description {
  color: var(--text-color);
  font-size: 1.1rem;
  font-family: "Manrope", sans-serif;
  line-height: 145%;
  max-width: 600px;
  margin-top: 2%;
  margin-bottom: 5%;
}

.capabilities .tags-wrapper {
  color: white;
  display: flex;
  align-items: center;
  gap: 5%;
}
.capabilities .tags-wrapper .capabilities-tag {
  width: 145px;
  height: 40px;
  background-color: #0a0a0a;
  font-size: 0.85rem;
  line-height: 150%;
  border-radius: 40px;
  text-align: center;
  padding: 0.55rem;
  font-family: "Manrope", sans-serif;
  border: 1px solid #484848;
  text-transform: uppercase;
}

/* Contact section */

.connect {
  padding: 4rem 2rem;
  margin-top: 3rem;
}

.connect-heading {
  font-size: 4rem;
  font-family: "Bebas Neue", sans-serif;
  color: var(--primary-color); /* neon green */
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-weight: 400;
}

.connect-text {
  font-size: 1.1rem;
  color: var(--text-color);
  font-family: "Manrope", sans-serif;
  margin-bottom: 2rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icons a {
  font-size: 2rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
  border: 2px solid var(--cards-background-color);
  padding: 0.8rem;
  border-radius: 50%;
}

.social-icons a:hover {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: scale(1.2) rotate(5deg);
}

.footer {
  margin-top: 3%;
}

.footer .copy-write {
  font-size: 1rem;
  font-family: "Manrope", sans-serif;
  line-height: 160%;
  color: var(--text-color);
}

/* Go top btn */

#goTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.3s ease, color 0.3s ease, opacity 0.3s ease;
  opacity: 0.8;
}

#goTopBtn i {
  font-size: 1.5rem;
}

#goTopBtn:hover {
  color: #fff;
  transform: translateY(-6px);
  opacity: 1;
}

/* Responsive */

@media screen and (max-width: 820px) {
  html {
    font-size: 14px;
  }

  .tag {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  html {
    font-size: 12px;
  }
}

@media screen and (max-width: 667px) {
  html {
    font-size: 12px;
  }

  .hero {
    flex-direction: column;
    gap: 5rem;
    margin-top: 3rem;
  }
  .hero-content {
    width: 100%;
  }
  .hero-image {
    width: 100%;
  }

  .hero-sub-heding {
    margin: 1.55rem 0;
  }

  .icons-warapper {
    height: 45px;
    width: 45px;
  }

  .project {
    flex-direction: column;
    gap: 5rem;
  }
  .project-card {
    width: 100%;
    height: auto;
  }

  .project-content {
    width: 100%;
  }
  .project-content .description {
    margin: 1.5rem 0;
  }

  .aobut-me {
    flex-direction: column;
    width: 100%;
    gap: 3rem;
  }
  .aobut-me .title-description {
    width: 100%;
  }

  .aobut-me .description {
    margin: 2rem 0;
  }
  .view-project {
    margin-top: 2rem;
  }
  .capabilities {
    flex-direction: column;
    width: 100%;
  }
  .capabilities .description {
    width: 100%;
    margin: 2rem 0;
  }
  .capabilities .description-tags {
    width: 100%;
  }

  .capabilities-tag {
    width: 100%;
  }

  .capabilities .tags-wrapper .capabilities-tag {
    width: 80px;
    height: 30px;
  }

  .contact-section {
    flex-direction: column;
    gap: 4rem;
  }

  .contact-section .social-icons {
    margin-top: 4%;
  }

  .contact-section .under-line {
    margin-left: 16%;
    display: block;
  }

  input[type="email"] {
    width: 60%;
  }
}

@media screen and (max-width: 500px) {
  .navbar {
    margin: 1rem 0;
    position: relative;
  }

  .logo {
    font-size: 2.5rem;
  }

  .ham {
    font-size: 1.5rem;
  }

  .navbar .list {
    gap: 5rem;
  }
  .list {
    flex-direction: column;
    position: absolute;
    width: 60%;
    padding: 5rem 3rem;
    z-index: 999;
    border: 1px solid white;
    top: 80%;
    background: var(--text-color);
    justify-content: space-around;
    border-radius: 10px;
    right: 100%;
    transition: all 0.3s;
  }

  .navbar .nav-list-active {
    right: 1%;
  }

  .navbar .list a {
    color: #000000;
    font-size: 2rem;
    font-weight: 600;
  }

  .navbar .links:hover {
    color: #000000;
  }

  html {
    font-size: 10px;
  }

  .navbar .ham {
    display: block;
  }
}
