.carrusel {
    display: block;
    text-align: left;
    position: relative;
    margin-bottom: 22px;
    }
    .carrusel > input {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    }
    .carrusel__slides {
    position: relative;
    z-index: 1;
    padding: 0;
    margin: 0;
    
    height:auto;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    display: flex;
    }

    .carrusel__slide {
    position: relative;
    display: block;
    flex: 1 0 100%;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    transition: all 300ms ease-out;
    vertical-align: top;
    box-sizing: border-box;
    white-space: normal;
    }
    .carrusel__slide div {
    position: relative;
    width: 100%;
    height:auto;
    }
    .carrusel__slide div:before {
    display: block;
    content: "";
    width: 100%;
    height:100%;
    padding-top: 66.6666666667%;
    }
    .carrusel__slide div > img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    max-height: 100%;
    margin:0 auto;
    border-radius:20px;
    }
    .carrusel__slide img {
    display: block;
    flex: 1 1 auto;
    object-fit: cover;
    }
    .carrusel__slide .credit {
    margin-top: 1rem;
    color: rgba(0, 0, 0, 0.5);
    display: block;
    }
    .carrusel__slide.scrollable {
    overflow-y: scroll;
    }

    .carrusel__thumbnails {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap:wrap;
    justify-content: center;
    gap:5px;
    }
    .carrusel__slides + .carrusel__thumbnails {
    margin-top: -20px;
    }
    .carrusel__thumbnails li {
        width:25px;
        height:25px;
        transition: all 300ms ease-in-out;
    }
    .carrusel__thumbnails label {
        display: block;
        position: relative;
        border:3px solid transparent;
        border-radius:10px;
    }
    .carrusel__thumbnails label.active {
        border:3px solid red;
    }
    .carrusel__thumbnails label:before {
    display: block;
    content: "";
    width: 100%;
    padding-top: 100%;
    }
    .carrusel__thumbnails label > img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    }
    .carrusel__thumbnails label:hover, .carrusel__thumbnails label:focus {
    cursor: pointer;
    }
    .carrusel__thumbnails label:hover img, .carrusel__thumbnails label:focus img {
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.25);
    transition: all 300ms ease-in-out;
    }
    .carrusel__thumbnails img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    }
    .carrusel > input:nth-of-type(11):checked ~ .carrusel__slides .carrusel__slide:first-of-type {
    margin-left: -1000%;
    }
    .carrusel > input:nth-of-type(10):checked ~ .carrusel__slides .carrusel__slide:first-of-type {
    margin-left: -900%;
    }
    .carrusel > input:nth-of-type(9):checked ~ .carrusel__slides .carrusel__slide:first-of-type {
    margin-left: -800%;
    }
    .carrusel > input:nth-of-type(8):checked ~ .carrusel__slides .carrusel__slide:first-of-type {
    margin-left: -700%;
    }
    .carrusel > input:nth-of-type(7):checked ~ .carrusel__slides .carrusel__slide:first-of-type {
    margin-left: -600%;
    }
    .carrusel > input:nth-of-type(6):checked ~ .carrusel__slides .carrusel__slide:first-of-type {
    margin-left: -500%;
    }
    .carrusel > input:nth-of-type(5):checked ~ .carrusel__slides .carrusel__slide:first-of-type {
    margin-left: -400%;
    }
    .carrusel > input:nth-of-type(4):checked ~ .carrusel__slides .carrusel__slide:first-of-type {
    margin-left: -300%;
    }
    .carrusel > input:nth-of-type(3):checked ~ .carrusel__slides .carrusel__slide:first-of-type {
    margin-left: -200%;
    }
    .carrusel > input:nth-of-type(2):checked ~ .carrusel__slides .carrusel__slide:first-of-type {
    margin-left: -100%;
    }
    .carrusel > input:nth-of-type(1):checked ~ .carrusel__slides .carrusel__slide:first-of-type {
    margin-left: 0%;
    }
@media (max-width: 576px)  
{
    .carrusel__slide div {
        height:100% !important;
    }
    .carrusel
    {
        height:unset;
    }
    .carrusel__slides {
    height:300px !important;
    }
    .carrusel__slide {
    height: auto !important;
    }
    .carrusel__slide div:before {
    height:auto !important;
    }
}