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

body {
    background: #FFF url('./../images/bg-picture.svg') right 100px top 150px/760px auto no-repeat;
    background-attachment: fixed;
    font-family: 'PT Sans', sans-serif;
    color: #000;
}

.container {
    width: min(90%, 1200px);
    margin: 0 auto;
}

header {
    height: 80px;
    background-color: #FFF;
    padding-block: 13px;
    margin-bottom: 70px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1;
}

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

.header-left {
    display: flex;
    align-items: center;
    gap: 52px;
    padding-bottom: 4px;
}

ul {
    list-style: none;
}

.box {
    display: flex;
    align-items: center;
    gap: 10px;
}

li {
    font-family: 'Staatliches';
    font-size: 1.375rem;
    line-height: 1.75rem;
    letter-spacing: 0.03em;
}

main {
    padding-bottom: 30px;
}

section {
    margin-bottom: 70px;
}

p {
    font-size: 1.75rem;
    line-height: 3rem;
}

h2,
.nav-list li {
    font-family: 'Francois One', sans-serif;
    text-transform: uppercase;
    font-size: 2.25rem;
    line-height: 3rem;
    font-weight: 400;
    letter-spacing: 0.04em;
}

h2 {
    margin-bottom: 40px;
}

h2::before {
    content: "";
    display: block;
    width: 100px;
    height: 8px;
    background-color: #000;
    margin-bottom: 20px;
}

.react p {
    margin-bottom: 40px;
}

.italic {
    font-style: italic;
}

.bold {
    font-weight: 700;
}

#lang {
    font-family: 'Tourney';
    font-weight: 600;
    font-size: 1.375rem;
    line-height: 0.7rem;
    /*змінено*/
    letter-spacing: 0.04em;
    padding-left: 3px;
    padding-bottom: 5px;
}

.chapters {
    font-family: 'Farro';
    text-transform: none;
    vertical-align: top;
    font-weight: 300;
    /*змінено*/
    font-size: 1.11rem;
    /*змінено*/
    line-height: 0.9rem;
    letter-spacing: 0.04em;
}

mark {
    background-color: #DADADA;
}

a {
    color: #000;
}

header a {
    text-decoration: none;
}

.text p {
    margin-bottom: 28px;
}

.wrapper {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contain {
    padding-top: 150px;
}

.sidebar {
    width: min(90%, 385px);
    margin: 0 auto;
    position: sticky;
    top: 0;
    left: 0;
    align-self: flex-start;
}

.cont {
    width: min(90%, 785px);
    margin: 0 auto;
}

.nav-list {
    li {
        position: relative;
        margin-bottom: 61px;
        padding: 10px 8px 9px 8px;

        a {
            text-decoration: none;
        }
    }
}

.nav-list li::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 8px;
    width: 365px;
    height: 1px;
    background-color: #E6E6E6;
}