.carousel {
    position: relative;

}

.carouselBeschreibung {
    font-size: 14px;
    text-shadow: 1px 1px 16px #000;
}

.projectImage {
    object-fit: cover !important;
}

.carousel ul {
    overflow: auto;
    overflow-y: hidden;
    display: flex;
    flex-wrap: nowrap;
    scroll-snap-type: x mandatory;
    scroll-snap-points-y: repeat(100%);
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin: 0;
    padding: 0;

}

.carousel ul::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome, Safari and Opera */
}

.carousel ul li {
    margin-right: 24px;
    /* selber eingefügt */
    box-sizing: border-box;
    position: relative;
    min-width: 100%;
    list-style: none;
    scroll-snap-align: start;
    /* undo tailwind prose styling */
    padding: 0;
}

.carouselProject ul li {
    border-radius: 8px;
}


.carousel ul li>*,
.carousel ul li button {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.carouselHero ul li>* {
    border-radius: 0px;
}

.carousel ul li img {
    object-fit: contain;
    /* contain statt cover eingefügt */
    object-position: center;
    /* selber eingefügt */
    height: 100%;
    margin: 0 auto;
    /* selber eingefügt */
}

.carousel ul li>div {
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    justify-content: left;
    align-items: flex-end;
    /* padding: 24px;  */
    color: white;
    font-size: 20px;
}

.carousel ol {
    display: flex;
    justify-content: center;
    z-index: 9;
}

.carousel ol li {
    list-style: none;
    padding: 0 5px;
}

.carousel ol li a {
    display: block;
    height: 10px;
    width: 10px;
    background: #0000001a;
    background: transparent;
}

.projectBullets {
    height: 30px !important;
    width: 40px !important;
    margin-top: 24px;
}

.projectBulletsList {
    bottom: -46px !important;
}

.carousel ol li.selected a {
    backdrop-filter: blur(20px);
}

.carousel .prev,
.carousel .next {
    cursor: pointer;
    display: none;
    user-select: none;
    font-size: 50px;
    padding-top: 20px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    background: #FBBE08;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    height: 50px;
    width: 50px;
    border-radius: 100px;
    position: absolute;
    left: 16px;
    top: 50%;
    padding: 0;
    transform: translateY(-50%);
    z-index: 9;
    line-height: 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.carousel .next {
    left: auto;
    right: 16px;
}

.carousel .prev:hover,
.carousel .next:hover {
    background: #ffc823b9;
    box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.2);
}

.carouselHero .prev,
.carouselHero .next {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: #ffffff36;
}

.carouselHero .prev:hover,
.carouselHero .next:hover {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: #00000063;
}

/* Disable some tailwind-generated stuff for lists */
.carousel li::before {
    display: none !important;
}

.carousel button {
    margin: 0 !important;
    color: white !important;
}