@import url(https://fonts.googleapis.com/css?family=Schoolbell);
@import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300);
* {
  box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0; }

body {
  background-color: #feefd4; }

main {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px; }

header {
  width: 100%;
  margin: 15px 0 30px;
  color: #72342b; }
  @media (min-width: 768px) {
    header {
      margin: 5px 0 20px; } }
  header h1 {
    font: normal normal 11vw/1.5 "Schoolbell", cursive;
    text-align: center;
    margin: 0;
    text-shadow: 1px 1px 5px #97ffc5; }
    @media (min-width: 768px) {
      header h1 {
        font-size: 8vw; } }
    @media (min-width: 1024px) {
      header h1 {
        font-size: 6vw; } }

.timer {
  width: 80%;
  margin: 0 10px;
  position: relative;
  background: #feefd4 url(../clock_bg.svg) no-repeat center;
  background-size: 100%;
  height: calc((100vw - 30px) * 0.8); }
  @media (min-width: 768px) {
    .timer {
      height: calc((100vw - 30px) * 0.35);
      width: 35%;
      order: 2;
      margin-bottom: 40px; } }
  @media (min-width: 1024px) {
    .timer {
      height: calc((100vw - 30px) * 0.25);
      width: 25%; } }

.seconds-container {
  width: 100%;
  height: 50%;
  top: 0;
  left: 0;
  position: absolute;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform: rotate(0deg);
  transform-origin: bottom center;
  transition: transform 0.3s cubic-bezier(0.4, 2.08, 0.55, 0.44);
  z-index: 10; }

.seconds {
  position: relative;
  width: 1%;
  height: 75%;
  background-color: #f26e5b; }

.minutes-container {
  width: 70%;
  height: 70%;
  top: calc((100% - 70%) / 2);
  left: calc((100% - 70%) / 2);
  position: absolute;
  display: flex;
  align-items: flex-end;
  justify-content: center; }

.minutes {
  width: 50%;
  height: 100%;
  border-radius: 0 calc( ((100vw - 30px) * 0.8) * 0.7) calc( ((100vw - 30px) * 0.8) * 0.7) 0;
  background-color: #57af7e;
  z-index: 2; }
  .minutes:first-child {
    transform: rotate(180deg);
    z-index: 1; }

.minutes-mask-container {
  width: calc(70% + 5%);
  height: calc(70% + 5%);
  top: calc(((100% - 70%) - 5%)/ 2);
  left: calc(((100% - 70%) - 5%)/ 2);
  position: absolute;
  display: flex;
  align-items: flex-end;
  justify-content: center; }

.minutes-full-mask {
  position: absolute;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-radius: 80%;
  background-color: #feefd4;
  z-index: 5; }

.minutes-mask {
  width: 50%;
  height: 100%;
  border-radius: 0 calc( ((100vw - 30px) * 0.8) * 0.75) calc( ((100vw - 30px) * 0.8) * 0.75) 0;
  position: absolute;
  top: 0;
  left: calc(50% - 1px);
  background-color: #feefd4;
  overflow: hidden;
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.4, 2.08, 0.55, 0.44);
  z-index: 3;
  transform: rotate(150deg); }
  .minutes-mask:first-child {
    left: calc(50% + 1px);
    transform: rotate(180deg); }
  .minutes-mask:first-child {
    transform: rotate(180deg); }

.break-container {
  width: 55%;
  height: 55%;
  top: calc((100% - 55%) / 2);
  left: calc((100% - 55%) / 2);
  position: absolute;
  display: flex;
  align-items: flex-end;
  justify-content: center; }

.break {
  width: 50%;
  height: 100%;
  border-radius: 0 calc( ((100vw - 30px) * 0.8) * 0.7) calc( ((100vw - 30px) * 0.8) * 0.7) 0;
  background-color: #cfd6e0;
  z-index: 6; }
  .break:first-child {
    transform: rotate(180deg); }

.break-mask-container {
  width: calc(55% + 5%);
  height: calc(55% + 5%);
  top: calc(((100% - 55%) - 5%)/ 2);
  left: calc(((100% - 55%) - 5%)/ 2);
  position: absolute;
  display: flex;
  align-items: flex-end;
  justify-content: center; }

.break-full-mask {
  position: absolute;
  width: 74%;
  height: 74%;
  top: 13%;
  left: 13%;
  border-radius: 74%;
  background-color: #feefd4;
  z-index: 10; }

.break-mask {
  width: 50%;
  height: 100%;
  border-radius: 0 calc( ((100vw - 30px) * 0.8) * 0.75) calc( ((100vw - 30px) * 0.8) * 0.75) 0;
  position: absolute;
  top: 0;
  left: calc(50% - 1px);
  background-color: #feefd4;
  overflow: hidden;
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.4, 2.08, 0.55, 0.44);
  z-index: 8;
  transform: rotate(30deg); }
  .break-mask:first-child {
    left: calc(50% + 1px);
    transform: rotate(180deg); }
  .break-mask:first-child {
    transform: rotate(180deg); }

.remaining-time {
  position: absolute;
  width: 40%;
  height: 40%;
  border-radius: 50%;
  top: calc(50% - (40% / 2));
  left: calc(50% - (40% / 2));
  background-color: #f0dcba;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20; }
  .remaining-time p {
    font: normal normal 1.3em/1.5 "Open Sans Condensed", sans-serif;
    color: #72342b;
    line-height: 1;
    text-align: center;
    width: 100%;
    margin: 0; }
    .remaining-time p.remaining-minutes {
      font-size: 2em; }

.btn {
  color: #72342b;
  font-size: 0.9em;
  background-color: #f26e5b;
  border: 1px solid #72342b;
  border-radius: 8px;
  min-width: 38px;
  min-height: 48px;
  padding: 0;
  transition: all 0.2s ease;
  cursor: pointer; }
  .btn:hover {
    background-color: #57af7e;
    border: 1px solid #97ffc5;
    color: #97ffc5; }
  .btn:disabled {
    border: 1px solid #c7a6a2; }
  .btn i {
    margin-right: 5px; }

.duration {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  color: #72342b; }
  .duration p {
    font: normal normal 1.3em/1.5 "Open Sans Condensed", sans-serif;
    text-align: center;
    text-transform: uppercase;
    margin: 2px 0;
    width: 100%; }
  .duration span {
    font: normal normal 1.3em/1.5 "Open Sans Condensed", sans-serif;
    font-size: 1.5em;
    text-align: center;
    margin: 0 5px;
    min-width: 44px; }
  @media (min-width: 768px) {
    .duration {
      width: 20%; } }
  @media (min-width: 1024px) {
    .duration {
      width: 14%; } }
  @media (min-width: 768px) {
    .duration.rest {
      order: 1; } }
  @media (min-width: 768px) {
    .duration.session {
      order: 3; } }
  .duration .btn {
    color: #72342b;
    background-color: #feefd4;
    border: none;
    font: normal normal 1.3em/1.5 "Open Sans Condensed", sans-serif;
    font-size: 1.7em; }
    .duration .btn:hover {
      background-color: #f26e5b;
      border: 1px solid #72342b;
      border-radius: 8px; }
    .duration .btn:disabled {
      border: none; }

.btn:disabled, .duration .btn:disabled, .faded {
  background-color: #feefd4;
  color: #c7a6a2;
  cursor: not-allowed; }

.controls {
  width: 100%;
  display: flex;
  justify-content: center; }
  @media (min-width: 768px) {
    .controls {
      width: 80%;
      order: 4; } }

.control-btn {
  display: block;
  width: 33.33%;
  padding: 10px; }
  .control-btn .btn {
    width: 100%;
    height: 48px; }
  @media (min-width: 768px) {
    .control-btn {
      width: 25%; } }
  @media (min-width: 1024px) {
    .control-btn {
      width: 20%; } }

/*# sourceMappingURL=style.css.map */
