* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: antiquewhite;
    color: white;
}

nav {
    height: 65px;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    background-color: black;
    padding: 8px 0;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: white;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    font-size: 20px;
}

.brand img {
    margin: 0 10px;
    width: 40px;
}

.container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.songItems {
    margin: 10px auto;
    border-radius: 12px;
    padding: 20px;
    width: 80%;
    background-image: url(./bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.songItems h1 {
    text-align: left;
    font-size: 22px;
    font-weight: 500;
}

.song {
    margin: 10px 5px;
    max-width: 50%;
    height: 52px;
    background-color: whitesmoke;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    color: black;
}

.song span {
    display: flex;
    justify-content: center;
    align-items: center;
}

.song img {
    width: 44px;
}

.songName {
    font-size: 14px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.song span i {
    cursor: pointer;
}

.bottom {
    margin: 10px auto 0 auto;
    width: 100%;
    height: 100px;
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bottom input {
    width: 80%;
    height: 40px;
    border-radius: 20px;
    padding: 0 20px;
    border: none;
    outline: none;
}

.controls i {
    color: white;
    cursor: pointer;
    margin: 0 10px;
}

.songInfo {
    display: flex;
    align-items: center;
    position: absolute;
    left: 10vw;
}

.songInfo p {
    margin-left: 14px;
    font-size: 14px;
}

.songInfo img {
    opacity: 0;
    transition: opacity 0.7s ease;
}


@media(max-width:1024px) {
    .songItems {
        width: 90%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .songItems h1 {
        font-size: 18px;
    }

    .song {
        margin-left: 12px;
        max-width: 55%;
        height: 42px;
    }

    .song img {
        width: 34px;
    }
}

@media(max-width:820px) {
    .songItems {
        width: 90%;
    }

    .songItems h1 {
        font-size: 15px;
    }

    .song {
        margin: 10px 0;
        max-width: 60%;
        height: 32px;
    }

    .song img {
        width: 24px;
    }

    .songName {
        font-size: 12px;
    }

    .song span i {
        font-size: 22px;
    }
    .controls {
        margin-top: 18px;
    }

}

@media(max-width:520px) {
    .songItems {
        margin: 6px auto;
        width: 98%;
        padding: 10px;
    }

    .songItems h1 {
        font-size: 15px;
    }

    .song {
        margin: 10px auto;
        max-width: 98%;
    }

    .songInfo {
        margin-bottom: 10px;
    }

    #songName {
        font-size: 10px;
    }   
}