@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600&display=swap");
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  background-color: #a9a9d2;
  background-image: url("Github1.webp");
  background-repeat: round;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  margin: 0;
  min-height: 100vh;
}

input {
  background-color: transparent;
  border-radius: 10px;
  border: none;
  box-shadow: 0 5px 10px rgb(0, 1, 3), 0 150px 400px rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  font-family: inherit;
  font-size: 1rem;
  padding: 1rem;
  margin-bottom: 5rem;
  width: 300px;
}

input::placeholder {
  color: #000000;
}

input:focus {
  outline: none;
  font-weight: bolder;
  font-style: italic;
  color: #ffffff;
}

.card {
  background-color: transparent;
  border-radius: 20px;
  box-shadow: 0 5px 10px rgb(0, 1, 3), 0 15px 40px rgb(0, 0, 0);
  display: flex;
  padding: 3rem;
  max-width: 800px;
}

.avatar {
  border: 3px dotted #000000;
  border-radius: 50%;
  height: 150px;
  width: 150px;
}

.user-info {
  color: #eee;
  margin-left: 2rem;
}

.user-info h2 {
  margin-top: 0;
}

.user-info ul {
  display: flex;
  justify-content: space-between;
  list-style-type: none;
  padding: 0;
  max-width: 400px;
}

.user-info ul li {
  display: flex;
  margin-right: 10px;
  align-items: center;
}

.user-info ul li strong {
  font-size: 0.9rem;
  margin-left: 0.5rem;
}

.repo {
  background-color: #000000;
  border-radius: 5px;
  display: inline-block;
  color: white;
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  text-decoration: none;
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
}

.githublogo {
  width: 50px;
  margin: 20px;
  animation: bounce 2s infinite;
}

@media (max-width: 768px) {
  body {
    align-items: stretch;
    text-align: center;
  }

  .githublogo {
    width: 90%;
    max-width: 100%;
  }

  input {
    width: 80%;
    max-width: 60%;
  }

  .card {
    flex-direction: column;
    max-width: 100%;
  }

  .avatar {
    height: 100px;
    width: 100px;
  }

  .user-info {
    margin-left: 0;
    text-align: center;
  }

  .user-info h2 {
    margin-top: 1rem;
  }

  .user-info ul {
    max-width: 100%;
  }

  .user-info ul li {
    margin-right: 0;
    margin-bottom: 0.5rem;
    justify-content: center;
  }

  .repo {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
  }
}
