* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

@keyframes slide-down {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0%);
  }
}
:root {
  --bg-color: #e1e5f8;
  --accent: #143aa2;
  --secondary: white;
}
body {
  background-color: var(--bg-color);
}
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background-color: var(--accent);
  color: white;
  padding-block: 0.3rem;
  animation: slide-down 300ms ease-in normal forwards;
}
.header__left {
  display: flex;
  flex: 9;
  align-items: center;
  justify-content: center;
}
.header__left li {
  all: unset;
  font-weight: 600;
  margin: 0.8rem;
  cursor: pointer;
}
.header__left li a {
  all: unset;
  white-space: nowrap;
}
.header__right {
  flex: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn:hover {
  transform: translateY(-0.1rem);
}
.contact__btn {
  padding: 0.5rem;
  border-radius: 0.9rem;
  font-weight: bold;
  background-color: white;
  text-decoration: none;
  color: black;
}
.btn {
  outline: none;
  border: none;
  white-space: nowrap;
  cursor: pointer;
  border-radius: 1rem;
  transition: all 300ms;
}
.hire__me {
  text-decoration: none;
  cursor: pointer;
  padding: 0.5rem;
  color: black;
  background-color: var(--accent);
  color: white;
}
.about__me {
  margin-top: 0.8rem;
  display: grid;
  min-height: 90svh;
  grid-template-columns: 1fr 1.5fr;
}
.left__about {
  border-bottom-right-radius: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 25rem;
  border-bottom-right-radius: 5rem;
  border-top-left-radius: 10rem;
  background-color: var(--secondary);
}
.left__aboutme {
  display: flex;
  align-items: center;
  justify-content: center;
}
.right__aboutIntro p {
  font-size: 1.1rem;
}
.right__aboutIntro {
  display: grid;
  gap: 0.8rem;
}

.hire {
  display: flex;
  align-items: center;
  justify-content: center;
}
.experiences {
  padding: 0.5rem;
  background-color: var(--secondary);
  border-radius: 0.5rem;
}
.experience {
  position: relative;
  right: 20%;
  text-align: center;
  line-height: 1rem;
  border-radius: 3rem;
  padding: 0.5rem;
  background-color: var(--accent);
  color: white;
  animation: 2s alternate slidein;
}
.left__about img {
  width: 100%;
}

.right__about {
  text-align: center;
  display: flex;
  padding-left: 1rem;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  min-height: 70svh;
}
.right__about h1 {
  font-size: 4rem;
}

@keyframes slidein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
.right__skills {
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.skill {
  padding: 0.3rem 0.8rem 0.3rem 0.8rem;
  margin: 0.5rem;
  border-radius: 0.3rem;
}

.backend {
  background-color: var(--secondary);
}
.frontend {
  background-color: var(--secondary);
}
.description__head {
  padding-left: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.description__head h1 {
  font-size: 2.5rem;
}
.description__body {
  margin: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.schools {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: 1fr 1fr 1fr;
  background-color: var(--secondary);
  border-radius: 0.5rem;
  padding: 0.5rem;
}
.heading {
  font-weight: 900;
}
.about {
  display: flex;
  align-items: center;
  justify-content: center;
}
.description {
  min-height: 60svh;
  padding-block: 0.5rem;
}
.description__left p {
  background-color: var(--secondary);
  border-radius: 0.5rem;
  padding-inline: 0.5rem;
}
.description__right {
  display: grid;
  gap: 0.5rem;
}
.languages__known {
  margin-block: 0.5rem;
}
.languages {
  background-color: var(--secondary);
  border-radius: 0.5rem;
  padding: 0.5rem;
  display: grid;
  gap: 0.5rem;
}
.language {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project__list {
  display: grid;
  margin-inline: 0.8rem;
  margin-top: 1rem;
  gap: 1.5rem;
}
.project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.9rem;
  gap: 0.8rem;
  border-radius: 0.5rem;
  background-color: var(--secondary);
}
.project__img {
  max-width: 40rem;
}
.about__project {
  display: flex;
  align-items: center;
  justify-content: center;
}
.project__img img {
  width: 100%;
  border-radius: 0.8rem;
  border: 4px solid black;
}
.project__description {
  border-radius: 0.8rem;
  padding: 0.8rem;
}
.project__description a {
  cursor: pointer;
}
.social__handles img {
  width: 2rem;
  object-fit: contain;
}
footer {
  padding: 0.8rem;
  background-color: var(--accent);
  color: white;
}
footer ul li {
  all: unset;
}

.social__handles {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.social__handles li a {
  all: unset;
  gap: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: pointer;
}
.button__more {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.8rem;
  padding-bottom: 0.8rem;
}
.more {
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 0.5rem;
  background-color: var(--accent);
  color: white;
  text-decoration: none;
}
.achievements {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  background-color: var(--secondary);
  border-radius: 0.5rem;
}
.achievements li {
  padding: 0.5rem;
}
.achievements li a {
  font-weight: bold;
  color: black;
}
@media screen and (max-width: 720px) {
  .about__me {
    grid-template-columns: 1fr;
  }
  .schools {
    grid-template-columns: 1fr;
  }
  .project {
    grid-template-columns: auto;
    gap: 0;
  }
  .project__img {
    border-top-left-radius: 0.8rem;
    border-top-right-radius: 0.8rem;
  }
  .project__description {
    border-radius: 0;
    border-bottom-right-radius: 0.8rem;
    border-bottom-left-radius: 0.8rem;
  }
}
@media screen and (max-width: 520px) {
  .description__body {
    grid-template-columns: auto;
  }
  .project__list {
    margin-inline: 0.2rem;
  }
  .social__handles li a span {
    display: none;
  }
}
