/* Reset and base styles  */
* {
    padding: 0px;
    margin: 0px;
    border: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

:focus,
:active {
    /*outline: none;*/
}

a:focus,
a:active {
    /* outline: none;*/
}

/* Links */

a, a:link, a:visited {
    /* color: inherit; */
    text-decoration: none;
    /* display: inline-block; */
}

a:hover {
    /* color: inherit; */
    text-decoration: none;
    opacity: .8;
}

/* Common */

aside, nav, footer, header, section, main {
    display: block;
}

h1, h2, h3, h4, h5, h6, p {
    font-size: inherit;
    font-weight: inherit;
}

ul, ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

img, svg {
    max-width: 100%;
    display: block;
    margin: auto;
}

/* Form */

input, textarea, button, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

input::-ms-clear {
    display: none;
}

button, input[type="submit"] {
    display: inline-block;
    box-shadow: none;
    background-color: transparent;
    background: none;
    cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
    outline: none;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

label {
    cursor: pointer;
}

legend {
    display: block;
}

/* Reset and base styles  */
html {
    scroll-behavior: smooth

}

body {
    width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Source Code Pro', monospace;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    color: #000;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.wrapper {
    max-width: 1300px;
    margin: auto;
}

header {
    padding: 50px 0;
    background: linear-gradient(to right, #801825 50%, #000 50%);
    margin-bottom: -1px;
}

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

header .logo {
    max-width: 125px;
    color: white;
    font-size: 25px;
    font-weight: 700;
}

header .buttons {
    display: flex;
}

header .buttons .button {
    display: block;
    background: #a60c1f;
    border-radius: 2px;
    padding: 15px 20px;
    color: white;
    font-weight: 600;
    font-size: 22px;
    line-height: 28px;
    margin-right: 20px;
    transition: .3s;
}

header .buttons .button:last-child {
    margin-right: 0;
}

main {
    flex: 1 0 auto;
}

.hero_block {
    background: linear-gradient(to right, #801825 50%, #000 50%);
    padding-bottom: 40px;
}

.hero_block .img {
    max-width: 1000px;
    margin: 0 auto 54px;
    border-radius: 14px;
    overflow: hidden;
}

.hero_block h1, .hero_block .anchor_menu {
    width: 50%;
}

h1, h2, h3 {
    font-weight: 700;
    position: relative;
}

h1 {
    font-size: 48px;
    line-height: 150%;
    margin-bottom: 50px;
    margin-left: 30px;
}

.anchor_menu li {
    margin-bottom: 5px;
}

.anchor_menu a {
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    color: #000000;
}

.main_content {
    padding: 50px 0;
}

h2, h3 {
    margin-bottom: 90px;
    margin-left: 30px;
}

h2:before, h3:before {
    content: '';
    position: absolute;
    display: block;
    width: 120px;
    height: 11px;
    background: #801825;
    left: 0;
    top: 65px;
}

h2 {
    font-size: 40px;
}

h3 {
    font-size: 32px;
    margin-left: 30px;
}

.img img{
    border-radius: 20px;
}

.main_content p, .main_content ul, .main_content ol, .main_content table {
    max-width: 1000px;
    margin-bottom: 30px;
}

.main_content ul, .main_content ol {
    padding-left: 60px;
}

.main_content ul li {
    list-style: disc;
}

.main_content p a {
    color: #DDF247;
}

.main_content .img {
    max-width: 800px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 30px;
}

table {
    box-sizing: border-box;
    display: block;
    padding: 40px;
    background: #801825;
    border-radius: 14px;
    color: white;
}

table tbody {
    display: block;
}

table tr {
    display: flex;
    border-bottom: 1px solid #000;
}

table tr td {
    font-size: 18px;
    line-height: 36px;
    color: #fff;
    font-weight: 400;
    padding: 15px 0;
    width: 40%;
}

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

table tr td:last-child {
    width: 15%;
}

table tr td:last-child {
    text-align: right;
}

.treangle {
    position: absolute;
    left: 50%;
    top: 1440px;
    transform: translateX(440px);
}

footer {
    flex: 0 0 auto;
    background: #000;
    padding: 54px 0;
}

footer p {
    font-weight: 400;
    font-size: 20px;
    line-height: 25px;
    text-align: center;
    color: #fff;
}

.logo_mob {
    display: none;
}

@media (max-width: 1340px) {
    .wrapper {
        padding: 0 15px;
    }
}

@media (max-width: 1024px) {
    body {
        background: #f4f4f4;
    }

    header {
        background: #000;
    }

    .hero_block {
        background: transparent;
        padding-top: 60px;
    }

    .hero_block h1, .hero_block .anchor_menu {
        width: 100%;
    }

    .logo_mob {
        display: block;
    }

    .logo_desktop {
        display: none;
    }

    .treangle {
        display: none;
    }

    .table_wrap {
        width: 100%;
        overflow-x: scroll;
    }

    .table_wrap table {
        width: 1000px;
    }

    .table_wrap.two_colums {
        overflow-x: inherit;
    }

    .two_colums table {
        width: 100%;
    }

    .two_colums table tr {
        flex-direction: column;
    }

    .two_colums table tr td:first-child, .two_colums table tr td:last-child {
        width: 100%;
    }

    .two_colums table tr td:last-child {
        text-align: left;
    }
}

@media (max-width: 768px) {
    h2:before, h3:before {
        display: none;
    }

    header .wrapper {
        flex-direction: column;
    }

    header .logo {
        margin-bottom: 30px;
    }

    header .buttons {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    header .buttons .button {
        margin-bottom: 20px;
        min-width: 186px;
        margin-right: 0;
        text-align: center;
    }

    .hero_block .img {
        margin-bottom: 20px;
    }

    h1 {
        font-size: 32px;
        line-height: 130%;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 26px;
    }

    .main_content {
        padding: 0 0 20px;
    }

    h2, h3 {
        margin-bottom: 20px;
    }

    .main_content p, .main_content ul, .main_content ol {
        max-width: 100%;
        margin-bottom: 20px;
        margin-top: 10px;
    }

    .main_content .img {
        margin-bottom: 20px;
        max-width: 100%;
        display: block;
        margin: auto;
    }

    h3 {
        font-size: 22px;
    }

    footer {
        padding: 40px 0;
    }

    footer p {
        font-size: 16px;
        line-height: 20px;
    }
}

.two_colums table tr td:first-child, .two_colums table tr td:last-child {
    width: 50%;
}

.three_colums table tr td {
    width: 33%;
}
