/* import fonts */
@font-face {
    src: url(https://file.garden/aZIs8P3ch2qR4upS/Bitcount-Regular.ttf);
    font-family: bitcount;
}

@font-face {
    src: url(https://file.garden/aZIs8P3ch2qR4upS/StackSansNotch-Regular.ttf);
    font-family: stackNotch;
}

/* Image stuff */
.title {
    text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000; /* Outline */ 
    font-family: bitcount;
    height: 10px;
    margin: 0;
    padding: 0;
    color: #ff005d;
    font-size: 48px;
    z-index: 2;
    left: 2%;
    bottom: 6%;
    position: relative;
}

#banner {
    cursor: pointer;
}

/* Container */
.width {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.cont {
    border-style: solid;
    border-width: 1px;
    border-color: #656565;
    text-align: left;
    line-height: 1.5;
    font-family: stackNotch;
    overflow: auto;
    background-color: white;
    padding: 12px;
    height: 660px;
    max-width: 500px;
}

.right {
    text-align: right;
}

/* Audio styling */
.audioBar {
    display: flex;
    gap: 15px;
    align-items: center;
    border-style: solid;
    border-width: 1px;
    border-color: #656565;
    text-align: justify;
    font-family: stackNotch;
    background-color: white;
    padding: 12px;
    height: 27px;
    width: 500px;
}

#time {
    width: 5%;
}

/* Vol. + seek. slider styling */
#volumeSlider, #seekingSlider {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 10px;
    background: #c0c0c0;
    position: relative;
    padding: 0;
    left: 2%;
    width: 100px;
}

#volumeSlider {
    left: 35%;
}

/* srry this doesnt work on chr*me */
#seekingSlider::-moz-range-progress { 
    position: relative;
    background-color: rgba(255, 0, 93, 0.5);
    height: 1em;
    border-radius: 6px;
}

#volumeSlider::-moz-range-progress {
    background-color: rgba(0, 172, 255, 0.5);
    height: 1em;
    border-radius: 6px;
}

/* Default stuff styling */
html {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: grey;
}

code {
    font-family: stackNotch;
    padding: 4px;
    margin: 12px 0 12px 0;
    font-size: 14px;
    background-color: black;
    color: white;
}

button {
    color: #ff005d;
    cursor: pointer;
    border-color: #c0c0c0;
    border-radius: 12px;
    border-width: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-style: solid;
    padding: 5px;
    width: 40px;
    height: 40px;
}

a {
    color: #ff005d;
    cursor: crosshair;
}

mark {
    background-color: #ff005d;
    color: white;
    cursor: crosshair;
}

a:hover {
    font-style: italic;
}

/* Media queries for phones */

/* iPhone 14 Plus */
@media (max-width: 428px) {
    .cont, .audioBar {
        max-width: 350px;
    }
    #banner {
        width: 350px;
        height: 180px;
    }
    #volumeSlider, #seekingSlider {
        left: 4%;
        width: 100px;
    }
    
    #volumeSlider {
        left: 12%;
    }
}

/* iPhone 14 */
@media (max-width: 390px) {
    .cont, .audioBar {
        max-width: 320px;
    }
    #banner {
        width: 320px;
        height: 170px;
    }
    
    #volumeSlider, #seekingSlider {
        left: 4%;
        width: 100px;
    }
}

/* iPhone SE */
@media (max-width: 320px) {
    .cont, .audioBar {
        max-width: 250px;
    }
    #banner {
        width: 250px;
        height: 135px;
    }
    
    #volumeSlider, #seekingSlider {
        left: 5%;
        width: 50px;
    }
    
    #volumeSlider {
        left: 18%;
    }
}