@charset "UTF-8";


.carousel {
    width: 100%;
    margin-top: 150px;
    margin-bottom: 50px;
    background-color: rgb(255, 255, 255);
    padding-top: 20px;
    padding-bottom: 20px;
    

}




.carousel__container {
    padding-right: 20px;
    padding-left: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    /* -webkit-box-sizing: border-box;
    box-sizing: border-box; */
}


.carousel-item {
    padding-top: 10px;
    text-decoration: none;
    line-height: 200%;
    width: 100%;
    text-decoration: none;
    height: 150px;
    border-radius: 10px;
    background-color: #584d85;
    /* background-color: #504770; */
    cursor: pointer;
    /* -webkit-transition: 300ms all;
    transition: 300ms all; */
    -webkit-transform-origin: center center;
    transform-origin: center center;
    transition: transform 0.3s ease;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    white-space: wrap;
    color: rgb(197, 195, 195);
    /* opacity: 0.9;
    -webkit-transition: 450ms opacity;
    transition: 450ms opacity; */
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    /* font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; */


}



.carousel-item__details--title {
    color: #fce164;
    font-size: 1.8em;
    transition: 450ms opacity;

}


.carousel-item__details--subtitle {
    font-weight: lighter;
    font-size: 1.5rem;
    opacity: 0.9;
    -webkit-transition: 450ms opacity;
    transition: 450ms opacity;
    padding-bottom: 10px;
    z-index: 1;
}


.carousel__container:hover .carousel-item {
    opacity: 0.20;
}

.carousel__container:hover .carousel-item:hover {
    -webkit-transform: scale(1.17);
    transform: scale(1.16);
    opacity: 1;
    text-decoration: none;
}



@media (max-width: 768px) {
    .carousel__container {
        flex-wrap: wrap;
        gap: 33px;
    }
.carousel__container:hover .carousel-item:hover {
    -webkit-transform: none;
    transform: none;
    opacity: none;
    text-decoration: none;
}
.carousel__container:hover .carousel-item {
    opacity: none;
}


}