@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    /* background-color: #1e213f; */
    background-image: url(pic.jpg);
    background-size: cover;
    /* background-position: 1270px; */

    color: #d7e0ff;
}

.container {
    text-align: center;
    width: 100%;
    padding: 10px 0;
}

.timer {
    display: inline-block;
    padding: 10px;
    width: 600px;
    box-sizing: border-box;
}

main {
    width: 25rem;
    height: 25rem;
    border-radius: 50%;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 2rem;
}

h1 {
    font-size: 2rem;
    margin: 20px auto;
}

.button-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.pomodoro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
    margin: 2.5rem 0;
    text-align: center;
    border-radius: 50%;
    /* background: #151932; */
    box-shadow: 20px 20px 42px #0e1021, -20px -20px 42px #1c2244;
}

.pomodoro::before {
    content: "";
    position: absolute;
    border: 10px solid rgb(159, 184, 238);
    border-radius: 50%;
    width: 22rem;
    height: 22rem;
}

.time {
    font-size: 5rem !important;
    margin: 20px auto;
}

.button-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.button {
    background-color: rgb(180, 180, 245);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    transition: all .2s ease-in;
}

.button.active, .button:hover {
    background-color: #020323;
}

.hidden {
    display: block;
}

.timer-display {
    font-size: 5rem;
    margin-top: 20px;
    font-weight: bold;
}

.buttons {
    margin-top: 20px;
}

#start, #stop {
    background-color: rgb(180, 180, 245);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    margin: 10px;
    cursor: pointer;
    transition: all .2s ease-in;
}

#stop:hover {
    background-color: tomato;
}

#start:hover {
    background-color: #219a52;
}

#timer-message {
    color: white;
    background-color: tomato;
    display: none;
    padding: .5rem;
    font-size: 1rem;
    text-align: center;
    border-radius: 1rem;
}



.audio-container {
    width: 350px;
    margin: 20px auto;
    padding: 15px;
    background: #b40d0d00;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(3, 52, 112, 0.924);
    position: fixed;
    bottom: 0;
    left: 85%;
    transform: translateX(-50%);
    text-align: center;
   
    
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    
}

.play-btn, .mute-btn, .loop-btn, .shuffle-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.progress-container {
    width: 100%;
    height: 5px;
    background: #ddd;
    border-radius: 5px;
    margin: 10px 0;
    position: relative;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: #007bff;
    border-radius: 5px;
    transition: width 0.2s;
}

.time, .volume-container {
    font-size: 14px;
}

input[type="range"] {
    width: 100%;
}

.playlist {
    margin-top: 15px;
    text-align: left;
}

.playlist li {
    list-style: none;
    padding: 5px;
    cursor: pointer;
    /* border-bottom: 1px solid #ddd; */
}

.playlist li:hover {
    background: rgb(161, 161, 250);
}


/* Responsiveness */

@media screen and (min-width: 320px) and (max-width: 600px) {
    .container {
        transform: scale(0.9)
    }

    .timer {
        width: 500px;
    }
}
