* {
    margin: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    color: #000;
}

body.dark-theme {
    background-color: #333;
    color: #fff;
}

#head {
    background-color: #545454;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 65px;
    padding: 0 20px;
}
#main-title-1 {
    font-weight: bold; /* Keep the text bold */
    font-size: 25px;
}

#toggle-theme {
    padding: 10px;
    box-shadow: 3px 3px 5px 2px rgba(0, 0, 0, 0.5);
    background-color: #ffffff;
    border: none;
    border-radius: 1rem;
    color: #545454;
    cursor: pointer;
    margin-right: 80px;
    transition: transform 0.2s ease-in, box-shadow 0.2s ease-in, background-color 0.2s ease-in, color 0.2s ease-in;
}

#toggle-theme:hover {
    transform: translateY(4px); /* Moves the button down */
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.3); /* Adjusts the shadow to make it appear pressed */
    background-color: #727070; /* Changes background to grey */
    color: #ffffff; /* Changes text color to white for better contrast */
}


#desc {
    justify-content: center;
    display: flex;
    padding: 20px;
    font-weight: bold;
    font-size: 1.5rem;
}

#player-outer {
    display: flex;
    justify-content: center;
}

#player {
    padding: 0px;
    width: 1000px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    border-style: solid;
    box-shadow: 0 0px 53px #adadad;
    border-color: #6c6c6c85;
}
body.dark-theme #player {
    background-color: #222;
    color: #fff;
    box-shadow: 0 1px 53px #c4c4c4;
}

#input {
    display: flex;
    justify-content: center;
    padding: 20px;
}

#input input {
    align-content: center;
    justify-content: center;
    padding: 10px;
    width: 600px;
    height: 45px;
    border-radius: 1rem;
    border: black;
}

#search-button {
    display: flex;
    justify-content: center;
    padding: 10px;

}

#search-button button {
    padding: 10px;
    border-radius: 1rem;
    background-color: #ffffff;
    color: #545454; /* Text color */
    border: none; /* Border color */
    transition: transform 0.2s ease-in, box-shadow 0.2s ease-in, background-color 0.2s ease-in, color 0.2s ease-in;
    box-shadow: 3px 3px 5px 2px rgba(0, 0, 0, 0.5); /* Initial shadow */
    cursor: pointer;
}

#search-button button:hover {
    transform: translateY(4px); /* Moves the button down */
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.3); /* Adjusts the shadow to make it appear pressed */
    background-color: #727070; /* Changes background to grey */
    color: #ffffff; /* Changes text color to white for better contrast */
}




#control-buttons {
    display: flex;
    justify-content: center;
    padding: 10px;
}

#control-buttons button {
    padding: 10px;
    border-radius: 1rem;
    border: none;
    margin-left: 20px;
    background-color: rgb(140, 149, 149);

}


#pomodoro-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 20px;
    padding: 20px;
    font-size: 24px;
    
    width: 60rem;
    margin: 20px auto; 
    
    border: 2px solid #000000;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(1, 1, 0, 0.2);
    background-color: #f9f9f9;
}

body.dark-theme #pomodoro-container{
    background-color: #222;
    color: #fff;
}

#pomodoro-timer {
    padding: 10px;
    background-color: #c8c8c8;
    border-radius: 10px;
    font-weight: bold;
    width: 100px;
    text-align: center;
}

body.dark-theme #pomodoro-timer {
    background-color: #222;
    color: #fff;
}
#popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Make sure it appears on top */
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 18px;
    color: black;
}
#stats-box {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 1000; /* Ensures it appears above other content */
}

#stats-box p {
    margin: 5px 0;
}
#music-player {
    position: fixed;
    bottom: 20px;
    left: 25px;
    background-color: #f5f5f5;
    border: 2px solid #545454;
    border-radius: 10px;
    padding: 10px;
    width: 180px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

body.dark-theme #music-player {
    background-color: #333;
    color: #fff;
    border-color: #fff;
}

#music-controls button {
    background-color: #ffffff;
    border: none;
    border-radius: 5px;
    margin: 5px;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.2s ease-in;
}

#music-controls button:hover {
    transform: translateY(2px);
    background-color: #727070;
    color: #ffffff;
}

body.dark-theme #music-controls button {
    background-color: #727070;
    color: #fff;
}
