@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;900&family=Montserrat:wght@400;600;800&family=Poppins:wght@400;700&family=Righteous&display=swap");
:root {
  --btn-color: #171616;
  --btn-color-alt: #fff;
  --accent-color: #00ff5e;
  --accent-color2: #ad3f10;
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
  color: var(--accent-color);
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
  scroll-behavior: smooth;
}
.container {
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
nav {
  width: 100%;
  position: fixed;
  z-index: 9999999;
  padding: 20px 0;
  & ul {
    list-style: none;
  }
  & a {
    text-decoration: none;
    color: var(--accent-color);
  }
}
nav > .container {
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  & ul {
    display: flex;
    gap: 20px;
  }
}

em {
  font-style: normal;
  font-weight: 400;
  font-size: 4rem;
}
h2 {
  font-size: 3rem;
  font-family: Montserrat, sans-serif;
}
h1 {
  font-size: 4rem;
  font-family: Montserrat, sans-serif;
}
h3 {
  font-size: 2rem;
  font-family: Montserrat, sans-serif;
}
h1.abs {
  position: absolute;
  color: transparent;
  font-size: 12rem;
  transform: scale(1.5) rotate(-35deg);
  text-shadow: 10px black;
  /* inset: 0; */
  margin: 0 auto;
  bottom: 30%;
  text-shadow: #fc0 1px 0 10px;
  opacity: 0.2;
}
section {
  position: relative;
  width: 100%;
  height: 100vh;
  padding: 100px;
  background: var(--btn-color);
}
body {
  background: var(--btn-color);
  /* gap: 180px; */
}
svg {
  fill: var(--accent-color);
}
button {
  padding: 20px 40px;
  font-size: 1.125rem;
  border: 1.5px solid var(--accent-color);
  background: transparent;
  color: var(--accent-color);
  border-radius: 10px;
  cursor: pointer;
  transition: 300ms ease-out;
}
button:hover {
  background: var(--accent-color);
  color: white;
}

#home {
  background: url("./assets/fufu.jpg") no-repeat;
  background-attachment: fixed;
  background-color: white;
  background-position: center;
}
#home > .container {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  & h2 {
    color: var(--btn-color-alt);
    text-align: center;
  }
  & h1 {
    color: var(--accent-color);
    text-align: center;
  }
}
#about > .container {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  /* flex-direction: column; */
  justify-content: center;
  gap: 50px;
}
.right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}
.left {
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 99999;
  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.left::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: -1;
  transform: translate(20px, 20px);
  border: 3px solid var(--accent-color);
}
#skills > .container {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 100%;
  height: 100%;
  & h2 {
    color: white;
  }
}
.contain-skill {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.skill {
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  & h3 {
    font-size: 1.75rem;
    color: white;
  }
  & span {
    position: relative;
    width: 100%;
    height: 5px;
    border-radius: 20px;
    border: 1px solid var(--accent-color);
    &::before {
      content: "";
      width: 80%;
      height: 100%;
      background: var(--accent-color);
      position: absolute;
    }
  }
}
#portfolio {
  height: 100vh;
  overflow: hidden;
  background: white;
}
#portfolio > .container {
  & h2 {
    color: var(--accent-color);
    padding-block: 30px;
  }
}
.portfolio {
  display: flex;
  /* flex-wrap: wrap; */
  /* flex: 1 0 33.3%; */
  animation: slidin 10s linear infinite;
  gap: 30px;
  & img {
    max-width: 350px;
    flex-basis: 33.3%;
    aspect-ratio: 1;
    object-fit: cover;
  }
}
@keyframes slidin {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}
#services > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--accent-color);
  & h3 {
    font-size: 4rem;
  }
}

#contact {
  height: 30vh;
  background: var(--accent-color);
}
#contact > .container {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: 200ms ease-out;
  & a {
    color: black;
    & :hover {
      color: white;
    }
  }
}
.btns a {
  color: black;
}
.btns {
  display: flex;
  gap: 50px;
}

.learn-disp {
  /* padding: 100px 0; */
  display: grid;
  width: 80%;
  height: 100%;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
  /* place-items: center; */
  justify-items: start;
  justify-content: center;
}
iframe {
  width: 100%;
  height: 100%;
  /* aspect-ratio: 2/1; */
}
.display {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
  gap: 20px;

  height: 100vh;
}
