/* custom fonts -------------- */
@font-face{
    font-family:"Garamond";
    src:url(fonts/Garamond.ttf) format('truetype');
    font-style: normal;
}

body{
    background-color: #dee;
    margin: 0;
    height: 100vh;
}

footer{
    position: fixed;
    bottom: 25px;
    right: 10px;
    z-index: 2;

    padding: 10px;

    user-select: none;
    text-align: right;
}

footer a, footer p{
    background-color: #fff;
    padding: 3px 6px;
}

footer a{ 
    padding-bottom: 10px; 
    padding-left: 18px;
    padding-right: 0px;
}

footer p{
    margin: 0;
    margin-left: auto;
    padding-right: 6px;

    text-align: right;
    width: fit-content;
}

footer iframe{
    background-color: #fff;
    width: 420px;
    height: 114px;
}

#container{
    display: flex;
    flex-direction: column;
    align-items: center;
    
    min-width: 620px;
}

/* anything regarding the left side */
.review{
    display: flex;
    width: 100%;
    min-width: 620px;
    max-width: 1000px;
}

.info, .songlist{
    width: 60%;
    height: 100vh;
}

.info{
    position: relative;
    display: flex;

    flex-direction: column;
    justify-content: center;

    width: 40%;
    max-width: 400px;
    height: 80vh;
    padding: 10vh 0;
    background-color: darksalmon;
    overscroll-behavior: contain;
}

.info ::-webkit-scrollbar{
  width: 6px;
  background-color: #00000000;
}

.info ::-webkit-scrollbar-thumb {
    height:25px;
    background-color:hsl(30, 2%, 42%);
    border-radius:3px;
}

.info img{
    display: block;

    width: 80%;
    max-width: 35vh;
    aspect-ratio: 1;
    margin: 0 auto;

    object-fit: cover;
    user-select: none;
}

.stats{
    position: absolute;
    width: 100%;
    bottom: 10px;

    text-align: center;
}

/* matches css with album cover */
.info h1, .info h2, .info h3, .info p, .genres{
    width: 80%;
    max-width: 35vh;
    margin: 0 auto;
}

.info h1{
    margin-top: 10px;

    line-height: 32px;
    font-size: 32px;
}

.info h2{
    font-size: 24px;
    font-weight: normal;
}

.info h3{
    margin-top: 4px;
    font: bold 16px Verdana;
}

.info p{
    margin-top: 15px;
    font-size: 17px;
    text-align: left;

    overflow-y: scroll;
}

.year{ 
    font-size: 14px; 
    font-family: Garamond;
}

.genres{ margin-top: 3px }

.genre{
    font-size: 11px;
    font-weight: normal;
    font-family: Verdana;
    
    background-color: #cbe1f3;
    padding: 2px 6px;

    height: 18px;
    vertical-align: center;
    margin: auto 2px;

    user-select: none;
}


/* table of songs */
.songlist{
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;

    max-width: 600px;
}

.songlist table{
    padding: 5px 0px;
    padding-top: 10px;
    width: 100%;

    border-collapse: collapse;
}

.songlist th{
    padding: 8px 0px;
    padding-right: 15px;
    width: 10%;

    font-weight: normal;

    transition: padding 0.15s ease-out, background-color 0.2s ease-out;
}

.songlist th:first-child{
    text-align: left;

    padding: 7px 15px;
    width: 45vw;
    max-width: 540px;
}

.songlist tr{
    transition: 0.2s ease-out, padding 0.5s ease, background-color 0.5s ease;
    user-select: none;
    
    background-color: #faf5f199;
}

.songlist tr:nth-child(even){
    background-color: #e6e3e099;
}

.songlist tr:hover{
    transition: 0.15s ease, scale 0.15s ease-out, 0.1s border;

    background-color: #ffefe0;
    cursor: pointer;
}

.songlist tr:hover th{
    padding-top: 18px;
    padding-bottom: 18px;
}

.songlist tr:hover .number{ color: #000; }

.active th{
    background-color: #dbf3cf;
    color: #132415;
    font-weight: bold;

    padding-top: 10px;
    padding-bottom: 10px;

    cursor: default;
    pointer-events: none;

    transition: padding 0.25s ease-out, background-color 0.4s ease-out;
}

.active .number{ 
    color: #111; 
    font-weight: bold; }

.active:hover{ cursor: default; }

.fav{ 
    background-color: #ffe7c2;
    border: 2px solid #d4b97c;

    border-radius: 25%;
    padding: 0px 2px;
    margin-left: -26px;
}

.number{
    transition: color 0.2s ease;

    margin: auto 0;
    margin-right: 6px;

    font: 14px Garamond;
    color: #555;
}

/* footer */
#volume{
    appearance: none;
    width: 100px;
    height: 8px;
    border-radius: 15px;
    margin: auto 0;
    margin-left: auto;
    margin-bottom: 8px;

    background: linear-gradient(90deg,rgba(0, 0, 0, 1) 0%, rgba(35, 116, 186, 1) 90%);
    transition: scale 0.1s ease-in;
}

::-webkit-slider-thumb {
    appearance: none;
    width: 8px;
    height: 20px;
    border-radius: 3px;

    background: #fff;
    border: 1px solid #999;
}

#volume:hover{ cursor: pointer; }

#volume::-webkit-slider-thumb{
    color: #fff;
}