* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  /* color: #333; */
}

.container {
  max-width: 600px;
  margin: 50px auto;
  background: white;
  /* color: red; */
  padding: 20px;
  border-radius: 8px;
  /* box-shadow: 0 40px 8px rgba(0, 0, 0, 0.1); */
  border: 2px solid black;
  text-align: center;
}

form {
  margin-bottom: 20px;
}

input {
  padding: 10px;
  /* width: 70%; */
  width: calc(100% - 100px);
  max-width: 300px;
  border: 1px solid #ddd;
  border-radius: 4px;
}


button {
  padding: 10px 15px;
  font-size: 16px;
  border: none;
  background: #007BFF;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background: #0056d3;
}

#profile-container {
  margin-top: 20px;
}

/* 
.profile {
  text-align-last: left;
}

.profile img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.profile h2 {
  margin: 10px 0;
}

.profile p {
  margin: 5px 0;
}

.profile a {
  color: #0078FF;
  text-decoration: none;
}

.profile a:hover {
  text-decoration: underline;
} */

.error {
  color: red;
  font-weight: bold;
  margin-top: 20px;
}

.profile-card {
  background: #fff;
  border: 1px solid black;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  max-width: 400px;
  margin: 20px auto;
}

.profile-header {
  margin-bottom: 20px;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 10px;
  object-fit: cover;
}

.profile-name {
  font-size: 1.5em;
  margin: 5px 0;
  color: #333;
}

.profile-bio {
  font-size: 0.9em;
  color: #666;
  margin: 0 0 10px;
}

.profile-stats {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

.stat {
  text-align: center;
  flex: 1;
}

.stat strong {
  display: block;
  font-size: 1em;
  color: #333;
}

.stat p {
  font-size: 1.2em;
  margin: 5px 0;
  color: #007BFF;
}

.profile-link a {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.profile-link a:hover {
  background: #0056b3;
}

/* Responsive Style Start Here */
@media (max-width: 768px) {
  .profile-card {
    max-width: 90%;
    padding: 15px;
  }

  .profile-avatar {
    width: 100px;
    height: 100px;
  }

  .profile-name {
    font-size: 1.2em;
  }

  .profile-stats {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .stat {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .profile-card {
    padding: 10px;
  }

  .profile-stats {
    align-items: center;
  }

  .stat {
    text-align: center;
  }

  .profile-avatar {
    width: 80px;
    height: 80px;
  }

  .profile-name {
    font-size: 1em;
  }

  .profile-link a {
    padding: 8px 16px;
    font-size: 0.9em;
  }
}

/* Responsive Style End Here */