@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&display=swap');
* {
    margin: 0;
    padding: 0;
    font-family: 'Ubuntu', Helvetica, sans-serif;
}

body {
    height: 100vh;
    width: 100%;
    display: flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    background: #c6ffdd;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #c6ffdd, #fbd786, #f7797d);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #c6ffdd, #fbd786, #f7797d);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.main {
    position: relative;
    height: 80%;
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: linear-gradient(to right, #5D6D7E, #566573); */
    background-image: url(./Media/img/earphnbg.jpg);
    background-position: center;
    background-size: 100%;
    border-radius: 15px;
    background-image: no-repeat;
    background-size: cover;
    -webkit-box-shadow: #FFF 0 -1px 4px, #ff0 0 -2px 10px, #ff8000 0 -10px 20px, red 0 -18px 40px, 0px 7px 18px 3px rgba(119, 26, 128, 0);
    box-shadow: #FFF 0 -1px 4px, #ff0 0 -2px 10px, #ff8000 0 -10px 20px, red 0 -18px 40px, 0px 7px 18px 3px rgba(119, 26, 128, 0);
}

.main button {
    padding: 10px 12px;
    margin: 0 10px;
}

.main #logo {
    position: absolute;
    top: 10px;
    left: 30px;
    font-size: 25px;
    color: #ccc;
    text-transform: capitalize;
}

.main #logo i {
    margin-right: 15px;
}

/* left & right part */

.right, .left {
    position: relative;
    height: 100%;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* song image */

.left img {
    height: 300px;
    width: 50%;
    border-radius: 15px;
    box-shadow: 0px 7px 18px 3px rgba(128, 44, 68, 0.71);
}

/* both range slider */

input[type="range"] {
    -webkit-appearance: none;
    width: 50%;
    outline: none;
    height: 2px;
    margin: 0 15px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    background: #ff1212;
    border-radius: 50%;
    cursor: pointer;
}

.right input[type="range"] {
    width: 40%;
}

/* volume part */

.left .volume {
    position: absolute;
    bottom: 10%;
    left: 0;
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.left .volume p {
    font-size: 15px;
}

.left .volume i {
    cursor: pointer;
    padding: 8px 12px;
    background: #ff1212;
}

.left .volume i:hover {
    background: rgba(245, 245, 245, 0.1);
}

.volume #volume_show {
    padding: 8px 12px;
    margin: 0 5px 0 0;
    background: rgba(245, 245, 245, 0.1);
}

/* right part */

.right .middle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right .middle button {
    border: none;
    height: 70px;
    width: 70px;
    border-radius: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
    transition: 0.5s;
    background: rgba(245, 245, 245, 0.1);
}

.right #title {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    text-transform: capitalize;
    color: #fff;
    font-size: 35px;
}

.right #artist {
    position: absolute;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    text-transform: capitalize;
    color: #fff;
    font-size: 18px;
}

.right .duration {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 20px;
    margin-top: 40px;
}

.right .duration p {
    color: #fff;
    font-size: 15px;
    margin-left: 20px;
}

.right #auto {
    font-size: 18px;
    cursor: pointer;
    margin-top: 45px;
    border: none;
    padding: 10px 14px;
    color: #fff;
    background: rgba(245, 245, 245, 0.2);
    outline: none;
    border-radius: 10px;
}

.right #auto i {
    margin-left: 8px;
}

#play {
    background: #ff1212;
}

.right button:hover {
    background: #ff1212;
}

.right i:before {
    color: #fff;
    font-size: 20px;
}

.right .show_song_no {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 50px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    color: #fff;
    border-radius: 10px;
    background: rgba(245, 245, 245, 0.2);
}

.right .show_song_no p:nth-child(2) {
    margin: 0 5px;
}

/* .main
#logo p i
.left #track_image .volume #volume_show  */

/* 
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 768px) and (max-width: 1024px) {
    .main {
        margin: 0;
        padding: 0;
        display: flex;
        height: 90vh;
        width: 80vh;
        background-position: center;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-sizing: content-box;
    }
    .main img {
        height: 130px;
        box-sizing: content-box;
        width: 130px;
        border-radius: 15px;
    }
    .right .show_song_no {
        position: absolute;
        top: -330px;
        left: 85%;
        width: 50px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 12px;
        color: #fff;
        border-radius: 10px;
        background: rgba(245, 245, 245, 0.2);
    }
    .right .show_song_no p:nth-child(2) {
        margin: 0 5px;
    }
    .right {
        position: relative;
        display: flex;
        flex-direction: column;
        height: 100%;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    .right #title {
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        text-transform: capitalize;
        color: #fff;
        font-size: 55px;
        width: 100%;
        text-align: center;
        padding-bottom: 20px;
    }
    .right #artist {
        position: absolute;
        top: 60px;
        left: 50%;
        width: 100%;
        text-align: center;
        padding-bottom: 90px;
        transform: translateX(-50%);
        text-transform: capitalize;
        color: #fff;
        font-size: 35px;
    }
    .right .middle {
        padding-top: 50px;
        top: 80px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .right .middle button {
        border: none;
        height: 70px;
        width: 70px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        outline: none;
        transition: 0.5s;
        background: rgba(245, 245, 245, 0.1);
    }
    .right .duration {
        position: absolute;
        bottom: 35%;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 30px;
        margin-top: 10px;
    }
    .right .duration p {
        color: #fff;
        font-size: 15px;
        margin-left: 20px;
    }
    .right #auto {
        font-size: 18px;
        cursor: pointer;
        margin-top: 45px;
        border: none;
        padding: 10px 14px;
        color: #fff;
        background: rgba(245, 245, 245, 0.2);
        outline: none;
        border-radius: 10px;
    }
    .right #auto i {
        margin-left: 8px;
    }
    #play {
        background: #ff1212;
    }
    .right button:hover {
        background: #ff1212;
    }
    .right i:before {
        color: #fff;
        font-size: 20px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .main {
        margin: 0;
        padding: 0;
        display: flex;
        height: 100vh;
        width: 100vh;
        background-position: center;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-sizing: content-box;
        border-radius: 0%;
    }
    .main img {
        height: 130px;
        box-sizing: content-box;
        width: 130px;
    }
    .right .show_song_no {
        position: absolute;
        top: 85%;
        left: 78%;
        width: 40px;
        height: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 12px;
        color: #fff;
        border-radius: 10px;
        background: rgba(245, 245, 245, 0.2);
    }
    .right .show_song_no p:nth-child(2) {
        margin: 0 5px;
    }
    .right {
        position: relative;
        display: flex;
        flex-direction: column;
        height: 100%;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    .right #title {
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        text-transform: capitalize;
        color: #fff;
        font-size: 25px;
        width: 100%;
        text-align: center;
        padding-bottom: 20px;
    }
    .right #artist {
        position: absolute;
        top: 60px;
        left: 50%;
        width: 100%;
        text-align: center;
        padding-bottom: 90px;
        transform: translateX(-50%);
        text-transform: capitalize;
        color: #fff;
        font-size: 15px;
    }
    .right .middle {
        padding-top: 50px;
        top: 80px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .right .middle button {
        border: none;
        height: 60px;
        width: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        outline: none;
        transition: 0.5s;
        background: rgba(245, 245, 245, 0.1);
    }
    .right .duration {
        position: absolute;
        bottom: 35%;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 30px;
        margin-top: 10px;
    }
    .right .duration p {
        color: #fff;
        font-size: 15px;
        margin-left: 20px;
    }
    .right #auto {
        font-size: 18px;
        cursor: pointer;
        margin-top: 45px;
        border: none;
        padding: 10px 14px;
        color: #fff;
        background: rgba(245, 245, 245, 0.2);
        outline: none;
        border-radius: 10px;
    }
    .right #auto i {
        margin-left: 8px;
    }
    #play {
        background: #ff1212;
    }
    .right button:hover {
        background: #ff1212;
    }
    .right i:before {
        color: #fff;
        font-size: 20px;
    }
    .left .volume {
        position: absolute;
        bottom: 5%;
        left: 0;
        width: 100%;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
    }
    .left .volume p {
        font-size: 15px;
    }
    .left .volume i {
        cursor: pointer;
        padding: 8px 12px;
        background: #ff1212;
    }
    .left .volume i:hover {
        background: rgba(245, 245, 245, 0.1);
    }
    .volume #volume_show {
        padding: 8px 12px;
        margin: 0 5px 0 0;
        background: rgba(245, 245, 245, 0.1);
    }
}

@media (max-width: 767px) {
    .main {
        margin: 0;
        padding: 0;
        display: flex;
        height: 100vh;
        width: 100vh;
        background-position: center;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-sizing: content-box;
        border-radius: 0%;
    }
    .main img {
        height: 130px;
        box-sizing: content-box;
        width: 130px;
        box-shadow: 0px 7px 18px 3px rgba(128, 44, 68, 0.71);
    }
    .right .show_song_no {
        position: absolute;
        top: 85%;
        left: 78%;
        width: 40px;
        height: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 12px;
        color: #fff;
        border-radius: 10px;
        background: rgba(245, 245, 245, 0.2);
    }
    .right .show_song_no p:nth-child(2) {
        margin: 0 5px;
    }
    .right {
        position: relative;
        display: flex;
        flex-direction: column;
        height: 100%;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    .right #title {
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        text-transform: capitalize;
        color: #fff;
        font-size: 20px;
        width: 100%;
        text-align: center;
        padding-bottom: 20px;
    }
    .right #artist {
        position: absolute;
        top: 50px;
        left: 50%;
        width: 100%;
        text-align: center;
        padding-bottom: 80px;
        transform: translateX(-50%);
        text-transform: capitalize;
        color: #fff;
        font-size: 12px;
    }
    .right .middle {
        padding-top: 40px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .right .middle button {
        border: none;
        height: 40px;
        width: 40px;
        border-radius: 30%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        outline: none;
        transition: 0.5s;
        background: rgba(245, 245, 245, 0.1);
    }
    .right .duration {
        position: absolute;
        bottom: 35%;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 30px;
        margin-top: 10px;
    }
    .right .duration p {
        color: #fff;
        font-size: 15px;
        margin-left: 20px;
    }
    .right #auto {
        font-size: 15px;
        cursor: pointer;
        margin-top: 65px;
        border: none;
        padding: 8px 12px;
        color: #fff;
        background: rgba(245, 245, 245, 0.2);
        outline: none;
        border-radius: 10px;
    }
    .right #auto i {
        margin-left: 8px;
    }
    #play {
        background: #ff1212;
    }
    .right button:hover {
        background: #ff1212;
    }
    .right i:before {
        color: #fff;
        font-size: 20px;
    }
    .left .volume {
        position: absolute;
        bottom: 5%;
        left: 0;
        width: 100%;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
    }
    .left .volume p {
        font-size: 10px;
    }
    .left .volume i {
        cursor: pointer;
        padding: 5px 10px;
        background: #ff1212;
    }
    .left .volume i:hover {
        background: rgba(245, 245, 245, 0.1);
    }
    .volume #volume_show {
        padding: 5px 10px;
        margin: 0 5px 0 0;
        background: rgba(245, 245, 245, 0.1);
    }
}