p {
    margin: 0;
    padding: 0;
}

.navi_logo {
    font-size: 1.1em;
    color: #000000;
    font-weight: bold;
}

.telefon {
    font-size: 1.3em;
    color: #fff
}
.social-icons {
    margin: 0px 10px;
}

#intro {
    background: url("../img/intro.jpg") no-repeat center center;
    background-size: cover;
}

.top-nav-collapse {
    background-color: rgba(42, 27, 161, 0.9) !important;
}

.navbar:not(.top-nav-collapse) {
    background: transparent !important;
}

h1 span {
    color: #AFAFAFFF;
}

#intro .h6 {
    font-weight: 300;
    line-height: 1.7;
}

.hm-gradient .full-bg-img {
    background: rgba(42, 27, 161, 0.8);
    background: linear-gradient(180deg, rgba(42, 27, 161), rgba(29, 210, 177, 0.2) 80%);
}

#number {
    color: #fff;
    font-size: 1.3em;
}

.mazda_3 {
    background: url("../img/mazda_3.jpg") no-repeat center center;
    background-size: cover;
}

.mazda_6 {
    background: url("../img/mazda_6.jpg") no-repeat center center;
    background-size: cover;
}

.mazda_СХ30 {
    background: url("../img/mazda_cx30.jpg") no-repeat center center;
    background-size: cover;
}

.mazda_CX5 {
    background: url("../img/mazda_CX5.jpg") no-repeat center center;
    background-size: cover;
}

.mazda_CX9 {
    background: url("../img/mazda_CX9.jpg") no-repeat center center;
    background-size: cover;
}

#contact {
    background: url("../img/contact.jpg") no-repeat center center;
    background-size: cover;
}

.year {
    display: none;
}

@media (max-width: 768px) {
    .navi_logo {
        font-size: 1.2em;
    }

    /*Уменьшаем название*/
    .telefon {
        font-size: 1em;
    }

    /*Уменьшаем телефон*/
    .navbar ul {
        display: none;
    }

    /*Убираем меню*/
    .collapse {
        display: flex;
        justify-content: flex-end;
    }

    /*Делаем элемент блочным и кнопку сдвигаем вправо*/
    .navbar .btn {
        font-size: 0.8em;
        padding: 5px 5px;
    }

    /*Уменьшаем кнопку*/
}

@media (max-width: 450px) {
    .margins {
        margin-right: 1rem;
        margin-left: 1rem;
    }

    .hm-gradient .full-bg-img {
        background: rgba(42, 27, 161, 0.8);
        background: linear-gradient(180deg, rgba(42, 27, 161), rgba(29, 210, 177, 0.5) 85%);
    }
}