html {
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: var(--primary-font-size);
    color: var(--main-text-color);
    background: var(--bg-color);
    font-weight: 400;
}

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

* {
    margin: 0;
    padding: 0;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a,
button {
    outline: none !important;
    cursor: pointer;
}

a {
    text-decoration: none;
}

p {
    font-family: 'Open Sans', sans-serif;
    font-size: var(--primary-font-size);
    color: var(--main-text-color);
    line-height: 1.71;
    font-weight: 400;
    margin-bottom: 13px;
}

span {
    color: var(--additional-text-color);
}

h2 {
    color: var(--main-text-color);
    font-size: var(--secondary-title-font-size);
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

br {
    content: "";
    margin-bottom: 60px;
    display: inline-block;
}

.wrapper {
    max-width: 940px;
    width: 100%;
    margin: 0 auto;
}

/* START HEADER STYLE */
.header__block {
    display: flex;
    justify-content: space-between;
    margin-bottom: 17px;
}

.header__block a {
    align-self: flex-end;
}

.header__block a  img {
    width: 101px;
    margin-bottom: 17px;
}

.header__block span {
    color: var(--additional-text-color);
    font-family: 'Open Sans', sans-serif;
}

.header {
    padding-top: 89px;
    margin-bottom: 40px;
}

h1 {
    font-size: var(--main-title-font-size);
    font-weight: 300;
    font-family: 'Open Sans', sans-serif;
    max-width: 415px;
}
.license h1 {
    max-width: 80%;
}

h2 {
    margin-bottom: 25px;
}

.header__logo-link {
    border-bottom: none;
}

.header__logo-link:hover {
    text-decoration: none;
    border: none;
}
/* END HEADER STYLE */

/* START CONTENT BLOCK */
.content {
    padding-bottom: 70px;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--styled-color);
}
.content > p:first-child span:last-child, span.green {
    color: var(--styled-color);
}

a {
    color: var(--main-text-color);
    position: relative;
    border-bottom: 1px solid var(--styled-color);
    transition: .2s linear;
}

a:hover {
    color: var(--styled-color);
    border-bottom: 1px solid transparent;
}
.main-position__name {
    color: var(--styled-color);
}

ul h2 {
    margin-bottom: 35px;
}

ul h3 {
    position: relative;
    color: var(--styled-color);
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 5px;
    font-weight: 500;
}

ul h3:before {
    content: '';
    position: absolute;
    left: -25px;
    top: 6px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--styled-color);
}
ul {
    list-style: none;
    margin-left: 25px;
}

ul li {
    margin-bottom: 27px;
}

ol {
    list-style: none;
    counter-reset: item;
}

ol  ol {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
    padding-left: 10px;
}

ol li {
    counter-increment: item;
    position: relative;
    /* padding-left: 25px; */
    margin-top: 20px;
}

/* ol ~ li {
display: flex;
align-items: center;
} */

ol li h2 {
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    padding-top: 35px;
}

ol li:first-child h2 {
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    padding-top: 0;
}

ol li:before {
    /* position: absolute; */
    left: 0;
    margin-right: 13px;
    content: counters(item, ".") " ";
    display: inline-block;
    color: var(--styled-color);
}

ol > li ol li {
    /* display: flex; */
    position: relative;
    margin-bottom: 10px;
}

ol > li ol li p,
ol.privacy p {
    padding-top: -3px;
    display: inline;
}
/* END CONTENT STYLE */

/* FOOTER START */
.footer {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer br {
    content: none;
    margin-bottom: 0;
}
.footer span {
    color: var(--styled-color);
}

.footer a {
    align-self: flex-end;
    margin-bottom: 18px;
}
.footer img {
    width: 53px;
}
/* FOOTER END */

@media screen and (max-width: 1200px) {
    .wrapper {
        width: 90%;
    }
}

@media screen and (max-width: 768px) {
    .header {
        padding-top: 20px;
        margin-bottom: 20px;
    }

    br {
        margin-bottom: 30px;
    }

    ol {
        padding-bottom: 35px;
        margin-bottom: 30px;
    }

    ol ol {
        padding-bottom: 0;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 576px) {
    .header__block {
        flex-direction: column;
    }

    .header__block a {
        margin-top: 10px;
        align-self: flex-start;
    }

    h1 {
        font-size: 35px;
    }
}
