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

@font-face {
  font-family: "Inter Regular";
  src: url("./assets/fonts/static/Inter-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Inter SemiBold";
  src: url("./assets/fonts/static/Inter-SemiBold.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Inter Bold";
  src: url("./assets/fonts/static/Inter-Bold.ttf") format("truetype");
  font-display: swap;
}

html {
  font-size: 62.5%; /* 1REM =10px */
}

body {
  margin: 0px;
  padding: 0px 2.4rem 0px 2.4rem;
  background-color: var(--grey-900);
}

.container {
  min-height: 100vh;
  display: grid;
  place-items: center;
  width: 100%;
}

.card {
  min-height: 57.9rem;
  box-sizing: border-box;
  min-width: 32.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.4rem;
  background-color: var(--grey-800);
  border-radius: 1.2rem;
}

@media (min-width: 768px) {
  .card {
    min-height: 61.1rem;
    min-width: 38.4rem;
    padding: 4rem;
  }
}

.card h1 {
  margin-top: 2.4rem;
  font-family: "Inter Bold";
  font-size: 2.4rem;
  color: var(--white);
}

.card h2 {
  font-family: "Inter Regular";
  font-size: 1.4rem;
  color: var(--green);
  margin: 0px 0px 2.4rem 0px;
}

.card h3 {
  font-family: "Inter Regular";
  font-size: 1.4rem;
  color: var(--white);
  margin: 0px 0px 2.4rem 0px;
}

.card img {
  width: 8.8rem;
  height: 8.8rem;
  border-radius: 50%;
}

.card nav {
  display: flex;
  flex-direction: column;
  width: 28rem;
}

@media (min-width: 768px) {
  .card nav {
    width: 30.4rem;
  }
}

a {
  background-color: var(--grey-700);
  font-family: "Inter SemiBold";
  font-size: 1.4rem;
  color: var(--white);
  text-align: center;
  padding: 1.2rem;
  margin-bottom: 1.6rem;
  text-decoration: none;
  border-radius: .8rem;
  transition-duration: .5s;
  transition-behavior: allow-discrete;
}

a:hover {
  background-color: var(--green);
  color: var(--grey-700);
  cursor: pointer;
}


a:last-child {
  margin-bottom: 0px;
}
