* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #1e1e2f;
  color: #f1f1f1;
}


.app-container {
  width: 100%;
  max-width: 570px;
  background: linear-gradient(10deg, #2b2d42, #6c5ce7);
  margin: 70px auto 0;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.3s ease;
}

.app-container:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}


.search-box {
  padding: 20px;
}

input {
  width: 100%;
  padding: 12px;
  border: none;
  outline: none;
  border-radius: 10px;
  font-size: 16px;
  background-color: #2e2e4d;
  color: #f1f1f1;
}

input:focus {
  box-shadow: 0 0 5px #b7b4df;
  transition: 0.3s ease;
}


.card {
  width: 100%;
  max-width: 780px;
  margin: 20px auto 0;
  padding: 30px;
  background: linear-gradient(10deg, #2b2d42, #6c5ce7);
  border-radius: 12px;
  min-height: 300px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  display: none;
}

.profile-icon {
  display: flex;
  align-items: center;
  gap: 20px;
}

img {
  width: 150px;
  border-radius: 100px;
  border: 5px solid #1e1e2f;
}


.user {
  font-size: 40px;
  font-weight: bold;
}

.bio {
  margin-top: 10px;
  font-size: 14px;
  color: #ddd;
}

.account {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 40px;
  font-size: 16px;
}

.repos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.repo {
  background: #6c5ce7;
  padding: 10px 16px;
  border-radius: 8px;
  color: #f1f1f1;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.repo:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.error {
  width: 100%;
  max-width: 750px;
  margin: 20px auto 0;
  padding: 50px;
  background: linear-gradient(10deg, #2b2d42, #6c5ce7);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  display: none;
}

.error p {
  font-size: 24px;
  text-align: center;
}


@media (max-width: 600px) {
  .profile-icon {
    flex-direction: row;
    align-items: center;
  }

  img {
    width: 200px;
  }

  .account {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .repos {
    justify-content: center;
  }
}
