/*CSS RESET*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1.3;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*CSS RESET*/

body {
    width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    letter-spacing: 0.05em;
    color: #000000;
    background-color: #FAACA8;
background-image: linear-gradient(19deg, #FAACA8 0%, #DDD6F3 100%);

    display: flex;
    flex-direction: column;
}

.width_wrap {
    max-width: 1000px;
    margin: auto;
}

img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    margin-bottom: 10px;
}
.logo_wrap img {
    height: 100px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

header {
    margin-bottom: 13px;
}

header .width_wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

header .width_wrap .logo_wrap .logo {
    display: block;
    width: 180px;
    margin: auto;
    margin-right: 18px;
}

header .width_wrap .menu_wrap {
    padding: 16px 0;
    width: 100%;
}

header .burger {
    display: none;
}

header .width_wrap .menu_wrap nav ul {
    display: flex;
    justify-content: flex-start;
    list-style: none;
}

header .width_wrap .menu_wrap nav ul li {
    margin-right: 27px;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
}

header .width_wrap .menu_wrap nav ul li a {
    text-decoration: none;
    color: #000000;
    transition: .3s;
}

header .width_wrap .menu_wrap nav ul li a:hover {
    opacity: .6;
}

main {
    flex: 1 0 auto;
}

main .hero_img {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 18px;
}

main h1 {
    font-size: 20px;
    line-height: 27px;
    margin-bottom: 10px;
}

.main_h1 {
    margin-bottom: 18px;
}

main h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 10px;
}

main h3 {
    font-size: 16px;
    line-height: 21px;
    margin-bottom: 10px;
}

.not_main h1, .not_main h2, .not_main h3 {
    text-align: center;
}

.not_main a {
    color: #2C59FB;
}

main p {
    margin-bottom: 10px;
}

.posts {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.posts .post {
    max-width: 285px;
    width: 25%;
    margin-bottom: 15px;
}

.posts .post .date {
    font-size: 14px;
    line-height: 19px;
    margin-bottom: 10px;
}

.posts .post h3 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 10px;
}

.posts .post p {
    font-size: 14px;
    line-height: 19px;
    margin-bottom: 10px;
}

.posts .post .btn {
    display: block;
    font-weight: bold;
    font-size: 16px;
    line-height: 21px;
    color: #FFFFFF;
    text-decoration: none;
    width: 180px;
    padding: 10px;
    text-align: center;
    background: #FF3CAC;
    transition: .2s;
}

.posts .post .btn:hover {
    opacity: .8;
}

footer {
    padding: 10px 0;
    flex: 0 0 auto;
}

footer p {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
}

main ol, main ul {
    margin-bottom: 10px;
}

main ol li, main ul li {
    margin-left: 25px;
    margin-bottom: 5px;
    position: relative;
}

main ul li {
    list-style-type: none;
    margin-left: 0;
    padding-left: 25px;
}

main ul li:before {
    content: '';
    display: block;
    background: black;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 12px;
}

table {
    border: 2px solid white;
    width: 800px;
    margin: 0 auto 10px;
    background: #2C59FB;
}

table tr {
    padding: 4px;
    border-bottom: 2px solid white;
}

table tr td {
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    line-height: 21px;
    color: white;
}

table tr td:first-child {
    width: 66%;
}

table tr td:first-child {
    border-right: 2px solid white;
}

@media (max-width: 1400px) {
    .width_wrap {
        padding: 0 12px;
    }
}

@media (max-width: 1024px) {

    header .burger {
        display: inline-block;
    }

    header .width_wrap .logo_wrap .logo {
        width: 90px;
    }

    header .width_wrap .menu_wrap {
        padding: 0;
    }

    header .burger span {
        display: block;
        width: 30px;
        height: 3px;
        background: #3F51B5;
        margin-bottom: 4px;
    }

    header .burger span:last-child {
        margin-bottom: 0;
    }

    header .menu_wrap nav {
        position: absolute;
        left: 47px;
    }

    header .width_wrap {
        flex-direction: row;
        justify-content: space-between;
    }

    header .width_wrap .logo_wrap {
        order: 2;
        border-bottom: none;
    }

    header .width_wrap .menu_wrap {
        order: 1;
    }

    header .width_wrap .logo_wrap .logo {
        margin-left: auto;
        margin-right: 0;
    }

    header .width_wrap .menu_wrap nav ul {
        flex-direction: column;
        padding: 15px 26px 15px 10px;
        background: white;
    }

    header .width_wrap .menu_wrap nav ul li {
        margin-right: 0;
        margin-bottom: 10px;
    }

    header .width_wrap .menu_wrap nav ul li:last-child {
        margin-bottom: 0;
    }

    header .width_wrap .menu_wrap nav {
        display: none;
    }

    header .width_wrap .menu_wrap nav.active {
        display: block;
    }

    header .burger span {
        transition: transform 0.25s;
        transform-origin: center;
    }

    header .burger.active span:nth-of-type(1) {
        transform: rotate(45deg);
        transform-origin: 9px 6px;
    }

    header .burger.active span:nth-of-type(2) {
        display: none;
    }

    header .burger.active span:nth-of-type(3) {
        transform: rotate(-45deg);
        transform-origin: 14px -1px;
    }

    .posts {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .posts .post {
        width: 100%;
        max-width: 100%;
    }

    table {
        width: 100%;
    }

    table tr {
        display: flex;
        flex-direction: column;
    }

    table tr:last-child {
        border-bottom: none;
    }

    table tr td {
        width: 100%;
    }

    table tr td:first-child {
        width: 100%;
        border-right: none;
    }
}
