html {
    box-sizing: border-box;
  }
*, *:before, *:after {
    box-sizing: inherit;
}
html {
    width: 100%;
    height: 100%;
}
body {
    width: 100%;
    height: 100%;
    margin: 0;
    background: #212629;
    color: #fff;
    overflow: hidden;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}
.tooltip {
    background: #000;
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    position: absolute;
    z-index: 100;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    display: none;

    &.active {
        display: block;
    }
}

input {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #222;
    background: #fff;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 4px;
    padding: 7px 14px;
    border: 0px;
    transition: 0.2s ease-in-out all;

    &:hover {
        background: #fff;
        color: #222;
        cursor: pointer;
    }
    &:focus {
        outline: 0;
    }
    &::placeholder {
        color: rgba(0,0,0,0.6);
    }
}
button, .button {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #fff;
    background: rgba(255,255,255,0.2);
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 4px;
    padding: 7px 14px;
    border: 0px;
    transition: 0.2s ease-in-out all;

    &:hover {
        background: #fff;
        color: #222;
        cursor: pointer;
    }
    &:focus {
        outline: 0;
    }
}
header {
    background: rgba(255,255,255,0.1);
    box-shadow: 0px 4px 8px rgba(0,0,0,0.4);

    & .title {
        font-size: 20px;
        padding: 15px 40px;
    }
}
section {
    margin: 20px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    display: none;

    &.active {
        display: block;
    }

    &.section-trackinfo {
        grid-template-columns: 100px auto;
        grid-template-rows: auto auto;
        grid-template-areas: "cover      metadata"
                             "actions    actions";
        grid-gap: 25px;

        &.active { display: grid; }
        & .cover {
            width: 100px;
            height: 100px;
            background: rgba(255,255,255,0.2);
            border-radius: 4px;
            grid-area: cover;
            background-size: cover;
        }
        & .metadata {
            grid-area: metadata;

            & .ui-song-title {
                font-size: 1.25em;
                font-weight: bold;
            }
            & .ui-song-subtitle {
                margin-bottom: 15px;
            }
            & .ui-song-artist {
                margin-bottom: 5px;
                opacity: 0.6;
            }
            & .ui-song-author {
                opacity: 0.6;
            }
        }
        & .actions {
            grid-area: actions;
        }
    }
    &.section-result {
        padding: 20px;
        text-align: center;
    }
}