* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  color: #333;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-image: url(bg.png);
  background-size: cover;
  background-position: center;


}


.container {
  text-align: center;
  max-width: 900px;
  width: 100%;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  opacity: 0.9;
}

h1 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #24292f;
}

.input-container {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#username {
  padding: 12px;
  width: 200px;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-right: 10px;
  font-size: 16px;
}

button {
  padding: 12px 20px;
  background-color: #24292f;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

button:hover {
  background-color: skyblue;
  color: black;
}

.profile-container {
  display: none;
  margin-top: 20px;
  text-align: left;
}

#loading {
  font-size: 20px;
  color: #333;
  display: none;
}

.profile-details {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

#avatar {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  margin-right: 20px;
}

.profile-info {
  max-width: 500px;
  text-align: left;
}

.profile-info h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

#github-link {
  display: inline-block;
  margin-top: 10px;
  color: #0366d6;
  text-decoration: none;
}

#github-link:hover {
  text-decoration: underline;
}

#stats {
  margin-top: 20px;
}

#stats span {
  display: block;
  margin: 5px 0;
  font-size: 16px;
}

@media (max-width: 600px) {
  .container {
    width: 100%;
    padding: 15px;
  }

  #username {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }

  button {
    width: 100%;
  }

  .profile-details {
    flex-direction: column;
    align-items: center;
  }

  #avatar {
    margin-bottom: 15px;
  }

  .profile-info h2 {
    font-size: 24px;
  }

  #stats {
    text-align: center;
  }
}
