@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=Work+Sans:wght@300&display=swap');
body{
    -webkit-tap-highlight-color: transparent;
    margin: 0;
    padding: 0;
    font-size: 10px;
    background-color: var(--color-primary);
    color: var(--font-color);
}

.search-wrap{
    top: 108px;
}

.switch-wrap{
    display: none;
}

.header{
    display: flex;
    align-items: center;
    /* box-shadow: 0 4px 20px 1px rgb(201, 199, 197); */
}
.logo img{
    height: 100px;
    width: 100px;
}
.title{
    font-family: 'Orelega One', 'sans-serif';
    font-size: 2rem;
    line-height: 100px;
}
.title span{
    color:var(--color-accent);
}
.home,.login{
    font-family:sans-serif;
    margin-left:30px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: var(--color-secondary);
    color: var(--font-color);
    border-radius: 30px;
    text-decoration: none !important;
}
.home:hover,.login:hover{
    border: 1px solid var(--border);
}
.home h1,.login h1{
    margin: 8px;
}

a{
    text-decoration: none !important;
}
.login{
    margin-right: 50px;
}

.main-content{
    margin-top: 90px;
}
.main-container{
    min-height: 100vh;
}

.song-image{
    border-radius: 4px;
    height: 300px;
    width: 300px;
}
.song-image img{
    border-radius: 4px;
    height: 300px;
    width: 300px;
}

#song-name{
    font-size: 2.5rem;
    margin: 0;
}
.song-detail,.song-detail{
    font-size:1.1rem;
    color: var(--text-primary);
}
#singer,#duration,#year,#album{
    color: var(--text-secondary);
}

.play{
    cursor: pointer;
    width: 100px;
    height: 40px;
    border-radius: 30px;
    background-color: var(--color-accent);
    color: var(--font-color);
    font-size: 1rem;
    font-family:'Roboto';
    -o-transition: 0.5s ease;
    -moz-transition: 0.5s ease;
    transition: 0.5s ease;
    
}
.play span{
    line-height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.play:active{
    transform: scale(0.9);
}
.fa{
    margin: 5px;
}
.download{
    cursor: pointer;
    width: 120px;
    height: 40px;
    background-color: var(--color-secondary);
    border-radius: 30px;
    font-size: 1rem;
    font-family:'Roboto';
}
.download:hover{
    border: 1px solid var(--border);
}
.download:active{
    transform: scale(0.9);
}
.download span{
    color: var(--font-color);
    line-height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.like{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-secondary);
    height: 40px;
    width: 40px;
    border-radius: 50%;
    cursor: pointer;
}
.like:hover{
    border: 1px solid var(--border);
}
#like-clicked{
    display: none;
    color: var(--color-accent);
}
.lyrics{
    display: none;
    position: relative;
    margin-top: 20px;
}
.lyrics-title{
    font-size: 1rem;
    font-family: Roboto;
}
.lyrics-body{
    height: 150px;
    border: 1.4px solid var(--border);
    padding: 20px;
    border-radius: 10px;
    background-color: var(--color-secondary);
    overflow-y: hidden;
    color: var(--text-primary)
}
.show-btn{
    display: flex;
    justify-content: center;
    height: 40px;
    width: 150px;
    margin-bottom: 20px;
    border-radius: 30px;
    align-items: center;
    background-color: var(--color-secondary);
    color: var(--font-color);
    cursor: pointer;
}
.show-btn:hover{
    border: 1.4px solid var(--border);
}
.show-btn h3{
    font-family: 'roboto';
    font-size: 1rem;
    margin: 0;
}
.hide-btn{
    display: none;
    justify-content: center;
    height: 40px;
    width: 100px;
    margin-bottom: 20px;
    border-radius: 30px;
    align-items: center;
    background-color: var(--color-secondary);
    color:var(--font-color);
    cursor: pointer;
}
.hide-btn:hover{
    border: 1.4px solid rgb(155, 152, 152);
}
.hide-btn h3{
    font-family: 'roboto';
    font-size: 1rem;
    margin: 0;
}
.lyrics-text h1{
    margin: 0;
    margin-top: -10px;
    line-height: 180%;
    font-size: 1.1rem;
    font-weight: 300;
    font-family: 'Roboto';
}

.fa-2x{
    font-size: 1.4em;
}
.fa-4x{
    font-size: 2.5em;
}

/* code for making page responsive */
@media (max-width:730px) {
    .search-wrap{
        top: 95px;
    }

    .logo img{
        height: 80px;
        width: 80px;
    }
    .header{
        justify-content: center;
    }
    .title{
        line-height: 80px;
        font-size: 1.5rem;
    }
    .home,.login{
        font-size: 0.5rem;
    }
    .song{
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
    }
    .action{
        margin: 0;
    }
    #song-name{
        font-size: 1.4rem;
    }
    #singer,.song-detail h2,#album,.song-detail h3{
        font-size: 1rem;
    }

    .song-image{
        margin: auto;
        height: 250px;
        width: 250px;
    }
    .song-image img{
        height: 250px;
        width: 250px;
    }
    .song-container{
        align-items: center;
        margin-top: 30px;
        margin-right: 30px;
        margin-left: 30px;
        margin-bottom: 30px; 
    }
    .play,.download{
        font-size: 0.8rem;
        width: 100px;
        height: 35px;
    }
    .like{
        height: 35px;
        width: 35px;
    }

    .play span,.download span{
        line-height: 35px;
    }
    .song-detail{
        margin: 0;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .lyrics{
        display: none;
        position: relative;
        margin-top: 30px;
        margin-left: 30px;
        margin-right: 30px;
        margin-bottom: 20px;
    }
    .lyrics-title{
        font-size: 0.8rem;
        margin-bottom: 30px;
    }
    .lyrics-text h1{
        font-size: 0.9rem;
    }
    .show-btn,.hide-btn{
        width: 110px;
        top: -8px;
        right: 0;
    }
    .show-btn h3,.hide-btn h3{
        font-size: 0.8rem;
    }
    .controls{
        height: 10rem;
        padding: 0;
        width: 90vw;
    }
    .controls #song-image{
        display: none;
    }
    .controls #song-title{
        display:none;
    }
    .controls #buttons{
        margin: auto;
    }
    .mob-song-title{
        display: inline-block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-family: Work sans;
        font-size: 1rem;
        font-weight: 600;
        height: 20px;
        width:240px;
        margin-bottom: 10px;
    }
}