:root {
  --extra-color: hsl(75, 94%, 57%);
  --light-color: hsl(0, 0%, 100%);
  --grey-700: hsl(0, 0%, 20%);
  --grey-800: hsl(0, 0%, 12%);
  --grey-900: hsl(0, 0%, 8%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  font-family: sans-serif;
  background-color: var(--grey-900);
  min-height: 100vh;
  color: var(--light-color);
}

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

@media (max-width: 380px) {
  main {
    padding: 0 10px;
  }
}

.content-wrapper {
  width: 100%;
  max-width: 350px;
  background-color: var(--grey-800);
  border-radius: 10px;
  overflow: hidden;
  padding: 20px;
  text-align: center;
}

.name-place img {
  width: 30%;
  border-radius: 50%;
  margin-bottom: 20px;
}
.name-place {
  margin-bottom: 20px;
}

.name-place p:nth-of-type(1) {
  font-size: 1.4rem;
  color: var(--light-color);
  font-weight: 500;
  margin-bottom: 5px;
}
.name-place p:nth-of-type(2) {
  font-size: 0.75rem;
  color: var(--extra-color);
  font-weight: 600;
}

.self-description {
  font-size: 0.875rem;
  margin-bottom: 20px;
}
.social-media {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.social-media li {
  background-color: var(--grey-700);
  border-radius: 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-media a {
  display: inline-block;
  width: 100%;
  padding: 15px 0;
  letter-spacing: 1px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: color 0.3s ease;
}

.social-media li:hover,
.social-media li:active {
  background-color: var(--extra-color);
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.social-media li:hover a,
.social-media li:active a {
  color: var(--grey-700);
}

/* Attribution Section */
.attribution {
  width: 100%;
  text-align: center;
  padding: 15px 0;
  font-size: 0.85rem;
  background: var(--grey-800);
  color: var(--light-color);
  /* margin-top: 20px; */
  border-top: 1px solid var(--grey-700);
}

/* Links */
.attribution a {
  color: var(--extra-color);
  font-weight: 600;
  transition: color 0.2s;
}

.attribution a:hover {
  color: hsl(75, 80%, 70%);
}
