* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;

  background-color: hsl(0, 0%, 8%);
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
}

.container {
  width: 390px;
  background-color: hsl(0, 0%, 12%);
  align-items: center;
  justify-content: center;
  margin: auto;
  border-radius: 20px;
  margin: auto;
  padding: 12px 35px 40px;
  border: 1px solid hsl(0, 0%, 7%);
}

.profile {
  display: block;
  align-items: center;
  justify-content: center;
  margin: 15px;
  padding: 15px 10px 0;
}

.profile img {
  width: 90px;
  border-radius: 50%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.profile h1 {
  color: hsl(0, 0%, 100%);
  font-weight: 400;
  font-size: x-large;
  text-align: center;
  padding: 25px 0 10px;
}

.profile h2 {
  color: hsl(75, 94%, 57%);
  font-weight: bold;
  font-size: smaller;
  text-align: center;
  padding-bottom: 25px;
}

.profile p {
  color: hsl(0, 0%, 100%);
  font-size: smaller;
  font-weight: 400;
  text-align: center;
  padding: 6px;
}

.link-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: small;
}

.links {
  font-weight: bold;
  text-align: center;
  color: #fff;
  cursor: pointer;
  background-color: hsl(0, 0%, 20%);
  width: 100%;
  border-radius: 10px;
  padding: 15px 10px;
  margin: 15px 0 2px;
  border: none;
}

.links:hover {
  background-color: hsl(75, 94%, 57%);
  color: hsl(0, 0%, 7%);
  font-weight: bold;
}

/*media queries*/

@media (max-width: 425px) and (min-width: 375px) {
  .container {
    width: 327px;
    padding: 30px 25px;
  }

  .profile {
    margin: auto;
    padding: 0;
  }

  .profile p {
    padding: 6px;
  }
}

/*Footer and Attribution*/
footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: hsl(0, 0%, 20%);
  color: #fff;
  text-align: center;
}

.attribution {
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: hsl(75, 94%, 57%);
}

.attribution a:hover {
  color: hsl(0, 1%, 62%);
}
