﻿.main-carousel .carousel-item > img {
    height: 100vh;
    object-fit: cover;
}

.main-carousel .carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    padding-bottom: 120px;
    z-index: 1;
    padding-top: 216px;
}

.carousel-caption::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90.4deg, #000000 4.75%, rgba(0, 0, 0, 0) 59.87%);
}

.carousel-text-area {
    display: flex;
    flex-direction: column;
    row-gap: 41px;
    align-items: start;
    position: relative;
    z-index: 1;
    width: 380px;
    max-width: 100%;
}

.main-carousel-title-and-description {
    display: flex;
    flex-direction: column;
    row-gap: 16px;
    align-items: start;
}

.main-carousel-title {
    font-family: Inter;
    font-weight: 700;
    font-size: 42px;
    line-height: 52px;
    color: #FFFFFF;
    text-align: start;
}

.main-carousel-description * {
    margin: 0;
}

.main-carousel-description {
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #FFFFFF;
    text-align: start;
}

.main-carousel-button a {
    font-family: Inter;
    font-weight: 700;
    font-size: 14px;
    line-height: 22px;
    color: #FFFFFF;
    border: 1px solid #D1000F;
    background: #D1000F;
    padding: 16px 24px;
    text-decoration: none;
    display: flex;
    align-items: center;
    column-gap: 10px;
}


.carousel-buttons {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
}

    .carousel-buttons button {
        position: unset;
        width: 40px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 1px solid #D1000F;
        opacity: 1;
        transition: .4s;
    }

        .carousel-buttons button i, .carousel-buttons button svg path {
            fill: #D1000F;
            color: #D1000F;
            transition: .4s;
        }

        .carousel-buttons button i, .carousel-buttons button svg {
            width: 16px;
            height: 16px;
            font-size: 16px;
        }

        .carousel-buttons button:hover i, .carousel-buttons button:hover svg path {
            fill: #fff;
            color: #fff;
            transition: .4s;
        }

        .carousel-buttons button:hover {
            background: #D1000F;
            transition: .4s;
        }

@media only screen and (max-width: 1500px) {
    .main-carousel .carousel-caption {
        padding-left: 150px;
    }
}

@media only screen and (max-width: 1199px) {
    .main-carousel .carousel-caption {
        padding-top: 0;
        padding-left: 16px;
        padding-bottom: 47px;
        align-items: end;
    }

        .main-carousel .carousel-caption > .container {
            max-width: 100%;
        }

    .carousel-buttons {
        display: none;
    }

    .main-carousel .carousel-item > img {
        height: calc(100vh - 94px);
    }

    .main-carousel .carousel-caption {
    }
}
