#services {
    padding: 0;
    overflow-x: hidden;
    position: relative;
}

.horizontal-scroll-wrapper {
  height: 100vh;
}

.horizontal {
  display: flex;
  height: 100%;
  width: max-content;
}

.horizontal .card {
  width: 100vw;
  height: 100vh;
  padding: 0;
  background: #6e4ce1;
  color: #f6f2e8;
}

#horizontal-scroll {
    position: relative;
}

.timeline-markers {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    text-transform: uppercase;
    font-size: 80%;
    background-color: #e06721;
    transition: 0.25s;
}

.marker {
    padding: 15px 20px;
    margin: 0 2.5px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #e06721;
    border: 2px solid #e06721;
}

.marker.active {
    background-color: #e06721;
    border: 2px solid #f38343;
}

.marker:hover {
    background-color: #000000;
    border: 2px solid #f38343;
    color: #f38343;
}

.marker1 {
    display: block;
}

.marker2 {
    display: none;
}

/* Added styles for different background colors */
.horizontal .section-one {
    background-image: url("../images/web_main.jpg");
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
    border-right: 2px solid #000000;
    padding: 0 4vw;
}
.horizontal .section-two {
    background-image: url("../images/print_main.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-right: 2px solid #000000;
    padding: 0 4vw;
}
.horizontal .section-three {
    background-image: url("../images/branding_main.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-right: 2px solid #000000;
    padding: 0 4vw;
}
.horizontal .section-four {
    background-image: url("../images/promo_main.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-right: 2px solid #000000;
    padding: 0 4vw;
}
.horizontal .section-five {
    background-image: url("../images/apparel_main.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-right: 2px solid #000000;
    padding: 0 4vw;
}
.horizontal .section-six {
    background-image: url("../images/display_main.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-right: 2px solid #000000;
    padding: 0 4vw;
}
.horizontal .section-seven {
    background-image: url("../images/digital_main.jpg");
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
    border-right: 2px solid #000000;
    padding: 0 4vw;
}

@media only screen
and (min-device-width : 375px)
and (max-device-width : 812px)
and (orientation: portrait) {

.marker1 {
    display: none;
}

.marker2 {
    display: block;
}

.timeline-markers {
    padding: 25px;
}
}