@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders:opsz,wght@10..72,100..900&family=Lexend+Deca:wght@100..900&display=swap");

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --main-bg: hsl(0, 0%, 95%);
  --first-column-bg: hsl(31, 77%, 52%);
  --second-column-bg: hsl(184, 100%, 22%);
  --third-column-bg: hsl(179, 100%, 13%);
  --secondary-text: hsla(0, 0%, 100%, 0.75);
}

html,
body {
  width: 100vw;
  height: 100vh;
  background: var(--main-bg);
  color: var(--main-bg);
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
  font-family: "Lexend Deca", sans-serif;

  /* font-size: clamp(1.2rem, 10%vw, 10rem); */
}

.title {
  font-family: "Big Shoulders", sans-serif;
}
main.card {
  margin: auto 0;
  display: flex;
}

main > .column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-evenly;
  /* padding: clamp(1.2rem, 10%vw, 5rem); */
  padding: 2rem;
  gap: 2rem;
  width: 15.5rem;
}

.column-1 {
  border-radius: 0.5rem 0 0 0.5rem;
  background: var(--first-column-bg);
}
.column-2 {
  background: var(--second-column-bg);
}
.column-3 {
  background: var(--third-column-bg);
  border-radius: 0 0.5rem 0.5rem 0;
}
p {
  font-size: 1rem;
}

.btn {
  text-decoration: none;
  /* height: min(1.5rem, 10%vh);
  padding: 2.5rem;
  width: 8rem;
  border: none;
  /* padding: 0.2rem 5rem; */
  background: var(--main-bg);
  padding: 0.5rem;
  margin-top: 1rem;
  border-radius: 2.5rem;
  width: calc(100% - 4rem);
  font-size: small;
  border: solid 1px transparent;
  text-align: center;
  transition: background 1s, color 1s, border 1s;
}

.btn:hover,
.btn:focus {
  background-color: transparent;
  border: solid 1px var(--main-bg);
  color: var(--main-bg);
}

.btn-1 {
  color: var(--first-column-bg);
}
.btn-2 {
  color: var(--second-column-bg);
}
.btn-3 {
  color: var(--third-column-bg);
}
/* footer */
footer {
  font-size: 1rem;
  text-align: center;
  background: var(--second-column-bg);
  width: 100vw;
}
footer a {
  color: var(--first-column-bg);
}

@media (max-width: 47rem) {
  main.card {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 3rem;
  }

  .column-1 {
    border-radius: 0.5rem 0.5rem 0 0;
  }
  .column-3 {
    border-radius: 0 0 0.5rem 0.5rem;
  }
}
