﻿body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Lato';
    font-size: 16px;
    font-weight: 400;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 2560px;
    margin: 0 auto;
    background-color: #e4e4e4;
}

.wrapper-block {
    padding: 25px;
}

.content {
    margin: 0 auto;
    max-width: 1400px;
    width: 100%;
}

h1, h2, h3, h4, h5 {
    display: block;
    margin: 0;
    padding: 0;
}

.content h1 {
    font-size: 30px;
    font-weight: 700;
}

.content h2 {
    font-size: 26px;
    font-weight: 700;
}

.content h3 {
    font-size: 20px;
    font-weight: 700;
}

.content h4 {
    font-size: 16px;
    font-weight: 700;
}

/*Шапка сайта*/
.header {
    display: block;
    padding: 50px 25px;
    background-color: #ffffff;
}

    .header .content {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }

        .header .content a.logo {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            align-items: center;
            gap: 25px;
            color: #333333;
            text-decoration: none;
        }

            .header .content a.logo .img {
                display: block;
                width: 120px;
                flex: 0 0 120px;
            }

                .header .content a.logo .img img {
                    display: block;
                    width: 100%;
                    height: auto;
                }

            .header .content a.logo .text {
                font-family: 'Lato';
                font-size: 45px;
                font-weight: 700;
            }

                .header .content a.logo .text span {
                    display: block;
                    font-family: 'Lato';
                    font-size: 16px;
                    font-weight: 400;
                    padding-top: 10px;
                }

        .header .content .bars-button {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 75px;
            height: 75px;
            background: #eeeeee;
        }

/*Область контента*/
content {
    flex-grow: 1;
}

footer {
    flex-shrink: 0;
}

/*Подвал сайта*/
.footer {
    display: block;
    background-color: #333333;
    padding: 50px 25px;
}

    .footer .content {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: flex-start;
    }

        .footer .content a.logo {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            align-items: center;
            gap: 25px;
            color: #333333;
            text-decoration: none;
        }

            .footer .content a.logo .img {
                display: block;
                width: 80px;
                flex: 0 0 80px;
            }

                .footer .content a.logo .img img {
                    display: block;
                    width: 100%;
                    height: auto;
                }

            .footer .content a.logo .text {
                font-family: 'Lato';
                font-size: 25px;
                font-weight: 700;
                color: #eeeeee;
                max-width: 350px;
            }

                .footer .content a.logo .text span {
                    display: block;
                    font-family: 'Lato';
                    font-size: 14px;
                    font-weight: 400;
                    color: #7a7a7a;
                    padding-top: 5px;
                }

        .footer .content .contacts {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            justify-content: flex-end;
            grid-gap: 45px;
            text-align: right;
        }

            .footer .content .contacts > .contact-block {
                display: block;
                font-family: 'Lato';
                font-size: 14px;
                font-weight: 400;
                max-width: 200px;
                color: #7a7a7a;
            }

                .footer .content .contacts > .contact-block .name {
                    display: block;
                    font-family: 'Lato';
                    font-size: 14px;
                    font-weight: 400;
                    color: #d8d8d8;
                    text-transform: uppercase;
                    margin: 0 0 15px 0;
                }

                .footer .content .contacts > .contact-block > div {
                    font-size: 12px;
                }

                    .footer .content .contacts > .contact-block > div.phone a,
                    .footer .content .contacts > .contact-block > div.mail a {
                        font-size: 16px;
                        text-decoration: none;
                        color: #7a7a7a;
                    }

                        .footer .content .contacts > .contact-block > div.phone a:hover,
                        .footer .content .contacts > .contact-block > div.mail a:hover {
                            color: #eeeeee;
                        }

/* Карточки */
.cards {
    background: #e4e4e4 url(../content/hand.jpg) bottom center no-repeat;
    min-height: 700px;
    padding: 125px 25px;
}

    .cards h2 {
        text-align: center;
        padding: 0 0 65px 0;
    }

    .cards .elements {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 45px;
    }

        .cards .elements .element {
            position: relative;
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            align-items: center;
            gap: 25px;
            background: #FFFFFF99;
            border-radius: 20px;
            padding: 65px;
            box-sizing: border-box;
            -webkit-transition: all 0.5s ease;
            -moz-transition: all 0.5s ease;
            -ms-transition: all 0.5s ease;
            -o-transition: all 0.5s ease;
            transition: all 0.5s ease;
        }

            .cards .elements .element:before {
                position: absolute;
                top: 25px;
                right: 180px;
                content: '';
                display: block;
                width: 100px;
                height: 22px;
                background: url(../content/card_points.png) top left no-repeat;
                background-size: 100% auto;
            }

            .cards .elements .element:hover {
                background: #FFFFFF;
            }

            .cards .elements .element .text {
                flex: 1 1 auto;
                font-size: 16px;
                line-height: 21px;
            }

                .cards .elements .element .text h4 {
                    padding: 0 0 15px 0;
                }

            .cards .elements .element .icon {
                display: flex;
                align-items: center;
                justify-content: center;
                flex: 0 0 100px;
                min-height: 100px;
                opacity: 0.8;
            }

                .cards .elements .element .icon img {
                    display: block;
                    width: 100%;
                    height: auto;
                }

/* Продукт */
.product {
    display: flex;
    flex-direction: column;
    background: #050505 url(../content/product-bg.jpg) bottom right no-repeat;
    padding: 125px 75px;
}

    .product .content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 500px;
        color: #dddddd;
        flex: 1 1 auto;
    }

        .product .content h2 {
            display: flex;
            flex-wrap: nowrap;
            align-items: center;
            padding: 0 0 55px 0;
            color: #ffffff;
        }

            .product .content h2 img {
                margin-right: 20px;
            }

        .product .content ul {
            list-style: none;
            margin: 0;
            padding: 0;
            max-width: 790px;
        }

            .product .content ul li {
                font-size: 18px;
                position: relative;
                display: block;
                padding: 4px 4px 4px 40px;
                overflow: hidden;
                margin: 0 0 5px 0;
            }

                .product .content ul li:before {
                    position: absolute;
                    left: 0;
                    top: 0;
                    content: '';
                    display: block;
                    width: 25px;
                    height: 25px;
                    background: url(../content/check.svg) bottom right no-repeat;
                    background-size: 100% auto;
                }


/* Стартовый экран */
.start-screen {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 425px;
    padding: 125px 75px;
    background: #282828;
    z-index: 0;
}

    .start-screen:before {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: block;
        content: '';
        background: url(../content/start-screen-bg.jpg) bottom right no-repeat;
        background-size: auto 115%;
    }

    .start-screen .content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        color: #dddddd;
        flex: 1 1 auto;
        z-index: 1;
    }

        .start-screen .content h1 {
            padding: 0 0 55px 0;
            color: #ffffff;
        }

        .start-screen .content ul {
            list-style: none;
            margin: 0;
            padding: 0;
            max-width: 790px;
        }

            .start-screen .content ul li {
                font-size: 18px;
                position: relative;
                display: block;
                padding: 4px 4px 4px 40px;
                overflow: hidden;
                margin: 0 0 5px 0;
            }

                .start-screen .content ul li:before {
                    position: absolute;
                    left: 0;
                    top: 0;
                    content: '';
                    display: block;
                    width: 25px;
                    height: 25px;
                    background: url(../content/check.svg) bottom right no-repeat;
                    background-size: 100% auto;
                }
