@font-face {
    font-family: "PixelDigiVolveCyrillic";
    font-display: swap;
    src: url(pixeldigivolvecyrillic.otf);
}

.wrapper {
    background-color: #000000;
    font-family: "PixelDigiVolveCyrillic", Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-style: normal;
    line-height: 20px;
    color: #FFFFFF;
}

.wrapper,
.header,
.container,
.main-container,
.footer {
    margin: 0;
    padding: 0;
}

.container {
    min-height: 500px;
    max-width: 1100px;
    margin: 0 30px;
}

.content,
.header,
.footer {
    display: flex;
    justify-content: center;
}

.content {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.header .container {
    display: flex;
    flex-grow: 1;
    min-height: auto;
}

.menu,
.menu-item {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    margin: 0;
    padding: 0;
}

.header .container .menu {
    flex-grow: 1;
}

.menu .brand {
    margin-right: auto;
    padding-top: 15px;
    padding-bottom: 15px;
}

.container .menu .brand .link {
    font-family: PixelDigiVolveCyrillic;
    padding: 0;
    font-size: 60px;
    line-height: 40px;
    background-image: linear-gradient(to bottom,red 0 20%, orange 20% 35%, yellow 35% 50%, green 50% 65%, blue 65% 80%, rgb(195, 0, 255) 80% 100%);
    background-size: 100%;
    background-repeat: repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
}

.menu-item .link {
    padding: 15px 20px;
}

.menu-item .link:hover {
    position: relative;
    top: -4px;
}

.contact-text,
.contact-link,
.row .stage .stage-title,
.row .stage .stage-description,
.title-block,
.link,
.link:visited {
    color: #FFFFFF;
    text-decoration: none;
    font-style: normal;
    margin: 0;
    padding: 0;
}

.main-container .container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.main-container .block-first .container {
    justify-content: space-between;
}

.main-container .block-first .big-logo {
    width: 100%;
    height: 100%;
    padding: calc(5% - 10px) 0;
    margin: 20px 0;
}

.link-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.link-wrapper .small-rectangle {
    width: 6px;
    height: 34px;
    background-color:  rgb(255, 43, 240);
}

.link-wrapper .link-buy {
    padding: 12px 50px 12px 50px;
    background-color:  rgb(255, 43, 240);
}

.link-wrapper .link-buy .link-text {
    margin: 0;
    padding: 0;
    font-size: 20px;
    line-height: 1.5;
    white-space: nowrap;
}

.link-wrapper:hover {
    margin-top: -7px;
    margin-bottom: 7px;
}

.main-container .block-gallery .link-wrapper {
    margin: 20px 0 40px;
}

.block-first .wrapper-text {
    display: flex;
    justify-content: center;
}

.main-container .block-first .wrapper-text {
    align-items: flex-start;
    padding: 30px 10px;
    flex-grow: 1;
    font-size: 26px;
    line-height: 28px;
    text-align: justify;
    font-weight: 400;
}

.title-block {
    margin: 25px 0 15px;
    width: 100%;
    font-size: 30px;
    text-align: center;
}

.wrapper-roadmap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: #000000;
}

.block-roadmap .container {
    width: 1000px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 90px;
    margin: 0;
}

.current-road,
.wrapper-flame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.current-road {
    height: calc(2 * 120px - 120px / 4.2);
}

.wrapper-flame {
    height: calc(2 * 120px + 75px);
    margin-top: -50px;
}

.roadmap-walker,
.flame {
    position: -webkit-sticky;
    position: sticky;
}

.roadmap-walker {
    top: calc(50% - 50px);
    left: calc(50% - 20px);
    width: 40px;
}

.flame {
    top: calc(50% - 100px);
    left: calc(50% - 75px);
    width: 150px;
    height: 150px;
    background: radial-gradient(closest-side at center, #e4ff6d 0px, transparent 100%);
    opacity: 0.6;
}

.flame-animation {
    animation: flame-blink 0.7s ease-in-out 0s infinite alternate;
}

@keyframes flame-blink {
    0% {
        opacity: 0.28;
    }

    100% {
        opacity: 0.45;
    }
}

.roadmap-walker .stages-man,
.walker-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wrapper-road {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 10px 0;
}

.row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    min-width: 265px;
}

.row .stage,
.row .void {
    position: relative;
    width: 280px;
    height: calc(120px);
    margin-top: -80px;
    margin-bottom: 80px;
    background-image: transparent;
}

.row .void {
    pointer-events: none;
}

.road .row.not-visible-stage {
    display: none;
}

.row .stage-highlight.stage::before {
    content: "";
    position: absolute;
    top: 0;
    left: -40px;
    display: block;
    height: 150px;
    width: calc(140%);
    background-image: radial-gradient(closest-side at center, #e4ff6d 0px, transparent 90%);
}

.row .stage .stage-title,
.row .stage .stage-description {
    margin-left: 10px;
    margin-right: 10px;
    text-align: left;
    font-size: 16px;
    line-height: 18px;
}

.row .stage .stage-title {
    padding: 20px 0px 3px;
}

.row .stage .stage-description {
    padding: 3px 0px 5px;
}

.stage .image-stage {
    position: relative;
    z-index: 500;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stage .stages-man,
.stage .stage-background {
    bottom: -5%;
}

.stage-background {
    position: absolute;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 50;
    margin: 0;
    width: 100%;
    opacity: 0.5;
}

.stage-background .small-rectangle,
.stage-background .center-rectangle {
    background: #6a5f31;
    box-shadow: 0 0 12px #6a5f31;
}

.stage-background .small-rectangle {
    flex-grow: 0.05;
    height: calc(22px * 2);
}

.stage-background .center-rectangle {
    flex-grow: 1;
    height: calc(27px * 2);
}

.stages-man {
    position: absolute;
    left: 40%;
    bottom: 8%;
    width: 20%;
    z-index: 100;
    -webkit-animation: first-man-animation 0.3s steps(2, start) 0s infinite alternate;
    -moz-animation: first-man-animation 0.3s steps(2, start) 0s infinite alternate;
    animation: first-man-animation .3s steps(2, start) 0s infinite alternate;
}

.roadmap-walker .stages-man {
    position: relative;
    left: 0;
    bottom: 11%;
}

@keyframes first-man-animation {
    0% {
        bottom: 11%;
    }

    100% {
        bottom: 7%;
    }
}

.road {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.road .simple-road {
    background: no-repeat center url("images/simple-road.png");
}

.road .crossroad {
    background: no-repeat top left url("images/crossroad.png");
}

.road .road-cell {
    width: calc(180px / 772 * 720);
    height: 120px;
    background-size: contain;
}

.to-right {
    transform: rotateY(180deg);
}

.transparent-stage {
    opacity: 0.5;
}

.footer {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.block-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer .container {
    text-align: center;
    min-height: auto;
}

.block-gallery .container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    padding: 30px 0 0;
}

.block-gallery .wrapper-gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    flex-grow: 0.7;
    margin: 5px;
    padding: 5px;
}

.wrapper-gallery .gallery-picture {
    width: calc(100% / 6 - 20px);
    height: 100%;
    object-fit: contain;
    padding: 0;
    margin: 0px 20px 30px 0;
    cursor: pointer;
}

.block-contact .container {
    min-height: auto;
}

.wrapper-contact {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    padding: 10px 0 50px 0;
}

.contact {
    width: 100px;
    /* width: calc(10% - 20px); */
    /* height: 100; */
    margin: 10px 0 0 0;
    /* margin-right: 20px; */
}

.contact-link {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%; 
    height: 100%;
}

.icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-text {
    margin: 5px 0;
}

.block-slider .container {
    min-height: auto;
}

.wrapper-slider {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    width: 100%;
}

.wrapper-slider .wrapper-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 5px;
    background-color: #FFFFFF;
    cursor: pointer;
}

.wrapper-slider .wrapper-arrow.left {
    left: 0;
}

.wrapper-slider .wrapper-arrow.right {
    right: 0;
}

.wrapper-slider .arrow {
    width: 15px;
    height: 15px;
    margin: 15px;
    border-width: 2px;
    border-color: #6a5f31;
    transform: rotate(45deg);
}

.wrapper-arrow.left .arrow {
    border-left-style: solid;
    border-bottom-style: solid;
    margin-left: 18px;
    margin-right: 12px;
}

.wrapper-arrow.right .arrow {
    border-right-style: solid;
    border-top-style: solid;
    margin-left: 12px;
    margin-right: 18px;
}

.wrapper-slider .slider-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    min-height: 250px;
}

.slider-content .slider-image {
    width: 0;
    height: 0;
    max-width: 200px;
    object-fit: cover;
    margin: 0;
    transition: width 0.3s ease;
}

.wrapper-slider .wrapper-arrow:hover {
    background: #DADADA;
}

.slider-content .current-image,
.slider-content .current-image + .slider-image,
.slider-content .current-image + .slider-image + .slider-image,
.slider-content .current-image + .slider-image + .slider-image + .slider-image {
    width: calc(100% / 4 - 10px);
    height: 100%;
    margin-right: 10px;
}

.slider-content .current-image + .slider-image + .slider-image + .slider-image {
    margin-right: 0;
}

.block-gallery .container {
    position: relative;
}

.modal-window-wrapper {
    visibility: hidden;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    top: calc(10px + 10%);
    min-width: 180px;
    width: 0;
    padding: 15px;
    border: 1px solid #000000;
    border-radius: 15px;
    box-shadow: 0 0 100px 30px #000000;
    background-color: #FFFFFF;
    overflow: hidden;
    opacity: 0;
    transition: all 0.2s ease;
}

.modal-window-wrapper.open {
    width: 500px;
    opacity: 1;
    visibility: visible;
}

.big-picture {
    width: 100%;
    object-fit: fill;
    image-rendering: pixelated;
}

.main-container .block-gallery .modal-window-wrapper .link-wrapper {
    margin: 10px 0 0;
}

.main-container .block-gallery .modal-window-wrapper .link-wrapper .link-buy {
    padding-left: 5px;
    padding-right: 5px;
}

.picture-description {
    font-size: 0;
    transition: font-size 0.2s ease;
}

.modal-window-wrapper.open .picture-description {
    padding: 15px 0 0;
    text-align: center;
    color: #000000;
    font-size: 20px;
}

@media screen and (max-width: 900px) {
    .wrapper-contact .contact {
        width: calc(15% - 20px);
    }
    
    .wrapper-gallery .gallery-picture {
        width: calc(100% / 5 - 20px);
    }

    .slider-content .current-image,
    .slider-content .current-image + .slider-image,
    .slider-content .current-image + .slider-image + .slider-image {
        width: calc(100% / 3 - 10px);
        margin-right: 10px;
    }

    .slider-content .current-image + .slider-image + .slider-image + .slider-image {
        width: 0;
    }
    
    .slider-content .current-image + .slider-image + .slider-image {
        margin-right: 0;
    }
    
    .modal-window-wrapper.open {
        width: 50%;
    }
}

@media screen and (max-width: 770px) {
    .road .row .stage,
    .road .row .void {
        width: 220px;
    }
}

@media screen and (max-width: 660px) {
    .block-roadmap .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .block-roadmap .stage .stage-title,
    .block-roadmap .stage .stage-description {
        line-height: 10px;
        font-size: 10px;
        font-stretch: ultra-condensed;
    }

    .block-roadmap .right-column .image-stage {
        left: 5%;
    }
/* 
    .road .row {
        min-width: 0;
    } */

    .road .row .stage,
    .road .row .void {
        width: 33%;
        height: calc(120px * 0.55);
        margin-top: -40px;
        margin-bottom: 40px;
    }

    .road .row .road-cell {
        width: calc(100px / 772 * 720);
        height: calc(120px * 0.55);
    }

    .block-roadmap .current-road {
        height: calc(2 * 120px * 0.55 - 120px * 0.55 / 4.2);
    }
    
    .block-roadmap .wrapper-flame {
        height: calc(2 * 120px * 0.55 + 75px);
        margin-top: -50px;
    }

    .block-roadmap .stage .stage-background {
        width: calc(100% + 10px);
        left: -5%;
        bottom: -10%;
    }

    .road .row .right-column .stage-background {
        left: 0;
    }

    .row .stage-highlight.stage::before {
        width: calc(160%);
    }
    
    .wrapper-gallery .gallery-picture {
        width: calc(100% / 4 - 10px);
        margin-right: 10px;
    }

    .slider-content .current-image,
    .slider-content .current-image + .slider-image {
        width: calc(100% / 2 - 7px);
        margin-right: 7px;
    }

    .slider-content .current-image + .slider-image + .slider-image {
        width: 0;
    }
    
    .slider-content .current-image + .slider-image {
        margin-right: 0;
    }
    
    .modal-window-wrapper.open {
        width: 65%;
    }
}

@media screen and (max-width: 570px) {
    .header .container .menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header .menu .menu-item {
        justify-content: center;
        width: 50%;
    }

    .header .menu .brand {
        margin-right: 0;
        width: 100%;
        flex-grow: 1;
    }

    .main-container .block-first .wrapper-text {
        font-size: 16px;
        line-height: 18px;
    }

    .stage .stages-man {
        margin-bottom: 0%;
    }

    .wrapper-contact .contact {
        width: calc(25% - 20px);
    }

    .wrapper-gallery .gallery-picture {
        width: calc(100% / 3 - 7px);
        margin-right: 7px;
    }

    .slider-content .current-image {
        width: 100%;
        margin-right: 0;
    }

    .slider-content .current-image + .slider-image {
        display: none;
        width: 0;
    }

    .block-first .link-wrapper .link-buy {
        padding: 10px 20px;
        font-size: 16px;
    }
}

@media screen and (max-width: 444px) {
    .road .row.not-visible-stage.first-enable {
        display: flex;
    }
}

@media screen and (max-width: 400px) {
    .road .row.not-visible-stage.second-enable {
        display: flex;
    }
}

@media screen and (max-width: 350px) {
    .road .row.not-visible-stage.third-enable {
        display: flex;
    }
}
