* {
  box-sizing: border-box;
}
body {
  margin:0;
}
img {
  max-width:100%;
  display: block;
}


h2 {
  font-family: "Righteous", sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  font-size: 50px;
  text-align: center;
}

.wrapper {
  max-width:1280px;
  margin: 0 auto 100px;
}

.products {
  display: flex;
  flex-wrap:wrap;
  gap:10px;
}
.product-card {
  width: calc(25% - (30px / 4));
  display: flex;
  flex-direction:column;
}

/* Products Img */
.product-card__img {
  position: relative;
}
.medal {
  position: absolute;
  top:10px;
  left: 10px;
  background:#001e42;
  color:#fff;
  padding:5px 10px;
  border-radius:3px;
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  font-weight: bold;
}

/* Products Txt */
.product__details {
  padding:20px;
}
h3 {
  margin-top: 0;
  font-family: "Playfair Display", serif;
  font-weight: normal;
  font-size: 24px;
  line-height: 28px;
}
.product-card__txt {
  flex-grow:1;
  display: flex;
  flex-direction:column;
}
p, .rating {
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
}
.btn {
  margin-top: auto;
  background:#001e42;
  color:#fff;
  text-decoration: none;
  text-align: center;
  padding:20px 0;
  border-radius:3px;
  font-family:"Noto Sans", sans-serif;
  font-weight: bold;
  transition:.3s all ease-in-out;
}
.btn:hover {
  color:salmon;
}
.fa-solid {
  color:#001e42;
}
footer {
  background:#001e42;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Playfair Display", serif;
  color:#fff;
  font-weight: normal;
  font-size: 50px;
}
@media screen and (max-width:1150px) {
  .product-card {
    width: calc(33% - (20px / 3));
  }
}
@media screen and (max-width:900px) {
  .wrapper {
    padding:0 50px;
  }
  .product-card {
    width: calc(50% - (10px / 2));
  }
}
@media screen and (max-width:700px) {
  .product-card {
    width: 100%;
  }
}