.counterBoxContainer{
    position: relative;
    width: 80px;
    height: 50px;
    border-radius: 40px;
    border: 2px solid rgba(29,163,221,.2);
    transition: 0.5s;

  }
  .counterBoxContainer:hover{
    width: 120px;
    border: 2px solid rgba(29,163,221,1);
  }

  .counterBoxContainer .next{
    position: absolute;
    top: 50%;
    right: 30px;
    display: block;
    width: 12px;
    height: 12px;
    border-top: 2px solid #1da3dd;;
    border-left: 2px solid #1da3dd;;
    z-index: 1;
    transform: translateY(-50%) rotate(135deg);
    cursor: pointer;
    opacity: 0;
    transition: 0.5s;
  }

  .counterBoxContainer:hover .next{
    opacity: 1;
    right: 20px;
  }

  .counterBoxContainer .prev{
    position: absolute;
    top: 50%;
    left: 30px;
    display: block;
    width: 12px;
    height: 12px;
    border-top: 2px solid #1da3dd;;
    border-left: 2px solid #1da3dd;;
    z-index: 1;
    transform: translateY(-50%) rotate(315deg);
    cursor: pointer;
    opacity: 0;
    transition: 0.5s;
  }

  .counterBoxContainer:hover .prev{
    opacity: 1;
    left: 20px;
  }
  .counterBoxContainer #counterBox span{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 46px;
    color: #00deff;
    display: none;
    font-size: 24px;
    font-weight: 700;
    user-select: none;
  }

  .counterBoxContainer #counterBox span:nth-child(1){
    display: initial;
  }

  @media screen and (max-width: 768px) {
    .counterBoxContainer .prev{
      opacity: 1;
      left: 20px;
    }
    .counterBoxContainer .next{
      opacity: 1;
      right: 20px;
    }
    .counterBoxContainer{
      width: 120px;
      border: 2px solid rgba(29,163,221,1);
    }
  }