@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300&family=Orelega+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300&family=Orelega+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300&display=swap');
body{
    -webkit-tap-highlight-color: transparent; 
    font-size: 10px;
    margin: 0;
    padding: 0;
    height: 100vh;
    background-color: var(--color-primary);
    color: var(--font-color);
    display: flex;
    flex-direction: column;
}
nav{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-family: 'Orelega One', 'sans-serif';
    user-select:none;
}
nav a{
    text-decoration: none;
}
.head{
    display: flex;
}

.logo{
    display: flex;
}
.logo img{
    height: 90px;
    width: 90px;
}
.title{
    line-height: 90px;
}
.title span{
    color:var(--color-accent);
}
.main-container{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.progress_bar{
    width: 0%;
}

.trending-wrap{
    margin-top: 70px;
}
.t-title{
    width: 80%;
    font-size: 1.5rem;
    font-family: Work sans,sans-serif;
    font-weight:600;
}
.t-title .fa{
    color: var(--color-accent);
}

/* for showing trending songs and recent songs */
.trending,.recent-songs{
    display: flex;
    width: 80%;
    scroll-behavior: smooth;
    overflow-x: auto;
}
.trending div,.recent-songs div{
    width: 160px;
    /* background-color: #ff9d09; */
    margin-right: 30px;
    border-radius: 10px;
    cursor: pointer;
}
.trending div img,.recent-songs div img{
    width: 160px;
    height: 160px;
    /* background-color: #fcb851; */
    border-radius: 10px;
}
.trending div h2,.trending div h3,.recent-songs div h2,.recent-songs div h3{
    height: 18px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: center;
    font-family: Work sans,sans-serif;
    margin: 2px;
    font-size: 15px;
    font-weight: bold;
    color: var(--font-color);
}
.trending div h3,.recent-songs div h3{
    font-size: 11.7px;
    color: #7A7A7A;
}

.footer{
    margin-top: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    font-size:1.3rem;
    width: 100%;
    height: 120px;
    text-align: center;
}
.footer h3{
    font-family: 'Balsamiq Sans',sans-serif;
    color: var(--font-color);
    align-self: center;
    display: inline-block;
    justify-content: center;
    flex-direction: column;
    margin: 10px;
}
.footer h3 .fa-heart{
    color: var(--color-accent);
}
.icons a{
    color:var(--text-secondary);
}
#github:hover{
    color: black;
}
#telegram:hover{
    color: #2CA3E0;
}
#twitter:hover{
    color: #1A91DA;
}



/* code for making page responsive */
@media (max-width:1050px){
    body{
        font-size: 8px;
    }
    .search-wrap{
        width: 60%;
        left: 20%;
    }
}
@media (max-width:1000px){
    .search-wrap{
        width: 65%;
        left: 17.5%;
    }
}
@media (max-width:900px){
    .search-wrap{
        width: 70%;
        left: 15%;
    }
}
@media (max-width:840px){
    nav{
        justify-content: space-between;
    }
    .small{
        font-size: 0.875rem;
    }
    .menus{
        visibility: hidden;
    }
    .logo img{
        height: 80px;
        width: 80px;
    }
    .title{
        line-height: 80px;
        font-size: 2rem;
    }
    .login,.home{
        line-height: 80px;
    }
    .search-wrap{
        height: 38px;
        width: 90%;
        left: 5%;
        font-size: 1rem;
        padding-right: 0%;
        padding-left: 10px;
    }
    .search-box{
        font-size: 1rem;
        height: 36.5px;
    }
    .result-img img{
        height: 50px;
        width: 50px;
    }

    .footer{
        font-size: 1rem;
        height: 100px;
        padding: 10px;
    }
    .trending-wrap{
        margin-top: 50px;
    }
    .trending div,.playlist div,.recent-songs div{
        margin-right: 10px;
        width: 120px;
    }
    .trending div img,.playlist div img,.recent-songs div img{
        height: 120px;
        width: 120px;
    }
    .trending div h2,.playlist div h2,.recent-songs div h2{
        font-size: 0.8rem;
    }
    .trending div h3,.playlist div h3,.recent-songs div h3{
        font-size: 0.6rem;
    }
    .t-title,.p-title{
        font-size: 1.2rem;
    }
    .trending,.playlist,.recent-songs{
        height: 160px;
    }
    
}

