* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    height: 100vh;
    background-color: rgb(37, 36, 36);
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 500px;
    max-width: 400px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.timer {
    font-size: 76px;
    font-weight: lighter;
    color: #fff;
    text-align: center;
}

.bottom_part {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btns {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%; 
    max-width: 300px; 
    gap: 30px;
}

.btns button {
    width: 80px;
    height: 80px;
    background-color: transparent;
    color: #fff;
    border: none;
    border-radius: 50%;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.btns .start {
    background-color: #508052;
}

.btns .start:active,
.btns .restart:active,
.btns .lap:active {
    transform: scale(0.9);
}

.btns .start.on {
    background-color: #d92027;
}

.lap_box {
    width: 100%;
    max-height: 150px; 
    overflow-y: auto; 
    padding: 25px;
    color: white;
    scrollbar-width: thin;
    scrollbar-color: #888 #333;
}

.lap_item {
    margin: 5px 0;
    padding: 5px;
    font-size: 16px;
    text-align: center;
    width: 90%;
    border-bottom: 0.5px solid #fff; 
}

@media (max-width: 600px) {
    .btns {
        max-width: 100%;
        gap: 15px;
    }

    .btns button {
        width: 70px;
        height: 70px;
    }
}
