@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
  font-family: "Inter";
  color: var(--white);
  font-size: 14px;
  font-weight: 400;
}
:root {
  --green: hsl(75, 94%, 57%);
  --white: hsl(0, 0%, 100%);
  --grey700: hsl(0, 0%, 20%);
  --grey800: hsl(0, 0%, 12%);
  --grey900: hsl(0, 0%, 8%);
}

body {
  background-color: var(--grey900);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 305px;
  background-color: var(--grey800);
  border-radius: 10px;
  padding: 40px 40px 45px;
}

.info-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}
img {
  border-radius: 100px;
  width: 90px;
}
.name {
  font-size: 24px;
  font-weight: 700;
  margin: 24px 0px 0px;
}
.address {
  margin: 8px;
  color: var(--green);
  font-weight: 600;
}
.description {
  margin: 20px 0px 28px;
}

.links-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.link {
  font-weight: 600;
  background-color: var(--grey700);
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  padding-block: 14px;
  width: 304px;
}
.link:hover {
  font-weight: 600;
  color: var(--grey700);
  background-color: var(--green);
}
.link:active {
  font-weight: 600;
  color: var(--green);
  background-color: var(--grey900);
}

/* Attribution */
.attribution {
  font-size: 11px;
  text-align: center;
  position: absolute;
  bottom: 20px;
}
.attribution a {
  font-size: 11px;
  color: hsl(228, 45%, 44%);
}

/* Media Queries */
@media screen and (max-width: 480px) {
  .container {
    width: 280px; /* 330 - 48 */
    padding: 24px 24px 20px;
  }
  .link {
    width: 280px;
  }
}
