#carrousel {
    margin: 40px 0px;
    background-color: var(--background-secondary-color);
}

#carrousel h2 {
    font-size: 2.5rem;
    margin: 20px 40px;
}

#carrousel h3 {
    font-size: 1.5rem;
    margin: 20px 80px;
}

#carrousel .carrousel-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

#carrousel .carrousel-carr {
    width: 50%;
    margin: 20px;
    overflow: hidden;
    height: 40vw;
}

#carrousel .carrousel-item {
    transition-duration: 0.5s;
    transition-timing-function: ease-in-out;
}


.carrousel-items-wrapper {
    width: 100%;
}

.carrousel-arrow {
    background: #e8e8e800;
    font-size: 2rem;
    width: 40px;
    height: 40vw;
    cursor: pointer;
    z-index: 2000;
    transition: background 0.2s;
}

.carrousel-buttons {
    position: absolute;
    width: 50%;
    height: 40vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.right {
    transform: translateX(-100%);
}

.carrousel-carr:hover .carrousel-arrow {
    transition: background 0.2s;
  background: #e8e8e85e;
}

.carrousel-arrow:hover {
    background: #e8e8e89c!important;
}

.carrousel-items-wrapper {
  overflow: hidden;
}
.carrousel-item {
  text-align: center;
}
.carrousel-image {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
    #carrousel .carrousel-carr {
        width: 100%;
        height: 60vw;
    }

    #carrousel h2 {
        font-size: 2rem;
        margin: 20px 20px;
    }

    #carrousel h3 {
        font-size: 1.2rem;
        margin: 20px 40px;
    }

    #carrousel .carrousel-list {
        flex-direction: column;
        align-items: center;
    }

    #carrousel .carrousel-carr {
        height: 38vh;
    }

    .carrousel-buttons {
        width: 100%;
        height: 38vh;
    }

    .carrousel-arrow {
        width: 30px;
        height: 38vh;
    }

    .right {
        transform: translateX(0);
    }
}