/* custom fonts */
@font-face{
    font-family:"Neue Haas";
    src:url(fonts/NeueHaasDisplay-Roman.ttf) format('truetype');
    font-style: normal;
    font-weight: 400;
}

@font-face{
    font-family:"Neue Haas";
    src:url(fonts/NeueHaasDisplay-Medium.ttf) format('truetype');
    font-style: normal;
    font-weight: 500;
}

@font-face{
    font-family:"Neue Haas";
    src:url(fonts/NeueHaasDisplay-Bold.ttf) format('truetype');
    font-style: normal;
    font-weight: 700;
}

body{ 
    background-color: #222;
    margin: 0 auto;
    min-width: 520px;

    font-family: Neue Haas;
}

/* header style */
.header{
    display: flex;
    height: 85px;
    background-color: #c99adf;
}

.header img{
    aspect-ratio: 1;
    height: 90px;
    background-color: #fff;
    border: 4px solid #5c2077;
    border-radius: 5px;

    margin-left: 30px;
    margin-top: 10px;
}

.header h1, .header h2{ margin: 0 }

.flexWrapper{
    display: flex;
    
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.flexWrapper img{
    width: 120px;
    height: 120px;
}

.title{ 
    margin: auto 0; 
    margin-left: 15px;
}

.title h1{ font-size: 30px; }

.title h2{
    font-size: 20px;
    font-weight: 400;
}

.info{
    position: relative;
    display: flex;
    user-select: none;

    /*left: 143px;
    top: 75px;*/
    rotate: -0.8deg;
    height: 22px;

    background-color: #f7c4fd;
    padding: 3px 12px;
    margin-left: -215px;
    margin-top: 75px;
}

.info h1{ 
    font-size: 18px;
    font-weight: 500;
}

.info h2{ 
    font-size: 16px;
    font-weight: 400;

    margin-left: 5px;
    margin-top: 2.3px;
}

/* body styles */
.body{
    display: flex;
    flex-direction: row;

    margin: 0 auto;
    margin-top: 35px;
    max-width: 1300px;
}

.collapsible{
    display: flex;
    flex-direction: column;

    width: 100%;
}

.text{
    background-color: #f5eed7;
    padding: 10px 15px;
    margin: 30px;
}

.text:first-child{ margin-bottom: 0; }

.text h1{
    display: inline-block;
    margin: 10px 0;
    margin-top: 0;
    margin-left: -15px;
    padding: 3px 25px;
    padding-left: 38px;

    font-size: 36px;
    font-weight: 500;

    background-color: #c99adf;
}

.text h2{ 
    margin-bottom: 0;
    font-weight: 500;
}

.text p{
    margin: 10px 0;
    margin-top: 0;
    
    font-family: Arial;
    font-size: 15px;
}

.recent img{ width: 50%; }

/* songlist table */
.songlist{
    display: flex;
    flex-direction: column;

    width: 100%;
    max-width: 400px;
    margin-top: 20px;
    margin-right: 40px;
}

.songlist h1{
    margin: 10px 0;
    font-size: 36px;

    color: #fff;
}

.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 0;
    padding-left: 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: #faf5f1;
}

.songlist tr:nth-child(even){
    background-color: #e6e3e0;
}

.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;
}

@media only screen and (min-width: 1075px){
    .collapsible{ 
        flex-direction: row;
        width: 100%;
    }
    
    .songlist{ min-width: 400px }

    .text:first-child{ margin-right: 0px; }
}

@media only screen and (max-width: 720px){
    .body{ 
        flex-direction: column;
        padding-bottom: 26.5vh;
    }

    .header{ 
        position: sticky;
        top: 0;
    }

    .flexWrapper{ position: relative }

    .songlist{ 
        margin: 0 auto;
        max-width: 80%;
    }

    .text{ margin: 20px auto; max-width: 80% }
}