@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&family=Roboto:wght@500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Variabes */
:root {
  --bg-color: white;
  --text-color: black;
  --bg-button: lightgray;
}
body.dark {
  --bg-color: black;
  --text-color: white;
  --bg-button: gray;
}

body {
  background:var(--bg-color);
  font-family: 'Roboto Mono', monospace;
	transition: background 0.2s linear;
}

.checkbox {
  opacity: 0;
  position: absolute;
}

.label {
  background-color: rgb(56, 56, 56);
	border-radius: 50px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 5px;
	position: relative;
	height: 26px;
	width: 50px;
	transform: scale(1.5);
  margin: 0px 20px;
}

.label .ball {
	background-color: #fff;
	border-radius: 50%;
	position: absolute;
	top: 2px;
	left: 2px;
	height: 22px;
	width: 22px;
	transform: translateX(0px);
	transition: transform 0.2s linear;
}

.checkbox:checked + .label .ball {
	transform: translateX(24px);
}

.fa-moon {
  color: #f1c40f;
}

.fa-sun {
  color: #f39c12;
}

p {
  margin-top: 100px;
  margin-bottom: 100px;
  font-family: 'Roboto', san;
  font-size: 1.5em;
  color: var(--text-color);
}

.wrapper {
  max-width: 400px;
  margin: 20px auto;
  color:var(--text-color);
  text-align:center;
}


#minutes, #seconds{
  font-size:2em;
}

button {
background-color: var(--bg-button);
color:var(--text-color);
border: none;
border-radius: 50px;
cursor:pointer;
font-family: 'Roboto';
font-weight: 700;
font-size: 1em;
padding: 15px;
width: 110px;
margin: 5px;

transition: 0.5s;
}

#button-start {
  background-color: rgb(255, 127, 127);
  color: white;
}
