@import url(./components/utils.css);
@import url(./components/color-themes.css);
@import url(./components/navbar.css);
@import url(./components/footer.css);
@import url(./components/media_query.css);

@font-face {
    font-family: 'Spotify Mix';
    src: url('SpotifyMix-Regular.eot');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --gray-text-color: #8e8e8e;
    --dark-gray-bg-color: #1f1f1f;
    --gray-border-color: #7c7c7c;
    --dark-gray-bg-main-color: #121212;
    --gray-bg-items-color: #2a2a2a;
    --pink-bg-color: rgb(220, 20, 140);
    --purple-bg-color: rgb(132, 0, 231);
    --green-bg-color: rgb(0, 100, 80);
    --light-green-bg-color: rgb(20, 138, 8);
    --navy-blue-bg-color: rgb(30, 50, 100);
    --orange-bg-color: rgb(186, 93, 7);
}

* {
    box-sizing: border-box;
    font-family: 'Spotify Mix', sans-serif;
    font-weight: 500;
    font-style: normal;
    margin: 0;
    padding: 0;
}

body {
    height: 100%;
    overflow: hidden;
    width: 100vw;
    background-color: black;
}

.main {
    height: 78vh;
    width: 100vw;
    display: grid;
    grid-template-columns: 1.55fr 4fr;
    gap: 10px;
}

.lib {
    /* overflow-y: scroll; */
    overflow-x: hidden;
}

.main-child {
    background-color: var(--dark-gray-bg-main-color);
    padding: 10px;
    color: white;
}

.top-lib {
    width: 90%;
    position: relative;
    left: 15px;
    top: 10px;
    gap: 10px;
    justify-content: space-between;
    
}

.top-lib button {
    cursor: pointer;
    gap: 10px;
    text-decoration: none;
    color: var(--gray-text-color);
    background: none;
    border: none;
    appearance: none;
    font-size: medium;
}

.categ {
    position: relative;
    top: 25px;
    height: 50px;
    width: 100%;
}

.items {
    border-radius: 9999px;
    background-color: var(--gray-bg-items-color);
    height: 35px;
}

.plus {
    height: 35px;
    width: 35px;
}

.search_list {
    overflow-x: hidden;
    overflow-y: scroll;
    position: absolute;
    top: 27%;
    width: 26%;
    height: 400px;
    padding-right: 15px;
    scroll-behavior: smooth;
    
}

.lib-search {
    color: var(--gray-text-color);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
}

.lib-search-image {
    border-radius: 50%;
    height: 35px;
    width: 35px;
}

.lib-list {
    height: 410px;
    position: absolute;
    top: 14%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

.list-items {
    display: flex;
    width: 98%;
    align-items: flex-start;
    cursor: pointer;
    border-radius: 5px;
    padding: 8px;
    margin-right: 3px;
}

.list-items:hover {
    background-color: #272727;
    transition: ease-in-out 200ms;
}

.list-img img[alt="play-white"] {
    position: absolute;
    height: 20px;
    opacity: 0;

}

.list-item-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    margin-left: 10px;
}

.list-img img {
    border-radius: 5px;
}
    
.list-img {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.content-title {
    font-weight: 500;
    font-size: 16px;
}

.content-desc {
    font-weight: 500;
    color: var(--gray-text-color);
    font-size: 14px;
}

.browse {
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.browse:hover::-webkit-scrollbar {
    width: 15px;
    visibility: visible;
}

::-webkit-scrollbar {
    width: 15px;
    visibility: hidden;
}

::-webkit-scrollbar-thumb {
    transition: all 400ms ease-in-out;
    background-color: #b3b3b350;
    opacity: 0.8;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--gray-text-color);
}

::-webkit-scrollbar-thumb:active {
    cursor: grab;
}

.start-browse {
    position: relative;
    top: 10%;
    height: 50%;
}

.browse-list {
    position: absolute;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    top: 18%;
    height: 150px;
    width: 75%;
    gap: 20px;
}

.browse-all {
    position: relative;
    top: 10%;
    width: 100%;
}

.lower-categ {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    margin-top: 20px;
    gap: 20px;
}

.browse-item {
    cursor: pointer;
    position: relative;
    height: 150px;
    border-radius: 7px;
    overflow: hidden;
}

.browse-item:hover {
    transform: scale(1.02);
    transition: ease-in-out 200ms;
}

.browse-list-span {
    font-size: 130%;
    font-weight: 700;
    position: absolute;
    top: 12%;
    left: 8%;
}

.browse-list-img {
    position: absolute;
    border-radius: 4px;
    width: 40%;
    right: 0;
    bottom: 0;
    -webkit-transform: rotate(25deg) translate(18%, -2%);
    transform: rotate(25deg) translate(18%, -2%);
    -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .2);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .2);
}