*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

body{
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

.stopWatch{
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.timerDisplay{
    font-size: 60px;
    font-weight: bold;
    letter-spacing: 2px;
}


.buttons{
    margin-top: 20px;
}

button{
    font-size: 22px;
    background: none;
    color: #fff;
    background-color: var(--clr);
    padding: 12px 24px;
    margin-inline: 12px;
    border-radius: 9px;
    cursor: pointer;
    border: 2px solid white;
}

button:hover{
    background-color: rgba(215, 16, 195, 0.4);
}

footer{
    margin-top: 20px;
    font-size: 14px;
    color: #ccc;
    text-align: center;
    position: relative;
    width: 100%;
}

@media (max-width: 900px) {
    .timerDisplay {
        font-size: 40px;
    }
    .stopWatch {
        padding: 16px;
    }
    button {
        font-size: 18px;
        padding: 10px 18px;
    }
}

@media (max-width: 340px) {
    body {
        padding: 10px;
    }
    .stopWatch {
        width: 100%;
        min-width: unset;
        padding: 10px;
    }
    .timerDisplay {
        font-size: 28px;
        letter-spacing: 1px;
    }
    .buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 16px;
    }
    button {
        width: 100%;
        font-size: 16px;
        padding: 8px 0;
        margin-inline: 0;
    }
    footer {
        font-size: 12px;
    }
}
html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}
