@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: #000000;
  --accent-color: #7700ff;
  --accent-color2: #1047ad;
}
* {
  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;
}

em {
  font-style: normal;
  font-weight: 400;
  font-size: 4rem;
}
section {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 100px;
  /* background: #9d18185e; */
}
body {
  display: flex;
  flex-direction: column;
  gap: 180px;
}
svg {
  fill: white;
}
a {
  text-decoration: none;
  color: white;
  font-family: "Montserrat", sans-serif !important;
  transition: 300ms ease-out;
}
a:hover {
  opacity: 0.5;
}
.active {
  color: black;
  font-style: italic;
  font-weight: bolder;
}
ul {
  list-style: none;
}
button {
  padding: 20px 40px;
  /* border-radius: 50px; */
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 300ms ease-out;
  & a {
    color: var(--accent-color);
    &:hover {
      opacity: 1;
    }
  }
}
.btn-alt {
  all: unset;
  position: relative;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 10px 20px;
  border: 1px solid black;
  border-radius: 30px;
  transition: 300ms ease-out;
  & a {
    color: black;
  }
}
/* .btn-alt:hover::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  background: var(--accent-color);
} */
.btn-alt:hover {
  background: var(--accent-color);
  border: none;
  color: white;
  transform: scale(1);
  & a {
    color: white;
  }
}
button:hover {
  background: var(--btn-color);
  transform: scale(0.8);
}
li {
  font-family: "Montserrat", sans-serif !important;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.9px;
}
h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 5rem;
  letter-spacing: -1.5px;
  line-height: 120% !important;
}
nav {
  width: 100%;
  position: fixed;
  background: var(--accent-color);
  z-index: 999;
}
nav > .container {
  /* width: fit-content; */
  left: 0;
  right: 0;
  top: 0;
  width: 100vw;
  padding: 20px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* backdrop-filter: blur(30px); */
  /* background: rgba(0, 0, 0, 0.508); */
}
nav .container > ul {
  display: flex;
  gap: 20px;
  border-radius: 50px;
}
.name-logo {
  /* padding: 100px; */
  /* font-size: 3rem; */
}
main {
  padding: 100px 0;
  margin-bottom: 20vh;
}
.tags {
  width: 80%;
  padding: 20px;
  font-size: 2.5rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: -1.9px;
  /* text-align: left; */
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tags span:last-child {
  text-align: right;
  font-size: 22px;
  letter-spacing: -1px;
}
/* .home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(800px, 1fr));
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 100vh;
  padding: 20px;
} */
/* .home > div {
  flex: 1;
} */

.disp-home {
  width: 100%;
  aspect-ratio: 1;
  background: url("./assets/main-p-img.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  filter: grayscale(1);
}
.display {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
  width: 100%;
  height: fit-content;
  padding: 100px;
}
.display-projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
  width: 100%;
  height: fit-content;
  padding: 10px;
}
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
  gap: 20px;

  height: 100%;
}
.learn {
  width: 100%;
  height: 100%;
}
.what-you-are > .container {
  height: 100%;
  display: flex;
  gap: 30px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.--next {
  height: 100vh;
}
.your-cv {
  display: flex;
  gap: 20px;
}
.--next > .container {
  height: 100%;
  display: flex;
  gap: 30px;
  /* flex-direction: column; */
  justify-content: stretch;
  align-items: center;
}
.---next {
  background: var(--accent-color);
}
.---next > .container {
  height: 100%;
  display: flex;
  /* flex-direction: column; */
  justify-content: space-between;
  align-items: end;
  padding-bottom: 100px;
}
.---next h3 {
  color: white;
  font-size: 8rem;
  line-height: 80%;
}
.---next p {
  padding-block: 20px;
  color: white;
  font-size: 3rem;
  line-height: 80%;
}
.---next .social-links {
  padding-right: 80px;
}
.left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  & em {
    color: black;
  }
  & h1 {
    color: var(--accent-color2);
  }
}
.right {
  border-radius: 20px;
  flex: 1;
  width: 100%;
  height: 100%;
  background: #000;
  position: relative;
  /* overflow: hidden; */
  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
  }
  &::after {
    content: "";
    position: absolute;
    background: transparent;
    inset: 0;
    background: var(--accent-color2);
    transform: translate(40px, 40px);
    z-index: -1;
  }
}
.what-you-are {
  position: relative;
  height: 100vh;
}

.what-you-are p {
  max-width: 500px;
  text-align: center;
}
.scroll {
  position: absolute;
  bottom: 0;
  padding: 50px;
}

.scroll a {
  color: black;
}
/* about section */
/* about section */
/* about section */
/* about section */
.what-you-are-in-about > p {
  max-width: 500px;
  /* text-align: center; */
}
.what-you-are-in-about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 30px;
  height: 100%;
  padding: 20px;
}
.ab-context {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.my-img {
  width: 100%;
  aspect-ratio: 1;
  background: url("./assets/main-p-img.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
/* project section */
/* project section */
/* project section */
.projects {
  /* padding: 100px 0; */
  display: grid;
  max-width: 80%;
  height: 100%;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 20px;
  /* place-items: center; */
  justify-items: center;
  justify-content: center;
}
.learn-disp {
  margin: 100px 0;
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: repeat(auto-fit, minmax(800px, 1fr));
  gap: 20px;
  /* place-items: center; */
  justify-items: center;
  justify-content: center;
}
.projects > img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: contain;
  object-position: center;
  transition: all 300ms ease-out;
}
.projects > img:hover {
  transform: rotate(15deg) scale(0.9);
  /* transform: translateY(20px); */
  filter: drop-shadow(16px 16px 20px rgba(0, 0, 0, 0.546));
}
.learn-disp > iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 2/1;
}
.social-links {
  padding-top: 50px;
  display: flex;
  gap: 10px;
  align-items: center;
}
@media screen and (max-width: 400px) {
  .h-context {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  button {
    width: 100%;
  }
  h1 {
    font-size: 3rem;
    text-align: center;
    line-height: -220px;
  }
  iframe {
    width: 350px;
    aspect-ratio: 2/1;
  }
  nav {
    padding: 0px;
  }

  nav > ul {
    padding: 40px 60px;
    border-radius: 0px;
  }
}
