@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap');

html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    font-family: 'Quicksand', sans-serif;
    background: rgb(52, 124, 153);
}

header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 60px;
    background: #fff;
}

header > h1{
    font-size: 20px;
    display: block;
    text-align: center;
    line-height: 30px;
}

header > #headerButtons {
    position: absolute;
    right: 20px;
    top: 20px;
}

header > #headerButtons > a {
    color: black;
    text-decoration: none;
    padding: 5px 8px;
    border-radius: 3px;
    border: 1px solid #e3e3e3;
    cursor: pointer;
}

header > #headerButtons > a:hover {
    border-color:rgb(27, 226, 226);
}

main{
    width: 100vw;
    height: calc(100vh - 60px);
    padding-top: 60px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

main .box{
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    min-width: 300px;
    min-height: 200px;
    max-width: 70%;
    box-shadow: 0 5px 10px -6px rgba(0, 0, 0, 0.2);
    border: 5px solid #2c6b84;
}

#facecam{
    position: relative;
}

#trackInfo{
    color: white;
    overflow: hidden;
    margin: 10px 0;
}

#emotionlbl{
    float: right;
    min-width: 121px;
    margin: 0
}

#trackName{
    margin: 0;
    float: left;
}

#facecam > canvas {
    position: absolute;
    top: 50%;
    margin-top: -200px;     /* FIXME: this is really bad */
}

#player {
    width: 400px;
    height: 100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#player > button {
    font-size: 30px;
    background: transparent;
    color: #fff;
    border: none;
    /* transition: transform 20ms ease-out; */
    cursor: pointer;
}

#player > button:active {
    transform: scale(1.05);
}

#player > button:nth-of-type(2) {
    font-size: 40px;
    color: #347c99;
    background: white;
    border-radius: 120px;
    padding: 10px 0px 10px 7px;
    width: 70px;
    height: 70px;
    text-align: center;
}

#player > button[data-playing="false"] > i:first-of-type {
    display: none;
}

#player > button[data-playing="false"] > i:last-of-type {
    display: inline;
}

#player > button[data-playing="true"] > i:first-of-type {
    display: inline;
}

#player > button[data-playing="true"] > i:last-of-type {
    display: none;
}

#player > button:nth-of-type(2)[data-playing="true"] {
    padding-left: 1px;
}

/* main {
    width: 100vw;
    height: calc(100vh - 60px);
    padding-top: 60px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#videoBlock {
    position: relative;
    width: 50vw;    
    height: 100%;
    background: rgb(35, 83, 102);
    display: flex;
    justify-content: center;
    align-items: center;
}

#musicPlayerBlock{
    width: 50vw;
    height: 100%;
} */