#myImg {
  /* border-radius: 5px; */
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

#myImg:hover {
  opacity: 1;
}
/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: "950";
  /* Sit on top */
  padding-top: 2%;
  padding-bottom: 2%;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0, 0.5);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
  object-fit: cover;
  overflow: hidden;
}
@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0);
  }

  to {
    -webkit-transform: scale(1);
  }
}

@keyframes zoom {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}
.close {
  position: relative;
  top: 5%;
  right: 20%;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.2s ease-in-out;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
.closeDiv {
  float: right;
  margin: 10px;
  width: 50px;
  height: 50px;
}
/* media */
@media only screen and (max-width: 500px) {
  .modal-content {
    width: 100%;
  }
  .title {
    margin-left: 20px;
  }
  .container {
    padding-left: 0;
  }
  .grid-category {
    grid-gap: 5px;
    margin-left: auto;
    margin-right: auto;
    align-content: center;
  }
  .grid-category > div {
    margin-left: 5%;
    width: 100%;
    height: 40vh;
  }
  #offices {
    margin-left: 31%;
    margin-top: -90%;
  }
  #studios {
    margin-left: -1%;
    margin-top: 10%;
  }
  #private {
    margin-left: -35%;
    margin-top: 100%;
  }
  #storage {
    margin-left: 32%;
    margin-top: -105%;
  }
  #cafe {
    margin-left: -2%;
    margin-top: -8%;
  }
  #other {
    margin-left: -35%;
    margin-top: 85%;
  }
  .arrow {
    margin-top: 50%;
  }
}
@media only screen and (min-width: 501px) and (max-width: 729px) {
  .modal-content {
    width: 90%;
  }
  .title {
    margin-left: 20px;
  }
  .container {
    padding-left: 0;
  }
  .grid-category {
    grid-gap: 10px;
    margin-left: 0px;
    margin-right: 0px;
  }
  .grid-category > div {
    margin-left: 3%;
    width: 50%;
    height: 50%;
  }
  .grid-category > div.category {
    height: 250px;
  }
  #offices {
    margin-left: 32%;
    margin-top: -45%;
  }
  #studios {
    margin-left: -1%;
    margin-top: 5%;
  }
  #private {
    margin-left: -37%;
    margin-top: 53%;
  }
  #storage {
    margin-left: 34%;
    margin-top: -54%;
  }
  #cafe {
    margin-left: -1%;
    margin-top: -2%;
  }
  #other {
    margin-left: -35%;
    margin-top: 45%;
  }
  .arrow {
    margin-top: 43%;
  }
}
@media only screen and (min-width: 730px) and (max-width: 800px) {
  .modal-content {
    width: 90%;
  }
  .title {
    margin-left: 20px;
  }
  .container {
    padding-left: 0;
  }
  .grid-category {
    grid-gap: 10px;
    margin-left: 0px;
    margin-right: 0px;
  }
  .grid-category > div {
    margin-left: 3%;
    width: 50%;
    height: 50%;
  }
  .grid-category > div.category {
    height: 250px;
  }
  #offices {
    margin-left: 6%;
    margin-top: 1%;
  }
  #studios {
    margin-left: 26%;
    margin-top: -9%;
  }
  #private {
    margin-left: -62%;
    margin-top: 35%;
  }
  #storage {
    margin-left: 60%;
    margin-top: -34%;
  }
  #cafe {
    margin-left: -28%;
    margin-top: 10%;
  }
  #other {
    margin-left: -10%;
    margin-top: 10%;
  }
  .arrow {
    margin-top: 30%;
  }
}
@media only screen and (min-width: 801px) and (max-width: 990px) {
  .modal-content {
    width: 90%;
  }
  .title {
    margin-left: 20px;
  }
  .container {
    padding-left: 0;
  }
  .grid-category {
    grid-gap: 10px;
    margin-left: 0px;
    margin-right: 0px;
  }
  .grid-category > div {
    margin-left: 3%;
    width: 50%;
    height: 50%;
  }
  .grid-category > div.category {
    height: 250px;
  }
  #offices {
    margin-left: 7%;
    margin-top: -10%;
  }
  #studios {
    margin-left: 25%;
    margin-top: -10%;
  }
  #private {
    margin-left: -62%;
    margin-top: 35%;
  }
  #storage {
    margin-left: 59%;
    margin-top: -35%;
  }
  #cafe {
    margin-left: -28%;
    margin-top: 10%;
  }
  #other {
    margin-left: -9%;
    margin-top: 10%;
  }
  .arrow {
    margin-top: 15%;
  }
}
@media only screen and (min-width: 991px) and (max-width: 1190px) {
  .modal-content {
    width: 90%;
  }
  .title {
    margin-left: 20px;
  }
  .container {
    padding-left: 0;
  }
  .grid-category {
    grid-gap: 10px;
    margin-left: 0px;
    margin-right: 0px;
  }
  .grid-category > div {
    margin-left: 3%;
    width: 50%;
    height: 50%;
  }
  .grid-category > div.category {
    height: 250px;
  }
  #offices {
    margin-left: 6%;
    margin-top: -9%;
  }
  #studios {
    margin-left: 26%;
    margin-top: -8%;
  }
  #private {
    margin-left: -62%;
    margin-top: 27%;
  }
  #storage {
    margin-left: 60%;
    margin-top: -26%;
  }
  #cafe {
    margin-left: -28%;
    margin-top: 8%;
  }
  #other {
    margin-left: -10%;
    margin-top: 8%;
  }
  .arrow {
    margin-top: 10%;
  }
}
@media only screen and (min-width: 1191px) and (max-width: 1300px) {
  .modal-content {
    width: 90%;
  }
  .title {
    margin-left: 20px;
  }
  .container {
    padding-left: 0;
  }
  .grid-category {
    grid-gap: 10px;
    margin-left: 0px;
    margin-right: 0px;
  }
  .grid-category > div {
    margin-left: 3%;
    width: 50%;
    height: 50%;
  }
  .grid-category > div.category {
    height: 250px;
  }
  #offices {
    margin-left: -1%;
    /* margin-top: 10%; */
  }
  #studios {
    margin-left: -1%;
    /* margin-top: -8%; */
  }
  #private {
    /* margin-left: -62%;
    margin-top: 27%; */

    margin-left: -1%;
    /* margin-top: 5%; */
  }
  #storage {
    margin-left: -1%;
    /* margin-top: 8%; */
  }
  #cafe {
    margin-left: -1%;
    /* margin-top: 8%; */
  }
  #other {
    margin-left: -1%;
    /* margin-top: 8%; */
  }
}
@media only screen and (min-width: 1301px) and (max-width: 1370px) {
  .modal-content {
    width: 90%;
  }
  .title {
    margin-left: 20px;
  }
  .container {
    padding-left: 0;
  }
  .grid-category {
    grid-gap: 10px;
    margin-left: 0px;
    margin-right: 0px;
  }
  .grid-category > div {
    margin-left: 3%;
    width: 50%;
    height: 50%;
  }
  .grid-category > div.category {
    height: 250px;
  }
  #offices {
    margin-left: -2%;
  }
  #studios {
    margin-left: -1%;
  }
  #private {
    margin-left: -1%;
  }
  #storage {
    margin-left: -1%;
  }
  #cafe {
    margin-left: -1%;
  }
  #other {
    margin-left: -1%;
  }
}
@media only screen and (min-width: 1371px) {
  .modal-content {
    width: 90%;
  }
  .title {
    margin-left: 20px;
  }
  .container {
    padding-left: 0;
  }
  .grid-category {
    grid-gap: 10px;
    margin-left: 0px;
    margin-right: 0px;
  }
  .grid-category > div {
    margin-left: 3%;
    width: 50%;
    height: 50%;
  }
  .grid-category > div.category {
    height: 250px;
  }
  #offices {
    margin-left: -1%;
    /* margin-top: 50%; */
  }
  #studios {
    margin-left: -1%;
  }
  #private {
    margin-left: -1%;
  }
  #storage {
    margin-left: -1%;
  }
  #cafe {
    margin-left: -1%;
  }
  #other {
    margin-left: -1%;
  }
  .arrow {
    margin-bottom: 5%;
  }
}

/* Six columns side by side */
.column {
  float: left;
  width: 16.66%;
}
.grid-container {
  width: 90%;
  display: grid;
  align-self: center;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  grid-gap: 50px;
  margin-left: auto;
  margin-right: auto;
}

.grid-container > div {
  text-align: center;
  margin-top: 20%;
  margin-left: 5%;
  width: 100%;
  padding-bottom: 10%;
  font-size: 30px;
  background-color: #f7fbfe;
  text-decoration: none;
  box-shadow: 0px 0px 20px black;
}

.grid-container > div:hover {
  text-decoration: none;
  cursor: pointer;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  box-shadow: 0px 0px 40px black;
}

.arrow {
  width: 5%;
  position: absolute;
  /* top: 50; */
}
#right {
  margin-left: 90%;
  z-index: 1;
}

#left {
  margin-left: 5%;
  z-index: 1;
}

#sliderArrows {
  float: left;
  margin-top: 20%;
}

#right:hover,
#left:hover {
  color: black;
  cursor: pointer;
  text-shadow: 0px 0px 10px black;
}
.cover {
  object-fit: contain;
}

.grid-category {
  position: relative;
  display: inline-block;
  width: 90%;
  display: grid;
  align-self: center;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 45px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5%;
}

.grid-category > div {
  text-align: center;
  margin-left: 5%;
  width: 90%;
  height: 40vh;
  padding-bottom: 10%;
  font-size: 40px;
  text-decoration: none;
  box-shadow: 0px 0px 10px black;
  background-color: #000;
  overflow: hidden;
  object-fit: cover;
  background: black;
  opacity: 0.8;
}

.grid-category > div:hover {
  text-decoration: none;
  cursor: pointer;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  box-shadow: 0px 20px 40px black;
  color: rgb(0, 0, 0);
  opacity: 1;
}

.bg-opacity {
  position: relative;
  background-color: #000;
}

.bigImg {
  height: 70%;
}
.smallImg {
  height: 70%;
}
.categories {
  flex-direction: row;
  display: flex;
  justify-content: space-evenly;
}

.caption {
  position: absolute;
  transform: translate(-50%, -50%);
  color: #fff;
  padding: 10px;
  text-align: center;
}
#offices {
  top: 23%;
  left: 17%;
}
#studios {
  top: 23%;
  left: 51%;
}
#private {
  top: 23%;
  left: 86%;
}
#storage {
  top: 77%;
  left: 17%;
}
#cafe {
  top: 77%;
  left: 51%;
}
#other {
  top: 77%;
  left: 86%;
}
.button1 {
  position: relative;
  width: 100px;
  background-color: rgb(106, 106, 106);
  padding: 0.9%;
  margin-left: 10.5%;
  top: 20px;
  text-decoration: none;
  border-radius: 2px;
  color: white;
  box-shadow: 0px 1px 10px black;
}
.button1:hover {
  text-decoration: none;
  cursor: pointer;
  background-color: rgb(163, 163, 163);
  color: rgb(0, 0, 0);
  opacity: 1;
}
