
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", serif;
}

body {
  background-color: hsl(30, 38%, 92%);
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  overflow: hidden;
  background-color: hsl(0, 0%, 100%);
  width: 90%;
  height: 92%;
  border-radius: 13px;
}

.big {
  width: 100%;
}

.small {
  display: none;
}

.card-type {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: small;
  font-weight: 500;
}

.main-title {
  line-height: 1em;
  margin: 12px 0;
}

.card-content {
  padding: 20px;
  position: relative;
}

.sp-font {
  font-family: "Fraunces", serif;
}

.gray {
  color: hsl(228, 12%, 48%);
}

.desc {
  font-weight: 500;
  font-size: 0.85em;
  line-height: 1.5em;
}

.main-price {
  color: hsl(158, 36%, 37%);
  font-weight: 700;
  font-size: 2em;
}

.second-price {
  text-decoration: line-through;
  font-size: 0.8em;
  font-weight: 500;
}

.price-box {
  display: flex;
  align-items: center;
  gap: 1em;
  margin: 20px 0px;
}

button {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  gap: 0 1em;
  bottom: -35px;
  background-color: hsl(158, 36%, 37%);
  border: none;
  color: white;
  padding: 18px 10px;
  border-radius: 10px;
  margin: 0 auto;
  font-weight: bold;
  width: 90%;
}

button:active {
  border: none;
}

@media (min-width: 580px) {
  .card {
    max-width: 40%;
    max-height: 55%;
    display: flex;
    min-width: 580px;
    max-height: 407px;
  }

  .card-content {
    flex: 1;
    padding: 30px;
  }

  button {
    bottom: 20px;
    width: 80%;
  }

  .desc, .main-title {
    margin-top: 22px;
  }

  .price-box {
    margin-top: 10px;
  }

  .big {
    display: none;
  }

  .small {
    width: 50%;
    display: block;
    flex: 1;
  }
}