.wrapper-articles {
    margin-top: 0;
}

.articles {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
    width: auto;
    height: fit-content;
    margin-left: 8%;
    margin-right: 8%;
    margin-top: 71px;
}

.articles-wait {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 19px;
    padding-bottom: 19px;
}

.articles-wait-text {
    margin: 0;
    text-align: center;
    color: var(--text-color);
}

.articles-composition {
    display: flex;
    gap: 17px;
    flex-direction: column;
    width: 100%;
    height: fit-content;
}

.articles-composition-article {
    display: flex;
    flex-direction: row;
    background-color: rgba(241, 241, 241, 0.2);
    border-radius: 15px;
    height: fit-content;
    padding-left: 60px;
    padding-right: 60px;
    padding-top: 19px;
    padding-bottom: 19px;
    margin-bottom: 10px;
    -webkit-box-shadow: 0px 5px 7px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 5px 7px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 5px 7px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.articles-composition-article-img-block {
    width: fit-content;
    height: fit-content;
}

.articles-composition-article-img {
    width: calc(100px * 1.33);
    height: calc(80px * 1.33);
    border-radius: 15px;
}

.articles-composition-article-main-block {
    width: fit-content;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: calc(40px * 1.33);
    gap: 25px;
}

.articles-composition-article-main-name {
    width: fit-content;
    height: fit-content;
}

.articles-composition-article-main-name-text {
    margin: 0;
    color: var(--text-color);
}

.articles-composition-article-description-block {
    width: fit-content;
    height: fit-content;
    margin-top: 10px;
    font-size: 16px;
}

.articles-composition-article-description-block-text {
    margin: 0;
    color: var(--text-color);
}



@media (max-width: 640px) {

    .articles {
        margin-top: 40px;
    }

    .articles-composition-article {
        flex-direction: column;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .articles-composition-article-main-block {
        margin-left: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .articles-composition-article-img-block {
        margin-left: auto;
        margin-right: auto;
    }

    .articles-composition-article-main-name {
        margin-left: auto;
        margin-right: auto;
    }

    .articles-composition-article-main-name-text {
        text-align: center;
        font-size: calc(11px + 1vw);
    }

    .articles-composition-article-description-block {
        font-size: calc(10px + 1vw);
    }
    
}