main {
    width: 950px;
    margin: auto;
}

.main-video-block {
    width: 950px;
    display: flex;
    background: rgba(128, 128, 128, 0.1);
    border-radius: 15px;
    margin-top: 10px;
}

.main-video-text {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    /*border: 1px solid red;*/
    /*padding: auto;*/
    text-align: center;
    border-radius: inherit;
}

.main-video-text > p {
    color: #5d79a0;
    text-transform: uppercase;
    font-size: 1.3rem;
    /*border: 1px solid blue;*/
    font-weight: bold;
    width: 250px;
}

.projects-link {
    padding: 0 8px 0 8px;
    border-radius: 5px;
    /*display: block;*/
    background: #5cae2e;
    color: white;
}

.main-video {
    flex: 1.70;
    /*box-shadow: #7a7979 0 20px 20px;*/
    border-radius: inherit;
    margin: 15px;
}

.nav_section.company {
    /*display: none;*/
    border-bottom-left-radius: 15px;
}

.nav_section.contacts {
    /*display: none;*/
    border-bottom-right-radius: 15px;
}



.small-banners {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 20px;
    /*outline: 1px solid red;*/
    width: 100%;
    margin-top: 50px;
}

.small-banner {
    /*outline: 1px solid blue;*/
    text-transform: uppercase;
}

.small-banner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 5fr 2fr;
    transition: 0.1s ease-out;
}

.small-banner:hover > .small-banner__bottom-block {
    color: white;
}

.small-banner__top-block {
    position: relative;
}

.small-banner__bottom-block {
    margin-top: 3px;
    padding: 5px;
}

.small-banner__title {
    font-weight: 700;
    font-size: 1.1rem;
}

.small-banner__description {
    font-weight: 700;
    font-size: 0.8rem;
}

.small-banner__image {
    /*width: 350px;*/
    width: 110%;
    position: absolute;
    bottom: 0;
    right: 0;
}

.small-banner__logo {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 100px;
}


.bmu > .small-banner__top-block {
    background: #ffcc0a;
}

.bmu > .small-banner__bottom-block {
    color: #ffcc0a;
    border-left: 5px solid #ffcc0a;
}

.bmu:hover > .small-banner__bottom-block {
    background: #ffcc0a;
}


.elevator_equipment > .small-banner__top-block {
    background: #5caf2c;
}

.elevator_equipment > .small-banner__bottom-block {
    color: #5caf2c;
    border-left: 5px solid #5caf2c;
}

.elevator_equipment:hover > .small-banner__bottom-block {
    background: #5caf2c;
}


.our_services > .small-banner__top-block {
    background: #8a8b85;
}

.our_services > .small-banner__bottom-block {
    color: #8a8b85;
    border-left: 5px solid #8a8b85;
}

.our_services:hover > .small-banner__bottom-block {
    background: #8a8b85;
}
