@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@500&family=Poppins:wght@400;500;600&display=swap");
/* ======>> Reset <<====== */
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
}
@media (max-width: 1280px) {
  html {
    scroll-padding-top: 5rem;
  }
}
@media (max-width: 768px) {
  html {
    scroll-padding-top: 4rem;
  }
}

body {
  font-family: "Poppins", serif;
  font-size: clamp(1rem, 0.963rem + 0.1852vw, 1.125rem);
  transition: all 0.3s ease-in-out;
  background: hsl(42, 87%, 97%);
  cursor: auto;
  position: relative;
}

:is(h1, h2, h3, h4, p) {
  text-wrap: balance;
}

::-moz-selection {
  background-color: hsl(70, 96%, 57%);
  color: hsl(60, 3%, 8%);
}

::selection {
  background-color: hsl(70, 96%, 57%);
  color: hsl(60, 3%, 8%);
}

:is(h1, h2, h3) {
  font-family: "Outfit", serif;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  display: block;
}

/* ======>> Components <<====== */
.container {
  max-width: 1300px;
  width: 100%;
  padding: 0 1rem;
  margin: 0 auto;
}

.heading {
  font-size: clamp(2.2rem, 1.963rem + 1.1852vw, 3rem);
  text-transform: capitalize;
  font-family: "Outfit", serif;
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
  color: hsl(60, 3%, 8%);
}

.heading--gradient {
  font-size: clamp(2.5rem, 2.037rem + 2.3148vw, 4.0625rem);
  transition: color 0.3s;
  background: hsl(70, 96%, 57%);
  /*-webkit-background-clip: text;
  background-clip: text;*/
  /*color: transparent;*/
  display: inline;
}

.attr {
  visibility: hidden;
  font-size: 0.5rem;
}

.text {
  color: hsl(0, 1%, 38%);
  font-size: clamp(1rem, 0.963rem + 0.1852vw, 1.125rem);
  margin: 2rem 0;
  line-height: 1.6;
  transition: 0.3s color;
  text-wrap: balance;
}

.mark {
  color: hsl(60, 3%, 8%);
  text-transform: capitalize;
  font-weight: 600;
  padding-inline: 0.3rem;
  position: relative;
  z-index: 1;
}

.mark::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: hsl(70, 96%, 57%);
  z-index: -1;
}

.btn, .btn--long {
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  font-size: clamp(1rem, 0.963rem + 0.1852vw, 1.125rem);
  text-transform: capitalize;
  transition: all 0.3s ease-in-out;
  color: hsl(60, 3%, 8%);
  background-color: hsl(70, 96%, 57%);
  border-radius: 0.2rem;
  box-shadow: 3px 3px 0 hsl(60, 3%, 8%), 5px 5px 0 hsl(70, 96%, 57%);
}
.btn:hover, .btn--long:hover {
  box-shadow: none;
}

.btn--long {
  display: inline-block;
  font-size: 1.5rem;
  padding-inline: 3rem;
}
.btn--long:hover {
  background: hsl(60, 3%, 8%);
  color: hsl(42, 87%, 97%);
  box-shadow: 3px 3px 0 hsl(70, 96%, 57%), 5px 5px 0 hsl(42, 87%, 97%);
}

.btn--top {
  display: none;
  position: fixed;
  z-index: 10;
  bottom: 85px;
  right: 25px;
  width: 65px;
  height: 65px;
  background: hsl(60, 3%, 8%);
  border: none;
  border-radius: 10%;
  color: hsl(70, 96%, 57%);
  font-size: clamp(1rem, 0.963rem + 0.1852vw, 1.125rem);
  font-weight: 700;
  padding: 0.5rem;
  outline: 1px solid hsl(70, 96%, 57%);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.btn--top [class^=bi] {
  display: block;
}
.btn--top:hover {
  background: hsl(70, 96%, 57%);
  color: hsl(60, 3%, 8%);
  transform: translateY(2px);
}

.btn--top.show {
  display: block;
}

@media (max-width: 500px) {
  .btn--top {
    right: 50px;
  }
}
/* header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  height: 80px;
  background: hsl(42, 87%, 97%);
  box-shadow: 0 5px 20px 0.1px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 0.5rem;
  height: 100%;
}

.header .logo {
  display: inline-block;
  height: 100%;
  width: 180px;
}

.header .logo__img {
  height: 100%;
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.header .nav {
  display: flex;
  justify-content: center;
  align-items: center;
  -moz-column-gap: 2rem;
       column-gap: 2rem;
}

.header .nav__link {
  color: hsl(60, 3%, 8%);
  font-weight: 600;
  font-size: clamp(1rem, 0.963rem + 0.1852vw, 1.125rem);
  text-transform: capitalize;
  padding: 0.2rem 0.6rem;
  border-radius: 0.2rem;
  transition: all 0.3s ease-in-out;
}

.header .nav__link:hover {
  color: hsl(70, 96%, 57%);
  background: hsl(60, 3%, 8%);
}

.header .nav__link.contact-link {
  display: none;
}

.header__btn {
  padding-block: 0.6rem;
  font-size: clamp(1rem, 0.963rem + 0.1852vw, 1.125rem);
}

/* mobile menu */
.menu-icon {
  cursor: pointer;
  font-size: 2rem;
  border: 0.3px solid hsl(60, 3%, 8%);
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.3rem;
  display: none;
  background: hsl(60, 3%, 8%);
}

.menu-icon i[class^=bi] {
  color: hsl(70, 96%, 57%);
  font-size: 2.3rem;
  position: relative;
  top: 50%;
  transform: translateY(-60%);
}

.header .nav.show {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  width: 100%;
  background: hsl(70, 96%, 57%);
  text-align: center;
  padding: 10px;
  box-shadow: 0 5px 20px 0.1px rgba(0, 0, 0, 0.1);
}

.header .nav.show .nav__link {
  display: block;
  width: 100%;
  color: hsl(60, 3%, 8%);
  padding: 1.2rem;
  font-size: 1.625rem;
  border-bottom: 1px solid rgba(21, 21, 20, 0.1);
}

.header .nav.show .nav__link:last-child {
  border-bottom: none;
}

.header .nav.show .nav__link:hover {
  background: rgba(21, 21, 20, 0.2);
}

@media screen and (max-width: 900px) {
  .header .nav {
    display: none;
    gap: 0;
  }
  .menu-icon {
    display: grid;
  }
  .header__btn {
    display: none;
  }
}
@media screen and (max-width: 500px) {
  .header .nav__link.contact-link {
    display: block;
  }
}
/* ======>> Hero <<====== */
.hero {
  margin-top: 70px;
  padding: 4rem 0 4rem;
  height: calc(100vh - 70px);
  background: url("../img/noise.png") repeat, linear-gradient(rgba(254, 250, 241, 0.5), rgba(254, 250, 241, 0.5)), url("../img/hero-bg.jpg") no-repeat;
}
.hero .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero__text {
  flex: 0 0 55%;
}
.hero .heading {
  margin-bottom: 1rem;
}
.hero .text {
  margin-bottom: 4rem;
}
.hero__image {
  border: 5px solid hsl(70, 96%, 57%);
  flex: 0 1 35%;
  background: rgba(216, 251, 40, 0.15);
  border-radius: 30px;
  max-height: 550px;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(to right bottom, rgba(216, 251, 40, 0.1), rgba(216, 251, 40, 0.35)), url("../img/shade.png") no-repeat;
  background-size: contain;
  box-shadow: 3px 3px 0 hsl(60, 3%, 8%), 5px 5px 0 hsl(70, 96%, 57%);
}
.hero__image img {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .hero {
    padding: 3rem 0;
    height: auto;
  }
  .hero .container {
    flex-direction: column;
    row-gap: 6rem;
  }
  .hero__image {
    max-width: 65%;
  }
  .hero__image img {
    -o-object-fit: contain;
       object-fit: contain;
  }
}
@media (max-width: 600px) {
  .hero__image {
    max-width: 100%;
  }
  .hero__image img {
    -o-object-fit: contain;
       object-fit: contain;
  }
}
/* ======>> Skills <<====== */
.skills {
  padding: 6rem 1rem;
  overflow-x: hidden;
  background: hsl(42, 87%, 97%);
}
.skills .container {
  padding: 4rem 3rem;
  background: hsl(60, 3%, 8%);
  border-radius: 50px;
  display: grid;
  grid-template-areas: "heading" "grid";
  row-gap: 10rem;
}
.skills__heading {
  grid-area: heading;
}
.skills__heading-pill {
  color: hsl(42, 87%, 97%);
  border: 1.5px solid hsl(42, 87%, 97%);
  padding: 0.5rem 1rem;
  border-radius: 3.813rem;
  display: inline-grid;
  place-items: center;
  text-transform: capitalize;
  max-width: 225px;
  margin-bottom: 1.5rem;
}
.skills__heading .skills-title {
  display: grid;
  grid-template-areas: "title desc";
  align-items: center;
}
.skills__heading .heading {
  grid-area: title;
  color: hsl(42, 87%, 97%);
  text-transform: capitalize;
  font-size: clamp(2.2rem, 1.963rem + 1.1852vw, 3rem);
  text-wrap: balance;
  line-height: 1.25;
}
.skills__heading-description {
  grid-area: desc;
  color: rgba(254, 250, 241, 0.8);
  font-size: 1.2rem;
  position: relative;
  text-wrap: balance;
}
.skills__heading-description::after {
  content: "";
  width: 100%;
  height: 0.4px;
  background-color: hsl(0, 1%, 38%);
  position: absolute;
  bottom: -1rem;
  left: 0;
}
.skills__grid {
  grid-area: grid;
  display: grid;
  gap: 4rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  justify-items: center;
}

.skill {
  background: hsl(70, 96%, 57%);
  max-width: 306px;
  width: 100%;
  min-height: 293px;
  display: grid;
  grid-template-areas: "icon" "lead";
  align-content: center;
  border-radius: 26px;
  padding: 1rem 2rem;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease-in-out;
}
.skill::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  left: -5px;
  top: -5px;
  background: rgba(21, 21, 20, 0.95);
  border-radius: 26px;
  transition: all 0.3s ease-in-out;
}
.skill__icon {
  grid-area: icon;
  width: 97px;
  height: 100px;
  margin-bottom: 2rem;
  transition: all 0.3s ease-in-out;
  color: hsl(42, 87%, 97%);
  font-size: 4.5rem;
  border: 1px solid rgba(216, 251, 40, 0.3);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  padding: 0.5rem;
}
.skill .lead {
  grid-area: lead;
  color: hsl(42, 87%, 97%);
  font-size: clamp(1.25rem, 1.0648rem + 0.9259vw, 1.875rem);
  text-transform: uppercase;
  text-align: left;
  transition: all 0.3s ease-in-out;
}
.skill:hover {
  background: rgba(21, 21, 20, 0.8);
  transform: translateY(8px);
}
.skill:hover .lead {
  color: rgba(21, 21, 20, 0.8);
  transform: translateY(-8px);
}
.skill:hover::after {
  background: hsl(70, 96%, 57%);
  top: 8px;
  left: 8px;
}
.skill:hover .skill__icon {
  background: hsl(60, 3%, 8%);
  padding: 1rem;
  border-radius: 50%;
  font-size: 3.7rem;
}

/* ======>> Skills Media Queries <<====== */
@media (max-width: 978px) {
  .skills__heading .skills-title {
    grid-template-areas: "title" "desc";
    row-gap: 2rem;
  }
  .skills__heading .heading {
    text-wrap: balance;
  }
  .skills__heading-description {
    text-wrap: balance;
  }
  .skills__heading-description::after {
    width: 70%;
  }
}
@media (max-width: 820px) {
  .skills .skill {
    max-width: 80%;
    grid-template-areas: "icon lead";
    align-items: center;
    -moz-column-gap: 1.5rem;
         column-gap: 1.5rem;
    justify-content: start;
  }
}
@media (max-width: 768px) {
  .skills .container {
    border-radius: 30px;
  }
  .skills .skill {
    padding: 1rem;
  }
}
@media (max-width: 600px) {
  .skills .skill {
    max-width: 320px;
    grid-template-areas: "icon" "lead";
  }
}
@media (max-width: 500px) {
  .skills {
    padding: 4rem 1rem;
  }
  .skills .container {
    padding: 3rem 0.7rem;
    row-gap: 5rem;
  }
  .skills__grid {
    gap: 2.5rem 0;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-items: center;
  }
  .skill {
    max-width: 250px;
    width: 100%;
  }
}
/* ======>> About <<====== */
.about {
  padding: 5rem 0;
  background: url("../img/about-bg.jpg") no-repeat;
  background-size: cover;
  background-position: center;
  background-position: bottom right;
}
.about .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem 3rem;
}
.about__image {
  flex: 0 1 50%;
  position: relative;
  height: 700px;
  width: 50%;
}
.about__image img {
  border-radius: 30px;
  border: 8px solid hsl(42, 87%, 97%);
}
.about__image img:nth-child(1) {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 500px;
  width: 100%;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: bottom;
     object-position: bottom;
}
.about__image img:nth-child(2) {
  position: absolute;
  bottom: 0;
  right: 0;
  max-width: 500px;
  width: 100%;
  aspect-ratio: 16/10;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top;
     object-position: top;
}
.about__text {
  flex: 1 1 50%;
}
.about__text .heading {
  font-size: clamp(2.2rem, 1.963rem + 1.1852vw, 3rem);
  margin-bottom: -0.6rem;
}
.about__text .text {
  padding-bottom: 0;
}
.about__text .btn, .about__text .btn--long {
  margin-top: 2rem;
  display: inline-block;
}

@media (max-width: 1000px) {
  .about .container {
    flex-direction: column-reverse;
  }
  .about__image {
    height: auto;
    width: 80%;
    position: relative;
  }
  .about__image img:nth-child(1) {
    position: relative;
    max-width: 500px;
    width: 100%;
    aspect-ratio: 1/1;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: bottom;
       object-position: bottom;
  }
  .about__image img:nth-child(2) {
    position: relative;
    margin-top: -4rem;
    margin-left: 15%;
    max-width: 500px;
    width: 100%;
    aspect-ratio: 16/10;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: top;
       object-position: top;
  }
  .about__text {
    flex: 1 1 100%;
  }
}
@media (max-width: 768px) {
  .about__image {
    width: 100%;
  }
  .about__image img:nth-child(1) {
    margin: 0 auto;
  }
  .about__image img:nth-child(2) {
    margin-top: -4rem;
    margin-left: 0;
  }
}
/* ======>> Portfolio <<====== */
.portfolio {
  padding: 5rem 0 5rem;
  background: hsl(42, 87%, 97%);
}
.portfolio .container {
  display: flex;
  flex-direction: column;
  row-gap: 6rem;
  padding: 4rem 3rem;
  background: hsl(60, 3%, 8%);
  border-radius: 50px;
}
.portfolio__title {
  color: hsl(42, 87%, 97%);
}
.portfolio__title .heading {
  color: inherit;
}
.portfolio__title .text {
  color: rgba(254, 250, 241, 0.8);
}
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
  gap: 4rem 3rem;
}
.portfolio .project {
  display: inline-block;
  padding: 4rem 3rem 0;
  background: linear-gradient(to bottom right, rgba(254, 250, 241, 0.12) 60%, rgba(216, 251, 40, 0.45));
  box-shadow: 0 5px 20px 0.1px rgba(0, 0, 0, 0.1);
  border-radius: 30px;
  overflow: hidden;
}
.portfolio .project:hover .project__img {
  transform: scale(0.95);
  border-radius: 20px;
}
.portfolio .project .mark {
  margin-bottom: 1rem;
  font-size: 1.625rem;
  display: inline-block;
}
.portfolio .project__title {
  font-size: clamp(1.625rem, 1.5139rem + 0.5556vw, 2rem);
  color: hsl(60, 3%, 8%);
  margin-bottom: 3rem;
  color: hsl(42, 87%, 97%);
}
.portfolio .project__img {
  width: 100%;
  height: 500px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top center;
     object-position: top center;
  border-radius: 20px 20px 0 0;
  transition: all 0.3s ease-in-out;
}
.portfolio .project__img.curved {
  border-radius: 20px;
}

@media (max-width: 895px) {
  .portfolio .project__img.curved {
    border-radius: 20px 20px 0 0;
  }
}
@media (max-width: 650px) {
  .portfolio .container {
    padding-inline: 1.2rem;
  }
  .portfolio__grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  }
  .portfolio .project {
    display: inline-block;
    padding: 3rem 1.3rem 0;
  }
}
@media (max-width: 450px) {
  .portfolio__grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  .portfolio .project {
    display: inline-block;
    padding: 2rem 1rem 0;
  }
}
/* ======>> Contact <<====== */
.contact {
  padding-block: 0;
  background: linear-gradient(to bottom, rgba(21, 21, 20, 0.75), #151514), url("../img/footer-bg.jpg") no-repeat;
  background-size: cover;
  background-position: top center;
  color: hsl(42, 87%, 97%);
  border-radius: 100px 100px 0 0;
}
.contact .container.top {
  padding: 10rem 0;
  text-align: center;
}
.contact .heading {
  font-size: clamp(2.5rem, 2.037rem + 2.3148vw, 4.0625rem);
  color: inherit;
}
.contact .text {
  color: inherit;
}
.contact__cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem 4rem;
  margin-top: 6rem;
}

.copy {
  background: hsl(60, 3%, 8%);
  color: hsl(42, 87%, 97%);
  padding: 1.5rem 0 0;
  text-align: center;
}

@media (max-width: 600px) {
  .contact {
    border-radius: 0;
  }
  .contact__cta {
    flex-direction: column;
  }
  .contact .btn--long {
    width: 240px;
  }
}/*# sourceMappingURL=style.css.map */