* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat',
        sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    -webkit-text-size-adjust: 100%;
    background: #f5f4f2;
    line-height: 1.25;
}

img,
video {
    max-width: 100%;
    border: 0;
    display: block;
    margin: auto;
}

video {
    background: #000;
}

.video1 {
    margin-bottom: 5px;
}

ul {
    margin: 0;
    list-style-type: none;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit;
    text-decoration: none;
}

.wrapper {
    padding:
        0 10px;
    position: relative;
}

.h-top {
    background: #80bd8b linear-gradient(to right, #f2d531, #8cc07f, #39a9d9);
    color: #fff;
    padding: 5px 0;
    font-size: 12px;
}


.h-top__disclaimer {
    text-align: right;
    margin-bottom: 5px;
}

.h-top__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.h-top__menu img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    margin-top: -5px;
}


.h-top__search {
    display: flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .3);
}

.h-middle {
    padding: 5px 0 10px;
}

.h-middle__logo {
    max-width: 200px;
}

.h-middle__logo span {
    display: block;
    font-size: 9px;
    margin-top: -14px;
    max-width: 97px;
}

.h-middle__logo img {
    max-width: 200px;
}

.h-middle__sandwich {
    position: absolute;
    top: 15px;
    right: 10px;
    width: 29px;
    height: 20px;
}

.h-middle__sandwich-line {
    height: 4px;
    margin-bottom: 4px;
    border-radius: 5px;
    background: #565656;
    display: block;
}

.main {
    background: #fff;
    padding: 8px 10px 40px;
    margin-bottom: 20px;
    box-shadow: 0 0 9px 0 rgb(0 0 0 / 5%);
    margin-bottom: 25px;
}

.topics {
    margin-bottom: 15px;
}

.topics__item {
    display: inline-block;
    vertical-align: bottom;
    color: #fff;
    padding: 3px 6px;
    font-size: 11px;
}

.topics__item:nth-child(1) {
    background: #3baad7;
}

.topics__item:nth-child(2) {
    background: #e8ada5;
}

.title {
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.author {
    color: #898989;
    display: table;
    width: 100%;
    margin-bottom: 15px;
}

.author__ava {
    border-radius: 5px;
    width: 40px;
    height: 40px;
    display: table-cell;
    vertical-align: top;
    padding-top: 4px;
}

.author__about {
    padding-left: 10px;
    display: table-cell;
    vertical-align: middle;
    font-size: 14px;
}

.author__about span {
    display: block;
}

.article p,
.article>img {
    margin-bottom: 20px;
}

.article>img,
video {
    margin-left: auto;
    margin-right: auto;
}

.article>img.img1 {
    margin-bottom: 5px;
}

.article p a {
    color: #4735db;
    font-weight: 700;
    text-decoration: underline;
}

.article p a:hover {
    text-decoration: none;
}

.dotted {
    padding-left: 20px;
    position: relative;
}

.dotted::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
    border-radius: 50%;
    background: #000;
    width: 10px;
    height: 10px;
}

.video2 {
    margin-bottom: 20px;
}

.btn {
    color: #fff;
    border-radius: 100px;
    background: #f0d533;
    text-transform: uppercase;
    padding: 25px;
    font-size: 18px;
    font-weight: 700;
    display: block;
    text-align: center;
    transition: .3s;
    position: relative;
    max-width: 300px;
    margin: auto;
}

.btn::before {
    width: 100%;
    height: 100%;
    border-radius: 100px;
    position: absolute;
    left: 50%;
    top: 50%;
    transition: .5s;
    border: 2px solid transparent;
    content: "";
    transform: translate(-50%, -50%);
}

.btn::after {
    width: 100%;
    height: 100%;
    border-radius: 150px;
    position: absolute;
    left: 50%;
    top: 50%;
    transition: .5s;
    transition-delay: .1s;
    border: 1px solid transparent;
    content: "";
    transform: translate(-50%, -50%);
}

.btn:hover {
    color: #fff
}

.btn:hover::before {
    border-color: #f0d533;
    transform: translate(-50%, -50%) scale(1.015, 1.05);
}

.btn:hover::after {
    border-color: #f0d5336e;
    transform: translate(-50%, -50%) scale(1.04, 1.15);
}

.comments {
    border-bottom: 2px solid;
    padding-bottom: 15px;
    margin-bottom: 50px;
}

.comments__title {
    text-transform: uppercase;
    font-size: 14px;

}

.social__item img {
    max-width: 13px;
    max-height: 13px;

}

.comments {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__disclaimer {
    font-size: 11px;
    text-align: center;
    padding-bottom: 40px;
}

.h-top__menu-item:nth-child(n+2),
.h-middle__last,
.nav,
.aside {
    display: none;
}

@media(min-width:992px) {
    body {
        font-size: 17px;
    }

    .wrapper {
        max-width: 970px;
        margin: auto;

    }

    .h-top__menu-item:nth-child(n+2),
    .h-middle__last {
        display: flex;
    }

    .h-top__disclaimer {
        padding-top: 10px;
    }

    .h-middle__sandwich {
        display: none;
    }

    .h-top {
        padding: 0;
    }

    .h-top__search {
        width: 35px;
        height: 35px;
    }

    .h-top__menu {
        text-transform: uppercase;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .h-top__menu-item {
        margin-right: 25px;
    }

    .h-top__menu-item {
        display: block;
        height: 100%;
        padding: 15px 0;
    }




    .h-middle__last {
        color: #fff;
        background: #4735db;
        border-radius: 100px;
        padding: 10px 20px;
        font-size: 14px;
        transition: .3s;
        display: inline-block;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .h-middle__logo {
        max-width: 268px;
        margin: auto;
    }

    .h-middle__logo img {
        max-width: none;
    }

    .h-middle__logo span {
        display: block;
        font-size: 12px;
        margin-top: -17px;
        max-width: 132px;
    }

    .nav {
        display: block;

        border-top: 2px solid #000;
        border-bottom: 1px solid #d9d9d9;
        padding: 15px 40px;
        margin-bottom: 15px;
        font-size: 14px;
    }

    .nav__list {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap
    }

    .nav__item {

        position: relative;
        margin-right: 15px;
    }

    .nav__item:last-child {
        margin-right: 0;
    }

    .nav__item::after {
        content: "";
        background: url(../img/arrow.svg) no-repeat center;
        position: absolute;
        top: 5px;
        right: -13px;
        width: 6px;
        height: 4px;
        background-size: contain;
    }


    .nav__item span {
        background: #e8ada5;
        color: #fff;
        text-transform: uppercase;
        font-size: 8px;
        padding: 4px 6px 3px;
        border-radius: 5px;
        margin-left: 0px;
        vertical-align: baseline;

    }



    .main {
        padding: 20px 15px 40px 30px;
        font-size: 0;
        margin-bottom: 45px;
    }

    .article {
        display: inline-block;
        vertical-align: top;
        width: 72%;
        margin-right: 3%;
        font-size: 17px;
    }

    .title {
        font-size: 39px;
    }

    .img-pare {
        display: flex;
        align-items: stretch;
        justify-content: space-around;
        margin-bottom: 20px;
    }

    .btn {
        font-size: 24px;
        max-width: 340px;
    }

    .aside {
        display: inline-block;
        vertical-align: top;
        width: 25%;
        font-size: 17px;
    }

    .aside__search {
        margin-bottom: 15px;
    }

    .aside__search input {
        border: 1px solid #f5f4f2;
        background: url(../img/search-grey.svg) right 15px center no-repeat;
        border-radius: 5px;
        color: #b7b7b7;
        font-family: 'Montserrat', sans-serif;
        font-size: 12px;
        pointer-events: none;
        padding: 10px;
        width: 100%;
    }

    input::-webkit-input-placeholder {
        color: #b7b7b7;
    }

    input::-moz-placeholder {
        color: #b7b7b7;
    }

    input:-moz-placeholder {
        color: #b7b7b7;
    }

    input:-ms-input-placeholder {
        color: #b7b7b7;
    }

    .tags {
        font-size: 12px;
    }

    .tags__item {
        display: inline-block;
        vertical-align: bottom;
        background: #e6efd3;
        border-radius: 5px;
        margin-bottom: 5px;
        padding: 5px 10px;
        margin-right: 2px;
        transition: .3s;
    }

    .comments {
        margin-bottom: 45px;
    }
}


@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    .nav__item::after {
        display: none;
    }
}