html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
}

.main-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 5px;

}

.view-selector {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    top: 0;
    /*transform: translate(-50%, 100%);*/
    font-size: 18px;
    font-family: Arial;
    border: 1px solid #FFFFFF;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.8);
}

.viewer-container {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: stretch;
    background-color: #ddd;
    border: 1px solid #333;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    margin: 20px;
}

.carousel-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.carousel {
    overflow: hidden; /* No scrolling */
    background-color: #bbb;
    height: 100%;
    width: 100%;
}

.carousel img {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.scroll-btn {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    position: absolute;
    z-index: 10;
    width: 100%;
}

.scroll-up {
    top: 0;
}

.scroll-down {
    bottom: 0;
}

.carousel-wrapper:last-child .carousel {
    border-right: none;
}
