*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,body{
    width: 100%;
    height: 100%;
}
/* ----------------------------------------- */
body{
    background-color: lightgreen;
}

#timer{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.2rem;
    color: #333;
}

span{
    font-size: 5rem;
}

#stopwatch-container{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 2rem;
    width: 60%;
    height: 35vh;
    border: 2px solid black;
    border-radius: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background-color: rgb(209, 245, 245);
    box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.901);
}

/* Responsive Code */
@media screen and (max-width: 600px) {
    #stopwatch-container{
        height: auto;
    }
    #button-container{
        flex-wrap: wrap;
    }
}

@media screen and (min-width: 768px)
{
    .button{
        width: 10rem;
    }
}

/* ------------------------------------------- */

/* Buttons CSS */
.button{
    width: 26%;
    min-width: 6rem;
    height: 2.6rem;
    margin: 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid rgb(0, 0, 0);
    background-color: white;
    color: rgb(0, 0, 0);
    box-shadow: 2px 2px 6px #333;
}

/* Button Hover */
.button:hover{
    background-color: #0c3dff;
    color: rgb(255, 255, 255);
    border: 1px solid rgb(255, 255, 255);
    transition: all ease-in-out 0.2s;
}

#button-container{
    display: flex;
    justify-content: space-evenly;
}

#reset-button{
    background-color: rgba(243, 25, 51, 0.96);
    color: white;
}

#start-button{
    background-color: rgba(86, 242, 86, 0.833);
}

#start-button:hover{
    color: black;
}

/* ---------------------------------------------- */