/* Import Google font - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body{
  display: flex;
  padding: 0 10px;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background: #5372F0;
}
.wrapper{
  display: flex;
  padding: 35px;
  overflow-x: hidden;
  position: relative;
  max-width: 1000px;
  background: #fff;
  border-radius: 13px;
}
.wrapper .icon{
  top: 0;
  height: 100%;
  width: 120px;
  display: flex;
  align-items: center;
  position: absolute;
}
.icon:first-child{
  left: 0;
  display: none;
  background: linear-gradient(90deg, #fff 70%, transparent);
}
.icon:last-child{
  right: 0;
  justify-content: flex-end;
  background: linear-gradient(-90deg, #fff 70%, transparent);
}
.icon i{
  width: 55px;
  height: 55px;
  cursor: pointer;
  color: #575757;
  font-size: 1.2rem;
  text-align: center;
  line-height: 55px;
  border-radius: 50%;
}
.icon i:hover{
  background: #efedfa;
}
.icon:first-child i{
  margin-left: 15px;
}
.icon:last-child i{
  margin-right: 15px;
}
.wrapper .options{
  gap: 12px;
  width: 100%;
  display: flex;
  list-style: none;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
.options.dragging{
  cursor: grab;
  scroll-behavior: auto;
}
.options.dragging .option{
  user-select: none;
  pointer-events: none;
}
.options .option{
  cursor: pointer;
  font-size: 1.18rem;
  padding: 13px 20px;
  white-space: nowrap;
  border-radius: 30px;
  border: 1px solid #D8D5F2;
  background: #F5F4FD;
}
.options .option:hover{
  background: #efedfb;
}
.options .option.active{
  color: #fff;
  background: #5372F0;
  border-color: transparent;
}

@media screen and (max-width: 800px) {
  .wrapper{
    padding: 20px;
  }
  .wrapper .icon{
    width: 75px;
  }
  .wrapper .icon i{
    width: 40px;
    height: 40px;
    font-size: 1rem;
    line-height: 40px;
  }
  .icon:first-child i{
    margin-left: 10px;
  }
  .icon:last-child i{
    margin-right: 10px;
  }
  .wrapper .options{
    gap: 7px;
  }
  .options .option{
    font-size: 1rem;
    padding: 10px 15px;
  }
}