@font-face {
  font-family: 'BigShoulders';
  src: url('fonts/Big_Shoulders_Display/BigShouldersDisplay-Regular.ttf')  format('truetype')
}

@font-face {
  font-family: 'LexendDeca';
  src: url('fonts/Lexend_Deca/LexendDeca-Regular.ttf')  format('truetype')
}

.container {
  width: 70%;
  margin: auto;

  display: flex;

  border-radius: 10px;
  overflow: hidden;
}

@media screen and (max-width: 600px) {
  .container {
    flex-direction: column;
    width: 90%;
  }
}

/* CARD */

.card {
  color: white;
  font-family: LexendDeca;

  padding: 50px;
  padding-right: 100px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media screen and (max-width: 600px) {
  .card {
    padding-right: 50px;
  }
}

.orange-version {
  background-color: hsl(31, 77%, 52%);
}

.green-version {
  background-color: hsl(179, 100%, 13%);
}

.blue-version {
  background-color: hsl(184, 100%, 22%);
}


.card-content {
  margin-bottom: 100px;
}


@media screen and (max-width: 600px) {
  .card-content {
    margin-bottom: 20px;
  }
}

.card-text p {
  line-height: 1.8em;
  color: hsla(0, 0%, 100%, 0.75);
}

.card-text h2 {
  font-family: BigShoulders;
  font-weight: 500;
  font-size: 50px;

  text-transform: uppercase;
  color: hsl(0, 0%, 95%);
}

.card-button button {
  position: relative;
  display: inline-block;

  border: solid transparent 2px;
  border-radius: 31px;
  padding: 15px 32px;
  background-color: hsl(0, 0%, 95%);

  font-size: 16px;
  text-align: center;
  text-decoration: none;
  color: hsl(0, 0%, 5%);
  mix-blend-mode: screen;
}

.card-button button:hover {
  cursor: pointer;

  border-color: white;
  background-color: transparent;
  color: white;
}

/* ATTRIBUTION */

.attribution {
  color: black;
  margin-top: 20px;
  font-size: 11px;
  text-align: center;

  position: fixed;
  bottom: 0;
}

.attribution a {
  color: hsl(228, 45%, 44%);
}
