*{
  margin: 0;
  padding: 0;
 }

.scroll {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #fff 20%, #fff 80%, transparent);
    mask-image: linear-gradient(90deg, transparent, #fff 20%, #fff 80%, transparent)
}

.scroll[data-animated="false"] ul,
.scroll[data-animated="false"] ul:nth-child(2){
  animation: none;
  overflow-x: scroll;
}

.scroll[data-animated="false"] ul::-webkit-scrollbar{
  display: none;
  position: relative;
}

.scroll ul {
    padding: 0;
    white-space: nowrap;
    animation: scroll var(--time) linear infinite;
    animation-delay: calc(var(--time)*-1);

}

.scroll ul span > div{
  display: flex;
  justify-content: space-between;
  align-items:center;
}
.scroll ul span > div h6{
  color: grey;
  margin: 5px 0;
}
.scroll ul span > div time{
  position: absolute;
  color: orange;
  font-size: xx-small;
  letter-spacing: 0;
  top:8px;
  right: 15px;
}

.scroll ul span > b{
  font-size:14px;
}

.scroll ul span > p{
  margin: 0;
}

.scroll ul .Message{
  display: block;
  overflow-y: scroll;
  text-wrap: wrap;
  margin: 5px 0 0;
  height: 50px;
}

.Message::-webkit-scrollbar{
  display: none;
}
.scroll ul:nth-child(2) {
    animation: scroll2 var(--time) linear infinite;
    animation-delay: calc(var(--time)/-2);
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes scroll2 {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-200%);
    }
}

.scroll ul span {
  display: inline-flex;
  position: relative;
  flex-direction: column;
  width: 300px;
  background: #ffffff;
  height: 125px;
  color: #000000;
  padding: 12px 15px;
  margin: 0 10px;
  border-radius: 10px;
  transition: 0.5s;
  border: 1px solid black;
}

.scroll ul span:hover {
/*     background: radial-gradient(white,white,white,#fff8d3); */
    cursor: pointer;
    height: 200px;
    transition: height 0.5s;  
    color: black;  
} 

.scroll ul:hover{
  padding: 0 10%;
}

.scroll ul span:hover div h6 {
  color: black;
  font-weight: bold;
  word-wrap: break-word;
}

.scroll ul span:hover b {
  color: black !important;
}

.scroll ul span:hover .Message {
height: fit-content;
}
