@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders:opsz,wght@10..72,100..900&family=Lexend+Deca:wght@100..900&display=swap');

:root {
  --bright-orange-clr: hsl(31, 77%, 52%);
  --dark-cyan-clr: hsl(184, 100%, 22%);
  --very-dark-cyan-clr: hsl(179, 100%, 13%);
  --transparent-white-clr: hsla(0, 0%, 100%, 0.75);
  --very-light-gray-clr: hsl(0, 0%, 95%);

  --lexend-deca-font: 'Lexend Deca', sans-serif;
  --big-shoulders-font: 'Big Shoulders', sans-serif;

  --regular-font-weight: 400;
  --bold-font-weight: 700;

  --default-font-size: 15px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--very-light-gray-clr);
  font-family: var(--lexend-deca-font);
  font-size: var(--default-font-size);

  min-block-size: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;
}

button {
  display: block;
  font-size: inherit;
}

img {
  max-inline-size: 100%;
}

p {
  line-height: 1.5;
}

.container {
  display: flex;
  flex-direction: row;
  border-radius: .5rem;
  max-inline-size: 800px;
  overflow: hidden;
  margin: 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
}

.orange-card {
  background-color: var(--bright-orange-clr);
}

.orange-card button {
  color: var(--bright-orange-clr);
}

.dark-cyan-card {
  background-color: var(--dark-cyan-clr);
}

.dark-cyan-card button {
  color: var(--dark-cyan-clr);
}

.very-dark-cyan-card {
  background-color: var(--very-dark-cyan-clr);
}

.very-dark-cyan-card button {
  color: var(--very-dark-cyan-clr);
}

.card button:hover {
  background-color: transparent;
  border: 1px solid var(--very-light-gray-clr);
  color: var(--very-light-gray-clr);
  cursor: pointer;
}

.card img {
  max-inline-size: 35%;
  margin-block-end: 1.5rem;
}

.card h2 {
  color: var(--very-light-gray-clr);
  font-family: var(--big-shoulders-font);
  font-weight: var(--bold-font-weight);
  font-size: 2rem;
  text-transform: uppercase;
  margin-block-end: 1.5rem;
}

.card p {
  color: var(--transparent-white-clr);
  font-weight: var(--regular-font-weight);
  margin-block-end: 5rem;
}

.card button {
  font-family: var(--lexend-deca-font);
  font-weight: var(--regular-font-weight);
  border: none;
  padding: .75rem 1rem;
  border-radius: 30px;
}

.attribution { 
  font-size: 11px; 
  text-align: center; 
}

.attribution a { 
  color: hsl(228, 45%, 44%); 
}

@media screen and (max-width: 375px) {
  .container {
    flex-direction: column;
  }
}