body,
html {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f9dfbb;
  --orange: #f78c27;
  --red: #f15d31;
  --grad: linear-gradient(100deg, #ea5b0d, #e62c3f);
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.incut-wrapper {
  width: 100%;
  height: 125px;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  background-position: center;
}

.incut-container {
  position: relative;
  width: 100%;
  height: 125px;
  margin: 0 auto;
  max-width: 1240px;
  z-index: 1;
}

i {
  display: block;
  position: absolute;
  opacity: 1;
  -webkit-transition: all .25s ease-in-out;
  -o-transition: all .25s ease-in-out;
  transition: all .25s ease-in-out;
}

i,
i:after,
i:before {
  position: absolute;
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  content: '';
  width: 100%;
  height: 100%;
}

.incut-wrapper {
  background-position: center;
  background-repeat: repeat-x;
  background-size: contain;
  background-color: var(--bg);
}

.incut-wrapper:before,
.incut-wrapper:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 280px;
  max-width: 25%;
  height: 125px;
  background-image: url(ptrn-lines.svg);
  background-position: right -350px;
  background-size: auto 600px;
  background-repeat: repeat;
  z-index: 1;
}

.incut-wrapper:before {
  width: 400px;
  transform: scaleX(-100%);
  background-position: left 230px;
  z-index: 11;
  opacity: .3;
}

.incut-wrapper:after {
  right: 0;
  left: auto;
  background-position: left 230px;
}

.incut-container {
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s cubic-bezier(.4, 0, .2, 1), transform .8s cubic-bezier(.4, 0, .2, 1), visibility 0s .8s;
  width: 1240px;
  position: relative;
  margin: 0 auto;
  max-width: 100%;
  transform: scale(1, 0);
  z-index: 10;
  will-change: transform, opacity;
}

.ld .incut-container {
  opacity: 1;
  visibility: visible;
  transform: scale(1, 1);
  transition: opacity .8s cubic-bezier(.4, 0, .2, 1), transform .8s cubic-bezier(.4, 0, .2, 1), visibility 0s;
  z-index: 20;
}

.incut-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.dh-title {
  position: absolute;
  left: 8px;
  top: 50%;
  height: auto;
  background: var(--grad);
  width: 320px;
  margin: 0;
  border-radius: 24px;
  transform: translate(-40px, -50%);
  padding: 12px 8px;
  opacity: 0;
  transition: opacity .6s cubic-bezier(.4, 0, .2, 1), transform .6s cubic-bezier(.22, .61, .36, 1);
}

.ld .dh-title {
  transform: translate(0, -50%);
  opacity: 1;
  transition-delay: .15s;
}

.dh-title .dh-logo,
.dh-title .dh-txt {
  position: relative;
  margin: 0 auto;
  max-width: calc(100% - 16px);
}

.dh-title .dh-logo {
  height: 54px;
}

.dh-title .dh-txt {
  height: 24px;
}

.dh-title .dh-txt:before {
  background-image: url(route-txt.svg);
}

.dh-title .dh-logo:before {
  background-image: url(den-hodby-white.svg);
}

.dh-date {
  position: absolute;
  right: 8px;
  top: 50%;
  height: auto;
  background: var(--grad);
  width: 164px;
  margin: 0;
  border-radius: 24px;
  transform: translate(40px, -50%);
  padding: 12px 8px;
  opacity: 0;
  transition: opacity .6s cubic-bezier(.4, 0, .2, 1), transform .6s cubic-bezier(.22, .61, .36, 1);
}

.ld .dh-date {
  transform: translate(0, -50%);
  opacity: 1;
  transition-delay: .25s;
}

.walkers {
  right: 130px;
  height: 115px;
  width: 115px;
  top: 50%;
  position: absolute;
  transform: translate(0, -50%);
}

.walkers:before {
  background-image: url(walkers250.png);
}

.dh-date .date {
  position: relative;
  height: 54px;
}

.dh-date .date:before {
  background-image: url(0609.svg);
}

.dh-partner i {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 140px;
  max-height: 96px;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.dh-partners {
  left: 320px;
  position: absolute;
  display: block;
  width: 640px;
  height: 125px;
  max-width: calc(100% - 160px);
  transition: opacity .6s ease-in-out, visibility 0s .6s;
  opacity: 0;
  visibility: hidden;
}

.ld .dh-partners {
  opacity: 1;
  visibility: visible;
  transition: opacity .6s ease-in-out, visibility 0s;
}

.dh-partners ul {
  list-style-position: outside;
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: absolute;
}

.dh-partners ul li {
  -webkit-box-flex: 0;
  -ms-flex: 0 1 calc(33.333% - 16px);
  flex: 0 1 calc(33.333% - 16px);
  margin: 0 4px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
  transform: scale(.85);
  transition: opacity .5s cubic-bezier(.4, 0, .2, 1), transform .5s cubic-bezier(.22, .61, .36, 1), visibility 0s .5s;
  opacity: 0;
  visibility: hidden;
}

.prt01 i:before,
.prt02 i:before,
.prt03 i:before,
.prt04 i:before,
.prt05 i:before,
.prt06 i:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}
.prt00 i:before {
 background-image:url(Projekt-Mera-Moskvy.svg);
}
.prt01 i:before {
  background-image: url(new_league.svg);
  background-size: 80% auto !important;
}

.prt02 i:before {
  background-image: url(partner02.svg);
}

.prt03 i:before {
  background-image: url(partner03.svg);
}

.prt04 i:before {
  background-image: url(partner04.svg);
}

.prt05 i:before {
  background-image: url(partner05.svg);
}

.prt06 i:before {
  background-image: url(partner06.svg);
}

/* Hidden partner logos - fade out smoothly */
#show.stage01 ul.logos02,
#show.stage02 ul.logos01,
#show.stage03 ul.dh-partner-logos,
#show.stage04 ul.dh-partner-logos {
  opacity: 0;
  visibility: hidden;
  transform: scale(1);
  transition: opacity .5s cubic-bezier(.4, 0, .2, 1), transform .5s cubic-bezier(.4, 0, .2, 1), visibility 0s .5s;
}

/* Visible partner logos - appear smoothly with staggered entrance (both on load and stage change) */
#show.stage01 ul.logos01 li,
#show.stage02 ul.logos02 li,
#show.stage03 ul.logos01 li,
#show.stage04 ul.logos01 li {
  transform: scale(1);
  opacity: 1;
  visibility: visible;
  transition: opacity .5s cubic-bezier(.4, 0, .2, 1), transform .5s cubic-bezier(.22, .61, .36, 1), visibility 0s;
}
#show.stage01 ul.logos01 li:nth-child(2),
#show.stage02 ul.logos02 li:nth-child(2),
#show.stage03 ul.logos01 li:nth-child(2),
#show.stage04 ul.logos01 li:nth-child(2) {
  transition-delay: .2s;
}
#show.stage01 ul.logos01 li:nth-child(3),
#show.stage02 ul.logos02 li:nth-child(3),
#show.stage03 ul.logos01 li:nth-child(3),
#show.stage04 ul.logos01 li:nth-child(3) {
  transition-delay: .4s;
}

.slogan, .slogan2 {
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  top: 50%;
  left: 50%;
  width: 90%;
  transform: translate(-50%, 0) scale(1);
  transition: opacity .75s ease-in-out, transform .75s cubic-bezier(.22, .61, .36, 1), visibility 0s;
  max-height: 96px;
}

.stage03 .slogan, .stage04 .slogan2 {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity .75s ease-in-out, transform .75s cubic-bezier(.22, .61, .36, 1), visibility 0s;
}

.slogan:before {
  background-image: url(slogan-v1.svg);
  background-position: center;
    background-size: contain; 
}
.slogan2:before {
  background-image: url(slogan2.svg?v=1);
  background-position: center;
  background-size: contain; 
}

#show.stage03 ul.dh-partner-logos li,
#show.stage04 ul.dh-partner-logos li {
  transform: scale(.85);
  transition: opacity .7s cubic-bezier(.4, 0, .2, 1), 
    transform .75s cubic-bezier(.4, 0, .2, 1), visibility .5s;
  opacity: 0;
  visibility: hidden;
}

ul.dh-partner-logos li:nth-of-type(2n) {
  transition-delay: .2s;
}

ul.dh-partner-logos li:nth-of-type(3n) {
  transition-delay: .4s;
}

@media (max-width: 1100px) {
  .dh-partners {
    width: 520px;
    left: 240px;
  }

  .dh-title {
    width: 220px;
    padding: 8px;
  }

  .dh-title .dh-logo {
    height: 32px;
  }
}

@media (max-width: 960px) {
  .dh-date {
    width: 120px;
  }

  .walkers {
    right: 86px;
    width: 125px;
    height: 128px;
  }

  .dh-partners {
    width: 480px;
    left: 240px;
  }
}
@media (max-width: 980x) {
  .dh-partners {
    width: 520px;
 
  }
}

@media (max-width: 900px) {
  .incut-wrapper::before, .incut-wrapper::after {
    top:-36px !important;
  }
  .dh-partner i {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 96px;
    max-height: 96px;
  }

  .dh-partners {
    width: 520px;
    left: 160px;
  }

  .dh-title {
    width: 160px;
    border-radius: 16px;
  }

  .dh-title .dh-txt {
    display: none;
  }
}

@media (max-width: 800px) {
  .dh-title,
  .ld .dh-title {
    width: 160px;
    border-radius: 16px;
    transform: translate(-24px, 0);
    left: 16px;
    top: 8px;
    padding: 6px;
  }

  .ld .dh-title {
    transform: translate(0, 0);
  }

  .dh-title .dh-logo {
    height: 24px;
  }

  .dh-date,
  .ld .dh-date {
    top: 8px;
    right: 8px;
    transform: translate(24px, 0);
    border-radius: 16px;
    width: 90px;
  }

  .ld .dh-date {
    transform: translate(0, 0);
  }

  .walkers {
    top: auto;
    transform: translate(0, 0);
    right: 8px;
    bottom: 0;
    height: 80px;
    width: 80px;
  }

  .dh-date .date {
    height: 20px;
  }

  .dh-partners {
    width: calc(100% - 60px);
    left: 8px;
    height: 64px;
    bottom: 8px;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .incut-wrapper:before,
  .incut-wrapper:after {
    top: -20px !important;
  }

  .dh-date {
    width: 70px;
    padding: 8px;
  }

  .dh-date .date {
    height: 16px;
  }

  .walkers {
    right: 0;
    width: 70px;
    height: 70px;
  }

  .dh-partner i {
    max-width: 64px;
    max-height: 64px;
  }
}
.age {
  display: block;
  position: absolute;
  color:var(--red);
  right:0;
  top:0;
  font-family: sans-serif;
  font-size:9px;
  font-weight: 800;
  padding: 4px;
  border-style: solid;
  border-width: 0 0 1px 1px;
  background-color:var(--bg);
  z-index: 50;
  display: none;
}


.age {
  color: #ef2d3f;
  display: block;
  z-index: 50;
  position: absolute;
  right: 7px;
  font-size: 10px;
  font-family: sans-serif;
  font-weight: 700;
  padding: 2px 4px;
  border: 1px solid #ef2d3f;
  border-radius: 6px 0 6px 0;
  top:8px;
background-color: #f9dfbb;
}
@media (max-width:800px) {

    .dh-date, .ld .dh-date {
right:32px;
border-radius: 24px 0  
}
}
