@media (min-width: 600px) {
  main {
    width: 50%;
    min-width: 400px;
    max-width: 400px;
    height: 80%;
    max-height: 600px;
    min-height: 600px;
  }
}

main {
  background-color: hsl(0, 0%, 12%);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  gap: 1rem;

  margin-top: 10rem;
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  min-height: 500px;
  max-height: 600px;
  border-radius: 15px;
}

#personalInfo {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

#profilePic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

#name {
  color: hsl(0, 0%, 95%);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

#location {
  color: hsl(75, 94%, 57%);
}

#personalDescription p {
  color: hsl(0, 0%, 80%);
  font-weight: 400;
}

#allLinks {
  width: 80%;

  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: center;
  gap: 10px;
}

#allLinks a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px;
  color: hsl(0, 0%, 80%);
  background-color: hsl(0, 0%, 20%);
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

#allLinks a:hover {
  background-color: hsl(75, 94%, 57%);
  color: hsl(0, 0%, 12%);
}

button {
  width: 100%;
  height: 2.5rem;
  border: none;
  border-radius: 5px;
  color: hsl(0, 0%, 80%);
  background-color: hsl(0, 0%, 20%);
}

button:hover,
button:active {
  background-color: hsl(75, 94%, 57%);
  color: hsl(0, 0%, 12%);
}

.attribution {
  color: hsl(0, 0%, 20%);
  width: 80vw;
  text-align: center;
}

a {
  color: hsl(0, 0%, 90%);
}

a:hover,
a:active {
  color: hsl(75, 94%, 57%);
}
