* {
  margin: 0;
  font-family: sans-serif;
}

.main {
  display: flex;
  height: 100vh;
  position: relative;
}

.bottomnav {
  overflow: hidden;
  background-color: white;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 999;
}

.bottomnav a {
  float: left;
  display: block;
  color: gray;
  text-align: center;
  margin: 0;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.bottomnav a:hover {
  text-decoration: underline;
  color: black;
}
  
.bottomnav .icon {
  display: none;
}

.social-media {
  float: right;
  text-decoration: none;
}

.left,
.right {
  display: flex;
  justify-content: center;
  align-items: center;
  mix-blend-mode: difference;
}

.carousel-container {
  flex: 1;
  position: relative;
  transition: all 0.3s ease;
  height: 93vh;
}

.carousel>ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: 200ms opacity ease-in-out;
  transition-delay: 200ms;
}

.slide>img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide[data-active] {
  opacity: 1;
  z-index: 1;
  transition-delay: 0ms;
}

.carousel-button {
  position: absolute;
  z-index: 2;
  background: none;
  border: none;
  font-size: 4rem;
  top: 50%;
  color: rgba(255, 255, 255, .5);
  cursor: pointer;
  border-radius: .25rem;
  padding: 0 .5rem;
  background-color: rgba(0, 0, 0, .1);
  height: 50px;
}

.carousel-button:hover,
.carousel-button:focus {
  color: white;
  background-color: rgba(0, 0, 0, .2);
}

.carousel-button:focus {
  outline: 1px solid black;
}

.carousel-button.prev {
  left: 1rem;
}

.carousel-button.next {
  right: 1rem;
}

.info-panel {
  width: 0;
  overflow: hidden;
  background: tan;
  transition: width 0.3s ease;
}

.info-panel.open {
   width: 400px;
  padding: 20px;
  height: 847px;
}

p {
  padding-top: 20px;
  font-size: 17px;
  line-height: 30px;
}

.quote {
  margin-left: 50px;
}

.info-button {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  background: none;
  border: none;
  cursor: pointer;
  color: black;
  font-size: 2rem;
}

@media screen and (max-width: 600px) {
  .bottomnav a:not(:first-child) {
    display: none;
  }

  .bottomnav a.icon {
    float: right;
    display: block;
    color: gray;
  }

  .social-media {
    float: none;
    text-decoration: none;
  }

  .outlet {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media screen and (max-width: 600px) {
   h1{
  font-size: 1.5rem;
 }
  .bottomnav.responsive {
    position: absolute;
  }

  .bottomnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .bottomnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

  .carousel-button {
    position: absolute;
    z-index: 2;
    background: none;
    border: none;
    font-size: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, .5);
    cursor: pointer;
    border-radius: .25rem;
    padding: 0 .5rem;
    background-color: rgba(0, 0, 0, .1);
  }

  .carousel-button.prev {
    left: .5rem;
  }

  .carousel-button.next {
    right: .5rem;
  }

  .info-panel.open {
    width: 150px;
    padding: 20px;
  }

  .slide>img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
}