@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/*marquee image tool-tip text START*/
.marquee-img:hover::after {
    content: attr(data-title);
    position: absolute;
    max-width: 250px;
    background-color: #fff;
    color: #444;
    text-align: center;
    border-radius: 4px;
    padding: 8px;
    font-size: 14px;
    bottom: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* margin-left: -60px; */
    opacity: 1;
    box-shadow: 0 10px 6px rgba(0, 0, 0, 0.1);
  }
/*marquee image tool-tip text END*/
.marquee {
    font-weight: 600;
    color: tomato;
    width: 100vw;
    height: 500px;
    overflow: hidden;
}
.marquee-content {
    list-style: none;
    height: 100%;
    display: flex;
    animation: scrolling 20s linear infinite;
    animation-play-state: running;
}
.marquee-content.paused {
    animation-play-state: paused;
  }
@keyframes scrolling {
    0% { transform: translateX(0);}
    100% { transform: translateX(calc(-1*500px*14));}
}
/* .marquee-content li {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid teal;
    width: 20vw;
    flex-shrink: 0;
    font-size: 5rem;
    white-space: nowrap;
} */
.marquee-img {
    display: flex;
    width: 500px;
    height: 500px;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
}
.marquee-img img {
  width: 100%;
  height: auto;
}

@media (max-width:600px) {
    .marquee {
        height: 300px;
    }
    .marquee-img {
        width: 300px;
        height: 300px;
    }
    .marquee-content {
        animation: scrolling 15s linear infinite;
    }
    @keyframes scrolling {
        0% { transform: translateX(0);}
        100% { transform: translateX(calc(-1*300px*14));}
    }
}
/*pause animation on hover*/
.marquee-content:hover {
    animation-play-state: paused;
}
/*pause animation on touch*/
@media (hover: none) {
    .marquee-content:active {
      animation-play-state: paused;
    }
  }