/* BASE */

html, body {
    height: 100%;
}

body {
    padding: 16px 0;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-variation-settings:"wdth" 100;
    /* font-weight: <weight>;
    font-style: normal; */
    color: white;

    background: linear-gradient(to bottom right, #211d2b, #2b1e32 40%, #2b1e32 60%, #191722) no-repeat;
    background-attachment: fixed;
}

.body-wrap {
    max-width: 900px;
    margin: 0 auto;
    min-height: 100%;
    border-radius: 4px;
}

@media (min-width: 1000px) {
    .body-wrap {
        outline: 1px solid rgb(77, 77, 77);
    }
}

/* HEADER */
header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 1.2rem;
    padding-top: 12px;
}

@media (max-width: 767px) {
    .main-menu {
        margin-top: 25px;
    }
}



.logo {
    text-decoration: none;
    color: #ccc;
    transition: .2s;
    padding: 4px 8px;
}
.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}
.logo span {
    font-size: .8rem;
}
.logo:hover {
    color: white
}

.main-menu__link {
    color: #ddd;
    text-decoration: none;
    display: inline-block;
    padding: 4px 8px;
    transition: .2s;
    /* outline: 1px solid red; */
}
.main-menu__link:hover {
    color: white;
}


/* input style */
.input-group-style button {
    background-color: #282337;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.input-group-style button:hover,
.input-group-style button:active {
    background-color: #282337;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.input-group-style input,
.input-group-style input:focus,
.input-style,
.input-style:focus {
    background-color: #282337;
    border-color: #4d4d4d;
    color: #ccc;
}

.input-group-style input::placeholder,
.input-style:focus {
    color: rgba(255,255,255,.5);
}


/* SEARCH */
.search {
    max-width: 275px;
    width: 100%;
    position: relative;
}
.search button {
    background-color: #282337;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.search button:hover,
.search button:active {
    background-color: #d06513 !important;

}
.search input,
.search input:focus {
    background-color: #282337;
    border-color: #4d4d4d;
    color: #ccc;
}
.search input::placeholder {
    color: rgba(255,255,255,.5);
}

.search button img {

}
.search__autocomplete {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    z-index: 100000;
    background-color: #282337;
    outline: 1px solid #4d4d4d;
    border-radius: 6px;
    overflow: hidden;
    display: none;
}
.search__autocomplete.active {
    display: block;
}
.search__autocomplete ul {
    list-style: none;
    padding:0;
    margin: 0;
}
.search__autocomplete a {
    display: block;
    /*outline: 1px solid red;*/
    border-bottom: 1px solid #4d4d4d;
    color: white;
    text-decoration: none;
    padding: 4px 12px;
    transition: .2s;
}
.search__autocomplete a.link-orange {
    background-color: #d06513 !important;
    font-weight: bold;
}
.search__autocomplete a:hover {
    background-color: rgba(100,100,100,.2);
}
.search__autocomplete  li:last-child a {
    border: 0;
}


    /* PLAYER */
.player {
    margin-top: 40px;
    background-color: #282337;
    border: 1px solid #342d48;
    border-radius: 12px;
    padding: 32px;
}



.music-data__text {
    color: white;
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.music-data__title {
    font-weight: bold;
    font-size: 1.3rem;
}
.music-data__artist {
    font-size: 1.1rem;
}

.control-panel {
    display: flex;
    color: white;
    //outline: 1px solid red;
    align-items: center;
    margin-top: 30px;
}


.equalizer {
    height: 100px;
    width: 100%;
    margin-top: 50px;
    position: relative;
}
.equalizer_bg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: #e0d8f9;
}
.equalizer_bgactive {
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    z-index: 2000;
    background-color: #ff7d00;
}
.equalizer_track {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3000;

    background: url("http://127.0.0.1:8901/static/test3.png") center no-repeat;
    background-size: 100% 100%;
    /*background-size: cover;*/
}

/* Controle Panel */
.control-panel__currtime {
    margin: 0 8px;
}
.control-panel__alltime {
    margin: 0 8px;
}
.control-panel__progresswrap {
    flex-grow: 1;
    cursor: pointer;
    margin: 0 8px;
    padding: 12px 0;
}
.control-panel__progress {

    text-align: center;
    height: 8px;
    background-color: #362b49;
    border-radius: 8px;
    overflow: hidden;
}
.control-panel__progressvalue {
    height: 100%;
    width: 33%;
    background-color: #f4f1ec;
}

.control-panel__btn {
    width: 52px;
    height: 38px;
    border-radius: 16px;
    background: #16151b url(/static/images/play-fill.svg) center center no-repeat;
    background-size: 50%;
    cursor: pointer;
    transition: .2s;
}
.control-panel__btn.pause {
    background-image: url(/static/images/pause-fill.svg);
}


.control-panel__btn:hover {
    background-color: #040404;
}
.control-panel__btn:active {
    background-color: #16151b;
}
.control-panel__volume {
    padding: 0 0 0 8px;
}
/*https://icons.getbootstrap.com/?q=volume*/
.control-panel__volumebtn {
    background: url(/static/images/volume-down-fill.svg) center center no-repeat;
    background-size: 100%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    opacity: 0.8;
    transition: .2s;
}

.control-panel__volumebtn:hover {
    opacity: 1;
}
#audio {
    width: 100%;
    margin: 15px 0;
}
/* END PLAYER */



/* LIST TRACK */
.track-list-header {
    margin: 64px 0 16px;
    color: white !important;
}
.list-track {
    padding: 0;
}
.list-track .track {
    padding: 16px 0 16px;
    border-bottom: 1px solid #282631;
}
.list-track .track:last-child {
    border-bottom: 0;
}


.track {
    display: flex;
    color: white;
    flex-direction: row;
    align-items: center;
    padding: 16px 12px !important;
    transition: .6s;
    cursor: pointer;
}
.track.active {
    background-color: rgba(255,255,255,.1) !important;
}
.track:hover {
    background: rgba(255,255,255,0.01);
}

.track__btn {}
.track__text {
    padding: 0 16px;
    flex-grow: 1;
}
.track__title {
    font-weight: bold;
    font-size: 1.2rem;
}
.track__artist {
    font-size: 1.1rem
}
.track__alltime {}
/* END LIST TRACK */


.btn-player {
    background: linear-gradient(to bottom right, #b1446b, #883279);
    border-radius: 6px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 2s !important;
    position: relative;
    overflow: hidden;
    user-select: none;
}
.btn-player::after,
.track.active.pause .btn-player::after {
    display: block;
    content: "";
    background: url(/static/images/play-fill.svg) center center no-repeat;
    background-size: 100%;
    width: 60%;
    height: 60%;
    position: relative;
    z-index: 20;
    /* outline: 1px solid red; */
}
.track.active .btn-player::after {
    background: url(/static/images/pause-fill.svg) center center no-repeat;
    background-size: 100%;
}

.btn-player::before {
    opacity: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    outline: 1px solid red;
    position: absolute;
    left: 0;
    top: 0;
    background: red;
    z-index: 10;
    background: linear-gradient(to top left, #b1446b, #883279);
    transition: .3s;
}
.btn-player:hover:before {
    opacity: 1;
}
.btn-player:active:before {
    opacity: 1;
    //background: linear-gradient(to top right, #b1446b, #883279);
    background: linear-gradient(to top left, #a84166, #812f73);
}
.btn-player_main {
    border-radius: 8px;
    width: 70px;
    height: 70px;
}

.page-link {
    background-color: #282337;
    color: white;
    border-color: #4d4d4d;
}
.active > .page-link {
    background-color: #d06513;
    border-color: #d06513;
}

footer {
    height: 50px;
}

.color-white {
    color: white;
}


.artists {
}
.artists__search {
    padding: 16px;
}

.artist {
    padding: 10px 16px;
    transition: .2s;
}
.artist:nth-child(even) {
    background-color: rgba(100,100,100, .03);
}
.artist:hover {
    background-color: rgba(200,200,200, .05);
}
.artist__link {
    color: white;
}


.albums {

}
.albums__search {
    padding: 16px;
}
.album {
    padding: 10px 16px;
    transition: .2s;
}
.album:nth-child(even) {
    background-color: rgba(100,100,100, .03);
}
.album:hover {
    background-color: rgba(200,200,200, .05);
}
.album__link {
    color: white;
}

