@font-face {
  font-family: VT323;
  src:url('./VT323-Regular.ttf') format('truetype');
}

:root {
  touch-action: pan-x pan-y;
  height: 100%;
}

* {
  touch-action: manipulation;
}

body button {
  cursor: pointer;
}

.popupcontainer {
  top: 0;
  left: 0;
  position: fixed;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9;
}
.popup{
  position: fixed;
  margin: auto;
  height: 60vh;
  width: 80vw;
  z-index: 9;
  background: #eeebd0;
  text-align: center;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.popup h2 {
  font-size:300%;
}

.popup button {
  font-size: 200%;
  width: fit-content;
  margin: 25px;
  border: none;
  background: #48fb00;
  font-size: 45px;
  font-family: VT323;
  font-weight: bold;
  text-align: center;
  box-shadow: 3px 3px 2px #888888;
}

.timerwrap {
  height:100vh;
  display:flex;
  justify-content:center;
  align-items: center;
  z-index: 1;
}
#root {
  width: 500px;
  height: 330px;
  background: #eeebd0;
  border-radius: 1%;
  box-shadow: 5px 5px 2px #888888;
  z-index: 1;
}

body {
  background: #01abaa;
  color: #3a3335;
  font-family: VT323, VT323;
  font-weight: bold;
  height: 100vh;
  overflow: hidden;
}

.pomodoro {
  height: 120px;
  display: flex;
  background: #fedc3d;
  justify-content: center;
  box-shadow: 1px 1px 1px #888888;
}

.pomodoro button {
  padding: 5px 10px 5px 10px;
  margin-top: 90%;
  border: none;
  background: #01abaa;
  font-size: 45px;
  font-family: VT323;
  font-weight: bold;
  text-align: center;
  box-shadow: 3px 3px 2px #888888;
}

.pomodoro button:active {
  background: #079fb0;
  box-shadow: 0 0 0 transparent;
}

.pomodoro button:focus {
  outline: 0;
}

.title {
  text-align: center;
  font-size: 20px;
}

.pomodoro .timer {
  font-size: 120px;
  margin: 0 20px;
}

.start-pause {
  display: flex;
  justify-content: center;
}

.start-pause button {
  border: none;
  background: #01abaa;
  font-size: 45px;
  font-family: VT323;
  font-weight: bold;
  margin: 30px;
  box-shadow: 3px 3px 2px #888888;
  height: 47px;
  width: fit-content;
}

.start-pause button:active {
  background: #079fb0;
  box-shadow: 0 0 0 transparent;
}

.start-pause button:focus {
  outline: 0;
}

.reset {
  text-align: center;
}

.reset button {
  border: none;
  background: #dc5754;
  font-size: 45px;
  font-family: VT323;
  font-weight: bold;
  box-shadow: 3px 3px 2px #888888;
  margin-left: 115px;
  height: 47px;
  width: fit-content;
}

.reset button:active {
  box-shadow: 0 0 0 transparent;
}

.reset button:focus {
  outline: 0;
}

.contain-it {
  display: flex;
  justify-content: center;
  align-items: center;
}

.break-length {
  margin-left: 30px;
}

.break-time {
  display: flex;
  flex-flow: row;
  align-items: center;
  font-size: 15px;
}

.break-time button {
  border: none;
  background: #dc5754;
  box-shadow: 1px 1px 1px #888888;
}

.break-time button:active {
  box-shadow: 0 0 0 transparent;
}

.break-time button:focus {
  outline: 0;
}

.break-text {
  font-size: 20px;
  padding: 5px;
}

@media (max-width: 600px) {
  #root {
    transform: scale(0.75);
  }
}

@media (max-width: 300px) {
  #root {
    transform: scale(0.6);
  }
}
