*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html{
    font-size: 62.5%;
}

body{
    font-size: 2rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-wrap: wrap;
    font-family: sans-serif;
}

.card{
    width: 40rem;
    height: 40rem;
    border-radius: 5rem;
    box-shadow: 0 1rem 2rem 0 black;
    flex-shrink: 0;
}


.card--cube{
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
}

.card--cube img{
    height: 70%;
    width: 100%;
}

.card--cube p{
    height: 20%;
    font-size: 75%;
}


.card--stopwatch{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 4rem;
}

.card--slider{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    padding: 4rem;
}

.card--slider > h2{
    font-size: 400%;
}

.card--slider > input{
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    border-radius: 5rem;
    height: 1.8rem;
    background: linear-gradient(to right, #4ca1af, #c4e0e5); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.card--slider > input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: gray;
    border: 2px solid black;
    cursor: pointer;
}

.card--slider > input::-moz-range-thumb{
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: gray;
    border: 2px solid black;
    cursor: pointer;
}

.timerText{
    font-size: 200%;
}

.button{
    padding: 1rem 2rem;
    font-size: 2rem;
    color: white;
    border-radius: 0.5rem;
}

.button--start{
    background: #3DEC55;
}

.button--stop{
    background: #FF0000;
}

.button--reset{
    background: #0000FF;
}