@tailwind base;
@tailwind components;
@tailwind utilities;

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
/* The slider itself */
.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 15px;
  border-radius: 5px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border-style:  solid;
  border-color: grey;
  border-width: thin;
  background: white;
  cursor: pointer;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.slider::-moz-range-thumb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

#play-pause {
    width: 100px;
    height: 100px;
}

#play-pause svg {
    top: 0px;
    width: 100px;
    height: auto;

}

html {
    /*stop the annoying flash on play/pause in iPhone*/
    -webkit-tap-highlight-color: transparent;
}

/*Show play or pause button depending on play class*/
#play {
    visibility: hidden;
}

#play-pause.play #pause {
    visibility: hidden;
}

#play-pause.play #play {
    visibility: visible;
}

/*if waiting class set, then hide controls - otherwise hide waiting*/
#waiting {
    display: none;
}

#remote.waiting #controls {
    display: none;
}

#remote.waiting #waiting {
    display: block;
}

/*if autoplay-error class set, then hide play/pause - otherwise hide warning*/
#autoplay-warning {
    display: none;
}

.autoplay-warning #play-pause {
    display: none;
}

.autoplay-warning #autoplay-warning {
    display: block;
}
