@font-face {
	/*
	Tutorial for online dissemination: https://www.pagecloud.com/blog/how-to-add-custom-fonts-to-any-website 
	*/
    font-family: 'determination-miniregular';
    src: url('/static/determination-mini.ttf') format('ttf'),
         url('/static/determination-mini-webfont.woff2') format('woff2'),
         url('/static/determination-mini-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

img.play_pause {
    height: 64;
    width: 64;
}

.track-list {
    float: left;
    width: 30%;
    /*height: auto; */
    border-right: solid 2px black;
}

.tl-elem-zero {
    font-family: 'determination-miniregular';
    height: 3em;
}

.tl-elem {
    font-family: 'determination-miniregular';
    border-top: solid 2px black; 
    height: 4em;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
}


.tl-infos {
    padding-top: .5em;
    display: table;
    width: 100%;
    table-layout: fixed;
}

.tl-tn,
.tl-td, 
.tl-tt {
    display: table-cell;
}


.tl-td {
    text-align: center;
}

.tl-tt {
    text-align: end;
    padding-right: 5px;
}

.sticky { 
    position: fixed;
    top: 0;
}

.right {
    right:0;
}

.copyright-notice {
    font-family: 'determination-miniregular';
    text-align: center;
    position: absolute;
    bottom: 0;
    margin-bottom: 10px;
    width: 100%;
    font-size: .75rem;
}

#nav-buttons-1{
    padding-top: .5rem;
    padding-bottom: .25rem;
    display: block;
    width:70%;
    margin: auto;
    overflow: hidden;
}


#nav-buttons-2{
    padding-top: .25rem;
    padding-bottom: .5rem;
    display: block;
    width:70%;
    margin: auto;
    overflow: hidden;
}

.holding-box {
    transition: background-color .5s;
    cursor: pointer;
    width: fit-content;
}

.square-button {
    transition: color .5s;
    font-family: 'determination-miniregular';
    padding: 1rem;
}

#playlists-holding-box {
    float: right;
    background-color: black;
}


#mosaique-holding-box {
    float: right;
    background-color: black;
}

#about-holding-box {
    float: left;
}


#trophy-holding-box {
    float: left;
    background-color: black;
}


#about-text {
    font-family: 'determination-miniregular';
    font-size: 1rem;
    margin-left: 1.5rem;
    margin-right: 0.5rem;
    line-height: 20px;
}

body {
    background-color: lightgreen;
    /* Smoothly transition the background color */
    transition: background-color .5s;
}

.title {
    font-family: 'determination-miniregular';
    font-size: 3vw;
    display: flex;
    justify-content: center;
    text-align: center;
    padding-top: .25em;
}
	
/* Using flex with the column direction to
align items in a vertical direction */
.player {
    height: 100%;
    /* display: flex;*/
    float: right;
    width: 70%;
}


.details {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin-top: 10px;
    width: 45%;
    float:left;
}

.actions {
    padding-top: 2em;
    float: left;
    width: 55%;
}


.track-art {
    margin-bottom: 5px;
    height: 270px;
    width: 270px;
    background-image: URL(
        "https://source.unsplash.com/Qrspubmx6kE/256x256");
    background-size: cover;
    background-position: center;
}


/* Changing the font sizes to suitable ones */
.now-playing {
    padding-bottom: 1em;
    font-family: 'determination-miniregular';
    font-size: .75rem;
}

.track-name {
    text-align: center;
    font-family: 'determination-miniregular';
    font-size: 1.5rem;
    padding-bottom: .5em;
}

.tl-label {
    padding-top: 1em;
    padding-bottom: 1em;
}

.tl-track-name {
    text-overflow: ellipsis;
    float: left;
}


/* .tl-playing {
    width:100%;
    height:2em;
    background-color: black;
    float: right;
    -webkit-mask: url('/static/musical_notes.svg') no-repeat center;
    mask: url('/static/musical_notes.svg') no-repeat center;
} */


.track-info {
    text-align: center;
    font-family: 'determination-miniregular';
    font-size: .75rem;
}


.time {
    font-family: 'determination-miniregular';
}

/* Using flex with the row direction to
align items in a horizontal direction */
.buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.playpause-track,
.prev-track,
.next-track {
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 10px;
    opacity: 0.75;  
    /* Smoothly transition the opacity */
    transition: opacity .2s;
    height: 25%;
}


.shuffle-track {
    padding: 25px;
    opacity: 0.75;  
    /* Smoothly transition the opacity */
    transition: opacity .2s;
}

.shuffle-track {
    background-color: black;
    -webkit-mask: url('/static/shuffle_track.svg') no-repeat center;
    mask: url('/static/shuffle_track.svg') no-repeat center;
}

/* Change the opacity when mouse is hovered */
.playpause-track:hover,
.prev-track:hover,
.next-track:hover,
.shuffle-track:hover {
    opacity: 1.0;
}

/* Define the slider width so that it scales properly */
.slider_container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Modify the appearance of the slider */
.seek_slider, .volume_slider {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 5px;
    background: black;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

/* Modify the appearance of the slider thumb */
.seek_slider::-webkit-slider-thumb,
.volume_slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: black;
    cursor: pointer;
}

/* Change the opacity when mouse is hovered */
.seek_slider:hover,
.volume_slider:hover {
    opacity: 1.0;
}

.seek_slider {
    width: 60%;
}

.volume_slider {
    width: 30%;
}

.current-time,
.total-duration {
    padding: 10px;
}

i.fa-volume-down,
i.fa-volume-up {
    padding: 10px;
}

/* Change the mouse cursor to a pointer
when hovered over */
i.fa-play-circle,
i.fa-pause-circle,
i.fa-step-forward,
i.fa-step-backward,
i.fa-random {
    cursor: pointer;
}


@media screen and (max-device-width: 600px)   {
    .details, .actions {
        width:100%;
    }

    .track-art {
        width: 400px;
        height: 400px;
    }

    .track-name {
        font-size: 2rem;
    }
    
    #about-text {
        font-size: 1.5rem;
        line-height: 27px;
    }

    .now-playing {
        font-size: 1rem;
    }


    .track-info {
        font-size: 1rem;
    }
}