

#container {
  display: flex;
  width: 100%;
}
.container__panel {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 80vh;
  border-radius: 5px;
  cursor: pointer;
  flex: 1;
  margin: 1px;
  position: relative;
  transition: flex 0.7s ease-in;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
@media only screen and (max-width: 800px) {
  .container__panel:nth-of-type(4), .container__panel:nth-of-type(5), .container__panel:nth-of-type(6) {
    display: none;
  }
}
.container__panel--title {
  /*font-family: Anton;*/
  /*text-transform: uppercase;*/
  font-size: 1.5rem;
  /*writing-mode: vertical-rl;*/
  transform: rotate(270deg);
  margin-top: 13rem;
  text-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
  color: white;
  opacity: 1;
  transition: opacity 0.3s ease-in 0.4s;
}
@media only screen and (max-width: 800px) {
  .container__panel--title {
    font-size: 1.5rem;
  }
}
.container__panel--detail-box {
  font-size: 1rem;
  position: absolute;
  bottom: 100px;
  opacity: 0;
  color: #fff;
  margin: 10px;
  background-color: #0c2d48bd;
  border-radius: 5px;
  padding: 10px 30px;
  overflow: hidden;
}
.container__panel--detail-box h3 {
  border-bottom: 1px solid white;
}
@media only screen and (max-width: 400px) {
  .container__panel--detail-box {
    font-size: 0.6rem;
  }
}
.container__panel.active {
  flex: 10;
}
.container__panel.active .container__panel--detail-box {
  opacity: 1;
  transition: opacity 0.3s ease-in 0.6s;
}
.container__panel.active h2 {
  opacity: 0;
}
