/* S : bgm */
.volume-button {
  box-sizing: border-box;
    position: absolute;
    bottom: 20px;
    left: 30px;
    width: 94px;
    height: 36px;
    /* background-color: #fff; */
    border: 1px solid #fff;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    color: #fff;
    font-size: 15px;
    transition: width 0.3s ease;
    cursor: pointer;
    z-index: 11111;
    font-family: 'SamsungOneKorean';
    transition:all 0.3s ease-in-out;
  }
  .volume-button p{
    margin: 0;
    font-size: 15px;
    line-height: 1;
  }
  .volume-controller {
    display: none;
    /* position: absolute; */
    /* right: 10px; */
    width: 80px;
    -webkit-appearance: none; /* 크롬, 사파리 */
    -moz-appearance: none; /* 파이어폭스 */
    appearance: none;
    height: 4px;
    background: #e0e0e0; /* 기본 배경색 회색 */
    outline: none;
    /* opacity: 0.7; */
    /* transition: opacity 0.2s; */
    cursor: pointer;
    border-radius: 5px;
    /* background: radial-gradient(118.29% 89.99% at 29.77% 6.58%, #805EE1 0%, #815FE1 100%); */
    box-shadow: inset 6px 6px 13px rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);

    
}

  .volume-controller::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    cursor: pointer;
    border-radius: 50%;
    background: radial-gradient(118.29% 89.99% at 29.77% 6.58%, #805EE1 0%, #815FE1 100%);
    box-shadow: inset 6.px 6px 13px rgba(255, 255, 255, 0.4);
    }

    .volume-controller::-moz-range-thumb {
        width: 12px;
        height: 12px;
        background: #805EE1;
        cursor: pointer;
        border-radius: 50%;
    }
  .volume-button:hover {
    width: 182px;
    background-color:#fff;
    border:1px solid #805EE1;
    color:#030303;
  }
  
  /* .volume-controller {
    display: none;
    position: absolute;
    right: 10px;
    width: 80px;
  }
   */
  .volume-button:hover .volume-controller {
    display: block;
  }
  
  .speaker-icon {
    width: 20px;
    display: block;
  }
  .speaker-icon img{
    width: 100%;
  }
  .muted {
    width: 20px;
    display: none;
  }
  
  .muted.visible {
    display: block;
  }
  .volume_icon{
    position: absolute;
    top: 55%;
    left: 58px;
    transform: translateY(-50%);
  }
  /* E : bgm */
  @media (max-width:768px) {
    .volume_icon img{
      width: 100%;
    }
    .volume-button{
      /* bottom: unset; */
      left: unset;
      /* top: 16px; */
      right: 16px;
      background-color: unset;
      border: none;
      width: 40px;
      height: 40px;
      padding: 0;
      z-index: 1111;display: none;
    }
    .volume-button p{
      display: none;
    }
    .volume-button:hover{
        width: 40px;
    }
    .volume-button > .icons{
        width: 40px;
        height: 40px;
    }
    .speaker-icon{}
    .volume_icon{
        width: 40px;
        top: unset;
        left: unset;
        transform: translateY(0%);
    }
    .volume-button:hover .volume-controller{
        display: none;
    }
  }