@font-face {
    font-family: "Graphik LCG";
    font-style: normal;
    font-weight: 400;
    src: url(/fonts/GraphikLCG-Regular.eot);
    src: url(/fonts/GraphikLCG-Regular.woff) format('woff'),
         url(/fonts/GraphikLCG-Regular.ttf) format('truetype');
}
@font-face {
    font-family: "Graphik LCG";
    font-style: normal;
    font-weight: 500;
    src: url(/fonts/GraphikLCG-Medium.eot);
    src: url(/fonts/GraphikLCG-Medium.woff2) format('woff2'),
         url(/fonts/GraphikLCG-Medium.woff) format('woff'),
         url(/fonts/GraphikLCG-Medium.ttf) format('truetype');
}
@font-face {
    font-family: "Graphik LCG";
    font-style: normal;
    font-weight: 600;
    src: url(/fonts/GraphikLCG-Semibold.eot);
    src: url(/fonts/GraphikLCG-Semibold.woff) format('woff'),
         url(/fonts/GraphikLCG-Semibold.ttf) format('truetype');
}
@font-face {
    font-family: "Graphik LCG";
    font-style: normal;
    font-weight: 700;
    src: url(/fonts/GraphikLCG-Bold.eot);
    src:  url(/fonts/GraphikLCG-Bold.woff) format('woff'),
         url(/fonts/GraphikLCG-Bold.ttf) format('truetype');
}
@font-face {
    font-family: "Graphik LCG";
    font-style: normal;
    font-weight: 900;
    src: url(/fonts/GraphikLCG-Black.eot);
    src: url(/fonts/GraphikLCG-Black.woff2) format('woff2'),
         url(/fonts/GraphikLCG-Black.woff) format('woff'),
         url(/fonts/GraphikLCG-Black.ttf) format('truetype');
}
@font-face {
    font-family: "Graphik LCG";
    font-style: normal;
    font-weight: 1000;
    src: url(/fonts/GraphikLCG-Super.eot);
    src: url(/fonts/GraphikLCG-Super.woff2) format('woff2'),
         url(/fonts/GraphikLCG-Super.woff) format('woff'),
         url(/fonts/GraphikLCG-Super.ttf) format('truetype');
}

.body {
    font-family: "Graphik LCG", sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    overflow-x: hidden;
}

section {
    scroll-margin-top: 108px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 32px 160px;
    box-sizing: border-box;
    min-height: 108px;
    position: sticky;
    top: 0;
    background-color: #ffffff;
    z-index: 100;
}
.header__logo {
    display: flex;
    width: fit-content;
}
.header__logo-img {
    width: auto;
    height: 44px;
}
.header__nav {
    display: flex;
}
.header__nav-list {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.header__nav-item {
    display: flex;
}
.header__nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    background-color: #E6F3FE;
    color: #1C3341;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
}
.header__nav-link_active {
    background-color: #0081F6;
    color: #ffffff;
}
.header__nav-link:hover {
    background-color: #B9DCF9;
}
.header__nav-link_active:hover {
    background-color: #0081F6;
}

.main {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    padding: 0 160px;
    box-sizing: border-box;
}
.main__map {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}
.main__map-info {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
    padding: 44px 0 16px;
}
.main__map-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 725px;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    overflow: hidden;
}
.main__about {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 74px;
    position: relative;
}
.main__title {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    font-size: 60px;
    font-weight: 1000;
    line-height: 110%;
    text-transform: uppercase;
}
.main__title_about {
    max-width: 680px;
    line-height: 100%;
}
.main__title-span {
    color: #1C3341;
}
.main__title-span_color {
    color: #0081F6;
}
.main__title-span_end {
    text-align: right;
}
.main__title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.main__title-link-wrap {
    display: flex;
    width: fit-content;
    position: relative;
    overflow: hidden;
}
.main__title-link-img {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.main__title-link-img_untamed {
    width: 128px;
    height: 56px;
}
.main__title-link-img_clone {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(100%);
    opacity: 0;
}
.main__title-link-wrap:hover .main__title-link-img_untamed {
    transform: translateX(-100%);
    opacity: 0;
}
.main__title-link-wrap:hover .main__title-link-img_clone {
    transform: translateX(0);
    opacity: 1;
}
.main__title-link-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.main__title-link-wrap:hover::after {
    transform: translateX(0);
    opacity: 1;
}

.heading {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 24px 0 44px;
    gap: 8px;
}
.heading__heading-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 16px;
}
.heading__row-list {
    display: flex;
    align-items: flex-end;
}
.heading__row-wrapper {
    display: flex;
    align-items: center;
}
.heading__vertical-separator {
    width: 1px;
    background-color: #9AA9B2;
    margin: 9px 16px;
    border-radius: 1px;
    align-self: stretch;
    display: flex;
}
.heading__span {
    font-size: 24px;
    font-weight: 600;
    color: #1C3341;
    display: flex;
}
.heading__span_big {
    font-size: 60px;
    font-weight: 600;
    line-height: 100%;
    margin-right: 12px;
}
.heading__span_small {
    font-size: 22px;
    font-weight: 400;
    line-height: 150%;
}
.heading__caption {
    font-size: 30px;
    font-weight: 600;
    color: #1C3341;
    line-height: 150%;
    margin: 0;
}

.main__map {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.map-heading {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    column-gap: 16px;
    padding: 16px 24px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    background-color: #E6F3FE;
    box-sizing: border-box;
}
.map-heading__live {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.map-heading__live-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background-color: #162934;
    border-radius: 100px;
    padding: 1px 6px;
    width: fit-content;
}
.map-heading__live-dot {
    width: 12px;
    height: 12px;
    background-color: #E71414;
    border-radius: 100px;
    animation: pulsate 1.5s ease-in-out infinite;
}
.map-heading__live-text {
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 150%;
}
.map-heading__title {
    font-size: 30px;
    font-weight: 600;
    color: #1C3341;
    line-height: 100%;
    margin: 12px 0 0;
}
.map-heading__text {
    font-size: 14px;
    font-weight: 400;
    color: #1C3341;
    line-height: 150%;
    margin-top: -8px;
}
.map-heading__separator {
    background-color: #9AA9B2;
    width: 1px;
    height: 100%;
    border-radius: 1px;
}
.map-heading__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
.map-heading__info-block {
    display: flex;
    flex-direction: column;
}
.map-heading__span {
    font-size: 16px;
    font-weight: 600;
    color: #1C3341;
    line-height: 150%;
    padding-left: 24px;
}
.map-heading__span_start {
    background-image: url('circle-flag-red.svg');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: left center;
}
.map-heading__span_finish {
    background-image: url('circle-flag-green.svg');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: left center;
}
.map-heading__text {
    font-size: 18px;
    font-weight: 400;
    color: #1C3341;
    line-height: 150%;
    margin: 0;
}
.map-heading__text_small {
    font-size: 14px;
}
.map-heading__timer-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
}
.map-heading__timer {
    font-size: 50px;
    font-weight: 600;
    color: #1C3341;
    line-height: 100%;
}
.map-info__title {
    font-size: 24px;
    font-weight: 600;
    color: #1C3341;
    line-height: 110%;
    margin: 0;
    text-transform: uppercase;
}
.map-info__text {
    font-size: 18px;
    font-weight: 400;
    color: #1C3341;
    line-height: 150%;
    margin: 0;
}
.map-info__grid {
    display: grid;
    margin-top: 8px;
    column-gap: 32px;
    row-gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
}
.map-info__grid-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
}
.map-info__grid-item-icon {
    width: 44px;
    height: auto;
    object-fit: contain;
}
.grid-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas: 
        "people text-untamed"
        "text-windhub image";
    gap: 32px;
    width: 100%;
    margin: 72px 0;
    align-items: center;
}
.grid-people {
    grid-area: people;
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    column-gap: 16px;
    row-gap: 20px;
}
.grid-people__item {
    display: flex;
    align-items: flex-start;
    border-radius: 16px;
    position: relative;
    padding: 8px 16px;
    min-height: 130px;
    box-sizing: border-box;
}
.grid-people__item_blue {
    background-color: #0081F6;
}
.grid-people__item_orange {
    background-color: #E79A14;
}
.grid-people__item_red {
    background-color: #E71414;
}
.grid-people__item_green {
    background-color: #00BF88;
}
.grid-people__item-img {
    object-fit: cover;
    position: absolute;
    right: 0;
    bottom: 0;
    left: auto;
    border-bottom-right-radius: 16px;
    height: 110%;
}
.grid-people__item-span {
    font-size: 30px;
    font-weight: 600;
    color: #ffffff;
    line-height: 110%;
    z-index: 1;
    text-transform: uppercase;
}
.grid-about__text-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.grid-about__text-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.grid-about__text-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.grid-about__text-item {
    font-size: 18px;
    font-weight: 400;
    color: #1C3341;
    line-height: 150%;
}
.grid-about__text-container_untamed {
    grid-area: text-untamed;
}
.grid-about__text-container_windhub {
    grid-area: text-windhub;
}
.grid-about__link-container {
    display: flex;
    gap: 12px;
    cursor: pointer;
    align-items: center;
    text-decoration: underline;
}
.grid-about__link-text {
    font-size: 18px;
    font-weight: 400;
    color: #1C3341;
    line-height: 150%;
    text-decoration: underline;
}
.grid-about__link-text_untamed {
    color: #0081F6;
}
.grid-about__link-text_windhub {
    color: #FF9350;
}
.grid-about__link-container:hover .grid-about__link-text {
    text-decoration-color: #ffffff;
}
.grid-about__link-img {
    object-fit: cover;
}
.grid-about__link-img_untamed {
    width: 64px;
    height: 28px;
}
.grid-about__link-img_windhub {
    width: 28px;
    height: 28px;
}
.grid-about__image-container {
    grid-area: image;
    display: flex;
    justify-content: center;
}
.grid-about__image {
    width: 100%;
    border-radius: 16px;
}

.main__news {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    margin-bottom: 24px;
}
.insta-subscribe {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.insta-subscribe__img {
    width: 32px;
    height: 32px;
}
.insta-subscribe__text {
    font-size: 18px;
    font-weight: 600;
    color: #1C3341;
    line-height: 150%;
    text-transform: none;
}
.insta-subscribe__text_blue {
    color: #0081F6;
}
.insta-subscribe:hover .insta-subscribe__text_blue {
    text-decoration: underline;
    text-decoration-color: #0081F6;
}

.footer {
    padding: 27px 160px;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}
.footer__logo {
    width: auto;
    height: 44px;
    object-fit: cover;
}
.footer__top-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.footer__social-wrapper {
    display: flex;
    gap: 24px;
}
.footer__text {
    color: #A5B8C9;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    margin: 31px 0;
}
.footer__text a {
    color: #0081F6;
}
.store-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.store-container img {
    height: 48px;
}

.instagram-feed-container {
    width: 100%;
    max-width: 100%;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.instagram-feed {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 24px;
    margin-top: 32px;
    padding-right: 24px;
}

.instagram-post {
    position: relative;
    overflow: hidden;
    background-color: #E6F3FE;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
    width: 300px;
    min-width: 300px;
    box-sizing: border-box;
}

.instagram-post__link {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    height: 100%;
    min-width: 268px;
}

.instagram-post__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    width: 268px;
    height: 358px;
}

.instagram-post__image-container {
    position: relative;

}

.instagram-post__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    object-fit: cover;
    background-color: #0081F699;
    border-radius: 8px;
    z-index: 1;
}

.instagram-post__overlay-img {
    position: absolute;
    width: 86px;
    height: 86px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    object-fit: cover;
    z-index: 2;
}

.instagram-post__link:hover .instagram-post__overlay, .instagram-post__link:hover .instagram-post__overlay-img {
    opacity: 1;
}

.instagram-post__caption {
    color: #000;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
}

@media (min-width: 1001px) {
    .wide-only {
        display: flex;
    }
    .narrow-only {
        display: none !important;
    }
}

@media (max-width: 1371px) {
    .header {
        padding: 32px 40px;
    }
    .main {
        padding:0 40px;
    }
    .main__map-wrapper {
        height: 566px;
    }
    .footer {
        padding: 27px 40px;
    }
}

@media (max-width: 1130px) {
    .map-info__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1000px) {
    .wide-only {
        display: none !important;
    }
    .narrow-only {
        display: flex;
    }
    .header {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        transition: top 0.3s ease-in-out;
    }
    .header__logo {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 16px;
        text-decoration: none;
        box-sizing: border-box;
        width: 100%;
        height: 72px;
    }
    .header_scrolled {
        top: -72px;
    }
    .header__logo-img {
        height: 40px;
        width: auto;
    }
    .header__logo-text {
        font-size: 19px;
        text-transform: uppercase;
        font-weight: 700;
        color: #1C3341;
    }
    .header__nav {
        width: 100%;
        background-color: #ffffff;
        z-index: 100;
        padding: 12px 16px;
        box-sizing: border-box;
    }
    .header__nav-list {
        gap: 8px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
        box-sizing: border-box;
    }
    .header__nav-item {
        width: 100%;
        box-sizing: border-box;
    }
    .header__nav-link {
        width: 100%;
        box-sizing: border-box;
    }

    .main {
        padding: 0 16px;
    }
    .main__map-wrapper {
        height: 90vh;
    }

    .heading {
        gap: 2px;
        padding: 8px 0 24px;
    }
    .map-heading {
        grid-template-columns: 1fr auto 1fr;
        justify-content: start;
        padding: 16px;
    }
    .map-heading__live-icon {
        padding: 1px 6px;
    }
    .map-heading__span {
        font-size: 12px;
        font-weight: 600;
        color: #1C3341;
        line-height: 150%;
        padding-left: 16px;
    }
    .map-heading__span_start {
        background-size: 12px;
    }
    .map-heading__span_finish {
        background-size: 12px;
    }
    .map-heading__text {
        font-size: 14px;
    }
    .map-info__title {
        font-size: 20px;
    }
    .map-info__grid {
        grid-template-columns: 1fr;
    }
    
    .grid-about {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
        grid-template-areas: 
            "people"
            "text-untamed"
            "image"
            "text-windhub";
        margin: 40px 0;
        gap: 16px;
    }
    .grid-people {
        gap: 12px;
    }
    .grid-people__item {
        min-height: 160px;
    }
    .instagram-feed {
        gap: 8px;
    }
}
@media (min-width: 769px) {
    .wide-medium-only {
        display: flex;
    }
}
@media (max-width: 768px) {
    .wide-medium-only {
        display: none !important;
    }
    .header_scrolled {
        top: -62px;
    }
    .header__logo {
        height: 62px;
    }
    .header__logo-img {
        height: 30px;
    }
    .header__logo-text {
        font-size: 14px;
    }
    .main__title {
        font-size: 32px;
        line-height: 100%;
    }
    .main__title_about {
        max-width: 317px;
        font-size: 28px;
        gap: 8px;
    }
    .main__title_news {
        font-size: 28px;
    }
    .main__title-link-img_untamed {
        width: 64px;
        height: 28px;
    }
    .heading {
        gap: 12px;
        padding: 8px 0 32px;
    }
    .heading__row-list {
        justify-content: space-between;
        width: 100%;
    }
    .heading__row-wrapper {
        align-items: flex-end;
    }
    .heading__span_big {
        font-size: 32px;
        margin-right: 4px;
    }
    .heading__span_small {
        font-size: 18px;
    }
    .heading__vertical-separator {
        margin: 4px;
    }
    .grid-people__item-span {
        font-size: 18px;
    }
    .footer {
        align-items: center;
        max-width: 375px;
    }
    .footer__top-wrapper {
        flex-direction: column-reverse;
        align-items: center;
        gap: 16px;
        width: 100%;
        box-sizing: border-box;
    }
    .footer__logo {
        height: 30px;
    }
    .footer__social-wrapper {
        justify-content: space-evenly;
        width: 100%;
    }
    .store-container img {
        height: 40px;
    }
    .instagram-feed {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}
@media (max-width: 500px) {
    .grid-people__item {
        min-height: 72px;
    }
}
@keyframes pulsate {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}


