#main {
  position: relative;

  z-index: 20;

  background: #fff;

  transition: -webkit-transform 0.6s ease;

  transition: transform 0.6s ease;

  transition: transform 0.6s ease, -webkit-transform 0.6s ease;
}

@media (min-width: 640px) {
  #main {
    padding: 1em;
  }
}

.fake-section {
  background: #eee;

  height: 300px;
}

.tiles-a {
  width: 100%;

  position: relative;

  overflow: hidden;
}

.tiles-a ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  column-gap: 2rem;
  row-gap: 2rem;
}

.tiles-a li {
  list-style: none;
}

.tiles-a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 640px) {
  .tiles-a ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#aside {
  position: fixed;

  top: 0;

  right: 0;

  width: 60%;

  height: 100%;

  background: #eee;

  overflow-y: scroll;

  z-index: 10;
}

#aside img {
  width: 100%;

  height: auto;

  vertical-align: top;
}

#aside .wrapper {
  padding: 1em;
}

#aside .close {
  width: 25px;

  display: block;

  position: absolute;

  top: 15%;

  right: 1em;

  z-index: 99999999;

  background-color: red;

  border-radius: 50%;
}

.show-detail {
  overflow: hidden;
}

.show-detail #main {
  -webkit-transform: translateX(-60%);

  transform: translateX(-60%);
}
