@font-face {
  font-family: slnt;
  src: url(/assets/fonts/Inter-VariableFont_slnt\,wght.ttf);
}

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

body {
  background-color: hsl(0, 0%, 8%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-family: slnt;
}
main {
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: hsl(0, 0%, 12%);
  width: 325px;
  height: 65%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  border-radius: 10px;
}
h1 {
  font-size: 20px;
  color: white;
  margin-bottom: -15px;
}
main img {
  border-radius: 50%;
  width: 75px;
}
p {
  font-size: 10px;
  color: white;
}
.quote {
  margin-bottom: -20px;
  font-size: 12px;
  color: hsl(0, 0%, 80%);
}
.location {
  color: hsl(75, 94%, 57%);
  margin-top: -5px;
  font-weight: bold;
}
.button-party {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 50%;
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

.button {
  background-color: hsl(0, 0%, 20%);
  color: white;
  padding: 12px 20px;
  width: 80%;
  text-align: center;
  border-radius: 5px;
  margin-top: 12px;
  font-size: 12px;
  cursor: pointer;
  font-weight: bold;
}
a {
  color: white;
  text-decoration: none;
}
.button:active {
  background-color: hsl(75, 94%, 57%);
  color: hsl(0, 0%, 12%);
}
.attribution {
  position: absolute;
  bottom: 10px;
}

@media only screen and (max-width: 400px) {
  main {
    height: 75%;
  }
}
