﻿.home-slogan-container {
    background: #d6e3f0;
    border-radius: 27px;
    padding-bottom: 86px;
}

.num-decor-resion span {
    display: inline-block;
    font-size: 140px;
    color: #3275b6;
    font-family: 'UTM-Aurora';
}

.r-c-resion span {
    font-size: 25px;
    color: #6e6e6e;
    font-family: 'monSB';
    font-style: italic;
    display: block;
}

h3.home-slogan-title {
    margin: 0;
    font-size: 40px;
    color: #3275b6;
    font-family: 'Montserrat-Black';
    text-transform: uppercase;
    font-weight: normal;
    margin-top: 3px;
}

.resion-top-num {
    display: flex;
    align-items: center;
    justify-content: center;
}

.r-c-resion {
    margin-left: 12px;
    margin-top: 8px;
}

.decor-title-slogan span {
    position: relative;
    display: inline-block;
    font-size: 140px;
    color: #3275b6;
    font-family: 'UTM-Aurora';
    line-height: normal;
    z-index: 1;
}

.home-slogan-item {
    display: flex;
    position: relative;
    justify-content: center;
}

.img-decor-slogan img {
    width: 100%;
    height: auto;
}

.img-decor-slogan {
    width: 31px;
    margin: auto;
    position: relative;
}

.home-slogan-item .bottom span {
    position: relative;
    display: inline-block;
    font-size: 16px;
    color: #fff;
    font-family: 'monM';
    font-style: italic;
    width: 80px;
    margin: auto;
    margin-top: 10px;
}

.home-slogan-item:nth-child(3) .bottom span, .home-slogan-item:nth-child(4) .bottom span {
    width: 92px;
}

.home-slogan-item:nth-child(5) .bottom span {
    width: 95px;
}

.home-slogan-item .bottom {
    text-align: center;
    position: relative;
    padding-left: 32px;
    padding-top: 27px;
    z-index: 0;
}

.home-slogan-list {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 20px;
    padding: 0 52px;
}

.home-slogan-item .bottom:before {
    content: "";
    position: absolute;
    background: #3275b6;
    width: 160px;
    height: 200px;
    left: -14px;
    top: 0;
    pointer-events: none;
    border-radius: 25px;
    z-index: -1;
}

.home-slogan-item:nth-child(1) .top {
    left: 15px;
}

.home-slogan-item .top {
    position: absolute;
    left: -3px;
    z-index: 1;
}

.decor-title-slogan span::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    color: transparent;
    -webkit-text-stroke: 10px #d6e3f0;
}

.home-slogan {
    padding-bottom: 47px;
}

@media(max-width:1023px) {
}

@media(min-width:740px) and (max-width:1023px) {
}

@media(max-width: 739px) {
    .home-slogan {
        margin-top: 5px;
    }

    .home-slogan-container {
        border-radius: 12px;
        padding-bottom: 23px;
    }

    h3.home-slogan-title {
        margin: 0;
        font-size: 22px;
    }

    .r-c-resion span {
        font-size: 20px;
    }

    .home-slogan-list {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 10px;
        padding: 0 12px;
    }

    .home-slogan-item .bottom:before {
        content: "";
        position: absolute;
        background: #3275b6;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        pointer-events: none;
        border-radius: 10px;
        z-index: -1;
    }

    .home-slogan-item .bottom span, .home-slogan-item:nth-child(3) .bottom span, .home-slogan-item:nth-child(4) .bottom span, .home-slogan-item:nth-child(5) .bottom span {
        width: 79%;
        font-size: 15px;
    }

    .home-slogan-item:nth-child(5) .bottom span {
        width: 63%;
    }

    .home-slogan-item:nth-child(1) .bottom span, .home-slogan-item:nth-child(2) .bottom span {
        width: 66%;
    }

    .home-slogan-item .bottom {
        padding-left: 0;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .decor-title-slogan span {
        font-size: 48px;
    }

    .home-slogan-item .top, .home-slogan-item:nth-child(1) .top {
        left: -3px;
        top: -15px;
    }

    .decor-title-slogan span::before {
        content: attr(data-text);
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        color: transparent;
        -webkit-text-stroke: 6px #d6e3f0;
    }

    .num-decor-resion span {
        display: inline-block;
        font-size: 76px;
    }
}