* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-primary: system-ui, sans-serif;
    --primary-color: rgb(255,179,64);
    --primary-text-color: #000;
    --primary-bg-color: #fff;
    --secondary-bg-color: #f5f5f5;
    --track-color: #ddd;
    --font-size: 16px;
}

html {
    font-size: var(--font-size);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-bg-color);
}

body {
    width: 100%;
    color: var(--primary-text-color);
    font: 1rem/1.6 var(--font-primary);
    padding: 1rem;
}

@media screen and (min-width: 768px) {
    body {
        width: 30%;
        padding: 0;
    }
}

input, button {
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

input[type="range"]:focus {
  outline: none;
}


input[type="range"]::-webkit-slider-runnable-track {
  background-color: var(--track-color);
  border-radius: 0.5rem;
  height: 0.5rem;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  margin-top: -4px; 
  background-color: var(--primary-color);
  border-radius: 0.5rem;
  height: 1rem;
  width: 1rem;
}

input[type="range"]:focus::-webkit-slider-thumb {
  outline: 3px solid var(--primary-color);
  outline-offset: 0.125rem;
}

input[type="range"]::-moz-range-track {
  background-color: var(--track-color);
  border-radius: 0.5rem;
  height: 0.5rem;
}


input[type="range"]::-moz-range-thumb {
  background-color: var(--primary-color);
  border: none; 
  border-radius: 0.5rem;
  height: 1rem;
  width: 1rem;
}

input[type="range"]:focus::-moz-range-thumb{
  outline: 3px solid var(--primary-color);
  outline-offset: 0.125rem;
}

.player {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--primary-text-color);
    border-radius: 0.45rem;
    background-color: var(--secondary-bg-color);
}

.player-body {
    width: calc(100% - 75px);
    padding-left: 5%;
}

.player-play {
    background-color: var(--primary-color);
    width: 60px;
    height: 60px;
    color: var(--primary-text-color);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.player-handle,
.player-times {
    width: 100%;
}

.player-times {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}