/* Use for debugging : border: 2px solid black;
        Extra styles:
          1 Fonts - font-family: 'Fira Code','JetBrains Mono', monospace;*/

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    height: 100dvh;
}

.page {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

.landing-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    font-family: Arial, sans-serif;
    color: aliceblue;
    margin: auto;
}


.title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    animation: slide-in-left 1s ease-in-out;
    font-family: 'Rubik Mono One', monospace;
}


.subtitle {
    font-size: 1rem;
    font-style: italic;
    text-align: center;
    margin-bottom: 2rem;
    animation: slide-in-right 1s ease-in-out;
    font-family: 'Rubik Mono One', monospace;
}


.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    animation: fade-in 1s ease-in-out;
    width: 70%;
}


.features li {
    display: flex;
    align-items: center;
    width: 300px;
    height: 100px;
    border: 2px solid rgb(104, 137, 226);
    border-radius: 10px;
    padding: 1rem;
    text-align: justify;
    font-family: 'Bebas Neue', sans-serif;
    color: rgb(214, 222, 245);
}


.features i {
    font-size: 2rem;
    color: rgb(214, 222, 245);
    margin-right: 1rem;
}


.download-button {
    display: inline-block;
    width: 200px;
    height: 50px;
    background-color: rgb(118, 151, 221);
    border: none;
    border-radius: 25px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
    cursor: pointer;
    margin-top: 2rem;
    animation: bounce-in 1s ease-in-out;
}


@keyframes slide-in-left {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-right {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes bounce-in {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

#home {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 15% 65% 20%;
}

.container {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 0;
    grid-row-start: 1;
    max-height: 200px;
    height: 200px;
    width: 650px;
    overflow-y: scroll;
    scroll-behavior: smooth;

}

.songs-desc {
    margin: 35px 0 0 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: white;
    text-align: center;
    grid-row-start: 1;
    grid-row-end: 2;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.songs-option {
    grid-row-start: 2;
    grid-row-end: 3;
    cursor: pointer;
    width: 100%;
    max-height: 600px;
    height: 80%;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-tap-highlight-color: transparent;

}


.song-card {
    height: 95%;
    width: 20%;
    min-width: 250px;
    background-color: black;
    box-shadow: -3px 5px 5px 1px #030303c2;
    border-radius: 10px;
    position: relative;
}

#song1 {
    margin: 0 20px 0 100px;
}

#song2 {
    margin: 0 5px 0 5px;
}

#song3 {
    margin: 0 100px 0 20px;

}

.song-card-overlay {
    height: 85%;
    width: 100%;

    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: linear-gradient(to top, black, transparent);

}

.song-card-img {
    height: 85%;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;

}

.song-card-title {
    color: white;
    font-family: 'Fira Code';
    border-radius: 10px;
    text-align: center;
    display: block;
    padding: 10px;
    background-color: black;

}

.songs-arrow-icon {
    grid-row-start: 3;
    grid-row-end: 4;
    display: flex;
    align-items: center;
    justify-content: space-around;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.songs-arrow-icon svg {
    height: 50px;
    width: 60px;
    --webkit-animation: vibrate-3 0.5s linear infinite both;
    animation: vibrate-3 0.5s linear infinite both;
}

@-webkit-keyframes vibrate-3 {
    0% {
        -webkit-transform: translate(0);
        transform: translate(0);
    }

    10% {
        -webkit-transform: translate(-2px, -2px);
        transform: translate(-2px, -2px);
    }

    20% {
        -webkit-transform: translate(2px, -2px);
        transform: translate(2px, -2px);
    }

    30% {
        -webkit-transform: translate(-2px, 2px);
        transform: translate(-2px, 2px);
    }

    40% {
        -webkit-transform: translate(2px, 2px);
        transform: translate(2px, 2px);
    }

    50% {
        -webkit-transform: translate(-2px, -2px);
        transform: translate(-2px, -2px);
    }

    60% {
        -webkit-transform: translate(2px, -2px);
        transform: translate(2px, -2px);
    }

    70% {
        -webkit-transform: translate(-2px, 2px);
        transform: translate(-2px, 2px);
    }

    80% {
        -webkit-transform: translate(-2px, -2px);
        transform: translate(-2px, -2px);
    }

    90% {
        -webkit-transform: translate(2px, -2px);
        transform: translate(2px, -2px);
    }

    100% {
        -webkit-transform: translate(0);
        transform: translate(0);
    }
}

@keyframes vibrate-3 {
    0% {
        -webkit-transform: translate(0);
        transform: translate(0);
    }

    10% {
        -webkit-transform: translate(-2px, -2px);
        transform: translate(-2px, -2px);
    }

    20% {
        -webkit-transform: translate(2px, -2px);
        transform: translate(2px, -2px);
    }

    30% {
        -webkit-transform: translate(-2px, 2px);
        transform: translate(-2px, 2px);
    }

    40% {
        -webkit-transform: translate(2px, 2px);
        transform: translate(2px, 2px);
    }

    50% {
        -webkit-transform: translate(-2px, -2px);
        transform: translate(-2px, -2px);
    }

    60% {
        -webkit-transform: translate(2px, -2px);
        transform: translate(2px, -2px);
    }

    70% {
        -webkit-transform: translate(-2px, 2px);
        transform: translate(-2px, 2px);
    }

    80% {
        -webkit-transform: translate(-2px, -2px);
        transform: translate(-2px, -2px);
    }

    90% {
        -webkit-transform: translate(2px, -2px);
        transform: translate(2px, -2px);
    }

    100% {
        -webkit-transform: translate(0);
        transform: translate(0);
    }
}

.lyric-con {
    height: 100px;
    width: 550px;
    padding: 50px 50px;
}

.container::-webkit-scrollbar {
    display: none;
}

.lyrics-text {
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    color: antiquewhite;
    font-family: 'JetBrains Mono';
}

.lyrics-text.active {
    font-size: 24px;
    color: antiquewhite;
    font-family: 'JetBrains Mono';
    animation: focus-in-contract 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@keyframes focus-in-contract {
    0% {
        letter-spacing: 1.2em;
        -webkit-filter: blur(12px);
        filter: blur(12px);
        opacity: 0;
        font-size: 1.5rem;
    }

    100% {
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 1;
        font-size: 24px;
    }
}

.card {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 0;
    grid-row-start: 1;
    margin-left: 30%;
    width: 300px;
    height: 400px;
    background-color: black;
    border-radius: 20px;
    box-shadow: -3px 5px 5px 1px #030303c2;
}

.album-art {
    width: 100%;
    height: 74%;
    position: relative;
}

.album-art-overlay {
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: linear-gradient(to top, black, transparent);
}

.art {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.controls {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 40px;
}

.controls button {
    background-color: rgba(37, 37, 37, 0.596);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    font-family: 'Fira Code';
    cursor: pointer;
    text-align: center;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-tap-highlight-color: transparent;

}

#play {
    border-radius: 50px;
    padding: 8px;

    height: 40px;
    width: 40px;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;

}

.playpauseicon img {
    object-fit: cover;
    height: 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    filter: invert(70%);
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out;
    position: absolute;
    top: 10px;
    left: 10px;
}

#playicon {
    margin-left: 2px;
}

.hideplaypause {
    opacity: 0;
    transform: rotateZ(90deg)
}



.song-info {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 50px;
}

.song-info span {
    color: white;
    font-family: 'JetBrains Mono';
    cursor: pointer;
    position: relative;
}

.muteUnmuteButton img {
    position: absolute;
    top: 0;
    left: 10px;
    width: 20px;
    height: 20px;
    filter: invert(100%);
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease-in-out;
}

.hidemuteunmute {
    opacity: 0;
}

progress {
    height: 8px;
}

embed {
    opacity: 0;
}

#landing {
    background: rgb(5, 1, 74);
    background: linear-gradient(rgb(0, 8, 29) 100%, 180deg, rgba(5, 1, 74, 1) 0%);

}

#home {
    background: rgb(5, 1, 74);
    background: linear-gradient(180deg, rgba(5, 1, 74, 1) 0%, rgb(0, 8, 29) 100%);
}

#p1 {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 100% 0%;
    background: rgb(0, 0, 0);
    background: linear-gradient(180deg, rgb(0, 8, 29) 0%, rgba(5, 1, 74, 1) 100%);
}


#pend {
    background: rgb(5, 1, 74);
    background: linear-gradient(180deg, rgba(5, 1, 74, 1) 0%, rgb(0, 8, 29) 100%);
}



@media screen and (max-width: 600px) {

    .page {
        width: 100%;
        height: 100%;
    }

    .songs-option {
        width: 100%;
        height: 60%;
        align-items: center;
        justify-content: space-around;
        flex-wrap: nowrap;
        flex-direction: column;
    }

    .song-card {
        height: 5rem;
        width: 50%;
        min-width: 170px;
        box-shadow: -3px 5px 5px 1px #030303c2;
        display: flex;
        flex-direction: row-reverse;
        flex-wrap: nowrap;
        justify-content: space-around;
    }

    .song-card-img {
        height: 100%;
        width: 40%;
    }

    .song-card-overlay {
        height: 100%;
        width: 40%;
        left: 60%;
        background-image: linear-gradient(to right, black, transparent);

    }

    .song-card-title {
        height: 100%;
        width: 60%;
        padding: 0;
        display: flex;
        align-content: center;
        justify-content: center;
        flex-wrap: wrap;

    }

    #song1 {
        margin: 65px 0 0 0;
    }

    #song2 {
        margin: 10px 0 10px 0;
    }

    #song3 {
        margin: 0 0 65px 0;
    }

    #p1 {

        grid-template-columns: 100% 0%;
        grid-template-rows: 60% 40%;
    }

    .lyrics-text.active {
        font-size: 22px;
    }

    @keyframes focus-in-contract {
        0% {
            letter-spacing: 1em;
            -webkit-filter: blur(12px);
            filter: blur(12px);
            opacity: 0;
            font-size: 1.1rem;
        }

        100% {
            -webkit-filter: blur(0.5px);
            filter: blur(0.5px);
            opacity: 1;
            font-size: 22px;
        }
    }

    .card {
        grid-row-start: 1;
        grid-row-end: 2;
        grid-column-start: 1;
        grid-column-end: 2;
        margin: 50px 10% 0 10%;
        width: 80%;
        height: 85%;
    }

    .album-art {
        width: 100%;
        height: 75%;

    }

    .overlay {
        height: 100%;
        width: 100%;
    }

    .art {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .controls {
        height: 15%;
    }

    .playpauseicon {
        border-radius: 50px;
        padding: 7px;
        padding-left: 8px;
    }


    .playpauseicon img {
        height: 20px;
        width: 20px;
    }

    .song-info {
        height: 10%;
    }

    progress {
        height: 5px;
    }

    .container {
        grid-row-start: 2;
        grid-row-end: 3;
        grid-column-start: 1;
        grid-column-end: 2;
        width: 80%;
        height: 200px;
        max-height: 200px;
        overflow-y: scroll;
        margin: 15px 0 5px 10%;
    }

    .lyric-con {
        height: 200px;
        width: 315px;
        padding: 0 0 0 0;
        display: flex;
        align-items: center;
        justify-content: space-around;
    }


}