article {
    max-width: 80em;
}

#slider {
    position: relative;
    overflow: hidden;
    width: 95%;
    max-width: 50em;

    /* Verhindert horizontales Browser-Panning */
    touch-action: pan-y;
}

#track {
    display: flex;
    transition: transform 300ms ease;
    will-change: transform;
}

.slide {
    flex: 0 0 100%;
}

#slider,
#track,
.slide {
    margin: 0;
    padding: 0;
}

.slide img {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
/*    -webkit-user-drag: none;
    draggable: false;*/
}

.title {
    margin: 1.5em;
    text-align: center;
    font-size: 120%;
    font-weight: bold;
    visibility: hidden;
}

#controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

.control {
    padding: 0.5em;
    height: 1.3em;
    background-color: var(--bg4);
    border: 2px solid var(--border);
    border-radius: 0.5em;
    text-align: center;
    font-size: 120%;
    user-select: none;
}

.control:hover,
.control:focus {
    /*border-width: 3px;*/
    background-color: var(--bgLightColor);
}

#prevBtn,
#nextBtn {
    width: 1.4em;
    font-weight: bold;
}
