body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #5220be;
    margin: 0;
}

.wrapper {
    background: #acacad;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.3); 
    text-align: center;
    width: 300px;
}


.time {
    font-size: 2em;
    margin-bottom: 20px;
}

.buttons {
    margin-bottom: 20px;
}

button {
    padding: 10px 15px;
    margin: 5px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button.start {
    background-color: #1d3a1e;
    color: white;
}

button.start:hover {
    background-color: #45a049;
}

button.stop {
    background-color: #391715;
    color: white;
}

button.stop:hover {
    background-color: #e53935;
}

button.reset {
    background-color: #404040;
    color: white;
}

button.reset:hover {
    background-color: #757575;
}

button.lap {
    background-color: #03243f;
    color: white;
}

button.lap:hover {
    background-color: #1e88e5;
}

.laps, .results {
    margin-top: 20px;
    text-align: left;
}

.laps h3, .results h3 {
    margin-bottom: 10px;
    color: #000000;
}

.laps-container {
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 10px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.3); 
    border-radius: 15px;
    background-color: #f9f9f9;
}

.lap-item {
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 10px;
    background-color: #e0e0e0;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.3); 
    display: flex;
    justify-content: space-between;
}

.lap-item.best {
    background-color: #c8e6c9;
    border-left: 5px solid #4caf50;
}

.lap-item.worst {
    background-color: #ffcdd2;
    border-left: 5px solid #f44336;
}

.results p {
    margin: 5px 0;
    font-weight: bold;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.3); 

}
