span.title {
    color: rgb(193, 138, 255);
    text-shadow: 2px 2px 5px rgb(220, 189, 255);
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
  
.flex-container div {
    width: 30%;
    margin: 10px;
    text-align: center;
}

.flex-container div img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    cursor: pointer;
}

.flex-container div img.thai {
  object-position: 30%;
}

.flex-container div img.relax {
  object-position: 70%;
}

.flex-container div img:hover {
    opacity: 0.5;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 50px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
}

.modal-content {
  margin: auto;
  display: block;
  position: relative; 
  z-index: 2;
  max-height: 95%;
}

.modal-content {
  animation-name: zoom;
  animation-duration: 0.6s;
}

div.back {
  position: fixed; /* Stay in place */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

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

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  z-index: 2;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media screen and (max-width: 1260px) {
    .flex-container div {
        width: 45%;
    }
}

@media screen and (max-width: 815px) {
    .flex-container div {
        width: 30%;
    }
}

@media screen and (max-width: 750px) {
    .flex-container div {
        width: 45%;
    }
}

@media screen and (max-width: 590px) {
    .flex-container div {
        width: 100%;
    }
}