/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.tape{
	    background-color:#1D1D1D;
		padding:10px;
}
.ticker {
  position: relative;
  overflow: hidden;
  display: flex;
}

.ticker__wrapper {
  display: flex;
  white-space: nowrap;
  flex-shrink: 0;
  /* Анимация: 20 секунд, линейная, бесконечная */
  animation: ticker-move 40s linear infinite;
}

.ticker__item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 40px; /* Отступ между повторяющимися блоками */
}

.ticker__text {
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  margin-right: 15px; /* Расстояние от текста до кнопки */
}

.ticker__button {
  text-decoration: none;
  font-size: 12px;
  padding: 4px 10px;
  background-color: #fff; /* Цвет кнопки (настрой под себя) */
  color: #000;            /* Цвет текста кнопки */
  border-radius: 4px;
  font-weight: 400;
}

/* Сама анимация */
@keyframes ticker-move {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    /* Сдвигаем ровно на половину или на ширину одного цикла, 
       чтобы создать эффект бесконечного цикла */
    transform: translate3d(-50%, 0, 0);
  }
}

/* Остановка при наведении (опционально, удобно для клика по кнопке) */
.ticker:hover .ticker__wrapper {
  animation-play-state: paused;
}