  /* Preview Image Container */
  .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Preview Image */
  .gallery img {
    width: 8em;
    height: 8em;
    object-fit: cover;
    margin: 2px;
    cursor: pointer;
  }

  /* Area View */
  .view {
    display: none;
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
  }

  /* Viewing an Image */
  .view-content {
    position: absolute;
    object-fit: contain;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-height: 80%;
  }

  .close-button {
    color: #fff;
    position: absolute;
    top: 0.4em;
    right: 0.6em;
    font-size: 3em;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
  }

  .arrow-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 4em;
    color: #FFF;
    padding: 0;
    user-select: none;
  }

  .close-button:hover,
  .close-button:focus,
  .arrow-button:hover,
  .arrow-button:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
  }

  .close-button:active,
  .arrow-button:active {
    color: #777;
    text-decoration: none;
    cursor: pointer;
  }

  .arrow-left {
    left: 0.4em;
    /* margin-left: 10px; */
  }

  .arrow-right {
    right: 0.4em;
    /* margin-right: 10px; */
  }