.products-container {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-bottom: 1em;
}

.product-card {
  border-radius: 0.51em;
  -webkit-box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.2);
          box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.2);
  position: relative;
  width: 200px;
  min-width: 250px;
  height: 300px;
  padding: 0.5em 1em 0 1em;
  margin: 0.5em;
  text-align: center;
  padding: 2em;
  overflow: hidden;
}

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

.product-card .name {
  position: absolute;
  bottom: 1em;
  left: 1em;
}

.product-card .price {
  position: absolute;
  bottom: 1em;
  right: 1em;
}

.product-card .price::after {
  content: " kr";
}

.product-card .overlay {
  position: absolute;
  inset: 0;
  padding: 1em 1em 0 1em;
  color: white;
  background-color: black;
  opacity: 0.5;
  -webkit-transform: translateY(-92%);
          transform: translateY(-92%);
}

.product-card .overlay .curtain-handle {
  position: absolute;
  bottom: 0;
  left: calc(50% - 0.5em);
  color: white;
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

.product-card:hover {
  cursor: pointer;
}

.product-card:hover > .name {
  color: white;
}

.product-card:hover > .price {
  color: white;
}

.product-card:hover > .overlay {
  -webkit-animation: show-overlay 800ms ease-in-out forwards;
          animation: show-overlay 800ms ease-in-out forwards;
  display: block;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

@-webkit-keyframes show-overlay {
  0% {
    -webkit-transform: translateY(-92%);
            transform: translateY(-92%);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes show-overlay {
  0% {
    -webkit-transform: translateY(-92%);
            transform: translateY(-92%);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
/*# sourceMappingURL=products.css.map */