

  .scroller {
    width: 90%;
    margin: 5px auto;
    overflow: hidden;
    display: flex;
    gap: 2rem;
    border: 1px solid lime;
    background-color: black;
    color: white;
    padding: 10px;
    
  }
.scroller:hover {
  cursor: pointer;
}

.scroller ul{ 
  list-style: none;
  display: flex;
  min-width: 100%;
  gap: 1.5rem;
  justify-content: space-between;
  animation: scroll 20s linear infinite;
}

.scroller:hover ul{
  animation-play-state: paused;
}

@keyframes scroll {
  to {
    transform: translateX(calc(-100% - 1rem));
  }
  
}

.test {
  background-color: red !important;
}

#modal-grid {
  display: none;
  flex-direction: row;
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  margin: 20px;
  padding: 20px;
  background-color: white;
  z-index: 1;
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.grid-header {
  cursor: pointer;
  font-weight: bold;
  text-align: center;
  color: black;
  background-color: pink;
  padding: 5px 0;
}
.grid-item {
  background-color: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.8);
  padding: 5px;
  font-size: 1em;
  text-align: center;
}
li {
margin: 0.1em;
list-style-type: none;
color: goldenrod;
font-weight: bold;
}
#sortGrid li { 
background-color:black;
}
button {
  position: absolute;
  font-size: 1em;
  right: 20px;
  background-color: black;
  color: white;
  border-radius: 12px;
  cursor: pointer;
}