
/*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: 18px;
	
    font: inherit;
    vertical-align: baseline;
	font-family: 'Montserrat Alternates', sans-serif;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
	font-family: 'Montserrat Alternates', sans-serif;
	font-weight: 400; 
}

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 Alternates', sans-serif;
    font-style: normal;
    color: #FFFFFF;
    display: flex;
    background: #242932;
}

.cont_wrap {
    /*max-width: 1400px;*/
    margin: auto;
}

img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 24px;
}

header {
    background: #1c2028;
    padding: 0 80px;
    width: 400px;
    flex-shrink: 0;
    box-sizing: border-box;
}

header .cont_wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header .cont_wrap .logo_wrap {
    width: 100%;
    margin-bottom: 35px;
}

header .cont_wrap .logo_wrap .logo {
    width: 180px;
    margin: auto;
}

header .cont_wrap .menu_wrap {
    width: 100%;
}

header .burger {
    display: none;
}

header .cont_wrap .menu_wrap nav ul {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    list-style: none;
}

header .cont_wrap .menu_wrap nav ul li {
    font-weight: 400;
    font-size: 30px;
    line-height: 37px;
    margin-bottom: 10px;
}

header .cont_wrap .menu_wrap nav ul li span {
    text-decoration-line: underline;
    color: #007acf;
}

header .cont_wrap .menu_wrap nav ul li a {
    text-decoration: none;
    color: #FFFFFF;
    transition: .3s;
}

header .cont_wrap .menu_wrap nav ul li a:hover {
    opacity: .6;
}

main .cont_wrap {
    padding: 54px;
}

main .cont_wrap .top_block {
    display: flex;
    padding: 0 150px;
    margin-bottom: 27px;
}

main .cont_wrap .top_block .avatar {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 74px;
}

main .text_wrap p {
    font-size: 25px;
    line-height: 31px;
    margin-bottom: 24px;
}

main .text_wrap h2 {
    font-size: 30px;
    line-height: 37px;
}

main .blogs_wrap h2 {
    font-size: 50px;
    line-height: 62px;
    color: #007acf;
    margin-bottom: 28px;
    text-align: center;
    text-transform: uppercase;
}

main .posts {
    display: flex;
    justify-content: space-between;
}

main .posts .post {
    max-width: 400px;
    margin-bottom: 25px;
}

main .posts .post .post_img {
    border-radius: 10px;
    margin-bottom: 14px;
    overflow: hidden;
}

main .posts .post h3 {
    font-size: 30px;
    line-height: 37px;
    margin-bottom: 15px;
}

main .posts .post p {
    font-size: 25px;
    line-height: 31px;
    margin-bottom: 15px;
}

main a {
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: #007acf;
    transition: .3s;
}

main a:hover {
    opacity: .6;
}

table {
    border: 3px solid #007acf;
    width: 100%;
    margin: 0 auto 15px;
}

table tr {
    padding: 10px;
    border-bottom: 3px solid #007acf;
}

table tr td {
    text-align: center;
    font-size: 18px;
    line-height: 30px;
    font-weight: 400;
}

table tr td:first-child {
    width: 66%;
}

table tr td:first-child {
    border-right: 3px solid #007acf;
}

.inside_page {
    width: 100%;
}

.inside_page .cont_wrap {
    padding: 14px 110px;
}
.inside_page h1 {
    font-size: 50px;
    line-height: 62px;
    color: #007acf;
    text-align: center;
    margin-bottom: 15px;
}

.inside_page h2 {
    font-size: 40px;
    line-height: 62px;
    color: #007acf;
    text-align: center;
    margin-bottom: 15px;
}

.inside_page .top_img {
    margin: 0 auto 15px;
    width: 100%;
    max-width: 800px;
}

.inside_page .text_wrap h3 {
    font-weight: 600;
    font-size: 30px;
    line-height: 37px;
    margin-bottom: 15px;
    text-align: center;
}

.inside_page .text_wrap p {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 15px;
}

.inside_page .text_wrap h4 {
    font-weight: 600;
    font-size: 28px;
    line-height: 35px;
    text-align: center;
}

main ul {
    list-style-type: square;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 15px;
    padding-left: 40px;
}

@media (max-width: 1730px) {
    main .posts {
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    main .cont_wrap .top_block {
        padding: 0;
    }
}

@media (max-width: 1024px) {
    body {
        flex-direction: column;
    }

    header {
        width: 100%;
        padding: 5px 10px;
    }

    header .logo_wrap {
        display: none;
    }

    header .burger {
        display: inline-block;
    }

    header .burger span {
        display: block;
        width: 30px;
        height: 3px;
        background: #007acf;
        margin-bottom: 4px;
    }

    header .burger span:last-child {
        margin-bottom: 0;
    }

    header .menu_wrap nav {
        position: absolute;
        left: 47px;
    }

    header .cont_wrap {
        flex-direction: row;
        justify-content: space-between;
    }

    header .cont_wrap .logo_wrap {
        order: 2;
        border-bottom: none;
    }

    header .cont_wrap .menu_wrap {
        order: 1;
    }

    header .cont_wrap .logo_wrap .logo {
        margin-left: auto;
        margin-right: 0;
    }

    header .cont_wrap .menu_wrap nav ul {
        flex-direction: column;
        padding: 3px 12px;
        background: #1B1464;
        width: 120px;
        box-sizing: border-box;
    }

    header .cont_wrap .menu_wrap nav ul li {
        margin-bottom: 7px;
        font-size: 18px;
        line-height: 22px;
    }

    header .cont_wrap .menu_wrap nav ul li:last-child {
        margin-bottom: 0;
    }

    header .cont_wrap .menu_wrap nav {
        display: none;
    }

    header .cont_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;
    }

    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;
    }

    main .cont_wrap .top_block {
        flex-direction: column;
    }

    main .cont_wrap, .inside_page .cont_wrap {
        padding: 17px;
    }

    main .cont_wrap .top_block .avatar {
        width: 200px;
        height: 200px;
        margin-right: 0;
        margin-bottom: 20px;
    }
}
