@import url("https://fonts.googleapis.com/css2?family=Playpen+Sans:wght@100..800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Playpen Sans", sans-serif;
}

body {
  background: #fff;
  margin-top: 60px;

  animation: fadeInAnimation ease 2s;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

header img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px 0 rgb(0 0 0 / 40%);
}

main {
  margin: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.interest ul {
  display: flex;
  list-style: none;
  gap: 10px;
}

.interest ul li {
  display: flex;
  gap: 5px;

  padding: 5px 10px;
  border-radius: 5px;
  background-color: #f3f4f6;
  box-shadow: 0 2px 8px 0 rgb(0 0 0 / 40%);
}

.interest ul li:hover {
  background-color: #e5e7eb;
  cursor: pointer;
}

#info .location {
  display: flex;
  gap: 6px;

  font-size: 1rem;
}

#info .readme {
  padding: 8px 10px;
  border: 1px solid #000;
  border-radius: 20px;
  background-color: #1f2937;
  text-align: center;
  color: white;
  cursor: pointer;
}

#info .readme:hover {
  background-color: #2d3b4a;
}

#info .socials ul {
  display: flex;

  gap: 10px;

  list-style: none;
}

#info .socials ul li a {
  display: flex;
  color: inherit;
  text-decoration: none;
  padding: 10px;
  border-radius: 100%;
  background-color: #f3f4f6;
  box-shadow: 0 2px 8px 0 rgb(0 0 0 / 40%);
}

#info .socials ul li a:hover {
  background-color: #e5e7eb;
}

section#projects {
  margin-top: 20px;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
}

#projects h2 {
  margin-bottom: 10px;
  text-align: center;
}

#projects a {
  max-width: 600px;
  padding: 15px;
  border: 1px solid #000;
  border-radius: 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  text-decoration: none;
  color: inherit;
}

#projects a:hover {
  background-color: #f3f4f6;
}

#projects a .project p {
  font-size: 0.9rem;
}

#projects a .project .title {
  display: flex;
  align-items: center;
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

canvas.particles-js-canvas-el {
  height: 100vh;
  z-index: -100000;
  position: fixed;
  top: 0px;
}

@media only screen and (max-width: 430px) {
  .interest ul li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0px;
  }
}
