* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
}
.flex {
  display: flex;
}
h1 {
  font-size: 68px;
  line-height: 120% !important;
  text-transform: capitalize;
}
h2 {
  font-size: 50px;
  line-height: 120% !important;
  text-transform: capitalize;
}
h3 {
  font-size: 34px;
  line-height: 120% !important;
  text-transform: capitalize;
}
a {
  text-decoration: none;
  color: black;
}
.primary-color {
  color: blueviolet;
}
.secondary-background {
  background-color: cadetblue;
}
a:hover {
  color: blue;
}
.active {
  color: blue;
}
ul {
  list-style: none;
}
h1 {
  line-height: 100%;
}
p {
  font-size: 18px;
  line-height: 150%;
}
button {
  padding: 20px 35px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  background-color: blueviolet;
  color: white;
  cursor: pointer;
}
.container {
  max-width: 964px;
  padding: 0 60px;
  margin: 0 auto;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0px;
  & p {
    font-weight: bolder;
    text-transform: uppercase;
    font-size: 16px;
  }
  & ul {
    display: flex;
    gap: 12px;
    align-items: center;
  }
}

section {
  margin-block: 100px;
}
/* hero */
.works,
.hero,
.about,
.learn {
  display: flex;
  flex-direction: column;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 70vh;
}

.hero {
  gap: 20px;
  & h1 {
    text-align: center;
    font-weight: 400;
    text-transform: uppercase;
    color: blueviolet;
  }
}

.profile-image {
  width: 350px;
  aspect-ratio: 1;
  background: url("./assets/me.JPG");
  background-position: center;
  background-size: cover;
  border-radius: 10px;
}
.works {
  gap: 120px;
  & .w-display {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    & .image {
      width: 100%;
      aspect-ratio: 1;
      & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
      }
    }
  }
}

.about {
  text-align: center;
  gap: 20px;
}

.learn {
  gap: 40px;
  & div {
    width: 100%;
  }
}
