* {
    padding: 0;
    margin: 0;
}

:root {
    --color-primary: #111111;
    --color-secondary: #FFFFFF;
    --mobile: 440px;
}

body {
    height: 100%;

    .price-tag {
        width: 180px;
        height: 53px;
        font-size: 24.91px;
        line-height: 100%;
        font-weight: 600;
        color: white;
        background: #111111;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}
.container {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
main {
    flex: 1 1 auto;
}

footer {
    flex-grow: 1;
}
a {
    color: white;
    text-decoration: none;
}
.only-desktop {
    display: inline;
}
.only-mobile {
    display: none;
}
.header {
    height: 930px;


    background-image: url("./assets/header_background.png");

    background-position: 60% 56.5%;
    background-size: 150%;
    background-repeat: no-repeat;


    display: flex;
    flex-direction: column;
    gap: 54px;

    .header-title {
        display: flex;
        flex-direction: column;
        gap: 24px;
        color: var(--color-primary);
        padding-left: 64px;
    }

    .header-description {
        width: 374px;
        display: flex;
        flex-direction: column;
        gap: 24px;
        color: var(--color-primary);
        padding-left: 64px;
    }

    .header-logo {
        padding-top: 32px;
        padding-left: 64px;
    }

    h1 {
        width: 841px;
        font-size: 54.51px;
        line-height: 60px;
        font-weight: 500;
        text-transform: uppercase;
        color: var(--color-primary);
        font-family: "Bitter", serif;
    }

    .text {
        font-size: 23.28px;
        line-height: 150%;
        font-weight: 400;
        color: var(--color-primary);
        font-family: "Open Sans", sans-serif;
    }
}

.block {

}

.person-block {
    width: 81%;
    max-width: 1307px;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    padding-top: 110px;

    .person-img {
        width: 421px;
        height: 544px;
        object-fit: cover;
    }

    .person-wrapper-text {
        max-width: 691px;
        display: flex;
        flex-direction: column;
        gap: 55.37px;
        color: var(--color-primary);

        .text {
            font-size: 19.93px;
            line-height: 150%;
            font-weight: 400;
            font-family: "Open Sans", sans-serif;
        }
    }

}

.book-block {
    width: 94%;
    max-width: 1501px;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    padding-top: 110px;
    color: var(--color-primary);

    .book-img {
        width: 589px;
        height: 814px;
        object-fit: cover;
    }

    .book-img-mobile {
        display: none;
    }

    .book-wrapper-text {
        max-width: 747px;
        width: 90%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        .book-wrapper-title {
            display: flex;
            flex-direction: column;

            gap: 24px;
        }

        h3 {
            font-size: 44.45px;
            line-height: 44.45px;
            text-transform: uppercase;
            font-weight: 500;
            font-family: "Bitter", serif;
        }

        .text {
            font-size: 22.47px;
            line-height: 22.47px;
            font-weight: 500;
            align-items: end;
            font-family: "Open Sans", sans-serif;
        }

        .text-sm {
            font-family: "Bitter", serif;
            text-transform: uppercase;
        }

        .cost-text {
            font-size: 21.14px;
            line-height: 100%;
            font-weight: 400;

            font-family: "Open Sans", sans-serif;
        }
    }

    .price-block {
        display: flex;
        align-items: center;
        gap: 24px;

        p {
            font-size: 21.14px;
            line-height: 100%;
            font-weight: 400;
        }
    }

    .book-info {
        padding-top: 20px;
        width: 610.5px;

        li {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 0.77px solid var(--color-primary);
        }

        .text {
            font-size: 16.8px;
            line-height: 100%;
            font-weight: 400;
            font-family: "Open Sans", sans-serif;
        }

        .text-large {
            font-size: 17.85px;
            font-family: "Open Sans", sans-serif;
            line-height: 100%;
        }
    }
}

.gif-book-block {
    padding-top: 110px;
    height: 1080px;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.content-block {
    width: 76%;
    max-width: 1221px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 64px;
    margin: 0 auto;
    padding-top: 110px;

    h3 {
        font-size: 44.45px;
        line-height: 44.45px;
        font-weight: 500;
        text-transform: uppercase;
        color: var(--color-primary);
        font-family: "Bitter", serif;
    }

    .list-wrapper {
        display: flex;
        justify-content: space-between;
        color: var(--color-primary);

        ul {
            width: 45%;
            list-style: none;

            li {
                display: flex;
                justify-content: space-between;
            }


            .text {
                font-family: "Open Sans", sans-serif;
                font-size: 21.42px;
                line-height: 37px;
                color: var(--color-primary);
                font-weight: 400;

            }

            .text-large {
                font-family: "Open Sans", sans-serif;
                max-width: 402px;
                line-height: 37px;
            }
        }

        .right-list {
            .text {
                font-size: 21.42px;
                line-height: 36.8px;
                color: var(--color-primary);
                font-weight: 400;
            }
            .text-large {
                line-height: 36.8px;
            }
        }

    }
}

.delivery-block {
    width: 94%;
    max-width: 1501px;
    display: flex;
    justify-content: space-between;
    gap: 64px;
    margin: 0 auto;
    padding-top: 110px;

    h3 {
        font-size: 44.45px;
        line-height: 44.45px;
        font-weight: 500;
        text-transform: uppercase;
        color: var(--color-primary);
        font-family: "Bitter", serif;
    }

    .delivery-content {
        display: flex;
        flex-direction: column;
        gap: 48px;
    }

    .map {
        width: max-content;
    }

    .delivery-info {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 36px;
        max-width: 600px;

        .delivery-question {
            display: flex;
            justify-content: space-between;
            align-items: center;

            .text {
                max-width: 378px;
                font-family: "Open Sans", sans-serif;
            }
        }

        .text {
            font-size: 18px;
            line-height: 150%;
            font-weight: 400;
            font-family: "Open Sans", sans-serif;
        }

    }


}

.payment-block {
    width: 94%;
    max-width: 1501px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 64px;
    margin: 0 auto;
    padding-top: 110px;
    padding-bottom: 135px;

    h3 {
        font-size: 44.45px;
        line-height: 44.45px;
        font-weight: 500;
        text-transform: uppercase;
        color: var(--color-primary);
        font-family: "Bitter", serif;
    }

    .payment-panel {
        border-radius: 204px;
        padding: 20px 8px;
        color: white;
        background-color: var(--color-primary);
        text-align: center;
        align-items: center;
        height: 217px;

        .payment-text-block {
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-evenly;
        }

        .payment-text-block-mobile {
            display: none;
        }

        .text {
            font-size: 20px;
            line-height: 100%;
            font-weight: 400;
            text-transform: uppercase;
            font-family: "Open Sans", sans-serif;
        }
    }

    .politics-wrapper {
        display: flex;
        gap: 64px;

        .politics-link {
            display: flex;
            color: var(--color-primary);
            align-items: center;
            font-size: 23.07px;
            line-height: 150%;
            gap: 48px;
            text-decoration: none;
            font-family: "Open Sans", sans-serif;


            svg {
                width: 49px;
                height: 49px;
            }

        }

        .politics-link:visited {
            color: #393939;
        }
    }

}

.tags-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tag {
    width: max-content;
    padding: 8px 20px;
    border-radius: 40px;
    border: 1px solid var(--color-primary);
    text-transform: uppercase;
    font-size: 20px;
    line-height: 100%;
    font-weight: 400;
    font-family: "Open Sans", sans-serif;
}

.tag-phone {
    background-color: var(--color-primary);
    text-align: center;

    a {
        color: white;
        text-decoration: none;
    }
}

.footer {
    position: relative;
    width: 100%;
    min-height: 500px;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 110px;

    .footer-content {
        height: 100%;
        width: 80%;
        max-width: 1501px;
        display: flex;
        flex-direction: column;
        gap: 64px;
        margin: 0 auto;
    }

    .footer-title {
        font-size: 89.01px;
        line-height: 89.01px;
        font-weight: 500;
        text-transform: uppercase;
        font-family: "Bitter", serif;
    }

    .footer-list {
        list-style: none;
        display: flex;
        flex-direction: row;
        justify-content: space-between;

        li {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .title {
            font-size: 20px;
            line-height: 100%;
            font-weight: 600;
            text-transform: uppercase;
            font-family: "Open Sans", sans-serif;
        }

        .text {
            font-size: 17px;
            line-height: 150%;
            font-weight: 400;
            font-family: "Open Sans", sans-serif;

            a {
                color: white;
                text-decoration: none;
            }
        }
    }


    .contact-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 48px;

        p {
            font-size: 18px;
            line-height: 0;
            font-weight: 400;
            font-family: "Open Sans", sans-serif;

            a {
                color: white;
                text-decoration: none;
            }
        }
    }
}

@media screen and (max-width: 1412px) {
    .delivery-block {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 1240px) {
    .header {
        background-position: 60% 36.5%;
        background-repeat: no-repeat;
        background-size: cover;

        h1 {
            width: 80%;
            font-size: 1.9em;
        }
    }
    .book-block {
        flex-direction: column;
        align-items: center;

        .book-wrapper-text {
            align-items: center;
        }
    }

        .person-block {
            flex-direction: column;
            align-items: center;

            .person-wrapper-text {
                align-items: center;
            }
        }

        .footer {
            height: 550px;
            .footer-list {
                flex-wrap: wrap;
                gap: 14px;
            }
        }

    .payment-block {
        .payment-panel {
            border-radius: 204px;
            height: 220px;


            .text {
                font-size: 1.1em;
            }
        }
    }
}
@media screen and (min-width: 441px) and (max-width: 800px) {
    .header {
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;

        .header-logo {
            padding-top: 0;
        }

        h1 {
            width: 80%;
            font-size: 1.9em !important;
        }

        .header-text {
            width: 200px;
        }

        .header-title {
        }

        .header-description {
            width: 250px;
        }

        .text {
            font-size: 20.28px;
        }
    }

    .footer {
        .footer-title {
            font-size: 30px;
            line-height: 30.09px;
        }
    }

    .book-block {

        .book-wrapper-text {
            h3 {
                font-size: 36.45px;
                line-height: 36.45px;
            }

            align-items: start;

            .book-info {
                width: 100%;
                padding-bottom: 10px;
            }
        }
        .book-img {
            display: none;
        }
        .book-img-mobile {
            width: 100%;
            max-width: 325px;
        }
    }

    .payment-block {
        padding-left: 0;
        padding-right: 0;
        padding-top: 90px;
        padding-bottom: 100px;

        .payment-panel {
            border-radius: 50px;
            height: 225px;


            .text {
                font-size: 1em;
            }
        }

        .politics-wrapper {
            gap: 32px;
            flex-direction: column;

            a:nth-child(1) {
                width: 70%;
            }

            .politics-link {
                font-size: 1.1em;
                gap: 20px;
            }


                svg {
                    width: 36px !important;
                    height: 36px !important;
                }

            }

    }


    .delivery-block {
        width: 386px;
        gap: 32px;
        margin: 0 auto;
        padding-top: 45px;
        flex-direction: column;

        h3 {
            font-size: 23.62px;
        }

        .delivery-content {
            gap: 24px;
        }

        .map {
            width: 440px;
            height: 440px;

            iframe {
                width: 440px;
                height: 440px;
            }
        }

        .delivery-info {


            .delivery-question {
                display: flex;
                flex-direction: column;
                gap: 8px;
                align-items: start;
            }

            .text {
                font-size: 18px;
            }

            .delivery-tag {
                width: max-content;
                max-width: 299px;
                font-size: 14px;
            }

        }
    }

    .gif-book-block {
        padding-top: 110px;
        height: 600px;
    }


    .person-block {
        gap: 30px;

        .person-img {
            width: 350px;
            height: 450px;
            object-fit: cover;
            margin: 0 auto;
        }

        .person-wrapper-text {
            width: 100%;
            align-items: start;

            .text {
                font-size: 18px;
            }
        }
    }

    .tags-block {
        width: 80%;
    }
    .tag {
        width: 100%;
        text-wrap: wrap;
        padding: 6px 18px;
        border-radius: 35px;

        font-size: 18px;

    }
}

@media screen and (max-width: 908px) {
    .header {
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;



        h1 {
            width: 90%;
            font-size: 48.51px;
            line-height: 50px;
        }
    }
    h3 {
        width: 90%;
    }

    .footer {
        padding-top: 50px;
        min-height: 700px;

        .footer-list {
            flex-direction: column;
        }
    }
}


@media screen and (max-width: 440px) {
    body {
        .price-tag {
            width: 160px;
            height: 30px;
            font-size: 17.12px;
            padding: 5px 15px;
        }
    }

    .only-desktop {
        display: none;
    }

    .header {
        height: 797px;
        padding: 24px 0;
        width: 100%;

        background-image: url("./assets/mobile/header_background_mobile_1.png");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        gap: 24px;

        .header-logo {
            padding-top: 0;
            padding-left: 24px;
        }

        svg {
            width: 70px;
            height: 44px;
        }

        .header-title {
            gap: 12px;
            padding: 0 24px;
        }

        .header-description {
            width: 234px;
            gap: 12px;
            padding: 0 24px;
        }

        h1 {
            width: 410px;
            font-size: 30.08px;
            line-height: 33.1px
        }

        .text {
            font-size: 15.21px;
        }
    }
    .person-block {
        width: 100%;
        flex-direction: column;
        padding-top: 45px;
        gap: 45px;

        .person-img {
            width: 316px;
            height: 408px;
            object-fit: cover;
            margin: 0 auto;
        }

        .person-wrapper-text {
            width: 386px;
            margin: 0 auto;
            gap: 30px;
            align-items: start;

            .text {
                font-size: 14px;
            }
        }
    }
    .book-block {
        width: 100% !important;
        max-width: 397px !important;
        display: flex;
        justify-content: space-between;
        margin: 0 auto;
        padding-top: 45px;
        color: var(--color-primary);

        .book-img {
            display: none;
        }
        .book-img-mobile {
            display: block;
            width: 325px;
            height: 449px;
            object-fit: cover;
            margin: 10px auto;
        }

        .book-wrapper-text {
            width: 400px;
            gap: 14px;

            h3 {
                font-size: 23.62px;
                line-height: 23.62px;
                width: auto;
            }

            .text {
                font-size: 12.41px;
                line-height: 12.41px;
            }

            .cost-text {
                font-size: 14px;
            }
        }

        .price-block {
            display: flex;
            align-items: center;
            gap: 24px;
            padding-left: 20px;


            p {
                font-size: 21.14px;
                line-height: 100%;
                font-weight: 400;
            }
        }

        .book-info {
            width: 386px;
            height: 330px;
            padding-top: 0;
            padding-bottom: 0;

            li {
                padding: 7px;
            }

            .text {
                font-size: 14px;
            }

            .text-large {
                font-size: 14px;

            }
        }
    }
    .gif-book-block {
        padding-top: 45px;
        height: 450px;
    }
    .content-block {
        width: 100%;
        max-width: 386px;
        gap: 4px;
        margin: 0 auto;
        padding-top: 45px;

        h3 {
            font-size: 23.62px;
        }

        .list-wrapper {
            flex-direction: column;

            ul {
                width: 100%;

                .text {
                    font-size: 14px;
                    line-height: 25.28px;
                }

                .text-large {
                    max-width: 291px;
                    line-height: 25.28px;
                }
            }

            .right-list {
                .text {
                    font-size: 14px;
                    line-height: 25.28px;
                }
                .text-large {
                    max-width: 291px;
                    line-height: 25.28px;
                }
            }

        }
    }
    .delivery-block {
        width: 100%;
        max-width: 386px;
        padding-top: 45px;

        h3 {
            font-size: 23.62px;
        }

        .delivery-content {
            gap: 24px;
        }

        .map {
            width: 390px;
            height: 390px;

            iframe {
                width: 390px;
                height: 390px;
            }
        }

        .delivery-info {
            margin: 0 auto;
            gap: 24px;
            max-width: 600px;

            .delivery-question {
                display: flex;
                flex-direction: column;
                gap: 8px;
                align-items: start;

                .text {
                    max-width: 270px;
                    font-family: "Open Sans", sans-serif;
                }
            }

            .text {
                font-size: 14px;
            }

            .delivery-tag {
                width: max-content;
                max-width: 299px;
                font-size: 14px;
            }
            .delivery-tag-large {
                line-height: 130%;
            }

        }


    }
    .payment-block {
        width: 100%;
        max-width: 386px;
        gap: 32px;
        margin: 0 auto;
        padding-top: 35px;
        padding-bottom: 25px;
        flex-direction: column;


        h3 {
            font-size: 23.62px;
        }

        .payment-panel {
            height: 250px;
            border-radius: 45px;


            .payment-text-block {
                display: none;
            }

            .payment-text-block-mobile {
                height: 100%;
                display: flex;
                flex-direction: column;
                justify-content: center;
            }

            .text {
                font-size: 13px;
                font-weight: 400;
                line-height: 150%;
            }
        }

        .politics-wrapper {
            display: flex;
            flex-direction: column;
            gap: 4px;

            .politics-link {
                font-size: 11.66px;
                gap: 24px;

                svg {
                    width: 24.76px;
                    height: 24.76px;
                }
            }

            padding-bottom: 55px;
        }

    }


    .footer {
        min-height: 555px;

        .footer-content {
            width: 80%;
            height: 100%;
            max-width: 386px;
            gap: 48px;
            margin: 0 auto;
        }

        .footer-title {
            font-size: 23.62px;
            line-height: 24.09px;
        }

        .footer-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 30px;

            li {
                display: flex;
                flex-direction: column;
                gap: 10px;
            }

            .title {
                font-size: 12.13px;
            }

            .text {
                font-size: 11px;

                a {
                    color: white;
                    text-decoration: none;
                }
            }
        }


        .contact-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 20px;

            p {
                font-size: 11px;
                line-height: 53%;
            }
        }
    }

    .tags-block {
        gap: 12px;
    }

    .tag {
        padding: 4.88px 12.21px;
        border-radius: 24.42px;
        font-size: 12.21px;

    }

}

@media screen and (max-width: 439px) {
    .only-mobile {
        display: inline;
    }
    .header {
        height: 797px;
        width: 100%;
        padding-top: 20px;
        padding-left: 0;

        gap: 10px;


        .header-title {
            padding-top: 0;
            padding-left: 20px;

        }

        .header-description {
            padding-top: 0;
            padding-left: 20px;

        }

        h1 {
            width: 80%;
            font-size: 1.5em;
            line-height: 1.5em;
        }

        .text {
            font-size: 15.21px;
        }
    }
    .person-block {
        width: 100%;
        flex-direction: column;
        padding: 30px 0;
        gap: 30px;

        .person-img {
            width: 80%;
            height: 90%;
            object-fit: cover;
            margin: 0 auto;
        }

        .person-wrapper-text {
            width: 80%;
            margin: 0 auto;
            gap: 20px;

            .text {

            }
        }
    }

    .payment-block {

        .payment-panel {
            border-radius: 45px;
            height: 220px;
            padding: 30px;


            .text {
                font-size: 0.8em;
            }
        }
    }

    .book-block {

        .book-wrapper-text {
            h3 {
                margin: 0 auto;
            }

            align-items: start;

            .text-sm {

                margin: 0 auto;
            }
            .book-info {
                width: 90%;
                margin: 0 auto;
                padding-bottom: 10px;


            }
        }
    }

    .content-block {
        gap: 4px;
        margin: 0 auto;
        padding-top: 45px;

        h3 {
            margin: 0 auto;
            font-size: 23.62px;
        }

        .list-wrapper {
            ul {
                width: 90%;
                margin: 0 auto;

                .text {
                    text-wrap: wrap;
                    font-size: 14px;
                    line-height: 25.28px;

                }

                .text-large {
                    max-width: 291px;
                    line-height: 25.28px;
                }
            }

            .right-list {
                .text {
                    font-size: 14px;
                    line-height: 25.28px;
                }
                .text-large {
                    max-width: 291px;
                    line-height: 25.28px;
                }
            }

        }
    }

    .delivery-block {
        .map {
            width: 100%;
            height: 100%;

            iframe {
                width: 100%;
                height: 370px;
            }
        }
    }

    .tags-block {
        width: 95%;
    }

    .tag {
        max-width: 100%;
        padding: 4.88px 12.21px;
        border-radius: 24.42px;

    }
    .tag-large {
        line-height: 150%;
    }

    .footer {

        .footer-content {
            width: 100% !important;
            max-width: 386px !important;
        }

        .footer-title {
            font-size: 23.62px;
            line-height: 24.09px;
        }

        .footer-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 30px;

            li {
                display: flex;
                flex-direction: column;
                gap: 10px;
            }

            .title {
                text-wrap: wrap;
                font-size: 12.13px;
            }

            .text {
                font-size: 11px;

                a {
                    color: white;
                    text-decoration: none;
                }
            }
        }
    }

}