:root {
    --font-family: 'Arial', 'Helvetica', sans-serif;
    --font-weight: bold;
    --primary-color: #fff;
    --secondary-color: #000;
    --green: #28a745;
    --red: #dc3545;
    --blue: #007bff;
    --button-padding: 10px 20px;
    --button-radius: 5px;
    --transition-duration: 0.3s;
}

body {
    background-color: #f8f9fa;
    margin: 0;
    font-family: var(--font-family);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.title {
    font-size: 30px;
    color: var(--secondary-color);
    font-weight: var(--font-weight);
    margin: 10px 0;
}

@media screen and (max-width: 480px) {
    .title {
        font-size: 24px;
        margin: 10px 0;
        text-align: center;
    }

    .timer {
        font-size: 24px;
        margin: 10px 0;
        text-align: center;
    }

    .button-container {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }
    
}

@media screen and (min-width: 481px) and (max-width: 768px) {
    .title {
        font-size: 36px;
        margin: 10px 0;
        text-align: center;
    }    
}


.timer {
    font-size: 50px;
    color: var(--secondary-color);
    font-weight: var(--font-weight);
    margin: 10px 0;
}

.button-container {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.button {
    font-size: 20px;
    color: var(--primary-color);
    padding: var(--button-padding);
    border: none;
    border-radius: var(--button-radius);
    font-weight: var(--font-weight);
    cursor: pointer;
    transition: background-color var(--transition-duration), transform var(--transition-duration);
}

.start {
    background-color: var(--green);
}

.stop {
    background-color: var(--red);
}

.reset {
    background-color: var(--blue);
}

.button:hover {
    transform: scale(1.05);
}

.button:active {
    transform: scale(0.95);
}

.button:focus {
    outline: none;
}

.switch {
    background-color: #ffc107; /* Couleur jaune pour différencier le bouton */
}

.adjust-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.adjust-group {
    display: flex;
    margin-bottom: 10px;
}

.adjust {
    background-color: var(--blue);
    color: var(--primary-color);
    border: none;
    border-radius: var(--button-radius);
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    margin: 5px;
    transition: background-color var(--transition-duration), transform var(--transition-duration);
}

.adjust:hover {
    transform: scale(1.05);
}

.adjust:active {
    transform: scale(0.95);
}

font {
    font-weight: bold;
    font-size: 20px;
    color: #4e0b41;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: 'Arial', 'Helvetica', sans-serif;
    
}

a {
    text-decoration: none;
}

.lap {
    background-color: #0083a0; ;
}

.laps-container {
    width: 80%;
    max-width: 600px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 20px;
    
}

.laps-container h2 {
    margin-top: 0;
    text-align: center;
}

.laps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.laps li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.laps li:last-child {
    border-bottom: none;
}

.delete-lap {
    background: none;
    border: none;
    color: #f44336;
    font-size: 1.2em;
    cursor: pointer;
}

.logo {
    width: 500px;
    
    margin-bottom: 20px;
    margin-top: 20px;

}