@import 'variables';

@font-face {
    font-family: 'OpenSans';
    src: url("../../fonts/OpenSans-Regular.ttf");
    font-weight: normal;
}

@font-face {
    font-family: 'OpenSans';
    src: url("../../fonts/OpenSans-Bold.ttf");
    font-weight: bold;
}

@font-face {
    font-family: OpenSans;
    src: url("../../fonts/OpenSans-SemiBold.ttf");
    font-weight: 500;
}

body{
    font-family: 'OpenSans'!important;
    font-weight: normal;
    transition: filter .5s ease-in-out;

    &.disconnected {
        filter: grayscale(100);

        & .disconnectedOverlay{
            display: block!important;
        }
    }
}

// App
#app {
    #main-container {
        @media (max-width: 1024px) {
            margin-bottom: 50px;
        }
    }

    .page-title {
        text-indent: 20px;
        padding: 10px;
        background: lighten($gray,50);
        color: #6a6d71;
        margin: 0px -15px 40px -15px;
        font-size: 1.8em;
    }


    #footer {
        position: fixed;
        bottom: 0px;
        width: 100%;
        color: #999;
        z-index: 100;
    }

    .song-name, .list-name, .stream-url {
        width: 100%;
        min-height: 8em;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-bottom: 20px;
        
        span {
            max-width: 100%;
            margin-bottom: 10px;

            &.file-name {
                font-size: 12px;
                font-weight: normal;
            }
        }

        @media (max-width:768px) {
            min-height: 5em;
            overflow-wrap: break-word;
        }
        
    }

    .list-name {
        min-height: 2em;
    }

    .btn {
        outline: none;
        
        &:focus {
            box-shadow: none;
        }
    }

    .disconnectedOverlay{
        transition: .5s all ease-in-out;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10005;
        display: none;
    }
    
}

// Customize
.vue-scrollbar__scrollbar-vertical {
    z-index: 10;
}

.tooltip {
    .tooltip-inner {
        font-size: 12px;
    }
    
    @media(max-width : 1024px) {
        display: none;
    }
}


// Helpers
.pull{
    &-right {
        float: right;
    }
    
    &-left {
        float: left;
    }
}

.d-f {
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-w {
    color: $white!important;
}

// Toasted
.toasted-container{
    z-index: 10003;
}