/******************************RESET**********************************/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/****************************** FIN RESET**********************************/

:root {
    --bgcolor: #0e293df2;
    --secondary-color : #89F2C6;
    --fond-main: #0b0920;
}

body {
    background-color: var(--fond-main);
    background-image: linear-gradient(to left top, #352583b0, #32147395, #40147a50, #4f128162, #5e0f8899);
}


/****************************HEADER*****************/
header {
    height: 13vh;
    color: var(--secondary-color);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Comfortaa', Helvetica;
    font-size: 2rem;
    padding: 0 70px;
    box-sizing: border-box;
}

header h1 {
    letter-spacing: 0.2rem;
}

a { 
    color: var(--secondary-color);
    text-decoration: none;
    letter-spacing: 0.07rem;
    letter-spacing: 0rem;
    font-size: 1rem;
    font-family: 'Comfortaa', Helvetica;
    margin: 10px 10px 10px 10px;
    transition: text-decoration 2s linear;
}

ul {
    display: flex;
    justify-content: center;
}

a:hover {
    text-decoration: underline;
    cursor: pointer;
}


/************************MAIN***********************/

main {
    color: #dbfff0aa;
    background-color: var(--fond-main);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
    font-family: 'Inconsolata';
    padding: 0 70px;
    position: fixed;
    flex : 1;
    box-sizing: border-box;
    height: 78vh;
}



/***********************PLAYER***********************/
aside {
    /* background: rgb(69,122,226); */
    background-image: linear-gradient(to left top, #3d2b9693, #3f1c8c67, #40147a8c, #4f128162, #5e0f8868);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    width: 15rem;
    height: 27rem;
    gap: 20px;
    filter: drop-shadow(4px 4px 10px rgb(73, 72, 72));
    position: relative;
    margin-top: 10px;
    z-index: 10;
}

.a-lecoute {
    background-color: var(--secondary-color);
    color: var(--bgcolor);
    border-radius: 5px 5px 0 0;
    position: absolute;
    text-align: center;
    height: 15px;
    width: 85px;
    top: -15px;
    left: 20px;
    filter: drop-shadow(4px -2px 4px rgba(128, 128, 128, 0.238));
}

.cover {
    width: 150px;
    height: 260px;
    background-color: lightgrey;
    background-image: url();
    background-size: cover;
    display: grid;
    place-items: center;
    font-size: 4rem;
    color: var(--bgcolor);
}

.artist-display, .track-title {
    height: 30px;
    text-align: center;
    margin-bottom: 10px;
}

.track-title {
    font-size: 1.5rem;
}

.container-play-btns {
    display: flex;
    gap: 20px;
    font-size: 1.8rem;
    justify-content: center;
    align-items: center;
    color: var(--secondary-color);
    cursor: pointer;
}

.shuffle, .repeat {
    font-size: 1.1rem;
    color: #89f2c66e;
}

.active {
    color: var(--secondary-color);
}

.play-pause-toggle {
    font-size: 2rem;
}

.time {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.current-time, .total-time {
    width: 35px;
}

.container-volume {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 20px;
}

.container-volume .fa-volume-low {
    cursor: pointer;
    width: 17px;
}

input[type="range"] {
    accent-color: var(--secondary-color);
    background-size: 10% 100%;
}

.stop {
    background-color: var(--secondary-color);
    color: var(--bgcolor);
    border-radius: 5px 5px 0 0;
    position: absolute;
    text-align: center;
    width: 60px;
    bottom: 0;
    right: 30px;
    padding-right: 5px;
    filter: drop-shadow(4px -4px 10px rgba(45, 4, 75, 0.658));    
    height: 26px;
    transition: all .1s linear;
}

.stop:hover {
    cursor: pointer;
    width: 58px;
    height: 25px;
}

.reset {
    color: #7E8891;
    background-color: #D4D4D4;
}

.controls-reset {
    color: #7E8891;
}

.container-play-btns .reset {
    background-color: var(--bgcolor);
}

.stop i {
    padding: 5px 5px;
}

/***************DECORATIVE SHAPES***********************/

.deco1, .deco2 {
    width: 150px;
    height: 150px;
    position: absolute;
    border-radius: 50%;
}

.deco1 {
    width: 100px;
    height: 100px;
    top: 30px;
    left: -10px;
    z-index: -2;
    filter: blur(4px);
    background-color: rgba(0, 255, 225, 0.207);
}

.deco2 {
    bottom: 0px;
    right: 0px;
    z-index: -2;
    filter: blur(5px);
    background-color: rgba(132, 45, 137, 0.416);
}



/***************TRACKLIST***********************/

.tracklist {
    width: 69%;
    box-sizing: border-box;
}

table {
    width: 100%;
    padding: 0;
}

th {
    height: 40px;
    text-align: left;
    font-size: 1.3rem;
}

.invisible {
    padding: 0 10px;
    font-size: 1.1rem;
    display: none;
}

.titlehead {
    padding-left: 20px;
}

.durationhead {
    width: 4rem;
}

td {
    border-bottom: solid 1px rgba(189, 179, 179, 0.386);
    height: 1.8rem;
    text-align: left;
    padding-top: 10px;
    font-size: 1.1rem;
}

th:hover{
    color: white;
    cursor: pointer;
}

.song:hover {
    background-color: #29095586;
    color: white;
    cursor: pointer;
}

.filled {
    background-color: #29095586;
    color: white;
    cursor: pointer;
}

.number, 
.duration,
.numberhead, 
.durationhead {
    text-align: right;
    padding-right: 4px;
}

.number {
    width: 25px;
    padding-left: 7px;
}

.title {
    padding-left: 20px;
}

/*****************************FOOTER**********************************/
footer {
    height: 13vh;
    color: var(--secondary-color);
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: end;
    display: flex;
    justify-content: end;
    align-items: flex-end;
    box-sizing: border-box;
}


footer h1 {
    padding: 0 5rem 1rem 0;
    letter-spacing: 0.2rem;
    font-size: 2rem;
    font-family: 'Comfortaa', Helvetica;
}


@media (max-width: 805px){

    header {
        padding: 0;
    }

    header h1 {
        display: none;
    }
    
    main {
        padding: 0;
        flex-direction: column;
        padding-top: 20px;
        margin: 0px;
        height: auto;
    }

    footer {
        display: none;
    }
}

