/*
## Colors

### Primary

- Dark cyan: 
- 

### Neutral

- Very dark blue: 
- Dark grayish blue: 
- White: hsl(0, 0%, 100%)
*/

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Marhey:wght@700&family=Secular+One&display=swap");

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

img {
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}

.attribution {
  font-size: 0.9rem;
  text-align: center;
  margin-top: 1rem;
}
.attribution a {
  color: hsl(228, 45%, 44%);
  text-decoration: none;
  color: hsl(158, 36%, 30%);
  font-weight: 700;
}

body {
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  background-color: hsl(30, 38%, 92%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0 1.5rem;
  padding: 2rem 0;
}

.container {
  max-width: 600px;
  max-height: 100vh;
}

.container h1 {
  color: hsl(212, 21%, 14%);
}

.price {
  color: hsl(158, 36%, 37%);
}

.container h1,
.price {
  font-family: "Marhey", sans-serif;
}

.container h2 {
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 500;
  color: hsl(228, 12%, 48%);
  letter-spacing: 2.5px;
}

.container h1 {
  font-size: 1.8rem;
  line-height: 2rem;
}

.container p {
  color: hsl(228, 12%, 48%);
  line-height: 1.8;
}

.container ul {
  list-style-type: none;
  display: flex;
}

.container article:first-child img {
  border-radius: 1rem 1rem 0 0;
}

.container ul li:first-child {
  font-size: 2rem;
  margin-right: 1.5rem;
}

.container ul li:nth-child(2) {
  color: hsl(228, 12%, 48%);
  display: flex;
  align-items: center;
}

.container article:last-child {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 0 0 1rem 1rem;
  margin-top: -2px;
}

h2, h1, p, ul {
  margin-bottom: 1rem;
}

.container .btn {
  outline: none;
  background-color: hsl(158, 36%, 37%);
  color: #fff;
  border: none;
  padding: 20px;
  width: 100%;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
}

.container .btn:hover,
.container .btn:active {
  background-color: hsl(158, 36%, 30%);
}

.container .btn img {
  margin-right: 0.5rem;
}

button,
li {
  font-family: inherit;
}

@media (min-width: 640px) {
  .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .container article:first-child img {
    border-radius: 1rem 0 0 1rem;
  }

  .container article:last-child {
    background-color: #fff;
    padding: 0 1.5rem;
    border-radius: 0 1rem 1rem 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
  }
}
