main {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.item {
  width: 100%;
  height: 100vw;
  position: relative;
}

.fleximage {
  width: 100%;
  position: absolute;
  padding: 0;
  margin: 0;
}

.itemtext {
  width: 100%;
  margin: auto;
  text-align: center;
  font-size: 10vw;
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
}

.itemtextcontainer {
  position: absolute;
  height: 100vw;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(18, 18, 18, 0.3);
}

.itemtextcontainer:hover {
  background: rgba(18, 18, 18, 0);
  color: rgba(255, 255, 255, 0.6);
  transition: .5s;
}

@media only screen and (min-width: 1050px) {

  /* for desktop */
  .item {
    width: 33.333%;
    height: 33.333vw;
  }

  .itemtext {
    font-size: 4vw;
  }

  .itemtextcontainer {
    height: 33.333vw;
  }
}
