/* style.css */

/* General Page Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f9f9f9;
    color: #333;
}

header {
    background-color: #4CAF50;
    color: white;
    padding: 1rem;
    width: 100%;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

main {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Real-Time Clock and Start Info */
#clock, #start-info {
    text-align: center;
    margin-bottom: 1rem;
}

#current-time, #start-time, #elapsed-time {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4CAF50;
}

/* Timer Inputs Section */
#timers {
    margin-bottom: 1.5rem;
}

#timers h2 {
    margin-bottom: 1rem;
}

#timers label {
    display: inline-block;
    width: 150px;
}

#timers input {
    width: 60px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Control Buttons */
#controls {
    text-align: center;
    margin-bottom: 1.5rem;
}

#controls button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    margin: 0 0.5rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

#controls button:hover {
    background-color: #45a049;
}

#controls button:active {
    background-color: #3e8e41;
}

/* Session Counter */
#session-counter h2 {
    margin-bottom: 1rem;
}

#session-counter p {
    font-size: 1.2rem;
}

/* Settings Menu Styles */
#settings-menu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 1.5rem;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    text-align: center;
}

#settings-menu:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

#settings-menu h2 {
    margin-bottom: 1rem;
    color: #4CAF50;
}

#settings-menu label {
    display: block;
    margin: 0.5rem 0;
    text-align: left;
}

#settings-menu input[type="number"],
#settings-menu input[type="range"] {
    width: 80%;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#settings-menu button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#settings-menu button:hover {
    background-color: #45a049;
}

/* Hidden Class */
.hidden {
    display: none; /* Helper class to hide elements */
}
