@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap");
* {
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #00001a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.3em;
  color: #e6e6ff;
  text-align: center;
}

#pomodoro {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 802px;
  height: 500px;
  border: 1px dotted #d1d1e0;
}
#pomodoro button {
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  border: 1px solid #d1d1e0;
  border-radius: 3px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8em;
  color: #e6e6ff;
  padding: 8px 12px 8px 12px;
  margin: 3px;
  cursor: pointer;
  outline: none;
}
#pomodoro button:hover {
  background: #3333ff;
}
#pomodoro #title {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 800px;
  height: 100px;
  border-bottom: 1px dotted #d1d1e0;
  font-family: Arial, Helvetica, sans-serif;
}
#pomodoro #title a {
  color: #e6e6ff;
  text-decoration: none;
}
#pomodoro #title a:hover {
  color: #3333ff;
}
#pomodoro #content {
  display: flex;
  justify-content: center;
  align-items: center;
}
#pomodoro #content #break-group,
#pomodoro #content #session-group {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  justify-content: space-evenly;
  width: 400px;
  height: 200px;
}
#pomodoro #content #break-group .label,
#pomodoro #content #session-group .label {
  padding: 0 0 15px 0;
}
#pomodoro #content #break-group .time-control,
#pomodoro #content #session-group .time-control {
  display: flex;
  justify-content: center;
  align-items: center;
}
#pomodoro #content #break-group .time-control .display,
#pomodoro #content #session-group .time-control .display {
  padding: 0 15px 0 15px;
}
#pomodoro #content #session-group {
  border-top: 1px dotted #d1d1e0;
}
#pomodoro #content #right-display {
  width: 400px;
  height: 400px;
  border-left: 1px dotted #d1d1e0;
}
#pomodoro #content #right-display #timer-group {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  justify-content: space-evenly;
  width: 400px;
  height: 300px;
}
#pomodoro #content #right-display #timer-group .control-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
#pomodoro #content #right-display #interval-count {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 400px;
  height: 100px;
  border-top: 1px dotted #d1d1e0;
}

@media only screen and (max-width: 850px) {
  #pomodoro {
    width: 602px;
    height: 500px;
  }
  #pomodoro #title {
    width: 600px;
    height: 100px;
  }
  #pomodoro #content #break-group,
#pomodoro #content #session-group {
    width: 300px;
    height: 200px;
  }
  #pomodoro #content #right-display {
    width: 300px;
    height: 400px;
  }
  #pomodoro #content #right-display #timer-group {
    width: 300px;
    height: 300px;
  }
  #pomodoro #content #right-display #interval-count {
    width: 300px;
    height: 100px;
  }
}
@media only screen and (max-width: 650px) {
  #pomodoro {
    width: 350px;
    height: 90%;
  }
  #pomodoro #title {
    width: 350px;
    height: 100px;
  }
  #pomodoro #content {
    flex-direction: column-reverse;
  }
  #pomodoro #content #break-group,
#pomodoro #content #session-group {
    width: 350px;
    height: 150px;
    border-top: 1px dotted #d1d1e0;
  }
  #pomodoro #content #right-display {
    width: 350px;
    height: 300px;
    border-left: none;
  }
  #pomodoro #content #right-display #timer-group {
    width: 350px;
    height: 200px;
  }
  #pomodoro #content #right-display #interval-count {
    width: 350px;
    height: 100px;
  }

  #footnote {
    display: none;
  }
}