body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f7f7f7;
}

.container {
    text-align: center;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

footer {
    text-align: center;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timer-title {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #333;
}

.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.input-group label {
    margin-right: 8px;
    font-size: 1rem;
}

.input-group input {
    flex-grow: 1; /* Make the input grow and fill the remaining space */
}

.controls {
    margin-top: 20px;
}

.btn {
    font-size: 1rem;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

.timer-display {
    font-size: 6rem;
    margin-top: 20px;
    font-weight: bold;
    color: #ff0000;
}

.timer-head, .timer-foot {
	font-size: 1.5rem;
    margin-top: 20px;
    font-weight: bold;
    color: #007bff;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .timer-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .input-group {
        margin-bottom: 5px;
    }

    .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .timer-display {
        font-size: 6rem;
        margin-top: 15px;
    }
}