@font-face {
    font-family: "goodtimes";
    src: url("./goodtimes.otf") format("opentype");
}
*{
    margin: 0;
    padding: 0;
    font-family: "Poppins",sans-serif;
    color: white;
}
body{
    height: 100vh;
    background-image: url("./images/img1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
header{
    height: 10vh;  
    font-size: 30px;     
    box-sizing: border-box;
    padding-left: 80px;
    padding-top: 35px;
}

h3{
    color: red;
    font-family: "goodtimes",sans-serif;
    text-shadow: red 1px 0 10px;
}

footer{
    height: 10vh;
    text-align: right;
    font-size: 25px;
    font-family: "Raleway",sans-serif;
    padding-right: 80px;
}

.boldness{
    color: red;
    font-family: "goodtimes",sans-serif;
}
.container{
    display: flex;
    justify-content: center;
    align-items: center;
}
#container1{
    height: 80vh;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.player{
    backdrop-filter: blur(50px);
    border :1px solid;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 0px 25px whitesmoke;
    transition: width 0.5s ease, height 0.5s ease;

}
.toggle1{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: 2;
    height: 50px;
    width: 50px;
    border-radius: 50%;    
    background: red;
    border: 1px solid red;
    cursor: crosshair;
}
.details{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.track-pic{
    height: 225px;
    width: 225px;
    margin: 25px;
    border: 1px solid;
    background-position: center;
    border-radius: 5%;
    -moz-box-shadow: 0px 0px 20px whitesmoke;/*used to add these latest styles in the older versions of mozzila browser */
    -webkit-box-shadow: 0px 0px 20px whitesmoke;/*used to add these latest styles in the older versions of browsers that use webkit engine like safari and older versions of chrome*/
    box-shadow: 0px 0px 20px whitesmoke;/*used to add styles in the latest versions of the browser*/
    -moz-border-radius:5%;
    -webkit-border-radius:5%;
    border-radius:5%;
}
.now-playing{
    font-size: 1rem;
}
.track-name{
    font-size: 30px;
    font-family: "goodtimes",sans-serif;
    padding-top: 15px;
}
.track-artist{
    color:#afb0b6;
    font-size: 15px;
    margin-top: 10px;
    font-family: "goodtimes",sans-serif;
}
.slider-track{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 15px;
}
.seek-slider{
    -webkit-appearance: none;
    -moz-appearance:none ;
    appearance: none;
    height: 5px;
    background-color: white;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    transition: opacity 0.2s;
}
.seek_slider::-webkit-slider-thumb{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: white;
    border: 3px solid black;
    cursor: grab;
    border-radius: 100%;
}
.seek-slider:hover{
    opacity: 1.0;
}
.seek-slider{
    width: 60%;
}
.current-time,.total-duration{
    padding: 10px;
}
.buttons{
    display: flex;
    justify-content: center;
    align-items: center; 
}
.active{
    color:black;
}
.random-btn,.prev-btn,.playpause-btn,.next-btn,.repeat-btn{
    font-size: 1.5rem;
    padding: 25px;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.random-btn:hover,.prev-btn:hover,.playpause-btn:hover,.next-btn:hover,.repeat-btn:hover{
    opacity: 1.0;
}
.ri-shuffle-line:hover,.ri-rewind-fill:hover,.ri-pause-large-line:hover,.ri-play-large-fill:hover,.ri-speed-fill:hover,.ri-reset-right-line:hover{
    cursor: pointer;
}

.hidden{
    display: none;
}

#container2{
    height: 80vh;
    display: none;
    justify-content: center;
    align-items: center;
}
.player2{
    backdrop-filter: blur(50px);
    border :1px solid;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 0px 25px whitesmoke;
    height: 22vh;
    width: 80vh;
}
.toggle2{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: 2;
    height: 50px;
    width: 50px;
    border-radius: 50%;    
    background: red;
    border: 1px solid red;
    cursor: crosshair;
}
.main2{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pic{
    height: 150px;
    width: 150px;
    /* margin-right: 250px; */
    border: 1px solid;
    background-position: center;
    border-radius: 5%;
    -moz-box-shadow: 0px 0px 20px whitesmoke;/*used to add these latest styles in the older versions of mozzila browser */
    -webkit-box-shadow: 0px 0px 20px whitesmoke;/*used to add these latest styles in the older versions of browsers that use webkit engine like safari and older versions of chrome*/
    box-shadow: 0px 0px 20px whitesmoke;/*used to add styles in the latest versions of the browser*/
    -moz-border-radius:5%;
    -webkit-border-radius:5%;
    border-radius:5%;
    margin-left: 15px;
}
.name-artist-slider-buttons{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 400px;
    height: 100px;
    margin-left: 20px;
}
.name{
    font-size: 30px;
    font-family: "goodtimes",sans-serif;
    text-align: center;
}
.artist{
    color:#afb0b6;
    font-size: 15px;
    margin-top: 10px;
    font-family: "goodtimes",sans-serif;
    text-align: center;
}
.buttons2{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 350px;
    padding-top: 18px;
    font-size: large;
}

.random-btn2,.prev-btn2,.playpause-btn2,.next-btn2,.repeat-btn2{
    font-size: 1.3rem;
    /* padding: 25px; */
    opacity: 0.8;
    transition: opacity 0.2s;
}
.random-btn2:hover,.prev-btn2:hover,.playpause-btn2:hover,.next-btn2:hover,.repeat-btn2:hover{
    opacity: 1.0;
}
.ri-shuffle-line:hover,.ri-rewind-fill:hover,.ri-pause-large-line:hover,.ri-play-large-fill:hover,.ri-speed-fill:hover,.ri-reset-right-line:hover{
    cursor: pointer;
}

@media screen and (max-width:500px){
    .header{
        margin: 0;
        padding: 10px 27px 10px 10px;
        text-align: center;
        height: 5vh;
        font-size:x-large;
    }
    .footer{
        margin: 0;
        padding-top: 0px;
        padding-right: 0px;
        text-align: center;
        height: 5vh;
        font-size: x-large;
    }
    .container1,.container2{
        height: 95vh;
    }
    .player{
        width: 55vw;
    }
    .track-pic{
        height:150px;
        width: 150px;
    }
    .track-name{
        font-size: 20px;
        text-align: center;
    }
    .track-artist{
        font-size: 10px;
        text-align: center;
    }
    .buttons{
        font-size: x-small;
        margin-right: 15px;
        height: 70px;
    }
    .random-btn,.prev-btn,.playpause-btn,.next-btn,.repeat-btn{
        height: auto;
        width: 0.5px;
    }
    .current-time,.total-duration{
        font-size: small;
    }
    .seek-slider{
        width: 50vw;
    }
    .toggle1{
        display: none;
    }
}
@media screen and (min-width:900px) and (max-width:1000px){
    .player2{
        height: 8.5vh;
        width: 63vw;
    }
}
@media screen and (min-width:500px) and (max-width:1200px){
    .header{
        padding-left: 40px;
        padding-top: 23px;
        font-size: 27px;
    }

    .footer{
        padding-right: 50px;
        font-size: 25px;
    }    
}
@media screen and (min-height:780px) and (max-height:1100px){
    .player2{
        height: 18vh;
        width: 75vw;
    }
}
@media screen and (min-height:800px) and (max-height:960px){
    .header{
        font-size: 33px;
    }
    .footer{
        font-size: 30px;
    }
    .player2{
        height: 18vh;
        width: 36vw;
    }
}





 