@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700&family=Lexend+Deca&display=swap");

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

body {
  max-width: 1440px;
  background-color: hsl(0, 0%, 95%);
  height: 100vh;
  font-family: "Lexend Deca", sans-serif;
}
main {
  width: 100%;
  height: 100%;
}
.container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.card {
  width: 258px;
  height: 60%;
  padding: 30px;

  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
h1 {
  font-family: "Big Shoulders Display", cursive;
  color: hsl(0, 0%, 95%);
}
p,
button {
  font-size: 15px;
  color: hsla(0, 0%, 100%, 0.75);
}

button {
  background-color: hsl(0, 0%, 95%);
  margin-top: 30px;
  width: 65%;
  height: 35px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
}
button:active {
  opacity: 0.8;
}

.a {
  border-radius: 8px 0 0 8px;
  background-color: hsl(31, 77%, 52%);
}
.b {
  background-color: hsl(184, 100%, 22%);
}
.c {
  background-color: hsl(179, 100%, 13%);
  border-radius: 0 8px 8px 0;
}

.a button {
  color: hsl(31, 77%, 52%);
}
.a button:hover {
  background-color: hsl(31, 77%, 52%);
  color: hsl(0, 0%, 95%);
  border: 2px solid hsl(0, 0%, 95%);
}

.b button {
  color: hsl(184, 100%, 22%);
}
.b button:hover {
  background-color: hsl(184, 100%, 22%);
  color: hsl(0, 0%, 95%);
  border: 2px solid hsl(0, 0%, 95%);
}

.c button {
  color: hsl(179, 100%, 13%);
}
.c button:hover {
  background-color: hsl(179, 100%, 13%);
  color: hsl(0, 0%, 95%);
  border: 2px solid hsl(0, 0%, 95%);
}

.color {
  background-color: hsl(31, 77%, 52%);
  background-color: hsl(184, 100%, 22%);
  background-color: hsl(179, 100%, 13%);
  background-color: hsla(0, 0%, 100%, 0.75);
  background-color: hsl(0, 0%, 95%);
}
/* 
@media (515px >= width <= 773px)  */
@media (min-width: 516px) and (max-width: 774px) {
  .container {
    height: auto;
  }
  .a {
    margin-top: 15px;
    border-radius: 8px 0 0 8px;
  }
  .b {
    margin-top: 15px;
    border-radius: 0 8px 8px 0;
  }
  .c {
    border-radius: 0 0 8px 8px;
  }
}

@media (max-width: 515px) {
  .container {
    height: auto;
  }
  .a {
    border-radius: 8px 8px 0 0;
    margin-top: 15px;
  }
  .c {
    border-radius: 0 0 8px 8px;
    margin-bottom: 15px;
  }
}
