@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: #00ffa6;
  --accent-color2: #1047ad;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
}
.container {
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

footer{
  text-align: center;
  background-color: #000000;
  padding-top: 20px;
  padding-bottom: 20px;
  color: white;
}

em {
  font-style: normal;
}
svg {
  fill: var(--accent-color);
}
a {
  text-decoration: none;
  color: white;
  font-family: "Montserrat", sans-serif !important;
  transition: 300ms ease-out;
}
a:hover {
  opacity: 0.5;
}
.active {
  color: var(--accent-color);
}
ul {
  list-style: none;
}
button {
  padding: 10px 40px;
  /* border-radius: 50px; */
  background: var(--btn-color);
  color: var(--accent-color);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 300ms ease-out;
}
button:hover {
  transform: scale(1.1);
}
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 {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  padding: 10px;
  display: flex;
  background: rgba(0, 0, 0, 0.508);
  backdrop-filter: blur(30px);
  justify-content: center;
}
nav > ul {
  padding: 20px 80px;
  display: flex;
  gap: 20px;
  /* border-radius: 50px; */
}
.name-logo {
  /* padding: 100px; */
  /* font-size: 3rem; */
}
main {
  padding: 100px 0;
  margin-bottom: 20vh;
}
.tags {
  padding: 20px;
  font-size: 2.5rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: -1.9px;
}
.home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  /* flex-direction: column; */
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 100vh;
  padding: 20px;
}
/* .home > div {
  flex: 1;
} */
.h-context {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.disp-home {
  margin-top: 100px;
  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; */
  gap: 20px;

  height: 100%;
}
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
  gap: 20px;

  height: 100%;
}
.learn {
  height: 100vh;
}
.what-you-are {
  display: flex;
  gap: 30px;
  flex-direction: column;
  /* align-items: center; */
}
.what-you-are > p {
  max-width: 500px;
  /* text-align: center; */
}
/* 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(300px, 1fr));
  gap: 20px;
  /* place-items: center; */
  justify-items: center;
  justify-content: center;
}
.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: center;
  justify-content: center;
}
.projects > img {
  aspect-ratio: 1;
  max-width: 300px;
  object-fit: cover;
  object-position: center;
  transition: all 300ms ease-out;
}
.projects > img:hover {
  transform: scale(1.1);
  filter: drop-shadow(16px 16px 20px rgba(0, 0, 0, 0.546));
}
iframe {
  width: 100%;
  height: 100%;
  /* aspect-ratio: 2/1; */
}
.social-links {
  padding-top: 50px;
  display: flex;
  gap: 10px;
  align-items: center;
}

a:hover{
  color: #00ffa6;
}
@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;
  }
}
