/*
 * 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.
 *

 */

@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

.main-player .slider {
  width: 100%;
  height: 100%;
  position: relative;
  background-image: linear-gradient(#f1f5f9, #f1f5f9);
  background-size: 100% 90%;
  background-repeat: no-repeat;
}

.main-player .thumb {
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background: #ffffff;
  cursor: grab;
  box-shadow:
    0px 1px 3px rgba(0, 0, 0, 0.5),
    0px 1px 2px rgba(0, 0, 0, 0.5);
  -webkit-transition: background 0.3s ease-in-out;
  transition: background 0.3s ease-in-out;
  position: absolute;
  bottom: 0;
  cursor: pointer;
}

.main-player .thumb:active {
  box-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) #38bdf8;
}

main.app {
  height: 100%;
}

.main-player input[type="range"] {
  -webkit-appearance: none;
  height: 8px;
  background: #f1f5f9;
  border-radius: 5px;
  background-image: linear-gradient(#38bdf8, #38bdf8);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  cursor: text;
}

.main-player input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  -moz-appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: #ffffff;
  cursor: grab;
  box-shadow:
    0px 1px 3px rgba(0, 0, 0, 0.5),
    0px 1px 2px rgba(0, 0, 0, 0.5);
  -webkit-transition: background 0.3s ease-in-out;
  transition: background 0.3s ease-in-out;
}

.main-player input[type="range"]::-webkit-slider-thumb:active {
  cursor: grabbing;
  box-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) #38bdf8;
}

.main-player input[type="range"]::-webkit-slider-runnable-track,
.main-player input[type="range"]::-moz-range-track,
.main-player input[type="range"]::-ms-track {
  -webkit-appearance: none;
  appearance: none;
  -moz-appearance: none;
  box-shadow: none;
  border: none;
  background: transparent;
}

@keyframes slide-in-right-to-left {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0%);
  }
}

.slide-in-right-to-left {
  animation: slide-in-right-to-left 0.1s forwards;
}

@keyframes slide-out-left-to-right {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(100%);
  }
}

.slide-out-left-to-right {
  animation: slide-out-left-to-right 0.1s forwards;
}

@keyframes slide-in-top-to-bottom {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.slide-in-top-to-bottom {
  animation: slide-in-top-to-bottom 0.2s forwards;
}
