1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
| body { display: flex; flex-direction: column; align-items: center; background-color: rgb(239, 198, 198); }
#grid-container { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 20px; width: 80%; margin-top: 20px; background-color: black; }
.timer { display: flex; flex-direction: column; align-items: center; padding: 30px; border: 5px solid; border-radius: 20px; background-color: white; }
.display { font-size: 5rem; font-family: monospace; font-weight: bold; color: hsl(0, 0%, 30%); text-shadow: 2px 2px 2px hsl(0, 0%, 0%, 0.75); margin-bottom: 25px; }
.controls button { font-size: 1.5rem; font-weight: bold; padding: 10px 20px; margin: 5px; min-width: 125px; border: none; border-radius: 10px; cursor: pointer; color: white; transition: background-color 0.5s ease; }
#startBtn1, #startBtn2, #startBtn3, #startBtn4 { background-color: hsl(115, 100%, 40%); }
#startBtn1:hover, #startBtn2:hover, #startBtn3:hover, #startBtn4:hover { background-color: hsl(115, 100%, 30%); }
#stopBtn1, #stopBtn2, #stopBtn3, #stopBtn4 { background-color: hsl(10, 90%, 50%); }
#stopBtn1:hover, #stopBtn2:hover, #stopBtn3:hover, #stopBtn4:hover { background-color: hsl(10, 90%, 40%); }
#resetBtn1, #resetBtn2, #resetBtn3, #resetBtn4 { background-color: hsl(205, 90%, 60%); }
#resetBtn1:hover, #resetBtn2:hover, #resetBtn3:hover, #resetBtn4:hover { background-color: hsl(205, 90%, 50%); }
|