/*font-family: 'Raleway', sans-serif;*/
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;0,600;1,400&display=swap');

.product {
  display: flex;
  flex-flow: column;
  width: 100%;
  /*max-height: 500px;*/
  background-color: #0C3355;
  border-radius: 0em 0em 1em 1em;
  box-shadow: 0 0 5px 2px #0C3355;
  overflow: hidden;
  align-items: center;  
}

.product-image {
  display: flex;
  height: 80%;
}

.product-image img {
  width: 100%;
  height: 100%;
}

.product-context {
  display: flex;
  flex-flow: column;
  height: 20%;
  padding: 0.3em 1em;
}

.product-title {
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  color: white;
  height: 1.2em;
  padding-bottom: 0.5em;
  overflow: hidden;
}

.product-text {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  color: lightblue;
  /*height: 3em;*/
  overflow: hidden;
}

.product-small {
  overflow: hidden;
  width: 100%;
  max-width: 1500px;
  margin: auto;
  display: flex;
  flex-flow: row wrap;
  transition: 1s ease;
}

.product-big {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 100;
}

.product-big__close-button {
  align-self: flex-end;
  margin-top: 4vh;
  margin-right: 4vw;
  color:#cf4e53;
  width: auto;
}

.big-product {
  display: flex;
  flex-flow: row;
  background-color: #0C3355;
  border-radius: 0em 1em 1em 0em;
  box-shadow: 0 0 5px 2px #0C3355;
  overflow: hidden;
}

.big-product-image {
  display: flex;
  width: 70%;
  height: 100%;
}

.big-product-image img {
  width: 100%;
  height: 100%;
}

.big-product-context {
  display: flex;
  flex-flow: column;
  align-items: center;
  align-content: center;
  justify-content: space-around;
  width: 50%;
}

.big-product-title {
  font-family: 'Raleway', sans-serif;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  color: white;
  height: 1.2em;
  overflow: hidden;
}

.big-product-text {
  text-align: center;
  font-family: 'Raleway', sans-serif;
  font-size: 20px;
  color: lightblue;
  height: 6em;
  text-overflow: clip;
  margin-left: 0;
  
}

.shop-button {
  margin: 1em 0;
  padding: 15px 32px;
  background-color: #f0f8ff;
  border: 3px solid #cf4e53;
  border-radius: 1em;
  font-size: 25px;
  font-weight: bold;
  color: #cf4e53;
  text-align: center;
  text-decoration: none;
  width: auto;
}

.shop-button:hover {
  background-color: #cf4e53;
  color: #f0f8ff;
}

.to_the_market-button {
  display: flex;
  align-items: center;
  max-width: 50%;
  height: 2em;
  border-radius: 1em 1em 0 0;
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  color: white;
  text-align: center;
  text-decoration: none;
  background-color: #cf4e53;
}

.order_1 {
  order: 1;
}

.order_2 {
  order: 2;
}

.order_3 {
  order: 3;
}

@media (max-width: 870px) {
  .product-small {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .big-product {
    flex-flow: column;
  }
  .big-product-image {
    display: flex;
    width: 100%;
    height: 100%;
  }
  .big-product-context {
    width: 100%;
    padding: 0.1em 0.2em;
  }
  .product-big__close-button {
    margin-top: 2vh;
    margin-right: 2vw;
    font-size: 2em;
    color:#cf4e53;
  }

  
}