
/* Table row with extra space for rotation */
.slider-row {
    height: 120px; /* Enough space for rotation */
    position: relative;
    overflow: visible;
}

/* Container that handles the rotation */
.slider-rotator {
    position: absolute;
    top: 50%;
    left: -5;
    width: 105%;
    height: 60px; /* Actual banner height */
    transform: translateY(-50%) rotate(-3deg);
    transform-origin: left center;
    overflow: hidden;
}

/* The moving banner strip */
.slider-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 300%; /* Extra width for sliding */
    height: 100%;
    background-color: #CC5500;/*brown*/
    /*background-color:darkgray;*/
    animation: slide 15s linear infinite;
}

/* Text styling */
.slider-text {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    color: white;
    font-size: 25px;
    font-weight: normal;
    text-transform: uppercase;
    text-align: center;
    transform: translateY(-50%);
    white-space: nowrap;
}

/* Animation */
@keyframes slide {
   0% { left: -60%; }
 33% { left: 25%; }
  63% { left: 25%; }
 66% { left: 25%; }
  100% { left: -60%; }
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.33%); }
}

/* Prevent page scrolling */
body {
    overflow-x: hidden;
}


.slider-banner:hover { animation-play-state: paused; }

 





