
body{
    margin: 0;
    background-color: black;
}
main{
    width: min(1200px, 90vw);
    margin: auto;
}
.slider{
    width: 100%;
    height: var(--height);
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 10% 90%,
        transparent
    );
}
.slider .list{
    display: flex;
    width: 100%;
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
}
.slider .list .item{
    width: var(--width);
    height: var(--height);
    position: absolute;
    color: white;
    font-size: large;
    left: 100%;
    animation: autoRun 10s linear infinite;
    transition: filter 0.5s;
    animation-delay: calc( (10s / var(--quantity)) * (var(--position) - 1) )!important;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif
}
.slider .list .item img{
    width: 100%;
}
@keyframes autoRun{
    from{
        left: 100%;
    }to{
        left: calc(var(--width) * -1);
    }
}
.slider:hover .item{
    animation-play-state: paused!important;
    filter: grayscale(1);
}
.slider .item:hover{
    filter: grayscale(0);
}
.slider[reverse="true"] .item{
    animation: reversePlay 10s linear infinite;
}
@keyframes reversePlay{
    from{
        left: calc(var(--width) * -1);
    }to{
        left: 100%;
    }
} 
.itan{
    display: flex;
    align-items: center;
    justify-content: center;



}
.titan{
    height: 370px;
    width: 400px;
    padding-top: 60px;
    z-index: 1;
}
.ig{
    border-radius: 100px 
}
@media (max-width: 1000px) { /* Adjust breakpoint as needed for phone screens */
	.titan {
        height: 300px;
        width: 290px;
        padding-top: 40px; 
	}
  }

  .animated-image {
    height: 100px;
    border-radius: 100px;
    border: 0px solid red;
    float: left;
    animation: 1200ms steps(12) 0s infinite normal none running moveX12;
    background: url(https://petridish.pw/engine/animated/kederi1.png);
}

@keyframes moveX12 {
  0% {
    background-position-x: 0px;
  }
  100% {
    background-position-x: 2400px; 
  }
}

.animated-flow {
    border-radius: 100px;
    border: 0px solid red;
    float: left;
    animation: 1200ms steps(15) 0s infinite normal none running moveX15;
    background: url(https://petridish.pw/engine/animated/flow10.png);
    height: 100px;
}

@keyframes moveX15 {
  0% {
    background-position-x: 0px;
  }
  100% {
    background-position-x: 3000px; 
  }
}
.home {
    position: absolute;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    top: 22px;
    right: 0px;
    transform: translate(-50%, -50%) scale(1.0);
    border: white solid 1px;
    padding: 5px;
    border-radius: 100%;
}

video {
    position: fixed; /* Зафиксировать видео на фоне */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Подгонка видео под размер окна */
}

.titan {
    animation: titan-bounce 3s ease-in-out infinite;
  }
  
  @keyframes titan-bounce {
    0% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-10px);
    }
    100% {
      transform: translateY(0px);
    }
  }