﻿@font-face {
    font-family: 'Cuprum-Regular';
    src: url('fonts/Cuprum-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Cuprum-Italic';
    src: url('fonts/Cuprum-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-size: 16px;
}

body {
    position: relative;
    overflow: hidden;
    z-index: -2;
}

.header {
    width: 100%;
    height: 70px;
    background-color: #4f4653;
    position: fixed;
    top: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header__mobile {
    position: fixed;
    top: 69px;
    left: 0px;
    width: 100%;
    background-color: #4f4653;
    display: none;

}
.header__center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.header__wrapper {
    position: relative;
    width: 1307px;
    padding: 0 20px 0 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header__logoBlock {
    position: relative;
    width: 160px;
    height: 55px;
}
.header__logo {
    position: absolute;
    left: 0px;
    bottom: 0px;
    cursor: pointer;
}
.header__logoName {
    position: absolute;
    left: 65px;
    bottom: 0px;
    opacity: 0;
    transition: 1s;
}
.header__mobileAbout {
    margin: 15px;
}
.header__about {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 180px;
}
.youtube {
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: inline-block;
    overflow: hidden;
    transition: all 200ms ease-out;
    cursor: pointer;
}
.youtube .play {
    background: url('../img/youtube-play-btn.png') no-repeat;
    background-position: 0 -50px;
    -webkit-background-size: 100% auto;
    background-size: 100% auto;
    position: absolute;
    height: 50px;
    width: 69px;
    transition: none;
    top:0;
    left:0;
    right:0;
    bottom:0;
    margin:auto;
}
.youtube:hover .play {
    background-position: 0 0;
}
.aboutBtn {
    transition: .2s;
    border-bottom: 0px solid white;
}
.aboutBtn:hover {
    border-bottom: 2px solid white;
}
.header__menuBtn i{
    color: white;
    font-size: 30px;
    display: none;
}
.header__menuClose i {
    color: white;
    font-size: 30px;
    margin: 20px;
    width: 26.25px;
}
.header__icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 2px;
}
.header__iconsSocial-fb {
    margin-right: 17px;
}
.header__iconsSocial-insta {
    margin-right: 19px;
}
.header__iconsLanguage {
    margin-left: 25px;
    margin-top: 5px;
    cursor: pointer;
    transition: .2s;
    border-bottom: 0px solid white;
}
.header__iconsLanguage:hover {
    border-bottom: 2px solid white;
}
.header__ukrLogo {
    opacity: 0;
    transition: 1s;
    cursor: pointer;
}

.main {
    padding-top: 70px;
    height: 100vh;
    width: 100%;
    background: url(img/bg.png);
    z-index: -1;
    position: relative; 
    overflow: hidden;
}
.wrapper {
    margin: 0 auto;
    max-width: 1107px;
    height: 100%;
    position: relative;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
}
.main__content {
    position: relative;
    width: 97.5%;
    transform: scale(0.93);
}
.main__ukr {
    position: absolute;
    top: 0;
    object-fit: contain;
    width: 100%;
}
.main__contentPodorozBlock {
    position: absolute;
    top: 11%;
    left: 30%;
}
.main__podoroz {
    animation-duration: 2s;
    cursor: pointer;
    outline: none;
}
.main__urkLogo {
    position: absolute;
    right: 20px;
    bottom: 20px;
}
.main__button {
    position: absolute;
    top: 60px;
    left: 205px;
    width: 30px;
    height: 30px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
}

.wrapper__map {
    display: none;
    margin: 0 auto;
    height: 100%;
    max-width: 1307px;
    padding: 10px 20px;
    justify-content: center;
    position: relative;
}
.map__content {
    width: 100%;
    display: inline;
    z-index: 1;
    position: relative;
}
.map__map {
    width: 82%;
    transform: scale(0.9);
    margin-top: -2%;
    margin-right: 6%;
    float: right;
}
.map__bgText {
    position: fixed;
    top: 70px;
    height: 90%;
    object-fit:cover;
}
.map__infoIcons {
    position: absolute;
    bottom: 30px;
    left: 20px;
}

.map__button {
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0);
    border: none;
    /*border: 2px solid red;*/
    cursor: pointer;
    transition: .3s;
    outline: none;
}
.map__button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}
.map__button-kyiv {
    margin-top: 15.4%;
    margin-left: 21.1%;
}
.map__button-lybni {
    margin-top: 22.6%;
    margin-left: 50%;
}
.map__button-romodan {
    margin-top: 23.1%;
    margin-left: 53.5%;
}
.map__button-kybynci {
    margin-top: 23.8%;
    margin-left: 55%;
}
.map__button-mirgorod {
    margin-top: 23.1%;
    margin-left: 57%;
}
.map__button-garkyshinci {
    margin-top: 24.7%;
    margin-left: 56.5%;
}
.map__button-poltava {
    margin-top: 29.8%;
    margin-left: 67.8%;
}
.map__button-kharkiv {
    margin-top: 22.7%;
    margin-left: 82.9%;
}
.map__button-butenki {
    margin-top: 36.2%;
    margin-left: 62.9%;
}
.map__button-kobelyaki {
    margin-top: 37.8%;
    margin-left: 64.2%;
}
.map__button-kremenchuk {
    margin-top: 39.1%;
    margin-left: 54.8%;
}
.map__button-krykiv {
    margin-top: 39.5%;
    margin-left: 55.8%;
}
.map__button-loxvica {
    margin-top: 17%;
    margin-left: 51.7%;
}
.map__button-mlini {
    margin-top: 15.5%;
    margin-left: 52.7%;
}
.map__button-pisky {
    margin-top: 16.3%;
    margin-left: 54.7%;
}
.map__button-romni {
    margin-top: 9.6%;
    margin-left: 55%;
}
.map__button-zasylya {
    margin-top: 10.4%;
    margin-left: 55.7%;
}
.map__button-baxmach {
    margin-top: 2.7%;
    margin-left: 48.4%;
}

.map__cityName {
    position: absolute;
    width: 40px;
    height: 25px;
    background-color: transparent;
    border: none;
    /*border: 2px solid red;*/
    cursor: pointer;
    outline: none;
    z-index: 2;
}
.map__cityName-kyiv {
    margin-top: 11.5%;
    margin-left: 16%;
}
.map__cityName-lybni {
    margin-top: 20.6%;
    margin-left: 39.3%;
    width: 50px;
}
.map__cityName-romodan {
    margin-top: 16%;
    margin-left: 60.5%;
    width: 65px;
}
.map__cityName-kybynci {
    margin-top: 26.5%;
    margin-left: 44.5%;
    width: 65px;
}
.map__cityName-mirgorod {
    margin-top: 23%;
    margin-left: 64%;
    width: 70px;
}
.map__cityName-garkyshinci {
    margin-top: 38%;
    margin-left: 78%;
    width: 90px;
}
.map__cityName-poltava {
    margin-top: 30.5%;
    margin-left: 75.4%;
    width: 70px;
}
.map__cityName-kharkiv {
    margin-top: 24.5%;
    margin-left: 85.4%;
    width: 60px;
}
.map__cityName-butenki {
    margin-top: 48.4%;
    margin-left: 61.4%;
    width: 155px;
}
.map__cityName-kremenchuk {
    margin-top: 44.2%;
    margin-left: 41.5%;
    width: 160px;
}
.map__cityName-loxvica {
    margin-top: 14%;
    margin-left: 45.3%;
    width: 72px;
}
.map__cityName-mlini {
    margin-top: 11.4%;
    margin-left: 67.5%;
    width: 120px;
}
.map__cityName-romni {
    margin-top: 3.9%;
    margin-left: 59.7%;
    width: 140px;
}
.map__cityName-baxmach {
    margin-top: 4.5%;
    margin-left: 40.7%;
    width: 65px;
}

.map__cityIcon {
    position: absolute;
    height: 45px;
    transition: .7s;
    opacity: 0;
}
.map__cityIcon-kyiv {
    margin-top: 14.5%;
    margin-left: 15.7%;
    height: 35px;
}
.map__cityIcon-lybni {
    margin-top: 22.6%;
    margin-left: 27%;
    height: 40px;
}
.map__cityIcon-romodan {
    margin-top: 18.2%;
    margin-left: 60.5%;
    height: 50px;
}
.map__cityIcon-kybynci {
    margin-top: 28.4%;
    margin-left: 36.5%;
    height: 50px;
}
.map__cityIcon-mirgorod {
    margin-top: 25.3%;
    margin-left: 64%;
    height: 50px;
}
.map__cityIcon-garkyshinci {
    margin-top: 40.4%;
    margin-left: 78%;
    height: 50px;
}
.map__cityIcon-poltava {
    margin-top: 32.7%;
    margin-left: 75.6%;
    height: 50px;
}
.map__cityIcon-kharkiv {
    margin-top: 27%;
    margin-left: 81%;
    height: 50px;
}
.map__cityIcon-butenki {
    margin-top: 46.2%;
    margin-left: 74.9%;
    height: 50px;
}
.map__cityIcon-kremenchuk {
    margin-top: 46.2%;
    margin-left: 29.8%;
    height: 50px;
}
.map__cityIcon-loxvica {
    margin-top: 14%;
    margin-left: 31.8%;
    height: 50px;
}
.map__cityIcon-mlini {
    margin-top: 9.5%;
    margin-left: 78%;
    height: 50px;
}
.map__cityIcon-romni {
    margin-top: 2%;
    margin-left: 71.8%;
    height: 50px;
}
.map__cityIcon-baxmach {
    margin-top: 6.8%;
    margin-left: 41.3%;
    height: 35px;
}

.wrapper__city {
    width: 100%;
    height: 100%;
    display: none;
    position: absolute;
    top: 0;
    background: url(img/bg.png);
    padding-top: 70px;
    justify-content: center;
}
.block__content {
    width: 100%;
    display: flex;
    justify-content: center;
}
.block__info {
    height: 100%;
    width: 300px;
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: 0;
}
.block__infoHeader {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.block__infoImg {
    margin: 25px 0px 35px;
    max-height: 82px;
}
.block__infoContent {
    margin-top: 35px;
    width: 100%;
    height: 400px;
    padding: 0 20px 20px 20px;
    font-family: Cuprum-Regular;
    z-index: 10;
    overflow-y: scroll;
    overflow-x: hidden;
}
.block__infoContent a{
    display: block;
}
.block__infoText {
    font-size: 15px;
    word-wrap: break-word;
    margin: 10px 0 3px;
    color: #47434b;
}
.block__infoText a{
    color: #47434b;
}
.block__infoPhoto {
    max-height: 150px;
    max-width: 240px;
    object-fit: contain;
    margin-top: 10px;
    background: white;
    padding: 5px;
    border: 1px solid grey;
}
.block__infoUnderImgText {
    margin-top: 1px;
    font-family: Cuprum-Italic;
    color: #47434b;
}
.block__infoVideo {
    margin-top: 10px;
}
.block__map {
    position: relative;
    width: 1307px;
    padding: 25px 50px 25px 50px;
    display: flex;
    justify-content: center;
}
.block__mapImg {
    margin-left: 15%;
    object-fit: contain;
}
.block__mapClose {
    position: absolute;
    right: -50px;
    top: 50px;
    cursor: pointer;
}
.block__mapPrev {
    position: absolute;
    left: 250px;
    top: 30px;
    cursor: pointer;
}
.block__mapNext {
    position: absolute;
    right: -50px;
    bottom: 30px;
    cursor: pointer;
}

.wrapper__about {
    width: 100%;
    height: 100%;
    display: none;
    z-index: -10;
    position: absolute;
    top: 0;
    padding-top: 120px;
    background: url(img/bg.png);
    justify-content: center;
}
.about__content {
    margin: 0 auto 20px;
    max-width: 900px;
    height: 100%;
    position: relative;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.about__video {
    margin-bottom: 20px;
    width: 560px;
    height: 315px;
}
.about__text {
    font-family: Cuprum-Regular;
    width: 100%;
    text-align: center;
    font-size: 18px;
    color: #47434b;
}
.about__text a {
    font-size: 18px;
    font-family: Cuprum-Regular;
    color: #47434b;
}
.about__closeBtn {
    position: absolute;
    right: 30px;
    top: -30px;
    cursor: pointer;
}

.wrapper-enabled {
    display: flex;
    opacity: 1;
}
.wrapper-aboutEnabled {
    display: flex;
    opacity: 1;
    z-index: 10;
}
.wrapper-disabled {
    display: none;
    opacity: 0;
}

.wrapper-opacityZero {
    opacity: 0;
}
.wrapper-opacityOne {
    opacity: 1;
}

@media screen and (max-width: 1450px) {
    .block__mapImg {
       margin-left: 30%;
    }
}
@media screen and (max-width: 1250px) {
    body {
        overflow-y: scroll;
    }
    .main {
        overflow-y: auto;
        overflow-x: hidden;
    }
    .wrapper__city {
        margin-top: 0px;
        height: auto;
    }
    .block__content {
        flex-flow: column-reverse;
        align-items: center;
    }
    .block__info {
        height: 100%;
        width: 100%;
        position: relative;
        padding-bottom: 25px;
    }
    .block__infoContent {
        height: auto;
    }
    .block__map {
       padding: 25px 50px 25px 50px;
    }
    .block__mapImg {
        margin-top: 70px;
        margin-bottom: 70px;
        margin-left: 0%;
    }
    .block__mapClose {
        right: 0px;
        top: 30px;
    }
    .block__mapPrev {
        left: 0px;
        top: 30px;
    }
    .block__mapNext {
        right: 0px;
        bottom: 30px;
    }
}
@media screen and (max-width: 1100px) {
    .block__map {
        position: relative;
        width: 80%;
        padding: 25px 50px 25px 150px;
        display: flex;
        justify-content: center;
    }
}
@media screen and (min-width: 1150px) {
    .main__contentPodorozBlock {
        top: 8%;
    }
}
@media screen and (max-width: 1100px){
    .main__contentPodorozBlock {
        top: 5%;
        right: 10%;
        transform: scale(0.8);
    }
}
@media screen and (max-width: 960px) {
    .main__contentPodorozBlock {
        top: 8%;
        right: 15%;
        transform: scale(0.7);
    }
    .map__button {
        width: 20px;
        height: 20px;
    }
    .map__cityName {
        width: 30px;
        height: 15px;
    }
    .map__cityIcon {
        height: 20px;
    }
}
@media screen and (max-width: 950px) {
    .main {
        padding-top: 70px;
    }
    .header {
        height: 70px;
    }
    .header__wrapper {
        flex-direction: row;
        padding-left: 30px;
        justify-content: space-between;
    }
    .header__menuBtn i{
        display: block;
        cursor: pointer;
        margin: 20px;
    }
    .header__about {
        display: none;
    }
    .header__icons {
        display: none;
    }
    .header__icons {
        margin-left: 0px;
        margin-top:15px;
    }
    .header__logoBlock {
        position: relative;
        width: 160px;
        height: 55px;
    }
    .wrapper__city {
        padding-top: 75px;
    }
    .header__icons-map {
        margin-bottom: 10px;
    }
    .header__ukrLogo-map {
        display: block;
        opacity: 1;
    }
    .main__contentPodorozBlock {
        top: 2%;
        right: 50%;
        transform: scale(0.6);
    }
    .block__map {
       padding: 25px 50px 25px 50px;
    }
    .block__mapImg {
        margin-top: 70px;
        margin-bottom: 70px;
        margin-left: 0%;
    }
    .block__mapClose {
        right: 80px;
        top: 30px;
    }
    .block__mapPrev {
        left: 80px;
        top: 30px;
    }
    .block__mapNext {
        right: 80px;
        bottom: 30px;
    }
}
@media screen and (max-width: 800px) {
    .wrapper__about {
        height: auto;
    }
    .block__mapImg {
        width: 85%;
        margin-top: 70px;
        margin-bottom: 70px;
        margin-left: 0%;
    }
}
@media screen and (max-width: 750px) {
    .main__contentPodorozBlock {
        top: 3%;
        right: 50%;
        transform: scale(0.6);
    }
    .map__button {
        width: 15px;
        height: 15px;
    }
    .map__cityName {
        width: 15px;
        height: 5px;
    }
    .map__cityIcon {
        height: 10px;
    }
}
@media screen and (max-width: 750px) {
    .main__contentPodorozBlock {
        top: 0%;
        left: 20%;
        transform: scale(0.6);
    }
}
@media screen and (max-width: 650px) {
    .about__video {
        width: 300px;
        height: 150px;
    }
    .about__content {
        width: 100%;
    }
}
@media screen and (min-height: 620px) {
    .main__ukr {
        height: 100%;
    }
}
@media screen and (max-height: 680px) {
    .map__content {
        transform: scale(0.85);
        margin-top: -40px;
    }
}
@media screen and (max-width: 1024px) {
    .main__ukr {
        height: unset;
    }
    .map__content {
        margin-top: 0px;
        transform: scale(1);
    }
}
@media screen and (max-width: 600px) {
    .main__contentPodorozBlock {
        top: 0%;
        left: 20%;
        transform: scale(0.5);
    }
    .map__button {
        width: 10px;
        height: 10px;
    }
    .map__content {
        transform: scale(1.2);
        margin-right: 10%;
        margin-top: 20%;
    }
}
@media screen and (max-width: 560px) {
    .main__contentPodorozBlock {
        top: -3%;
        left: 20%;
        transform: scale(0.5);
    }
}
@media screen and (max-width: 480px) {
    .main__contentPodorozBlock {
        top: -4%;
        left: 20%;
        transform: scale(0.4);
    }
}
@media screen and (max-width: 450px) {
    .header__logoBlock {
        transform: scale(0.7);
        transform-origin: right;
    }
    .header__ukrLogo {
        transform: scale(0.7);
        transform-origin: left;
    }
}
@media screen and (max-width: 420px) {
    .main__contentPodorozBlock {
        top: -5%;
        transform: scale(0.4);
    }
    .map__button {
        width: 6px;
        height: 6px;
    }
    .wrapper {
        padding: 0px;
    }
    .main__urkLogo {
        top: 65%;
        left: 50%;
        transform: translateX(-50%);
    }
    .map__content {
        transform: scale(1.4);
        margin-top: 10%;
    }
    .wrapper__map {
        flex-direction: column;
        justify-content: flex-start;
        align-items:center;
    }
    .map__infoIcons {
        position:relative;
        width: 90%;
        transform: scale(0.7);
        margin-top: 40px;
    }
}
@media screen and (max-width: 350px) {
    .main__contentPodorozBlock {
        right: 60%;
        transform: scale(0.3);
    }
    .main__urkLogo {
        top: 50%;
    }
    .map__content {
        transform: scale(1.4);
        margin-top: 10%;
    }
}
@media screen and (max-width: 330px) {
    .main__contentPodorozBlock {
        top: -6%;
        right: 60%;
        transform: scale(0.3);
    }
}
   
