.carousel {
    width: 340px;
    overflow: hidden;
    margin: 20px auto;
    position: relative;
}

.slides-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    color: white;
    background: transparent;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    display: block;
}

.quote-box {
    position: absolute;
    width: 100%;
    bottom: 70px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    font-style: italic;
    font-size: 16px;
}

.name-box {
    position: absolute;
    display: inline;
    word-break: break-word;
    text-align: left;
    width: 100%;
    bottom: 20px;
    height: 50px;
    left: 0;
    right: 0;
    background: #fbc02d;
    color: #000;
    padding: 4px;
    font-weight: bold;
    font-size: 14px;
}

.name-box em {
    font-weight: normal;
    font-style: italic;
}

.attribution {
    position: absolute;
    bottom: 0px;
    height: 20px;
    left: 0;
    right: 0;
    background: #fbc02d;
    font-size: 9px;
    padding: 5px 10px;
    color: #000;
    text-align: right;
}

.attribution a{
    color: #0b0c0c;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0);
    padding: 10px;
    border-radius: 10%;
    cursor: pointer;
    user-select: none;
    font-weight: bold;
    font-size: 40px;
    color: #fbc02d;
}

.arrow:hover {
    background: rgba(255, 255, 255, 0.9);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}