.main {
  width: calc(100% - 0px);
  float: left;
  margin-left: 0px;
}

.flickity-slider {
  -webkit-transform: none !important;
          transform: none !important;
}

.gallery {
  height: calc(100vh - 140px);
  opacity: 1;
  position: relative;
  visibility: visible;
  transition: opacity 0s linear 0.3s;
}
.gallery.is-invisible {
  opacity: 0;
  visibility: hidden;
}

.gallery-item {
  width: calc(100% - 40px);
  float: left;
  margin-left: 20px;
  height: calc(100vh - 140px);
  left: 0 !important;
  opacity: 0;
  transition: opacity 0s linear 0.2s;
}
@media screen and (min-width: 1024px) {
  .gallery-item {
    width: calc(66.6666666667% - 33.3333333333px);
    float: left;
    margin-left: 20px;
    margin-left: calc(16.6666666667% - 23.3333333333px + 40px);
  }
}
.gallery-item.is-selected {
  opacity: 1;
}

.is-image {
  overflow: hidden;
  background-size: contain;
  background-position: top left;
  background-repeat: no-repeat;
}
.is-image img {
  height: 100%;
  width: auto;
}

.is-video video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.is-text {
  padding-top: 70px;
}
.is-text p:not(:first-of-type) {
  text-indent: 20px;
}
.is-text.is-big {
  font-size: 2rem;
}

.text {
  width: calc(100% - 40px);
  float: left;
  margin-left: 20px;
  margin-top: 70px;
  margin-bottom: calc(70px + 20px);
  opacity: 1;
  transition: opacity 0s linear 0.3s;
}
@media screen and (min-width: 1024px) {
  .text {
    width: calc(50% - 30px);
    float: left;
    margin-left: 20px;
    margin-left: calc(16.6666666667% - 23.3333333333px + 40px);
  }
}
.text p:not(:first-of-type) {
  text-indent: 20px;
}

.text.is-hidden,
.gallery.is-hidden {
  visibility: hidden;
  position: fixed;
  opacity: 0;
}

.action {
  width: calc(100% - 40px);
  float: left;
  margin-left: 20px;
  align-items: flex-end;
  background-color: #222;
  bottom: 0;
  display: flex;
  height: 70px;
  position: fixed;
}
@media screen and (min-width: 1024px) {
  .action {
    background-color: transparent;
  }
}

.action-switch {
  padding-bottom: 20px;
}
.action-switch:hover {
  cursor: pointer;
}