#QuestionsSection {

    --font-family: HelveticaNeueCyr;

    margin: 0;
    background-color: #2f2f2f;

    @media (max-width: 1239px) {
        margin: 0px;
    }

    .Section {
        background-color: #2f2f2f;
        position: relative;

        overflow: hidden;

        min-height: 1610px;

        display: flex;

        @media (max-width: 1239px) {
            min-height: 1420px;
        }
    }

    .SectionViewport {
        display: flex;
        flex-direction: column;

        background-color: #2f2f2f;

        height: auto;

        @media (max-width: 1239px) {
            margin: 0px;
            width: 100%;
        }
    }

    .CarouselLeftContainer {
        cursor: pointer;
        position: absolute;
        @media (max-width: 1239px) {
            top: 395px;
            left: calc(50% - 21px);
            transform: translate(-50%);
        }
        @media (min-width: 1240px) {    
            top: 420px;
            left: calc(50% - 22px);
            transform: translate(-50%);
        }
    }

    .CarouselRightContainer {
        cursor: pointer;
        position: absolute;
        @media (max-width: 1239px) {
            top: 395px;
            left: calc(50% + 21px);
            transform: translate(-50%);
        }
        @media (min-width: 1240px) {    
            top: 420px;
            left: calc(50% + 22px);
            transform: translate(-50%);
        }
    }

    .CarouselLeft,
    .CarouselRight {
        color: #fff;
        border: 1px solid #fff;
        padding: 5px;
        padding-left: 10px;
        padding-right: 10px;
        border-radius: 12px;
    }

    .CarouselNavigation {
        @media (max-width: 1239px) {
            position: absolute;
            top: 50px;
            left: 50%;
            transform: translate(-50%);

            display: flex;
            flex-direction: row;
        }
    }

    .CarouselNavigationDark,
    .CarouselNavigationLight {
        background-color: #737373;
        height: 2px;
        width: 9vw;
        margin: .4vw;
    }

    .CarouselNavigationLight {
        background-color: #C9C7C2;
    }

    .GalleryContainer {
        position: absolute;

        top: 27px;

        left: 50%;
        transform: translate(-50%, 0);

        display: flex;
        flex-direction: column;
        justify-content: flex-end;

        width: 1200px;

        @media (max-width: 1239px) {
            width: 100%;
            max-width: 500px;
            top: 88px;
        }
    }

    .GalleryCarouselBody {
        position: absolute;
        width: 90.71vw;
        left: 50%;
        transform: translate(-50%, 0);
        
        overflow: hidden;

        @media (max-width: 1239px) {
            top: 87px;
        }
        
        @media (min-width: 1240px) {    
            top: 50px;
        }
    }

    .GalleryCarousel {
        display: flex;
        flex-direction: row;
    }

    .GalleryFloor1Container {
        display: flex;

        height: 430px;

        flex-direction: row;
        justify-content: flex-end;
        padding-right: 10px;

        @media (max-width: 1239px) {
            padding-right: unset;
            justify-content: flex-start;
        }
    }

    .GalleryFloor2Container {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        padding-left: 10px;
    }

    .SubGalleryContainer {
        display: flex;
        flex-direction: column;
        width: 387px;

        padding-left: 8px;
        padding-right: 8px;

        @media (max-width: 1239px) {
            width: 90.71vw;
            padding-left: 8px;
            padding-right: 8px;
        }
    }

    .SubGalleryContainer>.Accent {
        color: #fff;
        leading-trim: both;
        text-edge: cap;
        font-family: HelveticaNeueCyr;
        font-size: 10px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;

        margin-bottom: 20px;
        opacity: 0.6;
    }

    .SubGalleryContainer img {
        margin-top: 2px;
        width: 387px;
        height: 288px;
        object-fit: cover;

        @media (max-width: 1239px) {
            width: 100%;
            height: 245px;
        }
    }

    .SubGalleryBadge {
        background-color: white;

        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;

        padding-left: 15px;
        padding-right: 15px;
        padding-top: 30px;
        padding-bottom: 30px;

        color: #171717;
        leading-trim: both;
        text-edge: cap;
        font-family: HelveticaNeueCyr;
        font-size: 22px;
        font-style: normal;
        font-weight: 500;
        line-height: 22px;

        animation: Questions_SubGalleryBadge_UnActive 400ms;

        display: none;
        flex-direction: row;

        @media (max-width: 1239px) {
            display: flex;

            padding-right: 20px;
            justify-content: space-between;
            animation: none;

            span {
                width: 30vw;
            }

            font-size: 18px;
            font-style: normal;
            font-weight: 550;
            line-height: 18.947px;
        }
    }

    .SubGalleryBadge.Active {
        display: flex;
        animation: Questions_SubGalleryBadge_Active 400ms;
    }

    .SubGalleryAction {
        border: 1px solid black;
        padding: 5px;
        padding-left: 10px;
        padding-right: 10px;
        border-radius: 12px;

        margin-left: auto;

        height: fit-content;

        font-size: 60%;
    }

    .Motto {
        position: absolute;

        top: 545px;

        width: 800px;

        left: 50%;
        transform: translate(-50%, 0);

        color: #fff;
        text-align: center;
        leading-trim: both;
        text-edge: cap;
        font-family: HelveticaNeueCyr;
        font-size: 36px;
        font-style: normal;
        font-weight: 500;
        line-height: 36px;

        @media (max-width: 1239px) {
            top: 500px;
            width: 78vw;

            font-size: 26px;
            font-style: normal;
            font-weight: 450;
            line-height: 26.929px;
        }
    }

    .Motto.Appear {
        animation: Questions_Motto 600ms;
    }

    .Motto>.Accent {
        color: #1D75FF;
        leading-trim: both;
        text-edge: cap;
        font-family: HelveticaNeueCyr;
        font-size: 36px;
        font-style: normal;
        font-weight: 500;
        line-height: 36px;

        @media (max-width: 1239px) {
            font-size: 26px;
            font-style: normal;
            font-weight: 450;
            line-height: 26.929px;
            /* 103.571% */
        }
    }

    .ActionButton {
        position: absolute;
        cursor: pointer;

        top: 740px;

        left: 50%;
        transform: translate(-50%, 0);

        padding-left: 50px;
        padding-right: 50px;

        box-sizing: border-box;

        padding-top: 30px;
        padding-bottom: 30px;

        background-color: white;

        border-radius: 24px;

        color: #0C0D0D;
        leading-trim: both;
        text-edge: cap;
        font-family: HelveticaNeueCyr;
        font-size: 20px;
        font-style: normal;
        font-weight: 550;
        line-height: normal;

        animation: Questions_Button_UnHover 300ms;

        @media (max-width: 1239px) {
            top: 701px;
            padding-top: 20px;
            padding-bottom: 20px;
            padding-left: 40px;
            padding-right: 40px;

            text-wrap: nowrap;

            color: #000;
            leading-trim: both;
            text-edge: cap;
            font-family: HelveticaNeueCyr;
            font-size: 13.96px;
            font-style: normal;
            font-weight: 550;
            line-height: normal;
        }
    }

    .ActionButton:hover {
        background-color: #1D75FF;
        color: white;
        animation: Questions_Button_Hover 300ms;
    }

    .ActionButton i {
        margin-left: 12px;

        font-size: 125%;
    }

    .Heading {
        position: absolute;

        top: 895px;

        left: 50%;
        transform: translate(-50%, 0);

        color: #fff;
        text-align: center;
        leading-trim: both;
        text-edge: cap;
        font-family: HelveticaNeueCyr;
        font-size: 36px;
        font-style: normal;
        font-weight: 550;
        line-height: normal;

        @media (max-width: 1239px) {
            top: 834px;
            text-wrap: nowrap;

            color: #fff;
            text-align: center;
            leading-trim: both;
            text-edge: cap;
            font-family: HelveticaNeueCyr;
            font-size: 25px;
            font-style: normal;
            font-weight: 550;
            line-height: normal;
        }
    }

    .QuestionContainer {
        position: absolute;

        top: 1035px;

        left: 50%;
        transform: translate(-50%, 0);

        width: 1200px;

        display: flex;
        flex-direction: column;

        @media (max-width: 1239px) {
            top: 910px;
            width: 100%;
        }
    }

    .Question i.Opened {
        display: block;
    }

    .Question i.Closed {
        display: none;
    }

    .Question.Closed i.Opened {
        display: none;
    }

    .Question.Closed i.Closed {
        display: block;
    }

    .Question:hover .QuestionHead i {
        color: #1D75FF;
    }

    .Question:hover .QuestionHead {
        color: #1D75FF;
    }

    .Question {
        cursor: pointer;

        display: flex;
        flex-direction: column;

        background-color: #515151;
        border-radius: 24px;

        padding-right: 40px;
        padding-left: 40px;
        padding-top: 40px;
        padding-bottom: 40px;

        margin-left: 40px;
        margin-right: 40px;

        margin-bottom: 10px;

        @media (max-width: 1239px) {
            margin-left: 10px;
            margin-right: 10px;
            margin-bottom: 5px;

            padding-top: 25px;
            padding-bottom: 25px;
            padding-left: 10px;
            padding-right: 10px;
        }
    }

    .QuestionHead {
        color: #fff;
        leading-trim: both;
        text-edge: cap;
        font-family: HelveticaNeueCyr;
        font-size: 19px;
        font-style: normal;
        font-weight: 550;
        line-height: normal;

        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;

        @media (max-width: 1239px) {
            color: #fff;
            leading-trim: both;
            text-edge: cap;
            font-family: HelveticaNeueCyr;
            font-size: 17px;
            font-style: normal;
            font-weight: 550;
            line-height: normal;
        }
    }

    .QuestionHead i {
        font-size: 150%;
    }

    .QuestionBody {
        color: #fff;
        leading-trim: both;
        text-edge: cap;
        font-family: HelveticaNeueCyr;
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: 18px;
        /* 120% */

        transition: all 500ms ease-out;

        overflow: hidden;

        @media (max-width: 1239px) {
            margin-top: 40px;

            color: #fff;
            leading-trim: both;
            text-edge: cap;
            font-family: HelveticaNeueCyr;
            font-size: 13px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;

            opacity: 0.8;
        }
    }

    .Question.Closed .QuestionBody {
        opacity: 0;

        margin-top: 0;

        height: 0;
    }

    .Question .QuestionBody {
        opacity: 0.7;

        margin-top: 40px;

        height: initial;
    }
}

@keyframes Questions_SubGalleryBadge_Active {
    from {
        display: flex;
        opacity: .6;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    to {
        display: flex;
    }
}

@keyframes Questions_SubGalleryBadge_UnActive {
    to {
        display: flex;
        opacity: .6;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    from {
        display: flex;
    }
}

@keyframes Questions_Motto {
    from {
        opacity: .4;
        transform: translate(-50%, -20px);
    }
}

@keyframes Questions_Button_Hover {
    from {
        background-color: white;
        color: black;
    }

    to {
        background-color: #1D75FF;
        color: white;
    }
}

@keyframes Questions_Button_UnHover {
    to {
        background-color: white;
        color: black;
    }

    from {
        background-color: #1D75FF;
        color: white;
    }
}
