.header {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 50;
    width: 100%
}

.header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    box-shadow: 3px 4px 4px 0 rgba(2, 59, 123, .3);
    background-color: #f0f0f0
}

.header__body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px
}

.header__logo {
    position: relative;
    z-index: 3;
 /*  width: 500px; */
    font-weight: 700;
    text-align: center;
    color: var(--primary-color)
}

.header__menu {
    display: flex;
    justify-content: flex-end;
    width: 80%
}

.header__list {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center
}

.header__list Li:not(:last-child) {
    margin-right: 30px
}

.header__link {
    position: relative;
    color: var(--primary-color);
    transition: color .3s ease-in-out
}

.header__link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background-color: var(--color-hover);
    transition: .3s ease-in-out
}

.header__link:hover {
    color: var(--color-hover)
}

.header__link:hover::before {
    width: 100%
}

.footer {
    display: flex;
    flex-direction: column;
    padding: var(--large-offset) 0;
    text-align: center;
    color: var(--color-white);
    background-color: var(--primary-color)
}

.footer__logo {
    font-weight: 700;
    color: var(--color-white);
    font-size: calc(22px + 8 * ((100vw - 360px)/ 1560))
}

.footer__list {
    display: flex
}

.footer__list li:not(:last-child) {
    margin-right: 30px
}

.footer__link {
    color: var(--color-white);
    transition: color .3s ease-in-out
}

.footer__link:hover {
    color: #a7a7a7
}

:root {
    --primary-color: #023b7b;
    --color-white: #fff;
    --color-black: #000;
    --color-gray: #a0a0a0;
    --color-lightgray: #f0f0f0;
    --color-hover: #a00106;
    --small-offset: 10px;
    --medium-offset: 20px;
    --large-offset: 30px
}

.custom-checkbox__field:checked+.custom-checkbox__content::after {
    opacity: 1
}

.custom-checkbox__field:focus+.custom-checkbox__content::before {
    outline: red solid 2px;
    outline-offset: 2px
}

.custom-checkbox__field:disabled+.custom-checkbox__content {
    opacity: .4;
    pointer-events: none
}

.hero {
    position: relative;
    width: 100%;
    min-height: 80vh;
    background-image: url(../img/118-area-main-image.jpeg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat
}

.hero__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    min-height: 80vh;
    text-align: center;
    color: var(--color-white);
    background-color: #023a7b9f
}

.hero__title {
    font-size: calc(24px + 12 * ((100vw - 360px)/ 1560))
}

.hero__text {
    line-height: 140%;
    font-size: calc(20px + 4 * ((100vw - 360px)/ 1560))
}

.about {
    padding: 50px 0
}

.about__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px
}

.about-image {
    display: flex;
    justify-content: space-between;
    margin-right: 30px;
    width: 50%
}

.about-image img {
    border-radius: 4px;
    width: 50%;
    height: 500px;
    -o-object-fit: cover;
    object-fit: cover
}

.about-image img:nth-child(1) {
    margin-right: 20px
}

.about-image img:nth-child(2) {
    margin-top: 50px
}

.about-descr {
    width: 50%
}

.about-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: var(--large-offset) 0
}

.about-list li {
    list-style: none
}

.about-item {
    margin: 10px;
    max-width: 450px
}

.about-item__icon {
    margin-bottom: 30px;
    width: 100px;
    height: 100px
}

.about-item__icon svg {
    width: 100%;
    height: 100%;
    fill: #cfa900
}

.gallery__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center
}

.gallery__item {
    flex: 1 1 33.3%;
    margin: 0;
    height: 350px
}

.gallery__item img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

.location {
    padding: 50px 0
}

.location__container {
    display: flex;
    justify-content: space-between
}

.location__info {
    margin-right: 30px;
    width: 40%
}

.location__map {
    width: 60%;
    height: 400px
}

.location__map img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

.owners {
    padding: 100px 0
}

.owners__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center
}

.owners-list {
    flex: 1 1 45%;
    margin: 10px
}

.owners-list li {
    position: relative;
    padding-left: 20px;
    line-height: 140%;
    color: var(--color-gray)
}

.owners-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 15px;
    height: 15px;
    background-image: url(../img/list-item.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat
}

.owners-list li:not(:last-child) {
    margin-bottom: 10px
}

.owners-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: var(--small--offset) 0
}

.owners-contact a {
    text-transform: capitalize;
    color: var(--primary-color)
}

.owners-contact p {
    color: var(--color-hover)
}

.sublist {
    margin-top: 10px
}

.document {
    margin-bottom: 30px
}

.document-list {
    padding-left: 20px
}

.document-list li {
    list-style: disc
}

.document-list li:not(:last-child) {
    margin-bottom: var(--small-offset)
}

.document__link {
    text-transform: capitalize;
    color: var(--primary-color);
    transition: color .3s ease-in-out
}

.document__link:hover {
    color: var(--color-hover)
}

@media (max-width:850px) {
    .header__burger {
        position: relative;
        z-index: 3;
        display: block;
        width: 30px;
        height: 20px
    }
    .header__burger span {
        position: absolute;
        left: 0;
        top: 9px;
        border-radius: 4px;
        width: 100%;
        height: 2px;
        background-color: var(--primary-color);
        transition: .3s ease-in-out
    }
    .header__burger::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        border-radius: 4px;
        width: 100%;
        height: 2px;
        background-color: var(--primary-color);
        transition: .3s ease-in-out
    }
    .header__burger::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        border-radius: 4px;
        width: 100%;
        height: 2px;
        background-color: var(--primary-color);
        transition: .3s ease-in-out
    }
    .header__menu {
        position: fixed;
        right: -100%;
        top: 0;
        padding-top: 70px;
        width: 100%;
        height: 100%;
        background-color: var(--color-white);
        transition: .3s ease-in-out
    }
    .header__menu.active {
        right: 0
    }
    .header__body {
        height: 60px
    }
    .header__list {
        display: block;
        margin-top: 20px;
        padding-left: 40px;
        width: 100%
    }
    .header__list li:not(:last-child) {
        margin-right: 0;
        margin-bottom: 30px
    }
    .header__burger.active::before {
        top: 9px;
        transform: rotate(45deg)
    }
    .header__burger.active::after {
        bottom: 9px;
        transform: rotate(-45deg)
    }
    .header__burger.active span {
        transform: scale(0)
    }
    .header body.lock {
        overflow: hidden
    }
}

@media (max-width:768px) {
    .about__container {
        flex-direction: column;
        margin-bottom: var(--medium-offset)
    }
    .about-image {
        flex-direction: column;
        justify-content: center;
        margin-right: 0;
        margin-bottom: var(--small-offset);
        width: 100%
    }
    .about-image img {
        width: 80%
    }
    .about-image img:nth-child(1) {
        align-self: flex-start;
        margin-right: auto
    }
    .about-image img:nth-child(2) {
        margin-top: 10px;
        margin-left: auto
    }
    .about-descr {
        width: 100%
    }
    .about-item {
        max-width: 100%
    }
    .footer__list {
        flex-wrap: wrap;
        justify-content: center
    }
    .footer__list li {
        margin: 10px
    }
    .footer__list li:not(:last-child) {
        margin-right: 0
    }
}

@media (max-width:600px) {
    .hero__inner {
        width: 100%
    }
    .owners-list {
        flex: 1 1 100%;
        margin: 0
    }
    .owners-list:not(:last-child) {
        margin-bottom: 10px
    }
    .location__container {
        flex-direction: column
    }
    .location__info {
        margin-right: 0;
        margin-bottom: var(--small-offset);
        width: 100%
    }
    .location__map {
        width: 100%;
        height: auto
    }
}

@media (max-width:500px) {
    .gallery__item {
        flex: 1 1 100%;
        height: 100%
    }
    .about-image img {
        width: 100%;
        height: auto
    }
}