/* General Styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100vh;
    margin: 0;
    background-color: #000000;
    overflow: hidden;
    position: relative;
}
/* Blurred background */
body::before {
    content: "";
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Timer Container Styling */
.timer-container {
    text-align: center;
    max-width: 350px;
    width: 100%;
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    position: relative;
}

h1 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
}

#status {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 15px;
}

.timer {
    font-size: 4rem;
    font-weight: bold;
    color: #333;
    margin: 20px 0;
}

/* Custom Settings Styling */
.collapsible {
    background-color: #0077cc;
    color: white;
    padding: 10px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 10px;
}

.collapsible:hover {
    background-color: #005da3;
}

.custom-settings button {
    padding: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    background-color: #10b981; /* Green color for "Apply" */
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 10px;
}

.custom-settings button:hover {
    background-color: #059669; /* Darker shade of green for hover effect */
}

label {
    font-size: 0.9rem;
    color: #333;
}

input[type="number"] {
    width: 100%;
    padding: 8px;
    font-size: 1rem;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Controls Styling */
.controls {
    margin-top: 20px;
}

.controls button {
    padding: 12px 20px;
    margin: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.controls button:hover {
    background-color: #2563eb;
}

.controls button:disabled {
    background-color: #a0aec0;
    cursor: not-allowed;
}

#cycles {
    margin-top: 20px;
    font-size: 1rem;
    color: #333;
}

footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #ffffff;
}

footer a {
    color: #2563eb;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
} 



/* Responsive adjustments */
@media (max-width: 600px) {
    .timer {
        font-size: 3rem;
    }

    .controls button {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .timer-container {
        padding: 20px;
    }
}
