* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}
body{
  background-color: maroon;
  color: rgb(255, 255, 255) !important;
}
.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: white;
}
.primary-color {
  color: white;
}
.secondary-background {
  background-color: rgba(128, 124, 0, 0.287);
}
a:hover {
  color: yellow;
}
.active {
  color: yellow;
}
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: yellowgreen;
  color: black;
  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;

  min-height: 70vh;
}

.hero {
  gap: 20px;
  & h1 {
    text-align: center;
    font-weight: 400;
    text-transform: uppercase;
    color: yellow;
  }
}
 .profile-image {
  width: 350px;
  aspect-ratio: 1;
  background: url("./images/me.JPG");
  background-position: center;
  background-size: cover;
  border-radius: 100%;
  border: 13px solid yellow;
}

.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;
  border-radius: 40px;
  padding: 60px;
  height: max-content;
  & .profile-image {
    width: 100%;
    aspect-ratio: 1;
    background: url("./images/me.JPG");
    background-position: top;
    background-size: cover;
    border-radius: 0;
    border: 13px solid yellow;
  }
}

.learn {
  gap: 40px;
  & div {
    width: 100%;
  }
}
