/* CREATIVE SECTION */

#creative.portfolio-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: white; /* white background */
    overflow: hidden; /* no vertical scroll */
}

.creative-title {
  font-size: 20px;
  font-weight: bold;
  transform: rotate(270deg);
  position: absolute;
  text-align: left;
  margin-left: 150px;
  margin-top: 50px;
  z-index: 1000;
}

/* Horizontal scroller */
#creative .photo-scroller {
    display: flex;
    flex-direction: row;
    height: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding-left: 300px; /* leave space for title */
    gap: 80px;
    align-items: flex-start;
    scrollbar-width: none; /* Firefox */
}

#creative .photo-scroller::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

/* Each photo */
#creative .photo-slide {
    flex: 0 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

/* Image style */
#creative .photo-slide img {
    max-height: 75vh;
    max-width: 80vw;
    object-fit: cover;
    margin-bottom: 10px;
}

/* Caption */
#creative .photo-caption {
    font-size: 0.9rem;
    font-weight: bold;
    color: black; /* use black on white bg */
    margin-top: 5px;
}


@media (max-width: 920px) {

    .creative-title {
        margin-left: -30px;
    }
}

.photo-scroller {
    padding-bottom: 50px;
}

.photo-slide.vertical-text-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px; /* similar width as photos */
  height: 75vh; /* match photo max-height */
  background: #ffffff; /* light background so it stands out */
  font-weight: bold;
  font-size: 2.4rem;
  color: #000000;
  writing-mode: sideways-lr; /* vertical text */
  text-orientation: mixed;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  user-select: none;
}
