@import url("https://fonts.googleapis.com/css2?family=Lato&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rubik+Distressed&display=swap");

* {
  /*   box-sizing: border-box; */
}

h1 {
  font-family: "Rubik Distressed", cursive;
  font-size: 56px;
  color: #ffae1b;
  transform: rotate(-3deg);
  user-select: none;
  margin: 0 0 50px 0;
  text-align: center;
}

#submit {
  color: #545754;
  padding: 0.75em 4.25em;
  border: 2px solid #2ee22e;
}

.btn-timer {
  color: #545754;
  border: 2px solid;
}

#reset {
  color: red;
  border: 2px solid red;
}



.logo {
  width: 15%;
  margin-bottom: 20px;
  display: block;
}

.container {
  padding: 50px;
  font-family: "Lato";
  letter-spacing: 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.178);
}

.inputs {
  font-size: 24px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.inputs input,
.inputs input:disabled {
  color: black;
  font-size: 18px;
  width: 2em;
  text-align: center;
  border: none;
  border-radius: 8px;
  padding: 0.5em;
  background: lightgrey;
}

.input-control {
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 5px;
}

button {
  /*   font-size: 18px; */
  font-size: 20px;
  font-weight: bold;
  background: none;
  border: none;
  cursor: pointer;
  color: black;
  border-radius: 8px;
}

.buttons {
  margin: 20px 0 20px 0;
}

.inputs .plus {
  /*   background: lightgreen; */
}

.inputs .minus {
  /*   background: red; */
}

.timer-container {
  position: relative;
  margin: 10px 0 10px 0;
  width: 100%;
  height: 15em;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-flow: wrap;
  /*   color: white; */
  font-size: 25px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  /*   transition: transform .5s ease-out; */
  transition: all 0.25s ease-in-out;
}

.timer-container:active {
  transform: scale(0.95);
}

#timer {
  font-size: 300px;
  width: 100%;
  margin-top: 40px;
  /*   animation: test 1s infinite; */
}

.rounds {

}

#command {
  font-size: 30px;
  margin-top: inherit;
}

.msgElement {
  font-size: 14px;
  text-align: center;
  letter-spacing: 1px;
  font-weight: light;
  display: none;
  position: absolute;
  min-width: 200px;
  /*   top: -150%; */
  top: 9;
  right: 0;
  background: rgb(15, 15, 15, 0.8);
  color: white;
  border-radius: 8px;
  padding: 0.75em;
}

.msgElement.active {
  display: block;
}

.soundSwitch {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

@media only screen and (max-width: 460px) {
  /*Here comes the actual code*/

  body {
    margin: 0;
  }

  .container {
    max-width: none;
    margin: 0;
    padding: 20px;
    border-radius: 0;
  }
  .inputs {
    flex-direction: column;
  }
  .input-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

@media only screen and (max-width: 900px) {
  /*Here comes the actual code*/

  .inputs {
    flex-direction: column;
  }
  .input-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
.toggle-fullscreen-btn {
	position: fixed;
	z-index: 10000;
	top: 10px;
	right: 10px;
	border: 0;
	padding: 0;
	background: none;
	cursor: pointer;
	outline: none;
}


.toggle-fullscreen-svg {
	display: block;
	height: auto;
}

.toggle-fullscreen-svg path {
	transform-box: view-box;
	transform-origin: 12px 12px;
	fill: none;
	stroke: hsl(225, 10%, 8%);
	stroke-width: 4;
	transition: .15s;
}


.toggle-fullscreen-btn:hover path:nth-child(1),
.toggle-fullscreen-btn:focus path:nth-child(1) {
	transform: translate(-2px, -2px);
}

.toggle-fullscreen-btn:hover path:nth-child(2),
.toggle-fullscreen-btn:focus path:nth-child(2) {
	transform: translate(2px, -2px);
}

.toggle-fullscreen-btn:hover path:nth-child(3),
.toggle-fullscreen-btn:focus path:nth-child(3) {
	transform: translate(2px, 2px);
}

.toggle-fullscreen-btn:hover path:nth-child(4),
.toggle-fullscreen-btn:focus path:nth-child(4) {
	transform: translate(-2px, 2px);
}


.toggle-fullscreen-btn:not(.on) .icon-fullscreen-leave {
	display: none;
}

.toggle-fullscreen-btn.on .icon-fullscreen-enter {
	display: none;
}

/* @keyframes test {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  50% {
    transform: translateY(0);
    opacity: 1;
  }
  
 100% {
    transform: translateY(-100px);
    opacity: 0;
  }
}
 */
