/* CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-color: hsl(0, 0%, 8%);
  color: hsl(0, 0%, 100%);
  font-family: "Inter", sans-serif;
}

main {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* CARD */
.card {
  background-color: hsl(0, 0%, 12%);
  width: 21rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: .5rem; 
  padding: 1.4rem 1.4rem 1.4rem 1.4rem;
}

img {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  margin-block-end: 1.5rem;
  object-fit: cover;
}

h1 {
  font-size: 1.5rem;
  margin-block-end: .2rem;
  font-weight: 600;
}

h2 {
  font-size: .9rem;
  font-weight: 400;
  color: hsl(75, 94%, 57%);
}

p {
  font-size: .9rem;
  font-weight: 400;
  margin: 1.5rem 0 1.5rem;
}

ul {
  width: 100%;
}

li {
  display: block;
  width: 100%;
  background-color: hsl(0, 0%, 20%);
  border-radius: .5rem;
  font-size: .9rem;
  font-weight: 600;
  padding: 0.72rem 1rem;
  margin-block-end: 1rem;
  cursor: pointer;
}

li:last-child {
  margin-block-end: 0;
}

a {
  text-decoration: none;
  color: hsl(0, 0%, 100%);
}

li:hover {
  background-color: hsl(75, 94%, 57%);
}

li:hover a {
  color: hsl(0, 0%, 8%);
}

@media (min-width: 90rem) {
  .card {
    width: 24rem;
    padding: 2.625rem;
  }
}
