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

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

:root {
  --bg: hsl(0, 0%, 95%);
  --Gold500: hsl(31, 77%, 52%);
  --Cyan800: hsl(184, 100%, 22%);
  --Green950: hsl(179, 100%, 13%);
}

body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg);
  display: grid;
  place-content: center;
  font-family: "Lexend Deca", sans-serif;
}

.container {
  border-radius: 12px;
  overflow: hidden;
  color: #ffffff;
  width: 900px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.container > div {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

h1 {
  font-family: "Big Shoulders Display", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  text-transform: uppercase;
}

p {
  font-weight: 400;
  line-height: 1.6;
  font-size: 0.9rem;
}

button {
  width: fit-content;
  padding: 0.8rem 1.5rem;
  border: 2px solid #ffffff;
  border-radius: 25px;
  background-color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.box1 button { color: var(--Gold500); }
.box2 button { color: var(--Cyan800); }
.box3 button { color: var(--Green950); }

 button:hover {
  background: transparent;
  color: #fff;
}
button:hover {
  background: transparent;
  color: #fff;
}
button:hover {
  background: transparent;
  color: #fff;
}

.box1 { background-color: var(--Gold500); }
.box2 { background-color: var(--Cyan800); }
.box3 { background-color: var(--Green950); }

img {
  width: 60px;
  height: auto;
}

@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
    width: 90%;
    margin: 2rem auto;
  }

  .container > div {
    text-align: left;
    align-items: flex-start;
  }

  button {
    align-self: flex-start;
  }
}
