/*
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: 1.9.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 */
/* Container styles */
.scrolling-text-container {
  display: flex;
  position: relative;
  height: 100px;
  margin: auto;
  overflow: hidden;
  z-index: 1;
}

.scrolling-text-inner {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    white-space: nowrap;
    transform: scale(2);
    transition: all 1s ease;
}

.scrolling-text {
    display: flex;
}

.scrolling-text.scrolling-left {
    animation: scroll-left 30s infinite linear;
}

.scrolling-text.scrolling-right {
    animation: scroll-right 30s infinite linear;
}

.scrolling-text-item {
    padding: 0 30px;
    color: var(--e-global-color-b9c8243);
    font-family: "Cormorant", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    padding: 0;
    margin: 0;
    line-height: 1.2;
}

.scrolling-text-item:after {
    content: "•";
    display: inline-block;
    padding: 0 15px;
}

.scrolling-text-item:after:last {
    content: none;
}

/*div:hover {
  animation-play-state: paused;
}*/
@keyframes scroll-left {
  from {
      transform: translateX(0%);
  }
  to {
      transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  from {
      transform: translateX(-50%);

  }
  to {
      transform: translateX(0%);
  }
}



/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .scrolling-text.scrolling-left {
        animation: scroll-left 20s infinite linear;
    }

    .scrolling-text.scrolling-right {
        animation: scroll-right 20s infinite linear;
    }

    .scrolling-text-item {
        font-size: 40px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .scrolling-text.scrolling-left {
        animation: scroll-left 17s infinite linear;
    }

    .scrolling-text.scrolling-right {
        animation: scroll-right 19s infinite linear;
    }
}
