html {
  box-sizing: border-box;
  background-color: #222;
  font-size: 16px;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  color: white;
  font-style: normal;
  font-weight: 300;
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
}

h1,
h2 {
  font-style: normal;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  font-optical-sizing: auto;
}

img {
  max-width: 100%;
}

.container {
  margin: 0 1rem 4rem;
  max-width: 64rem;
}
@media (width >= 64rem) {
  .container {
    margin: 0 auto 4rem;
  }
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 50vh;
}
@media (width >= 40rem) {
  .hero {
    width: 50%;
  }
}

aside {
  margin-top: -2rem;
  margin-left: auto;
  background-color: #181818;
  padding: 10px;
  width: 100%;
  & .slick-prev {
    left: calc(50% - 25px);
    z-index: 999;
  }
  & figure {
    display: flex;
    flex-direction: row-reverse;
    margin-bottom: 0;
    & > * {
      width: 50%;
    }
    & img {
      height: fit-content;
    }
    & figcaption {
      padding-right: calc(25px + 1em);
    }
  }
}
@media (width >= 40rem) {
  aside {
    width: calc(50% - 2rem);
  }
}

@media (width >= 40rem) {
  .booth > div:first-child {
    position: relative;
    float: left;
    width: calc(100% / 6);
    height: calc(300px + 2rem);
    & > h2 {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      margin: 0;
    }
  }

  .booth > div:last-child {
    float: right;
    width: calc(100% / 6 * 5);
  }
}

.booth .slick-slide {
  transition: padding 0.5s;
  padding: 1rem 0.5rem;
  &.slick-center {
    padding: 0 0.5rem;
  }
}

.booth figure {
  position: relative;
  transition: height 0.5s;
  height: 300px;
}

.booth .slick-center figure {
  height: calc(300px + 2rem);
}

.booth figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booth figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 1em;
  width: 100%;
  height: auto;
  color: black;
  font-weight: 500;
  text-align: center;
}
