body {
    margin: 0;
    background-image: url('/img/fon.jpg');
    background-size: cover;
    background-attachment: fixed;
    font-family: Verdana;
    font-size: 16px;
    padding: 10px;
}

    @media screen and (max-width: 800px) {
        body {
            padding: 0;
        }
    }

h1 {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin: 0 0 30px 0;
    color: #008000;
}

p {
    margin: 0 0 25px 0;
}

iframe {
    max-width: 100%;
}

img {
    max-width: 100%;
}

.wrapper {
    width: 100%;
    overflow: hidden;
    max-width: 990px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85);
    border: 2px #6ac450 ridge;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(100, 100, 100, .1), -23px 0 20px -23px rgba(100, 100, 100, .4), 23px 0 20px -23px rgba(100, 100, 100, .4), 0 0 20px rgba(100, 100, 100, .05) inset;
}
    @media screen and (max-width: 800px) {
        .wrapper {
            border: none;
            border-radius: 0;
        }
    }

.header {
    padding: 25px 30px 0 30px;
    width: 100%;
    box-sizing: border-box;
}

    .header__inner {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: stretch;

        width: 100%;
        box-sizing: border-box;
        border-bottom: 1px solid #999999;
        padding-bottom: 25px;
    }

        .header__logo {
            flex-grow: 0;
            flex-shrink: 0;

            margin-right: 25px;
            box-sizing: border-box;
            border: 1px #6ac450 ridge;
            border-radius: 10px;
            overflow: hidden;
        }

            .header__logo img {
                display: block;
                width: 100px;
            }


        .header__else {
            flex-grow: 1;
            flex-shrink: 0;

            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: stretch;

            box-sizing: border-box;
        }

            .header__contacts {
                flex-grow: 0;
                flex-shrink: 0;

                text-align: right;
                box-sizing: border-box;
                color: #1e70aa;
                font-weight: bold;
            }

                .header__name {
                    color: #008000;
                    font-weight: bold;
                }

                .header__phone {
                    color: #e44a12;
                    font-weight: bold;
                }

            .header__menu {
                flex-grow: 0;
                flex-shrink: 0;

                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                justify-content: center;
                align-items: flex-start;

                text-align: center;
                padding-bottom: 0;
                box-sizing: border-box;
            }

                .header__menu-item {
                    display: block;
                    padding: 15px 20px;
                    flex-grow: 0;
                    flex-shrink: 0;
                    text-decoration: none;
                    margin-bottom: -15px;
                    color: #000000;
                }

                .header__menu-item:hover {
                    color: #ff0000;
                }

.content {
    padding: 30px 30px;
    min-height: 300px;
}
    
    .content :last-child {
        margin-bottom: 0 !important;
    }

    .content__block {
        display: block;
        max-width: 100%;
        margin: 30px auto;
    }

    .content__block_center {
        display: block;
        max-width: 100%;
        margin: 30px auto;
        text-align: center;
    }

.footer {
    box-sizing: border-box;
    padding: 20px 30px 20px 30px;
}

    .footer__copyrights {
        font-size: 12px;
        border-top: 1px solid #999999;
        padding-top: 15px;
        box-sizing: border-box;
    }

@media screen and (max-width: 800px) {
    .header {
        padding: 15px 15px 0 15px;
    }

    .header__inner {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;

        padding-bottom: 15px;
    }

    .header__logo {
        margin-right: 0;
    }

    .header__else {
        justify-content: flex-start;
        align-items: center;
    }

    .header__contacts {
        margin-top: 15px;
        text-align: center;
    }

    .header__menu-item {
        padding: 15px 10px;
        margin-bottom: -15px;
    }

    .content {
        padding: 30px 15px;
        min-height: 100px;
    }

    .footer {
        padding: 20px 15px 20px 15px;
    }
}
