@charset "UTF-8";
/*обнуление оформления в разных броузерах*/

*{
  padding: 0;
  margin: 0;
  border: 0;
}
*,*:before,*:after{
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
:focus,:active{outline: none;}
a:focus,a:active{outline: none;}

nav, footer, header, aside {display: block;}

html,body{
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: rgb(0, 0, 0);
  height: 100%;
  width: 100%;
  font-size: 100%;
  font-size: 1.1em;
  scroll-behavior: smooth;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input, button, textarea {font-family:inherit;}

input::-ms-clear{display: none;}
button{cursor: pointer;}
button::-moz-focus-inner {padding:0;border:0;}
a, a:visited{text-decoration: none;}
a:hover{text-decoration: none;}
ul li{list-style: none;}
img{vertical-align: top;}

h1,h2,h3,h4,h5,h6{font-size: inherit; font-weight: 700; line-height: 1em}

/*окончание обнуления*/

/*--------------------Общие стили--------------------*/

body.lock {
  overflow: hidden;
}

/*.ancors {
  position: relative;
  margin-top: 80px;
}*/

section footer {
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

section.white {
  background-color: white;
  color: black;
}

section.black {
  background-color: black;
  color: white;
}

section.gold {
  background-color: #fbd787;
  color: black;
}

footer {
  background-color: black;
  color: white;
}

footer a {
  color: white;
}

.container {
  max-width: 1150px;
  margin: 0px auto;
  padding: 0 25px;
}

.tiles {
  column-count: 4;
  padding: 1em;
}

.tile img {
  width: 100%;
  margin-bottom: 1em; 
}

.top {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  height: 50px;
  z-index: 70;
}

.title h1 {
  padding: 15px 0;
  font-size: 48px;
  /*margin: 0 0 32px 0;*/
}

.title h2 {
  padding: 15px 0 0 0;
  font-size: 36px;
  /*margin: 15px 0;*/
}

.title h3 {
  padding: 10px 0 0 0;
  margin: 10px 0;
  font-size: 24px;
  line-height: 1.2em
}

.title h4 {
  padding: 10px 0 0 0;
  margin: 10px 0;
  font-size: 20px;
  line-height: 1em
}

.welcome {
  margin: 50px 0 0 0;
  /*height: 100vh;*/
}

.welcome a {
  color: white;
}

.screen {
  min-width: 100%;
  padding: 3% 0;
  /*padding: 15px;*/
}

/*.screen p {
  color: black;
}

.screen__invert {
  min-width: 100%;
  padding: 0 0 15px 0;
}

.screen__invert p {
  color: white;
}*/

.sticky {
  position: sticky;
  top: 50px;
  display: flex;
  min-height: 100%;
}

.parallax-01 {
  background-image: url("../img/02.jpg");
  min-height: 30vh;
  background-attachment: fixed;
  background-position: center;
/*  background-repeat: repeat;*/
  background-size: cover;
}

.marquee {
  margin: auto;
  padding: auto;
  color: black;
  width: 100%;
  /*overflow: auto;*/
}

.marquee a {
  color: black;
}

.marquee--text {
  background-color: #fbd787;
  /*position: relative;*/
  /*box-shadow: 0px 0px 5px black;*/
  bottom: 75px;
  /*background-image: url("../img/flowers-hover.svg");*/
}

.marquee--text p {
  margin: 10px 0;
  font-size: 24px;
}

.cards__row {
  display: flex;
  margin: 0 -15px;
}

.card__column {
  display: flex;
  flex-direction: column;
  padding: 15px 15px; 
  flex: 0 1 33.333%;
}

.card__column, .two {
  flex: 0 1 50%;
}

.card__column, .one {
  flex: 0 1 100%;
}

.card__item {
  display: flex;
  flex-direction: column;
  padding: 0px 0px 0px 0px;
  /*background-color: white;*/
}

.center {
  text-align: center;
}

.card__column .card__item {
  height: 100%;
}

.card-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
}

.card__subtitle {
  margin: 5px 0;
  font-size: 1.2em;
}

.card__text p {
  margin: 10px 0;
}

.card__text ul li {
  list-style: outside;
  padding: 0 0 0 10px; 
  margin: 0 0 0 17px; 
}


.marker span {
  background-color: #fbd787;
}

.marker--invers span {
  background-color: white;
}

.card__img {
  padding: 0 0 100% 0;
  margin: 0 0 10px 0;
  overflow: hidden;
  position: relative;
  border-radius: 50% 50% 50% 0;
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.card__img--uncover img {
  width: 100%;
  /*height: 100%;*/
}


.card__img video {
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

p a {
  color: #6c68e2;
/*  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 4px;*/
}

a:hover {
  color: #6c68e2;
}

a:active  {
  color: #fbd787;
}

.card__button {
  margin-top: auto;
}

.button {
  text-decoration: none;
  display: inline-block;
  line-height: 35px;
  margin: 15px 0;
  padding: 0px 15px;
  letter-spacing: 0px;
  font-size: 18px;
  font-weight: 700;
  border: 1px solid black;
  top: 0;
  position: relative;
  color: rgb(0, 0, 0);
  background-color: rgb(255, 255, 255); 
  }

.button:hover {
  color: black;
  background-color: #fbd787;
  border: 1px solid black;
}

.button:hover a {
  color: black;
  background-color: #fbd787;
}

.button a:before { /* увеличивает площадь ссылки до размера элемента */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.button__link {
  color: rgb(0, 0, 0);
}

.table--infograph {
  display: flex;
  /*border-collapse: collapse;*/
  border-spacing: 1em;
  text-align: left;
  word-break: break-all; 
  overflow-wrap: break-word;
}

.td--dotted {
  border-top: 0.5em dashed white;
}

.td--solid {
  border-top: 0.5em solid white;
}

.cards__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  /*min-height: 80vh;*/
}

.card__grid {
  padding: 20px 20px 0 0;
}

.contact {
  display: block;
}

.form__body {
  /*width: 80%;*/
  /*max-width: 550px;*/
  /*margin: 0 auto;*/
}

.form__body * {
  overflow: none;
}

.form__item {
  margin: 20px 0 20px 0;
}

.form__label {
  display: block;
  margin: 0 0 10px 0;
}

.form__input {
  height: 50px;
  padding: 20px 0;
  border-bottom: 1px solid;
  width: 100%;
  font-size: 1em;
}

.form__input:focus {
  /*box-shadow: 0 0 5px gray;*/
}

textarea.form__input {
  min-height: 120px;
  resize: vertical;
}

.form_button {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
  background-color: white;
  color: black;
  font-size: 1em;
  font-weight: 700;
  border: 1px solid rgb(0, 0, 0);
  cursor: pointer;
}

.form_button:hover {
  color: black;
  background-color: #fbd787;
}

#sendText {
  margin: 15px;
  display: block;
  text-align: center;
}

/*form .box {
    display: flex;
    width: 100%;
    margin: 1rem 0rem 2rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid;
    font-size: 1em;
}*/

/*.btn {
    padding: 1rem 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 .5rem 1ren rgba(0,0,0,.7);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1em;
}*/

/*.btn:hover {
    background-color: #fbd787;
    color: black;
}*/

/*Начало инфографики*/

.schemes img {
  margin: 10px 0 0 0;
  width: 100%;
}

.switch {
  margin: 0 20px 20px 0;
  display: inline-block;
  width: fit-content;
}

.switch:focus {
  background-color: #6c68e2;
}

.switch:hover {
  color: black;
  background-color: #fbd787;
}

.card__item--switches {
  flex-direction: row;
}

button {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
/*  min-height: 30px;*/
  background-color: white;
  color: black;
  font-size: 1em;
  font-weight: 700;
  /*border: 1px solid rgb(0, 0, 0);*/
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0);
}

button.active {
  background-color: #fbd787;
}

.definitions {
  margin: 20px 0;
}

.text {
  display: none;
}

.text.active {
  display: block;
}

/*Конец инфографики*/

.footer__row {
  display: flex;
  height: 150px;
  justify-content: space-around;
  align-items: center;
}

@media (max-width: 768px) {
  .title h1 {
    font-size: 30px;
  }
  .footer__list {
    display: none;
  }
  
}


/*footer {
  height: 40vw;
  background-color: #000;
  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;
  color: #fff;
  font-size: 100px;
}*/

@media (max-width: 768px) {
  footer {
    /*font-size: 30px;*/
  }
}

/*--------------------/Общие стили--------------------*/
/*--------------------Шапка, тело и подвал --------------------*/
.top {
  background-color: rgba(0, 0, 0, 1);
}

.header {
  padding: 10px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  z-index: 50;
}

.header__logo {
/*  background-color: #fff;*/
  padding: 0 10px 0 0;
  text-decoration: none;
  font-weight: 700;
}

.header__logo a {
  color: white;
  text-decoration: none;
}

.header__logo img {
  width: 20px;
}

/*--------------------/Шапка--------------------*/
/*--------------------Меню--------------------*/
.menu__icon {
  display: none;
}

.menu__link {
  color: white;
  text-decoration: none;
}

.menu__link--active {
  color: #fbd787;
  text-decoration: none;
  /*box-shadow: 0 0 0 10px white;
  background-color: white;*/
}

.menu__link:hover {
  text-decoration: none;
  /*text-decoration-thickness: 2em;*/
}

.nav p {
  padding: 10px;
  text-align: right;
}

.nav__link {
  color: black;
  text-decoration: none;
}

.nav__link--active {
  color: #6c68e2;
  text-decoration: none;
}

@media (max-width: 768px) {
  .top {
    height: 50px;
  }
  .menu__icon {
    display: block;
    width: 30px;
    height: 18px;
    position: relative;
    z-index: 5;
    cursor: pointer;
  }
  .menu__icon span {
    position: absolute;
    top: calc(50% - 1px);
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
  }
  .menu__icon span:first-child {
    top: 0;
  }
  .menu__icon span:last-child {
    top: auto;
    bottom: 0;
  }
  .menu__icon.active span {
    -webkit-transform: scale(0);
            transform: scale(0);
            background-color: black;
  }
  .menu__icon.active span:first-child {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
    top: calc(50% - 1px);
  }
  .menu__icon.active span:last-child {
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
    bottom: calc(50% - 1px);
  }
}

@media (max-width: 768px) {
  .menu__body {
    position: absolute;
    margin: 0px -10px;
    top: 0px;
    left: -100%;
    height: 100vh;
    width: 100%;
    background-color: black;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
  }
}

.menu__body.active {
  left: 0;
  margin: 0 0 0 10px;
  padding: 0 0 0 10px;
  background-color: black;
}

.menu__list {
  list-style-type: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
}

@media (max-width: 768px) {
  .menu__list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 30px;
    margin: 0 0 0 -30px;
    gap: 0;
    height: 100%;
    /*width: 60%;*/
    background-color: #fbd787;
    overflow: auto;
  }
}

@media (max-width: 768px) {
  .menu__link {
    color: black;
    text-decoration: none;
    display: block;
    font-size: 1.5em;
    line-height: 3em;
  }

  .menu__link--active {
    color: black;
    text-decoration: none;
    display: block;
    font-size: 1.5em;
    line-height: 3em;
  }

  .menu__link:hover {
    text-decoration: none;
    /*text-decoration-thickness: 2em;*/
  }

  .parallax-01 {
    background-attachment: scroll;
  }

  .welcome {
  height: 100%;
  margin: 45px 0 0 0;
  }

  .container {
  min-width: 100%;
  margin: 0px auto;
  padding: 0px 10px;
  }

  .sticky {
    position: static;
    min-height: 100%;
    /*border-top: 1px black;*/
  }

  .cards__grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .card__grid {
/*    height: 80vh;
    position: sticky;
    top: 50px;*/
  }

  .tiles {
    column-count: 2;
    padding: 1em;
  }

  .title h1 {
    font-size: 36px;
    margin: 0 0 0.5em 0;
  }

  .title h2 {
    font-size: 26px;
    margin: 0 0 0.5em 0;
  }

  .title h3 {
    font-size: 22px;
  }

  .cards__row {
    flex-direction: column;
    /*align-items: stretch;*/
  }
  .card__column {
    flex: 1 1 auto;
  }
  .card__item {
    min-width: 100%;
  }
  .card__img {
    flex: 1 1 auto;
  }
  .card__img img {
    min-width: 100%;
  }
  .blobs {
    transform: rotate(-90deg);
  }
  .blob {
    /*animation-play-state: paused;*/ 
    filter: blur(0.4rem);
  }

  .origami .origami__flap .origami__square {
    animation-play-state: paused; 
  }

}

@media (max-width: 500px) {

  .tiles {
    column-count: 1;
    padding: 1em;
  }

}


/*--------------------/Меню--------------------*/

/*---- Blobs -----*/

/*body { 
  background: oklch(94% 10% 2deg); 
  background-size: contain;
  margin: 0 auto;
  height: 90dvh;
  width: 90dvw;
  overflow: hidden;
}*/
.blobs {
/*  display: grid;*/
/*  align-content: center;
  justify-content: center;*/

  margin: 0 auto;
  max-height: 500px;
  
  /*filter: url("#morph");
  
  margin: 3% auto;
  height: 100%;
  width: 100%;*/
}

.blob { 
  --min: 1rem;
  --d: clamp(var(--min), 8dvw, calc(var(--min) * 2));
  background: var(--bg, white);
  border-radius: 50% 50% 50% 0;
  padding: 0.2rem;
  height: var(--d);
  width: var(--d);
  
  filter: blur(1rem);
  
  animation-name: move;
  animation-delay: var(--delay, 0s);
  animation-duration: var(--duration, 1.5s);
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
  
  &:nth-of-type(even) {
    margin-left: -25%;
  }
  
  /* white */
  &:nth-of-type(1) {
    /* --bg: oklch(80% 70% 40deg); */
    --min: 1.5rem;
  }
  
  /* orange */
  &:nth-of-type(2) {
    --bg: oklch(80% 70% 90deg);
    /* --min: 3rem; */
    --delay: 2s;
  }
  
  /* yellow */
  &:nth-of-type(3) {
    --bg: #fbd787;
    --min: 4rem;
    --delay: 1s;
  }
  
  /* green */
  &:nth-of-type(4) {
    --bg: oklch(80% 70% 120deg);
    --min: 1.5rem;
    --delay: 3.25s;
  }
  
  /* green-blue */
  &:nth-of-type(5) {
    --bg: oklch(50% 20% 190deg);
    --min: 2rem;
    --delay: 2.25s;
  }
  
  /* indigo */
  &:nth-of-type(6) {
    --bg: oklch(60% 60% 280deg);
    --min: 3rem;
    --delay: .5s;
  } 
  
  /* purple */
  &:nth-of-type(7) {
    --bg: oklch(80% 50% 300deg);
    --min: 2rem;
    --delay: 2s;
  }
  
  /* pink */
  &:nth-of-type(8) {
    --bg: oklch(85% 20% 340deg);
    --min: 1.25rem;
    --delay: 3s;
  }
}

@keyframes move {
  to { margin-left: 75%; }
}


/* Оригами */

:root {
  --hue: 223;
  --sat: 10%;
  --gray50: hsl(var(--hue), var(--sat), 95%);
  --gray950: hsl(var(--hue), var(--sat), 5%);
  --hotpink500: #fbd787;
  --orange500: oklch(80% 70% 120deg);
  --blue500: oklch(50% 20% 190deg);
  --purple500: oklch(60% 60% 280deg);
  --trans-dur: 0.3s;
}

.origami {
  --dur: 8s;
  aspect-ratio: 1;
  margin: auto;
  position: relative;
  width: 35%;
  transform-style: preserve-3d;
  filter: blur(.8rem);
}
.origami__square, .origami__flap {
  position: absolute; 
}
.origami__square {
  animation-name: square-color, square-twist;
  background-color: var(--orange500);
  inset: 6.25%;
  width: 87.5%;
  height: 87.5%;
}
.origami__flap {
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  transform-origin: 50% 100%;
}
.origami__flap:before, .origami__flap:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.origami__flap:before {
  animation-name: flap-color, flap-rotate-fix;
  background-color: var(--orange500);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  height: 200%;
  transform: translate3d(0, -50%, 0);
}
.origami__flap:after {
  animation-name: flap-color, flap-rotate;
  background-color: var(--hotpink500);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  height: 100%;
  transform-origin: 50% 0;
}
.origami__flap:nth-child(2) {
  transform: rotate(90deg);
}
.origami__flap:nth-child(3) {
  transform: rotate(180deg);
}
.origami__flap:nth-child(4) {
  transform: rotate(270deg);
}
.origami__square, .origami__flap:before, .origami__flap:after {
  animation-duration: var(--dur), calc(var(--dur) / 4);
  animation-iteration-count: infinite;
}
.origami__square, .origami__flap:after {
  animation-timing-function: steps(1, end), cubic-bezier(0.37, 0, 0.63, 1);
}
.origami__flap:before {
  animation-timing-function: steps(1, end), cubic-bezier(0.61, 1, 0.88, 1);
}

/* Animation */
@keyframes square-color {
  from, to {
    background-color: var(--orange500);
  }
  25% {
    background-color: var(--blue500);
  }
  50% {
    background-color: var(--purple500);
  }
  75% {
    background-color: var(--hotpink500);
  }
}
@keyframes square-twist {
  from {
    transform: rotate(0) scale(1);
  }
  to {
    transform: rotate(45deg) scale(0.7071067812);
  }
}
@keyframes flap-color {
  from, 87.5%, to {
    background-color: var(--hotpink500);
  }
  12.5%, 25% {
    background-color: var(--orange500);
  }
  37.5%, 50% {
    background-color: var(--blue500);
  }
  62.5%, 75% {
    background-color: var(--purple500);
  }
}
@keyframes flap-rotate {
  from {
    transform: rotateX(0);
  }
  to {
    transform: rotateX(-180deg);
  }
}
@keyframes flap-rotate-fix {
  from, 50% {
    transform: translate3d(0, -50%, 0) scaleY(0);
  }
  to {
    transform: translate3d(0, -50%, 0) scaleY(1);
  }
}

/*Unicorn*/

.animation img {
  /*height: 500px;*/
}

.slide__2 {
  animation: unicorn__two 0.8s infinite steps(1);
  opacity: 1;
}

.slide__1 {
  animation: unicorn__one 0.8s infinite steps(1);
  opacity: 0;
}

@keyframes unicorn__one {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes unicorn__two {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

/*Pulse*/

  .pulsating-circle p {
    margin: auto;
  }

.pulsating-circle {
  position: relative;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 150px;
  height: 150px;
  filter: blur(.8rem);


  &:before {
    content: '';
    position: relative;
    display: block;
    width: 300%;
    height: 300%;
    box-sizing: border-box;
    margin-left: -100%;
    margin-top: -100%;
    border-radius: 50%;
    background-color: #6c68e2;
    animation: pulse-ring 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  }
  
  &:after {
    content: '';
    position: absolute;
    left: 0; 
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #fbd787;
    border-radius: 50%;
   /* box-shadow: 0 0 8px rgba(0,0,0,.3);*/
    animation: pulse-dot 1.25s cubic-bezier(0.455, 0.03, 0.515, 0.955) -.4s infinite;
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(.33);
  }
  80%, 100% {
    opacity: 0;
  }
}

@keyframes pulse-dot {
  0% {
    transform: scale(.8);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(.8);
  }
}


/* widening circles */

.pulse-wrapper {
  position: relative;
 /* left: 0%;
  top: 50%;*/
  margin: auto;
  }

.circle {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 30px;
  height: 30px;

  background: white;
  border-radius: 50%;

  transform: translate(-50%, -50%) scale(0);

  animation: pulse 8s linear infinite;
  opacity: 0;
}

.c2 {
  animation-delay: 1.3s;
}

.c3 {
  animation-delay: 2.6s;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(10);
    opacity: 0;
  }
}

/* Clocks */

.clock {
    /*box-shadow: inset 0 0 0 0.013em #000;*/
    background: url(../img/Clock.svg) no-repeat center;
    min-height: 250px;
    margin-left: auto;
  margin-right: auto;
    /*border-radius: 0.5em;*/
    position: relative;
    font-size: 250px;
    overflow: hidden;
    height: 1em;
    width: 1em;
}
.clock::after {
    content: '';
    background-color: #f00;
    border-radius: 0.5em;
    margin-left: -0.5em;
    margin-top: -0.5em;
    position: absolute;
    font-size: 0.03em;
    display: block;
    height: 1em;
    width: 1em;
    left: 50%;
    top: 50%;
}
.clock__hand-container, .clock__hand, .clock__stroke {
    margin-left: -0.5em;
    margin-top: -0.5em;
    font-size: inherit;
    position: absolute;
    display: block;
    height: 1em;
    width: 1em;
    left: 50%;
    top: 50%;
}
.clock__stroke::after {
    content: "";
    border-radius: 0/* 0 0.02em 0.02em*/;
    background-color: #000;
    margin-left: -0.01em;
    position: absolute;
    display: block;
    height: 0.03em;
    width: 0.01em;
    top: 0.01em;
    left: 50%;
}
.clock__stroke--small::after {
    content: "";
    border-radius: 0/* 0 0.0125em 0.0125em*/;
    height: 0.02em;
    width: 0.005em;
}
.clock__stroke--1 {
    transform: rotate(6deg);
}
.clock__stroke--2 {
    transform: rotate(12deg);
}
.clock__stroke--3 {
    transform: rotate(18deg);
}
.clock__stroke--4 {
    transform: rotate(24deg);
}
.clock__stroke--5 {
    transform: rotate(30deg);
}
.clock__stroke--6 {
    transform: rotate(36deg);
}
.clock__stroke--7 {
    transform: rotate(42deg);
}
.clock__stroke--8 {
    transform: rotate(48deg);
}
.clock__stroke--9 {
    transform: rotate(54deg);
}
.clock__stroke--10 {
    transform: rotate(60deg);
}
.clock__stroke--11 {
    transform: rotate(66deg);
}
.clock__stroke--12 {
    transform: rotate(72deg);
}
.clock__stroke--13 {
    transform: rotate(78deg);
}
.clock__stroke--14 {
    transform: rotate(84deg);
}
.clock__stroke--15 {
    transform: rotate(90deg);
}
.clock__stroke--16 {
    transform: rotate(96deg);
}
.clock__stroke--17 {
    transform: rotate(102deg);
}
.clock__stroke--18 {
    transform: rotate(108deg);
}
.clock__stroke--19 {
    transform: rotate(114deg);
}
.clock__stroke--20 {
    transform: rotate(120deg);
}
.clock__stroke--21 {
    transform: rotate(126deg);
}
.clock__stroke--22 {
    transform: rotate(132deg);
}
.clock__stroke--23 {
    transform: rotate(138deg);
}
.clock__stroke--24 {
    transform: rotate(144deg);
}
.clock__stroke--25 {
    transform: rotate(150deg);
}
.clock__stroke--26 {
    transform: rotate(156deg);
}
.clock__stroke--27 {
    transform: rotate(162deg);
}
.clock__stroke--28 {
    transform: rotate(168deg);
}
.clock__stroke--29 {
    transform: rotate(174deg);
}
.clock__stroke--30 {
    transform: rotate(180deg);
}
.clock__stroke--31 {
    transform: rotate(186deg);
}
.clock__stroke--32 {
    transform: rotate(192deg);
}
.clock__stroke--33 {
    transform: rotate(198deg);
}
.clock__stroke--34 {
    transform: rotate(204deg);
}
.clock__stroke--35 {
    transform: rotate(210deg);
}
.clock__stroke--36 {
    transform: rotate(216deg);
}
.clock__stroke--37 {
    transform: rotate(222deg);
}
.clock__stroke--38 {
    transform: rotate(228deg);
}
.clock__stroke--39 {
    transform: rotate(234deg);
}
.clock__stroke--40 {
    transform: rotate(240deg);
}
.clock__stroke--41 {
    transform: rotate(246deg);
}
.clock__stroke--42 {
    transform: rotate(252deg);
}
.clock__stroke--43 {
    transform: rotate(258deg);
}
.clock__stroke--44 {
    transform: rotate(264deg);
}
.clock__stroke--45 {
    transform: rotate(270deg);
}
.clock__stroke--46 {
    transform: rotate(276deg);
}
.clock__stroke--47 {
    transform: rotate(282deg);
}
.clock__stroke--48 {
    transform: rotate(288deg);
}
.clock__stroke--49 {
    transform: rotate(294deg);
}
.clock__stroke--50 {
    transform: rotate(300deg);
}
.clock__stroke--51 {
    transform: rotate(306deg);
}
.clock__stroke--52 {
    transform: rotate(312deg);
}
.clock__stroke--53 {
    transform: rotate(318deg);
}
.clock__stroke--54 {
    transform: rotate(324deg);
}
.clock__stroke--55 {
    transform: rotate(330deg);
}
.clock__stroke--56 {
    transform: rotate(336deg);
}
.clock__stroke--57 {
    transform: rotate(342deg);
}
.clock__stroke--58 {
    transform: rotate(348deg);
}
.clock__stroke--59 {
    transform: rotate(354deg);
}
.clock__hand--hour::after {
    content: "";
    border-radius: 0/*.015em 0.015em 0.01em 0.01em*/;
    background-color: #000;
    margin-bottom: -0.05em;
    margin-left: -0.025em;
    font-size: inherit;
    position: absolute;
    display: block;
    height: 0.3em;
    width: 0.05em;
    bottom: 50%;
    left: 50%;
}
.clock__hand--minute::after {
    content: "";
    border-radius: 0/*.012em 0.012em 0.01em 0.01em*/;
    background-color: #000;
    margin-bottom: -0.05em;
    margin-left: -0.015em;
    font-size: inherit;
    position: absolute;
    display: block;
    height: 0.45em;
    width: 0.03em;
    bottom: 50%;
    left: 50%;
}
.clock__hand--second::after {
    content: "";
    border-radius: 0/*.01em 0.01em 0.005em 0.005em*/;
    background-color: #f00;
    margin-bottom: -0.08em;
    margin-left: -0.005em;
    font-size: inherit;
    position: absolute;
    display: block;
    height: 0.5em;
    width: 0.01em;
    bottom: 50%;
    left: 50%;
}

/* Clocks end */

.counter {
  padding: 15px 0;
  margin: 0;
  color: rgb(255, 255, 255);
  background-color: #6c68e2;
  }

.counter h2 {
  text-align: center;
}

.counter__img {
  width: 150px;
  padding: 0 0 0 0;
  margin: -60px 0 -60px 0;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.timer {
  margin: auto; 
}


.timer__items {
  display: flex;
  justify-content: center;
  padding: 5vw 0;
  font-size: 10vw;
  /*align-items: stretch;*/
}

.timer__item {
  position: relative;
  max-width: 20vw;
  padding-bottom: 3vw;
  text-align: center;
  line-height: 1;
  /*font-weight: bold;*/
  color: rgb(255, 255, 255);
}

.timer__item::before {
  content: attr(data-title);
  display: block;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  font-size: 3vw;
  font-weight: normal;
  /* color: white; */
}
.timer__divider {
  width: 2px;
  padding: 0;
  margin-left: 0.3em;
  margin-right: 0.3em;
  opacity: 1;
  background-color: white;
}

/*Бесконечность*/

.infinite {
  filter: blur(0.4rem);
  margin: auto;
}

:root {
  --hue: 223;
  --bg: hsl(var(--hue),90%,95%);
  --fg: hsl(var(--hue),90%,5%);
  --trans-dur: 0.3s;
}

.ip {
  width: 16em;
  height: 8em;
}
.ip__track {
  stroke: hsl(var(--hue),90%,90%);
  transition: stroke var(--trans-dur);
}
.ip__worm1,
.ip__worm2 {
  animation: worm1 10s linear infinite;
}
.ip__worm2 {
  animation-name: worm2;
}

/* Dark theme */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: hsl(var(--hue),90%,5%);
    --fg: hsl(var(--hue),90%,95%);
  }
  .ip__track {
    stroke: hsl(var(--hue),90%,15%);
  }
}

/* Animation */
@keyframes worm1 {
  from {
    stroke-dashoffset: 0;
  }
  50% {
    animation-timing-function: steps(1);
    stroke-dashoffset: -358;
  }
  50.01% {
    animation-timing-function: linear;
    stroke-dashoffset: 358;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes worm2 {
  from {
    stroke-dashoffset: 358;
  }
  50% {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -358;
  }
}