* {
    box-sizing: border-box;
}

@font-face {
    font-family: "Philosopher-Regular";
    src: local();
    srd: url("../fonts/Philosopher-Regular.ttf");
}

@font-face {
    font-family: "Roboto-Regular";
    src: local("Roboto");
    src: url("../fonts/Roboto-Regular.eot");
    src: url("../fonts/Roboto-Regular.eot?#iefix") format("embedded-opentype"),
        url("../fonts/Roboto-Regular.woff") format("woff"),
        url("../fonts/Roboto-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Roboto-Bold";
    src: url("../fonts/Roboto-Bold.eot");
    src: url("../fonts/Roboto-Bold.eot?#iefix") format("embedded-opentype"),
        url("../fonts/Roboto-Bold.woff") format("woff"),
        url("../fonts/Roboto-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

html {
    font-family: "Roboto-Regular";
}

body {
    background-color: #ffe2b0;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

ul {
    list-style-type: none;
    text-align: center;
    padding: 0px;
}

li {
    display: inline;
    margin-right: 100px;
}

a {
    color: black;
    text-decoration: none;
    font-size: 18px;
    margin-top: 50px;
}

li:last-child {
    margin-right: 0px;
}

nav {
    margin-bottom: 20px;
    font-family: "Roboto-Bold";
}

.section-about {
    height: 640px;
    background: url(../img/01-Картинка-фона.jpg) center/cover no-repeat;
    position: relative;
    margin-bottom: 20px;
}

.section-about__block {
    width: 420px;
    height: 190px;
    background: linear-gradient(
        180deg,
        rgba(244, 213, 178, 0.8) 0%,
        rgba(234, 156, 65, 0.8) 100%
    );
    position: absolute;
    top: 54%;
    left: 50%;
    text-align: center;
    padding-top: 15px;
}

.section-about__border {
    width: 390px;
    height: 160px;
    border: 1px solid black;
    margin: 0 auto;
    padding: 17px 0 0 28px;
    text-align: left;
}

.section-about__title {
    font-size: 36px;
    margin: 0;
    margin-bottom: 9px;
    font-family: "Philosopher-Regular";
}

.section-about__text {
    font-size: 12px;
    margin: 0;
}

.section-description__icon-box {
    text-align: center;
}

.section-description__icon-box img {
    margin-right: 76px;
    margin-bottom: 20px;
}

.section-description__icon-box img:last-child {
    margin-right: 0;
}

.section-description__title {
    font-size: 96px;
    margin: 0;
    text-align: center;
    font-family: "Philosopher-Regular";
}

.section-description__span {
    color: #f15b40;
}

.section-description__text {
    font-size: 18px;
    margin: 0 auto;
    text-align: center;
    width: 1000px;
}

.section-description {
    margin-bottom: 20px;
}

.section-map__title {
    margin-bottom: 20px;
    text-align: center;
    font-size: 36px;
    font-family: "Philosopher-Regular";
}

.section-map {
    margin-bottom: 20px;
}

iframe {
    display: block;
    margin: 0 auto;
}

hr {
    border: none;
    border-top: 1px solid #999999;
    width: 1024px;
    margin: 0 auto;
    margin-bottom: 20px;
}

footer {
    height: 33px;
    font-family: "Roboto-Bold";
}




/* ============================================================
   RESPONSIVE — the layout used fixed pixel widths (420/1000/1024px,
   96px title, 100px nav gaps) that overflow small screens. Cap media
   to the container and make the fixed blocks fluid below.
   ============================================================ */
img,
iframe {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 22px;
    }
    li {
        margin-right: 0;
    }

    .section-about {
        height: 440px;
    }
    .section-about__block {
        width: 90%;
        max-width: 420px;
        height: auto;
        left: 50%;
        transform: translateX(-50%);
        padding-bottom: 16px;
    }
    .section-about__border {
        width: 100%;
        height: auto;
        padding: 16px;
        text-align: center;
    }
    .section-about__title {
        font-size: 28px;
    }

    .section-description__title {
        font-size: 44px;
    }
    .section-description__text {
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
        font-size: 16px;
    }
    .section-description__icon-box img {
        margin-right: 22px;
        max-width: 56px;
    }

    .section-map__title {
        font-size: 28px;
    }
    hr {
        width: 90%;
    }
}

@media (max-width: 420px) {
    .section-description__title {
        font-size: 34px;
    }
}
