/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

 .carousel {
    width: 100%;
    display: flex;
    gap: 4vw;
  
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
  }
  .ribbon {
    list-style-type: none;
    background-color: #eee;
    border: 1px solid #ddd;
  
    flex: 0 0 100%;
    scroll-snap-align: center;
  }
  .carousel::scroll-button(*) {
    border: 0;
    font-size: 2rem;
    background: none;
    color: rgb(0 0 0 / 0.7);
    cursor: pointer;
  }
  
  .carousel::scroll-button(*):hover,
  .carousel::scroll-button(*):focus {
    color: rgb(0 0 0 / 1);
  }
  
  .carousel::scroll-button(*):active {
    translate: 1px 1px;
  }
  
  .carousel::scroll-button(*):disabled {
    color: rgb(0 0 0 / 0.2);
    cursor: unset;
  }
  .carousel::scroll-button(left) {
    content: "◄";
  }
  
  .carousel::scroll-button(right) {
    content: "►";
  }
