@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

*{
  box-sizing: border-box;
  margin: 0;
  padding:0;
  font-family: 'Poppins', sans-serif;
}

.showcase {
  position: absolute;
  right: 0;
  width: 100%;
  min-height: 100vh;
  padding: 6.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111;
  mix-blend-mode: overlay;
  color: #f2f2f2;
  z-index: 2;
  transition: 0.7s;
}

.showcase.active {
  right: 18.75rem;
}

.showcase header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem 6.25rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  color: #f2f2f2;
}
.logo:hover {
  letter-spacing: 0.094rem;
  color: #f2f2f2;
}


.toggle {
  position: relative;
  width: 3.75rem;
  height: 3.75rem;
  background: url('../img/menu.png');
  background-size: 1.6rem;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}
.toggle.active {
  background: url('../img/close.png');
  background-repeat: no-repeat;
  background-size:1.5rem;
  background-position: center;
  filter: invert(1);
}

.showcase .backgroundimg
{position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}


.text {
  position: relative;
  z-index: 10;
}

.text h2 {
  font-size: 5em;
  font-weight: 700;
  line-height: 1em;
  text-transform: uppercase;
}
.text h3 {
  font-size: 4em;
  font-weight: 600;
  line-height: 1em;
  text-transform: uppercase;
}
.text p {
  font-size: 1.1em;
  margin: 1.25rem 0rem;
  font-weight: 400;
  max-width: 43.75rem;
}
.text a {
  display: inline-block;
  font-size: 1em;
  background: #f2f2f2;
  padding: 0.625rem 1.875rem;
  text-decoration: none;
  color: #333333;
  margin-top: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.125rem;
}
.text a:hover {
  color: #333333;
  letter-spacing: 0.375rem;
}


.menu.active {
  position: absolute;
  top: 20px;
  right: 0;
  width: 16.75rem;
  height: 100%;
  align-items: center;
  justify-content: center;
  z-index: -1;
}
.menu ul {
  position: relative;
  list-style: none;
  margin-top: 0.8rem;
}
.menu ul li a {
  color: #111;
  text-decoration: none;
  font-size: 1.5rem;
}
.menu ul li a:hover {
  color: #89CFF0;
}
.menu .socialimg {
  display: inline-block;
  transform: scale(0.5);
  transition: 0.5s;
  margin-top: 1rem;
}
.menu .socialimg:hover {
  display: inline-block;
  transform: scale(0.5)  translateY(-15px);
}
.menu ul h3 {
  margin-top: 1.9rem;
}
.menu ul p {
  margin-top: 3rem;
  font-size: 1rem;
}

.menuHidden {
  transition-timing-function: ease-out;

  /* Quick on the way out */
  transition: 0.5s;
  opacity: 0;
}

.menuActive {
  transition-timing-function: ease-in;

  /* Quick on the way out */
  transition: 0.5s;
  opacity: 1;
}

@media(max-width: 500px) {
  .showcase .text {
    top: 35px;
  }
  
  .product-flex-container {
    position: relative;
    top: 30px;
    display: flex;
    flex-wrap: wrap;
  }

  .product-flex-container > div {
    background-color: #f1f1f1;
    margin: 10px;
    padding: 20px;
    font-size: 30px;
    width: 100%;
  }

}

@media(max-width: 49.875rem) {
  .showcase,
  .showcase header {
    padding: 2.5rem;
  }
  .text h2 {
      font-size: 3em;
    }
  .text h2 {
      font-size: 2em;
}
.product-flex-container {
  display: flex;
  flex-wrap: wrap;
}

.product-flex-container > div {
  background-color: #f1f1f1;
  margin: 10px;
  padding: 20px;
  font-size: 30px;
  width: 45%;
}

}

.product-flex-container {
  display: flex;
  flex-wrap: wrap;
}

.product-flex-container > div {
  background-color: #f1f1f1;
  margin: 10px;
  padding: 20px;
  font-size: 30px;
  width: 30%;
}



/* any size less than and upto 700px */
@media(max-width: 700px) {

  .product-flex-container {
    display: flex;
    flex-wrap: wrap;
  }

  .product-flex-container > div {
    background-color: #f1f1f1;
    margin: 10px;
    padding: 20px;
    font-size: 30px;
    width: 45%;
  }

}