/* @import url(https://fonts.googleapis.com/css?family=Raleway:400,500,600); */
:root {
  --text: #303336;
  --light-text: #8c98a8;
  --button: #49b956;
  --button-hover: #60cf6f;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* .product {
  background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/195612/blurred_bg2.jpg")
    no-repeat center center fixed;
} */
.popularni {
  text-transform: uppercase;
  text-align: center;
  font-size: 1.5rem;
}

.product {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  gap: 0.5em;
  flex-wrap: wrap;

  /* margin-bottom: 100px; */

  /* align-items: center; */
  /* justify-content: center; */
  /* margin-bottom: 25px; */

  /* display: flex;
  flex-direction: row;
  
  justify-content: space-between;
  align-items: center;

  height: 50vh;
  width: 80%; */
}

.product > * {
  flex: 1 1 5em;
  margin: 5px;
  margin-bottom: 120px;
  /* gap: 10em; */
}
.product > *:nth-child(1) {
  flex: 1 1 20%;
  min-width: 40ch;
}
.product > *:nth-child(2) {
  flex: 1 1 20%;
  min-width: 40ch;
}
.product > *:nth-child(3) {
  flex: 1 1 20%;
  min-width: 40ch;
}
.product > *:nth-child(4) {
  flex: 1 1 20%;
  min-width: 40ch;
}

.product img {
  width: 350px;
  height: auto;
}
.product-box {
  font: 13px/23px "Raleway", Arial, sans-serif;
  color: var(--text);
  padding: 0px 100px;

  display: flex;
  /* flex-direction: row; */
  /* flex: 1 1 10%; */
  /* flex-wrap: wrap; */

  padding: 1px;
  /* box-sizing: border-box; */
  /* text-align: center; */
  border: 1px solid rgb(208, 194, 194);

  /* display: inline-block;
  margin: 1 0.1em;
  flex-grow: 10;
  width: calc(100% - 2em); */
}

.container {
  margin: 0 auto;
  /* width: 200px; */
  height: 300px;
  border-radius: 3px;
  position: relative;
}
.container img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.price {
  position: absolute;
  top: 180px;
  left: 35%;
  color: white;
  text-align: center;
  background: rgba(0, 153, 285, 0.8);
  border-radius: 50%;
  padding: 19px 33px;
  font-size: 22px;
}
div {
  /* margin-top: 5px; */
  font-weight: bold;
}
.information {
  text-align: center;
  margin-top: 18px;
}

.name {
  font-size: 22px;
}

.store {
  font-size: 16px;
  color: var(--light-text);
  margin-bottom: 28px;
}

.button {
  text-decoration: none;
  background: var(--button);
  color: white;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 54px;
  border-radius: 5px;
}
