@import "reset.css?v=0.6";



header {
    border-bottom: 1px solid var(--color-main_green);
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 115px;
}
header button {
    padding: 12px 40px;
    border-radius: 27px;
    border: 1px solid var(--color-main_green);
    transition: all .4s;
    cursor: pointer;
    background-color: #fff;
    font-size: 20px;
}
header button:hover {
    background-color: var(--color-main_green);
    color: #FFF;
}
.logo {
    height: 90px;
}
.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
.menu a {
    font-weight: 500;
    font-size: 18px;
    position: relative;
}
.menu a:after {
    display: block;
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--color-main_green);
    content: "";
    transition: width 0.3s ease-out;
}
.menu a:focus:after,
.menu a:hover:after{
    width: 100%; /*устанавливаем значение 100% чтобы ссылка подчёркивалась полностью*/
}
.link img {
    width: 40px;
    transition: all .3s;
}
.link img:hover {
    transform: scale(1.15);
}
.link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
#main {
    background-image: url(../img/main_fon.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    height: calc(100vh - 115px);
    position: relative;
}
.main_text {
    position: absolute;
    left: 166px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    padding: 40px;
}
h1 {
    font-size: 60px;
    width: 674px;
}
.main_text a {
    margin: 30px 0 0 0;
    display: flex;
    background-color: #fff;
    width: 215px;
    height: 50px;
    border-radius: 25px;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 20px;
    cursor: pointer;
}
.about {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    flex-direction: row-reverse;
}
.about img {
    width: 517px;
}
h2 {
    font-size: 46px;
    text-align: left;
    color: var(--color-main_green);
    margin: 0 0 20px 0;
}
h3 {
    font-size: 31px;
    color: var(--color-main_green);
    margin: 20px 0;
}
.about_text p {
    font-size: 18px;
    line-height: 162%;
}
.attes_a {
    margin: 30px 0 0 0;
    display: block;
    font-size: 18px;
    text-decoration: underline;
}
.map {
    width: 67%;
    height: 500px;
}














#info {
    padding: 40px 0;
    background-color: #d5d5d5;
}
#info p {
    font-size: 23px;
    margin: 5px 0;
}
#info li {
    font-size: 18px;
    margin: 7px 0 7px 20px;
    list-style-type: disc;
}
#info li::marker {
    color: var(--color-main_green);
}




#contact {
    padding: 40px 0;
}
.contact {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    margin: 40px 0 0 0;
}
.contact_text-item {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
    margin: 0 0 50px;
}
.contact_text a {
    text-decoration: underline;
}
#contact {
    background: linear-gradient(180deg, #D5D5D5 0%, #FFFFFF 100%);
}
.map_track {
    margin: -36px 0 43px 0;
    display: block;
}
section {
    padding: 40px 0;
}
footer {
    background-color: #555555;
    padding: 30px 0 15px;
}
footer .menu a {
    color: #fff;
}
.footer_text p {
    text-align: center;
    font-size: 14px;
    font-weight: 300;
    color: #c1c1c1;
    width: 80%;
    margin: 0 auto;
    border-top: 1px solid gray;
    padding: 15px 0 0 0;
}
.logo_box {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background-color: #fff;
    border-radius: 50%;
    width: 127px;
    height: 127px;
}
.logo_box a {
    margin: 3px 0 0 0;
}





.popup__main {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.6);
}
.popup__main.act {
    display: block;
}
.popup-content {
    position: fixed;
    text-align: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 37%;
    padding: 28px 50px;
    color: #000;
    background-color: #fff;
    border-radius: 24px;
    box-shadow: 0px 0 9px #fff;
}
.popup-close {
    position: absolute;
    top: 3px;
    right: 4px;
    width: 39px;
    color: var(--color-main_green);
    text-align: center;
    border: none;
    background-color: transparent;
    font-size: 35px;
    cursor: pointer;
    margin: 0;
    padding: 0;
    transition: all 0.5s ease;
}
.input__box {
    margin: 0 auto;
    text-align: left;
}
.popup-title-center {
    color: var(--color-main_green);
    font-size: 26px;
    margin: 0 0 29px;
}
.input__box legend {
    font-size: 18px;
    font-weight: 500;
    margin: 19px 0 10px;
}
.popup-request {
    width: 100%;
    height: 50px;
    border-radius: 24px;
    border: 1px solid var(--color-main_green);
    padding: 20px;
}
.input__box button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 0;
    width: 200px;
    color: #000;
    }






/* @media screen and (min-width: 1200px) {
    .container {
        width: 1100px;
    }
} */
@media screen and (max-width: 1200px) {
    .container {
        width: 950px;
    }
}
@media screen and (max-width: 992px) {
    .container {
        width: 720px;
    }
    .main_text {
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 11px;
    }
    header button {
        padding: 10px 31px;
        border-radius: 27px;
        border: 1px solid var(--color-main_green);
        transition: all .4s;
        cursor: pointer;
        background-color: #fff;
        font-size: 16px;
    }
    .menu a {
        font-weight: 500;
        font-size: 16px;
        position: relative;
    }
    h1 {
        font-size: 50px;
        width: 100%;
    }
    .about img {
        width: 100%;
    }
    .about {
        flex-direction: column;
    }
    .contact {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 50px;
        margin: 40px 0 0 0;
        flex-direction: column;
    }
    .map {
        width: 100%;
    }
    .popup-content {
        width: 60%;
    }
}
@media screen and (max-width: 768px) {
    .container {
        width: 520px;
    }
    .menu {
        display: none;
    }
    h1 {
        font-size: 36px;
        width: 100%;
    }
    .main_text a {
        width: 192px;
        font-size: 17px;
    }
    .footer .menu {
        display: flex;
        flex-direction: column;
        gap: 23px;
    }
    .footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 184px;
    }
}
@media screen and (max-width: 576px) {
    .container {
        width: 95%;
    }
    .main_text {
        padding: 20px;
    }
    h1 {
        font-size: 26px;
        width: 100%;
    }
    .main_text a {
        width: 172px;
        font-size: 15px;
        height: 48px;
    }
    h2 {
        font-size: 30px;
        text-align: left;
        color: var(--color-main_green);
        margin: 0 0 20px 0;
    }
    .logo {
        height: 69px;
    }
    .logo_box {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        background-color: #fff;
        border-radius: 50%;
        width: 108px;
        height: 108px;
    }
    header .header {
        height: 86px;
    }
    #main {
        height: calc(100vh - 86px);
    }
    .popup-content {
        width: 80%;
        padding: 21px 32px;
    }
}
@media screen and (max-width: 420px) {
    h3 {
        font-size: 20px;
        color: var(--color-main_green);
        margin: 13px 0;
    }
    #info li {
        font-size: 15px;
        margin: 5px 0 5px 14px;
        list-style-type: disc;
    }
    .attes_a {
        margin: 18px 0 0 0;
        display: block;
        font-size: 15px;
        text-decoration: underline;
    }
    section {
        padding: 30px 0;
    }
    h2 {
        font-size: 28px;
        text-align: left;
        color: var(--color-main_green);
        margin: 0 0 10px 0;
    }
    .about_text p {
        font-size: 15px;
        line-height: 147%;
    }
    .about {
        gap: 25px;
    }
    .contact_text-item {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 20px;
        margin: 0 0 20px;
    }
    .map_track {
        margin: -10px 0 17px 0;
        display: block;
    }
    .contact_text-item p {
        font-size: 14px;
    }
    .contact_text a {
        text-decoration: underline;
        font-size: 14px;
    }
    .contact {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 25px;
        margin: 30px 0 0 0;
        flex-direction: column;
    }
    .map {
        height: 400px;
    }
    .footer_text p {
        text-align: center;
        font-size: 9px;
        font-weight: 300;
        color: #c1c1c1;
        width: 80%;
        margin: 0 auto;
        border-top: 1px solid gray;
        padding: 15px 0 0 0;
    }
}
@media screen and (max-width: 374px) {
    h1 {
        font-size: 23px;
        width: 100%;
    }
    .link img {
        width: 26px;
        transition: all .3s;
    }
    header button {
        padding: 7px 21px;
        border-radius: 27px;
        border: 1px solid var(--color-main_green);
        transition: all .4s;
        cursor: pointer;
        background-color: #fff;
        font-size: 12px;
    }
    .main_text a {
        width: 140px;
        font-size: 13px;
        height: 41px;
    }
    footer .logo {
        height: 57px;
    }
    .logo_box {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        background-color: #fff;
        border-radius: 50%;
        width: 87px;
        height: 87px;
    }
    .footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 110px;
    }
    .footer .menu {
        display: flex;
        flex-direction: column;
        gap: 9px;
    }
    .menu a {
        font-weight: 500;
        font-size: 13px;
        position: relative;
    }
    .popup-title-center {
        color: var(--color-main_green);
        font-size: 21px;
        margin: 0 0 21px;
    }
    .input__box legend {
        font-size: 14px;
        font-weight: 500;
        margin: 19px 0 10px;
    }
    .popup-request {
        width: 100%;
        height: 40px;
        border-radius: 24px;
        border: 1px solid var(--color-main_green);
        padding: 15px;
    }
    .input__box button.close1 {
        height: 40px;
        font-size: 14px;
        width: 100%;
    }
}
