/* Reset Default Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* New default styling */
body {
  background-color: hsl(0, 0%, 8%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: "Inter";
  font-style: normal;
  color: hsl(0, 0%, 100%);
  padding: 2em;
  margin: 2em;
}

/* * */
/* MAIN STYLING */
main {
  background-color: hsl(0, 0%, 12%);
  width: auto;
  height: auto;
  padding: 2.3em;
  border-radius: 0.6em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-container,
.links-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.profile-container {
  padding-left: 1.5em;
  padding-right: 1.5em;
}

.links-container {
  row-gap: 1em;
}

img {
  border-radius: 100%;
  width: 30%;
  height: auto;
  margin-bottom: 1.5em;
}

h1 {
  font-weight: 600;
  font-size: 1.5em;
  margin-bottom: 0.3em;
}

h2 {
  color: hsl(75, 94%, 57%);
  font-size: 0.9em;
  font-weight: 600;
  margin-bottom: 1.5em;
}

p {
  font-size: 0.8em;
  margin-bottom: 1.7em;
  font-weight: 400;
}

button {
  background-color: hsl(0, 0%, 20%);
  width: 100%;
  border: 0;
  row-gap: 1em;
  color: hsl(0, 0%, 100%);
  font-weight: 600;
  font-size: 0.8em;
  padding-top: 1em;
  padding-bottom: 1em;
  border-radius: 0.5em;
}

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

.attribution {
  margin-top: 5em;
  font-size: 0.8em;
}

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

/* * */
/* Mobile Version */
@media (max-width: 500px) {
  body {
    padding: 1em;
    margin: 1em;
  }

  .profile-container {
    padding-left: 0;
    padding-right: 0;
  }
}
