/*
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
  box-sizing: border-box;
}
/*
  2. Remove default margin
*/
* {
  margin: 0;
}
/*
  3. Allow percentage-based heights in the application
*/
html, body {
  height: 100%;
}
/*
  Typographic tweaks!
  4. Add accessible line-height
  5. Improve text rendering
*/
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/*
  6. Improve media defaults
*/
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
/*
  7. Remove built-in form typography styles
*/
input, button, textarea, select {
  font: inherit;
}
/*
  8. Avoid text overflows
*/
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
/*
  9. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}
html {
  font-size: 15px;
}
main {
  margin: 2rem auto;
}
.first-column, 
.second-column, 
.third-column {
  display: flex;
  flex-direction: column;
  padding: 3rem;
  max-width: 22rem;
  margin: auto;
}
.first-column {
  background-color: hsl(31, 77%, 52%);
}
.second-column {
  background-color: hsl(184, 100%, 22%);
}
.third-column {
  background-color: hsl(179, 100%, 13%);
}
img {
  max-width: 4rem;
  margin-bottom: 1rem;
}
h1 {
  font-size: 2.4rem;
  font-family: 'Big Shoulders Display', cursive;
  font-weight: 700;
  color: hsl(0, 0%, 95%);
  margin-bottom: 1rem;
}
p {
  font-size: 1rem;
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 400;
  color: hsla(0, 0%, 100%, 0.75);
  margin-bottom: 1.67rem;
}
button {
  background-color: hsl(0, 0%, 95%);
  font-family: 'Lexend Deca', sans-serif;
  font-size: 1rem;
  border: none;
  padding: 0.67rem;
  max-width: 10rem;
  border-radius: 3rem;
}

.first-column {
  border-radius: 1rem 1rem 0 0;
}
.third-column {
  border-radius: 0 0 1rem 1rem;
}

.first-column button {
  color: hsl(31, 77%, 52%);
}
.second-column button {
  color: hsl(184, 100%, 22%);
}
.third-column button {
  color: hsl(179, 100%, 13%);
}
button:hover {
  border: 1px solid hsl(0, 0%, 95%);
  color: hsl(0, 0%, 95%);
  padding: calc(0.67rem - 1px);
}
.first-column button:hover {
  background-color: hsl(31, 77%, 52%);
}
.second-column button:hover {
  background-color:hsl(184, 100%, 22%);
}
.third-column button:hover {
  background-color: hsl(179, 100%, 13%);
}
@media (min-width: 900px) {
  body {
    display: flex;
    align-items: center;
  }
  main {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .first-column, 
  .second-column, 
  .third-column {
    display: flex;
    flex-direction: column;
    padding: 3rem;
    max-width: 20rem;
    margin: auto;
  }
  p {
    margin-bottom: 6rem;
  }
  .first-column {
    border-radius: 1rem 0 0 1rem;
  }
  .third-column {
    border-radius: 0 1rem 1rem 0;
  }
}