@font-face {
    font-family: 'Inter-regular';
    font-size: 400;
    src: url('../fonts/Inter-Regular.ttf');
}

@font-face {
    font-family: 'Montserrat-bold';
    font-weight: 700;
    src: url('../fonts/Montserrat-Bold.ttf');
}

@font-face {
    font-family: 'Inter-medium';
    font-weight: 500;
    src: url('../fonts/Inter-Medium.ttf');
}
@font-face {
    font-family: 'Italic';
    font-weight: 400;
    src: url('../fonts/Inter-Italic.otf');
}
@font-face {
    font-family: 'Roboto';
    font-weight: 400;
    src: url('../fonts/Roboto.ttf');
}
@font-face {
    font-family: 'SF-PRO-DISPLAY-BOLD';
    font-weight: 400;
    src: url('../fonts/SF-Pro-Display-Bold.otf');
}

* {
    padding: 0;
    margin: 0;
}

.main{
    background-color:#F2F3F8;
  
}
.main__wrp{
    display: flex;
    margin-bottom: 73px;
}


.menu {
    position: fixed;
    /* height: 100vh; */
    background: #D9DBE6;
    padding: 23px 71px;
    left: 0;
    z-index: 99999;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 29px;
    height: 100%;
}


.menu_btn {
    position: absolute;
    top: 40px;
    right: 25px;
}

.col_g {
    color: #4C5068 !important;
}

.col_g a {
    color: #4C5068 !important;
}

a.col_r {
    color: #F71055 !important;
}

.btn__img-mobile {
    border: none;
    background-color: transparent;
}

.menu_btn {
    border: none;
    background-color: transparent;
}

/* .title_categories {
    display: flex;
    gap: 10px;
    color: #8D91A5;
    padding-top: 20px;
    margin-bottom: 40px;
    font-family: 'Roboto';
    font-size: 13px;
   width: 100%;
   justify-content: center;
   margin-left: -568px;
} */
.first__wrp{
    display: flex;
    justify-content: center;
}
.title_categories {
    display: flex;
    gap: 10px;
    color: #8D91A5;
    padding-top: 20px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    font-family: 'Roboto';
    font-size: 13px;
    margin-left: -1135px;
}

.title_categories--blue {
    color: #4C5068;
    margin-right: 18px;
    display: flex;
    align-items: center;
}

.title_categories--text {
    color: #8D91A5;
}

.title_categories--grey {
    color: #4C5068;
}

.arrow-category{
    margin-right: 18px;
}
.aside{
    max-width: 300px;
}
.advertisement {
    background-image: url(../img/advertise.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 299px;
    height: 237px;
}

.advertisement__title {
    font-family: 'SF-PRO-DISPLAY-BOLD';
    font-size: 24px;
    color: #FFF;
    margin-bottom: 38px;
}
.advertisement__wrp{
    padding-left: 11px;
    padding-top: 44px;
}
.advertisement__text {
    font-family: 'Roboto';
    font-size: 12px;
    font-weight: 400;
    color: #FFF;
    max-width: 270px;
}

.advertisement:not(:last-child){
    margin-bottom: 40px;

    
}
.hidden{
    display: none;
}
.advertisement:last-child{
    margin-bottom: 68px;

}
.publishing__title {
    font-family: 'Roboto';
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color:#3E3E47;
}
.publishing__item {
    background-color: #FFF;
    padding: 16px;
    border-radius: 10px;
    max-width: 267px;
}
.publishing__text {
    max-width: 267px;
    font-family: 'Inter-medium';
    color:#3E3E47;
}
.publishing__item:not(:last-child) {
    margin-bottom: 15px;
}

.publishing__item:last-child {
    margin-bottom: 40px;
}
.main__title{
    font-size: 28px;
    font-family: 'Montserrat-bold';
    text-transform: uppercase;
    margin-bottom: 20px;
    color:#1E202A;
}
.main__text{
    font-family: 'Inter-medium';
    font-size: 16px;
    max-width: 945px;
    color:#1E202A;
    margin-bottom: 20px;
}
.block-text{
    margin-right: 60px;
}
.main__subtitle{
    font-family: 'Montserrat-bold';
    font-size: 22px;
    color:#1E202A;
    margin-bottom: 20px;
}

@media screen and (max-width:1440px) {
    .title_categories{
        margin-left: -436px;
    }
  
    .main__wrp{
        padding-left: 20px;
        padding-right: 20px;
    }
    .advertisement{
        display: flex;
        justify-content: center;
    }


}
@media screen and (max-width:1320px) {
.title_categories__wrp{
    margin-left: 20px;
}


}
@media screen and (max-width:1200px) {
    .title_categories{
        margin-left: -278px;
    }
    
}
@media screen and (max-width:768px) {
    .main__wrp{
        max-width: 383px;
    }
    .main__wrp{
        padding-left: 20px;
        padding-right: 20px;
        flex-direction: column;
        align-items: center;
    }
    .advertisement{
        display: flex;
        justify-content: center;
    }

.block-text{
    margin-bottom: 90px;
    margin-right: 0;
}
.main__subtitle{
    font-size: 18px;
}
.main__title{
    font-size: 22px;
}
.title_categories{
    
    margin-left: -220px;
}
}
@media screen and (max-width:430px) {
    .title_categories{
       
    margin-left: -220px;
    }
    .main__wrp{
        padding-left: 20px;
        padding-right: 20px;
        flex-direction: column;
        align-items: center;
    }
    .advertisement{
        display: flex;
        justify-content: center;
    }
.header__input{
    width: 80px;
}
.block-text{
max-width: 383px;
}

}
@media screen and (max-width:380px) {

    .main__wrp{
        max-width: 320px;
    }
    .header__search{
        margin-right: 15px;

    }
    .title_categories{
        margin-left: -141px;
    }
   
}