* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
}
body{
  background: #2f2f2f;
}
.flex {
  display: flex;
}
.logo{
  width: 50px;
  aspect-ratio: 1;
}
h1 {
  font-size: 68px;
  line-height: 120% !important;
  text-transform: capitalize;
  color: #f6ad54 !important;
}
h2 {
  font-size: 50px;
  line-height: 120% !important;
  text-transform: capitalize;
  color: #f6ad54 !important;
}
h3 {
  font-size: 34px;
  line-height: 120% !important;
  text-transform: capitalize;
}
a {
  text-decoration: none;
  color: black;
}
a:hover {
  color: purple;
}
.active {
  color: purple;
}
ul {
  list-style: none;
}
h1 {
  line-height: 100%;
  font-size: 8rem;
  letter-spacing: -5px;
}
p {
  font-size: 18px;
  line-height: 150%;
}
button {
  padding: 20px 35px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  background-color: #f6ad54;
  color: #1a1a1a;
  cursor: pointer;
}
.container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
nav {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 20px;
  /* padding: 20px 0px; */
  & p {
    font-weight: bolder;
    text-transform: uppercase;
    font-size: 16px;
  }
  & a{
   color: white !important;
  }
  & a.active{
   color: #f6ad54 !important;
  }
  & ul {
    display: flex;
    gap: 12px;
    align-items: center;
  }
}

section {
  margin-block: 100px;
}
/* hero */
.hero{
  background: url("./assets/me.png");
  background-position: center;
  background-size: cover;
  height: 800px !important;
  flex-direction: column !important;
  align-items: center;
  & h1{
    text-align: start !important;

  }
  & p{
    font-size: 24px;
  }
  & div{
    display: flex;
    flex-direction: column;
    gap: 12px;  
}
}
.works,
.hero,
.about,
.about2,
.learn {
  flex-direction: column;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  height: 100%;
  min-height: 800px;
}
.about, .learn{
  & p{
    width: 800px !important;
  }
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between;
  
}
.hero {
  gap: 20px;
  & h1 {
    text-align: center;
    font-weight: 400;
    text-transform: uppercase;
  }
}
 .profile-image {
  width: 100%;
  height: 450px;
  aspect-ratio: 1;
  background: url("./assets/me.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 10px;
}

.works {
  gap: 60px;
  & .w-display {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    & .image {
      width: 100%;
      aspect-ratio: 1;
      & img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
      }
    }
  }
}
.alt{
  & .w-display {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;}
}
.about, .about2 {
  text-align: start;
  gap: 20px;
}

.learn {
  gap: 40px;
  & div {
    width: 100%;
  }
}
.learn.alt{
  flex-direction: column !important;
  justify-content: start;
  align-items: start;
  & h2{
    width: 100%;
  }
  & div {
    width: 100%;
    height: 400px;
  }
}