.carousel-container {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    padding: 20px;
    align-items: flex-start;
    box-sizing: border-box;
}

.content-container {
    display: grid;
    grid-area: 1 / 1;
    position: relative;
    width: 45%;
    height: auto;
    max-width: 620px;
    box-sizing: border-box;
}

.image-container {
    position: relative;
    height: auto;
    object-fit: contain;
    object-position: top;
    left: 10px;
    display: grid;
    grid-area: 1 / 1; /* Все элементы в одной ячейке */
    width: 50%;
}

.image-container img {
    grid-area: 1 / 1;
    width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: block;
}


.image-container img.active {
    opacity: 1;
}

.numbers {
    position: relative;
    align-items: center;
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.number {
    font-family: 'Bebas Neue';
    font-style: normal;
    font-weight: 700;
    font-size: 50px;
    letter-spacing: 0.01em;
    color: #828282;
    cursor: pointer;
    margin: 5px 0;
    transition: color 0.5s ease-in-out;
}

.number.active {
    color: black;
}

.content {
    grid-area: 1 / 1;
    position: relative;
    padding-left: 30px;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    min-width: 360px;
    box-sizing: border-box;
}

.content.active {
    opacity: 1;
}

@media (max-width: 800px) {
    .carousel-container {
        flex-direction: column;
    }
    .content {
        padding-left: 2px;
        min-width: 200px;
        max-width: 320px;
    }
    .content-container {
        min-width: 340px;
        max-width: 360px;
    }
    .image-container {
        left: 0;
        width: 90%;
        min-height: 400px;
        top: 40px;
    }
    .numbers {
        position: absolute;
        top: 140px;
        width: 10%;
        max-width: 60px;
        left: 86%;
        opacity: 0;
    }
    .number {
        font-size: 44px;
    }
}

.title {
    position: absolute;
    top: 0;
    opacity: 0;
    font-size: 32px;
    margin-bottom: 10px;
    margin-right: 10px;
    transition: color 1s ease-in-out;
}

.description {
    position: relative;
    top: 100px;
    opacity: 0;
    font-size: 24px;
    color: #585353;
    margin-bottom: 20px;
    transition: color 1s ease-in-out;
    padding: 10px 10px 40px 0px;
    width: 100%;
}

@media (min-width: 1950px) {
    .content {
        min-width: 420px;
    }

    .title {
        font-size: 48px;
        margin-bottom: 10px;
        margin-right: 10px;
    }

    .description {
        font-size: 36px;
        padding-top: 20px;
        margin-bottom: 20px;
        top: 200px;
    }

}

.content.active .title, .description {
    opacity: 1;
}

.button {
    position: absolute;
    bottom: 0px;
    left: 30px;
    padding: 2px 2px;
    color: black;
    text-decoration: none;
    text-align: center;
    font-family: 'Bebas Neue';
    font-style: normal;
    font-size: 20px;
    line-height: 43px;
    color: white;

    box-sizing: border-box;
    /*background: linear-gradient(180deg, #B3E66F 0%, #5BD56B 100%), #212529;*/
    background-color: black;
    border: 2px solid #000000;
    border-radius: 34px;
    max-width: 240px;
    min-width: 190px;
    max-height: 75px;

    opacity: 0;
}

.button:hover {
    /*background: linear-gradient(180deg, #03E66F 0%, #0BD56B 100%), #012529;*/
    background-color: black;
}