html,
body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font: 18px/1.5 'Bahnschrift', sans-serif;
    color: #2c2e35;
}

main>div,
footer>div {
    max-width: 990px;
    margin: 0 auto;
    padding: 0 25px;
}

main>div.main {
    max-width: 100%;
    background-color: #2b2e34;
    padding: 0;
}

main>div.main img {
    max-width: 100%;
    width: 1040px;
    margin: 0 auto;
    display: block;
}

img {
    max-width: 100%;
}

h1 {
    font-size: 38px;
    line-height: 42px;
    margin: 50px 0;
}

p {
    margin-top: 5px;
    margin-bottom: 5px;
}

ul {
    margin: 0;
    padding-left: 30px;
    list-style: none;
}

li {
    position: relative;
    margin-bottom: 5px;
    list-style: none;
}

li:before {
    content: "-";
    position: absolute;
    left: -15px;
}

.b {
    font-weight: bold;
}

.p-45 {
    padding: 45px;
}

.bg-gray {
    background-color: #d8d8da;
}

.bg-blue {
    background-color: #c6d7ea;
}

.bg-bg {
    background-color: #2b2e34;
}

footer {
    text-align: center;
    padding-top: 25px;
    padding-bottom: 25px;
}

footer,
footer a,
footer a:hover,
footer a:active,
footer a:visited {
    color: white;
}


/* Structure */

.part1,
.part2,
.part3 {
    display: grid;
    grid-template-columns: calc(50% - 25px) calc(50% - 25px);
    gap: 50px;
    margin-bottom: 50px;
    ;
}

.part2 {
    align-items: inherit;
}

.part2>div:first-child {
    display: flex;
}

.part2>div>img {
    object-fit: cover;
}


/* Fonts */
@font-face {
    font-family: 'Bahnschrift';
    src: url('./fonts/Bahnschrift.woff2') format('woff2'),
        url('./fonts/Bahnschrift.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.f-20 {
    font-size: 20px;
    line-height: 24px;
}

.f-22 {
    font-size: 22px;
    line-height: 26px;
}

.f-24 {
    font-size: 24px;
    line-height: 28px;
}

.f-26 {
    font-size: 26px;
    line-height: 30px;
}

@media (max-width: 768px) {

    html,
    body {
        font: 14px/1.5 'Bahnschrift', sans-serif;
    }

    footer {
        font-size: 10px;
    }

    h1 {
        font-size: 24px;
        line-height: 26px;
        margin: 25px 0;
    }

    .part1,
    .part2,
    .part3 {
        display: grid;
        grid-template-columns: 100%;
        gap: 30px;
        margin-bottom: 30px;
        ;
    }

    main>div,
    footer>div {
        padding: 0 15px;
    }

    .p-45 {
        padding: 25px;
    }

    .f-20 {
        font-size: 16px;
        line-height: 20px;
    }

    .f-22 {
        font-size: 18px;
        line-height: 22px;
    }

    .f-26 {
        font-size: 22px;
        line-height: 26px;
    }


}