/* Import Google font - Roboto */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,700;1,700&family=Roboto&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(90deg, #36d1dc, #5b86e5);
}

.wrapper {
    min-width: 500px;
    height: 300px;
    background: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stopwatch {
    width: 100%;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    color: rgb(112, 112, 112);
}

.actions {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 40%;
}

button {
    padding: 20px 30px;
    outline: none;
    border: none;
    font-size: 20px;
    color: white;
    text-shadow: 0px 0px 4px black;
    letter-spacing: 2px;
    background: transparent;
    transition: 0.3s;
    border-radius: 10px;
    cursor: pointer;
}

.btn-stop {
    background: rgb(255, 20, 67);
}

.btn-start {
    background: rgb(248, 203, 0);
}

.btn-reset {
    background: rgb(106, 90, 205);
}

.stopwatch-start {
    color: black;
}

.stop_stopwatch {
    animation: stop_timer 0.8s infinite backwards;
}

@keyframes stop_timer {

    0%,
    100% {
        color: black;
    }

    50% {
        color: rgb(214, 214, 214);
    }
}