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

body {
    background: rgb(0, 65, 83);
    background: linear-gradient(0deg, rgba(0, 65, 83, 1) 0%, rgba(16, 127, 155, 1) 100%);
    font-family: "Montserrat", serif;
}

#outer {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
}

#sitelogo {
    text-align: center;
    max-width: 400px;
    width: 100%;
    margin-bottom: 45px
}

.loaded #sitelogo {
    transform: scale(65%);
    -webkit-transform: scale(65%);
    -moz-transform: scale(65%);
    -ms-transform: scale(65%);
    -o-transform: scale(65%);
    margin-top: 15px;
    margin-bottom: 15px;
}

#sitelogo a {
    color: #fff;
    position: relative;
    top: 0px;
    font-size: 22px;
    text-decoration: none !important;
    font-weight: 600;
}

#sitelogo span {
    text-transform: uppercase;
    display: inline-block;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
}

.logosub {
    font-size: 15px;
    color: #9fcfdb;
}

#sitelogo:hover a {
    color: #9fcfdb;
}

#sitelogo:hover .logosub {
    color: #fff;
}

.container {
    text-align: center;
    background: #e7ecfa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}

.container:last-child {
    margin-top: 50px;
    background-color: transparent;
    box-shadow: NONE;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #004153;
    text-transform: uppercase;
}

input[type="file"] {
    margin-bottom: 20px;
}

.player-controls button {
    background: #0c3350;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

#speed-display {
    font-size: 28px;
    font-weight: bold;
}

.player-controls button:hover {
    background: #0056b3;
}

.progress-bar-container {
    margin: 8px 16px 0 16px;
}

input[type="range"] {
    width: 100%;
    cursor: pointer;
}

.slider-container {
    margin-top: 20px;
}

.slider-labels {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.slider-labels span {
    font-size: 0.9em;
    color: #555;
}

#speed-slider {
    flex-grow: 1;
    margin: 8px 5px 0 5px;
}

#upload2,
#player-outer {
    display: none;
}

#timer {
    color: #e7ecfa;
    font-variant-numeric: tabular-nums;
    font-size: 12px;
}

#player-outer {
    background: linear-gradient(0deg, rgba(0, 65, 83, 1) 0%, rgba(16, 127, 155, 1) 100%);
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    padding: 16px;
    transition: all ease-in-out 0.5s;
    -webkit-transition: all ease-in-out 0.5s;
    -moz-transition: all ease-in-out 0.5s;
    -ms-transition: all ease-in-out 0.5s;
    -o-transition: all ease-in-out 0.5s;
}

input[type="range"]#speed-slider {
    /* removing default appearance */
    -webkit-appearance: none;
    appearance: none;
    /* creating a custom design */
    width: 100%;
    cursor: pointer;
    outline: none;
    /*  slider progress trick  */
    overflow: hidden;
    border-radius: 16px;
}


/* Track: webkit browsers */

input[type="range"]#speed-slider::-webkit-slider-runnable-track {
    height: 15px;
    background: #ccc;
    border-radius: 16px;
}


/* Track: Mozilla Firefox */

input[type="range"]#speed-slider::-moz-range-track {
    height: 15px;
    background: #ccc;
    border-radius: 16px;
}


/* Thumb: webkit */

input[type="range"]#speed-slider::-webkit-slider-thumb {
    /* removing default appearance */
    -webkit-appearance: none;
    appearance: none;
    /* creating a custom design */
    height: 15px;
    width: 15px;
    background-color: #fff;
    border-radius: 50%;
    border: 2px solid #d544a2;
    /*  slider progress trick  */
    box-shadow: -407px 0 0 400px #d544a2;
}


/* Thumb: Firefox */

input[type="range"]#speed-slider::-moz-range-thumb {
    height: 15px;
    width: 15px;
    background-color: #fff;
    border-radius: 50%;
    border: 1px solid #d544a2;
    /*  slider progress trick  */
    box-shadow: -407px 0 0 400px #d544a2;
}


/* For Chrome, Safari, Opera, and Edge  */

input[type="range"]#progress-bar {
    accent-color: #107f9b!important;
}


/* For Firefox */

input[type="range"]#progress-bar::-moz-range-track {
    accent-color: #107f9b!important;
}

.player-controls button:hover {
    background: #107f9b;
}

#file-name {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    padding: 15px 15px 20px 15px;
}

footer {
    text-align: center;
    text-transform: uppercase;
    padding: 25px;
    color: #9fcfdb
}

footer a {
    color: #9fcfdb;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
    transition: all ease-in-out 0.5s;
    -webkit-transition: all ease-in-out 0.5s;
    -moz-transition: all ease-in-out 0.5s;
    -ms-transition: all ease-in-out 0.5s;
    -o-transition: all ease-in-out 0.5s;
}

input[type="file"] {
    display: none;
}

.custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 12px 24px;
    cursor: pointer;
    background-color: #fff;
}

.custom-file-upload:hover {
    background-color: #fffaf2;
}

@media only screen and (max-width: 600px) {
    .container {
        max-width: unset;
        width: 95%;
    }
    #pitch-slider {
        flex-grow: 1;
        margin: 0 5px;
    }
}