@font-face {
    font-family: GothamPro;
    src: url(../fonts/GothamPro.woff);
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: GothamPro;
    src: url(../fonts/GothamPro-Bold.woff);
    font-style: normal;
    font-weight: bold;
    font-display: swap;
}

@font-face {
    font-family: GothamPro;
    src: url(../fonts/GothamPro-BoldItalic.woff);
    font-style: italic;
    font-weight: bold;
    font-display: swap;
}


@font-face {
    font-family: GothamPro;
    src: url(../fonts/GothamPro-Italic.woff);
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: GothamPro;
    src: url(../fonts/GothamPro-MediumItalic.woff);
    font-style: italic;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

body {
    font-family: GothamPro, Arial, Helvetica, sans-serif;
    font-size: 19px;
    color: #ffffff;
    background-color: #000;
    overflow-x: hidden;
}
body.menu-open {
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    @media (max-width: 400px) {
        padding: 0 16px;
    }
}

.header {
    background-color: rgba(62, 58, 58, 0.9);
    border-bottom: 1px solid #72706f;
    position: fixed;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 100px;
    @media (max-width: 768px) {
        height: 80px;
    }
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    width: 151px;
    height: auto;
    @media (max-width: 768px) {
        width: 120px;
    }
}

.nav ul.active ~ .nav_close {
    @media (max-width: 1180px) {
        display: inline-block;
    }
}

.nav_toggle, .nav_close {
    background: none;
    border: 0;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    display: none;
}
.nav_toggle {
    @media (max-width: 1180px) {
        display: inline-block;
    }
}
@media (max-width: 678px) {
    .header .contact a span {
        display: none;
    }
}
.nav_close {
    font-weight: normal;
    font-size: 52px;
    position: fixed;
    top: 14px;
    left: 30px;
    z-index: 999;
}

.nav_close span {
    display: inline-block;
    transform: rotate(45deg);
}

.nav ul {
    display: flex;
    list-style: none;
    height: 100%;
    justify-content: center;
    align-items: center;
    gap: 25px;
    @media (max-width: 1180px) {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100%;

        background: rgba(0,0,0,0.9);
        padding: 100px 30px 30px;

        transform: translateX(-100%);
        transition: transform 0.5s ease;

        z-index: 998;
    }
}

.nav ul.active {
    @media (max-width: 1180px) {
        transform: translateX(0);
        transition: transform 0.5s ease;
    }
}

.nav li {
    letter-spacing: 0.5px;
    position: relative;
    @media (max-width: 1180px) {
        margin-bottom: 30px;
        font-size: 18px;
    }


}

.nav a {
    text-decoration: none;
    color: #ffffff;

}

.nav a:hover {
    color: #fcd80e;
}

.header .contact a {
    color: #ffffff;
    font-style: italic;
    font-weight: bold;
    font-size: 23px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;

}

.nav li a::before { /* подчеркивание меню*/
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: hsl(54, 100%, 50%);
    transition: .4s;
    transform: scale(0);
    left: 0;
    bottom: -15px;
}

.nav li a:hover::before {
    transform: scale(1);
}

.adress {
    background-image: url(../img/fon4_2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.adress.no-bg {
    background-image: none;
}

.map {
    width: 713px;
    height: 475px;
    border: #efc10a 5px solid;
    box-sizing: border-box;
    overflow: hidden;
    @media (max-width: 1152px) {
        order: 1;
        width: 100%;
        margin-top: 30px;
    }
    @media (max-width: 425px) {
        border: #efc10a 4px solid;
    }
}

.ymaps {
    width: 100% !important;
}
.ymaps-2-1-79-inner-panes {
    filter: invert(87%) hue-rotate(180deg);
}

.ymaps-2-1-79-copyright__content-cell,
.ymaps-2-1-79-gototech {
    display: none !important;
}

.adress .container {
    display: flex;
    @media (max-width: 1152px) {
        flex-direction: column;
    }
}

.adress__list {
    margin-left: 40px;
    list-style: none;
    margin-top: 40px;
    @media (max-width: 1152px) {
        gap: 15px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        margin-left: 0;
    }
    @media (max-width: 828px) {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 15px;
        row-gap: 30px;
        margin-top: 30px;
    }
    @media (max-width: 650px) {
        grid-template-columns: 1fr;
        row-gap: 35px;
        margin-top: 25px;
    }
}

.adress__item {
    position: relative;
    margin-bottom: 80px;
    padding-left: 95px;
    @media (max-width: 1152px) {
        padding-left: 66px;
        margin-bottom: 0;
        font-size: 16px;
    }
}

.adress__item h4 {
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 2px;
    margin-bottom: 10px;
    @media (max-width: 1152px) {
        font-size: 18px;
        margin-bottom: 6px;
    }
    @media (max-width: 768px) {
        font-size: 16px;
    }
}

.adress__item p {
    font-size: 18px;
    line-height: 26px;
    @media (max-width: 1152px) {
        font-size: 16px;
        line-height: 23px;
    }

    @media (max-width: 768px) {
        font-size: 16px;
    }
}

.adress__item a {
    list-style: none;
    color: #fff;
    font-size: 23px;
    text-decoration: none;
    @media (max-width: 1152px) {
        font-size: 21px;
    }
}

.adress__item:nth-child(1)::before {
    background-image: url(../img/adress/adress.png);

}

.adress__item:nth-child(2)::before {
    background-image: url(../img/adress/tel_tel.png);

}

.adress__item:nth-child(3)::before {
    background-image: url(../img/adress/pis.png);

}


.adress__item::before {
    content: "";
    display: block;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #efc10a;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 1152px) {
    .adress__item::before {
        left: 0;
        top: 0;
        transform: none;
        width: 50px;
        height: 50px;
        background-size: 30px auto;
    }

}


.timetable {
    background-image: url(../img/fon5.jpg?v=123);
    background-position: top left -230px;
    display: flex;
    justify-content: space-around;
    background-repeat: no-repeat;
    max-width: 1100px;
    margin: 0 auto;
    @media (max-width: 678px) {
        flex-direction: column;
    }
}
.timetable.no-bg {
    background-image: none;
}
@media (max-width: 926px) {
    .timetable .time-wrapper p {
        font-size: 17px;
    }
}
.timetable .time-wrapper {
    display: flex;
    @media (max-width: 678px) {
        display: flex;
        justify-content: space-around;
    }
}

.timetable p {
    font-size: 20px;
    margin-top: 20px;
    @media (max-width: 678px) {
        font-size: 18px;
        text-align: center;
    }
    @media (max-width: 375px) {
        margin-left: 20px;
    }

}

@media (max-width: 375px) {
    .timetable ul:not(.time) {
        margin-left: 0;
    }
}

.timetable ul {
    list-style: none;
    margin-top: 10px;
    margin-left: 20px;
    margin-bottom: 0;
    font-size: 22px;
    @media (max-width: 926px) {
            font-size: 19px;
            padding: 0;
        }
    @media (max-width: 678px) {
        list-style: none;
        margin-top: 15px;
        margin-left: 10px;
        margin-bottom: 20px;
        font-size: 18px;
    }
}

.timetable ul li {
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.timetable ul li:last-child {
    padding-left: 6px;
}

.timetable .color {
    background-color: #755f07;
    padding-left: 5px;
}

.timetable .wrapper_time {
    display: flex;
    @media (max-width: 678px) {
            justify-content: space-around;
    }
}

.timetable ul .time {
    @media (max-width: 926px) {
        padding: 0;
    }
    @media (max-width: 678px) {
            font-size: 20px;
    }
}

@media (max-width: 926px) {
    .social_network {
        order: 1;
    }
    .timetable {
        flex-direction: column;
        text-align: center;
    }
    .time-wrapper {
        justify-content: center;
    }

}
@media (max-width: 425px) {
    .timetable .time-wrapper p {
        margin-bottom: 0;
    }
    .timetable {
        background-image: none;
    }
    .timetable ul {
        margin-bottom: 5px;
    }
    ul.time {
        margin-left: 0;
    }
}
@media (max-width: 520px) {
    .time-wrapper {
        flex-direction: column;
    }
    .timetable .time-wrapper p {
        font-size: 19px;
        margin-left: auto;
        margin-right: auto;
    }
}

.social_network p {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    font-size: 16px;
    @media (max-width: 926px) {
        margin-top: 28px;
        border-top: 1px solid #68696b;
        padding-top: 10px;
    }
    @media (max-width: 425px) {
        font-size: 16px;
    }
    @media (max-width: 375px) {
        margin-left: 0;
    }
}

@media (max-width: 425px) {
    .social_network p a:first-child {
        padding-left: 5px;
    }

    .social_network p img {
        width: 35px;
    }
}

.social_network img {
    width: 50px;
    height: auto;
}

.new {
    border-top: 1px solid #413f3f;

}

.new p {
    font-size: 14px;
    letter-spacing: 1px;
    color: rgb(187, 184, 184);
    padding: 10px 20px;
    max-width: 1100px;
    margin: 10px auto;
    @media (max-width: 768px) {
        text-align: center;
    }
}

