#nav-toggle {
  cursor: pointer;
  height: 13px;
  position: relative;
  transform: rotate(0deg);
  transition: 0.2s ease;
  width: 28px;
  z-index: 100;
}
@media screen and (min-width: 580px) {
  #nav-toggle {
    display: none;
  }
}

#nav-toggle span {
  background: #111;
  display: block;
  height: 1px;
  left: 0;
  opacity: 1;
  position: absolute;
  transform: rotate(0deg);
  transition: 0.2s ease;
  width: 100%;
}
#nav-toggle span:nth-child(1) {
  margin-top: -1px;
}
#nav-toggle span:nth-child(2), #nav-toggle span:nth-child(3) {
  margin-top: 6px;
}
#nav-toggle span:nth-child(4) {
  margin-top: 13px;
}

#nav-toggle.is-open span {
  background: #fff !important;
}
#nav-toggle.is-open span:nth-child(1),
#nav-toggle.is-open span:nth-child(4) {
  margin-top: 5.5px;
  width: 0%;
  left: 50%;
}
#nav-toggle.is-open span:nth-child(2) {
  transform: rotate(45deg);
}
#nav-toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg);
}

.main {
  align-items: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: center;
  position: relative;
}

.carousel {
  bottom: 3em;
  left: 18px;
  overflow: hidden;
  position: fixed;
  right: 18px;
  top: 6em;
}
@media screen and (min-width: 800px) {
  .carousel {
    left: 40px;
    right: 40px;
  }
}
.carousel:focus {
  outline: none;
}
.carousel .flickity-viewport,
.carousel .flickity-slider {
  height: 100%;
  width: 100%;
}
.carousel .carousel-cell {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  width: 100%;
}
.carousel figure {
  height: 100%;
  position: relative;
  width: 100%;
}
.carousel img {
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
  width: 100%;
}
.carousel .caption {
  bottom: 0;
  color: #fff;
  padding: 15px;
  position: absolute;
  text-align: center;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  width: 100%;
  z-index: 10;
  display: none;
}
@media screen and (orientation: portrait) {
  .carousel .caption {
    display: none;
  }
}
@media screen and (orientation: landscape) and (min-width: 800px) {
  .carousel .caption {
    display: block;
  }
}

.flickity-prev-next-button {
  background-color: #fff;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  height: 40px;
  outline: none;
  position: fixed;
  top: calc(100% - 80px);
  width: 40px;
}
.flickity-prev-next-button[disabled] svg {
  opacity: 30%;
}
@media screen and (min-width: 800px) {
  .flickity-prev-next-button {
    top: 50%;
  }
}
.flickity-prev-next-button svg {
  width: 12px;
  height: 12px;
  transition: opacity 0.2s ease;
}

.flickity-prev-next-button.previous {
  left: 40px;
}

.flickity-prev-next-button.next {
  right: 40px;
}

.footer {
  display: none;
}
