html,
body {
  padding: 0;
  margin: 0;
  font-family: "Nunito", sans-serif;
  text-align: center;
  position: relative;
  height: 100%;
  /*cursor: url('path-to-image.png'), auto;	*/
  overflow: hidden;
  overflow-y: auto;
}
h1,
h2 {
  margin: 0;
  padding-bottom: 0.5em;
  padding-top: 0.5em;
}
h2 {
  padding-bottom: 0.3em;
  padding-top: 0.3em;
}
playerWrapper {
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: max-height 0.15s ease-out;
  overflow: hidden;
  display: none;
  z-index: 14;
  animation: open-player 0.4s ease-in-out;
}
playerWrapper.close {
  animation: close-player 0.3s ease-in-out;
}
@keyframes open-player {
  0% {
    max-height: 1px;
  }
  100% {
    max-height: 100%;
  }
}
@keyframes close-player {
  0% {
    max-height: 100%;
  }
  100% {
    max-height: 1px;
  }
}
i.fa-times-circle {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 40px;
  cursor: pointer;
}
i.fa-times-circle:hover {
  color: red;
}
playerTitle {
  font-size: 36px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
playerDescription {
  display: flex;
  flex-direction: row;
  align-content: center;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
player {
  position: relative;
  width: 100%;
  display: block;
  height: 720px;
}
playerProgress {
  width: calc(100%);
  height: 1em;
  /*border: solid 1px #aaa;*/
  position: relative;
  display: block;
  border-radius: 2px;
  -moz-box-shadow: inset 0 0 10px #000000;
  -webkit-box-shadow: inset 0 0 10px #000000;
  box-shadow: inset 0 0 10px #000000;
}
playerProgressCurrent {
  position: absolute;
  top: 0;
  left: 0;
  background-image: -webkit-linear-gradient(
      -45deg,
      transparent 33%,
      rgba(0, 0, 0, 0.1) 33%,
      rgba(0, 0, 0, 0.1) 66%,
      transparent 66%
    ),
    -webkit-linear-gradient(top, rgba(255, 255, 255, 0.25), rgba(0, 0, 0, 0.25)),
    -webkit-linear-gradient(left, rgba(20, 20, 20, 0.75), rgba(40, 255, 40, 0.2));
  background-size: 35px 20px, 100% 100%, 100% 100%;
  width: 30%;
  height: 100%;
  display: block;
  animation: animate-stripes 48s linear infinite;
}
@keyframes animate-stripes {
  100% {
    background-position: -110% -0;
  }
}

playerProgressText {
  position: absolute;
  top: 50%;
  margin: auto;
  left: 50%;
  transform: translate(-50%, -50%);
}
h1 {
  font-size: 48px;
}
h1 span {
  margin: 0 1em;
}
h2 {
  font-size: 36px;
  font-weight: 400;
  position: relative;
  top: -1em;
}
calendar {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}
calendar day {
  flex: 1 0 12%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 125px;
  padding: 0.7em 0.7em 0 0.7em;
  cursor: pointer;
}
calendar day daynumber {
  font-weight: 900;
  margin-bottom: 1em;
}
calendar day daytitle {
  font-weight: 400;
  font-size: 14px;
}
calendar day.active {
  cursor: initial;
}
.fa-ellipsis-h {
  position: absolute;
  top: 1em;
  right: 1em;
  font-size: 20px;
  cursor: pointer;
  display: block;
  z-index: 100;
}

menu {
  display: flex;
  flex-direction: column;
  flex-flow: column;
  position: absolute;
  top: 2em;
  right: -280px;
  align-items: flex-start;
  justify-content: flex-start;
  font-size: 20px;
  text-align: left;
  transition: all 0.15s ease-in-out;
  z-index: 33;
}
menu.open {
  right: 0;
}

menu i,
menu label {
  padding: 0.5em;
  border-bottom: 1px solid #333;
  width: 100%;
  text-align: left;
  transition: all 0.15s ease-in-out;
  cursor: pointer;
  z-index: 2;
}
menu i:before,
menu label:before {
  padding-right: 0.5em;
}
.editable[contenteditable="true"] {
  min-width: 2em;
  border: dashed 1px rgba(255, 255, 255, 0.4);
  margin-top: -1px;
  margin-bottom: -1px;
  display: inline-block;
}
.editable[contenteditable="true"]:hover {
  /*color: #ccc;*/
  background: rgba(255, 255, 255, 0.3);
}
break {
  flex-basis: 100%;
  height: 1em;
  flex-grow: 1;
}
input#loadChallenge {
  position: absolute;
  opacity: 0;
  bottom: 0;
}
sharedialog {
  position: absolute;
  left: 50%;
  top: -50%;
  transform: translate(-50%, -50%);
  padding: 2.5em;
  user-select: none;
  display: flex;
  flex-direction: column;
  transition: all 0.5s ease-in-out;
}

.sharelink {
margin-top: 1em;
padding: 0.5em;
border: 1px solid rgba(40, 255, 40, 0.2);
background: rgba(0,0,0,0.3);
color: #fff;
user-select: all;
resize: none;
height: 15px;
min-width: 366px;
}
@media screen and (orientation: landscape) and (max-width: 1280px) {
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 24px;
  }
  playerTitle {
    font-size: 20px;
  }
  player {
    zoom: 0.3;
  }
}
@media screen and (orientation: portrait) and (max-width: 1280px) {
  h1 {
    font-size: 32px;
    margin-bottom: 1em;
  }
  h2 {
    font-size: 24px;
  }
  player {
    zoom: 0.64;
  }
  playerTitle {
    font-size: 40px;
  }
  playerDescription {
    font-size: 32px;
  }
  calendar day {
    flex: 1 0 24%;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 155px;
    padding: 0.7em 0.7em 0 0.7em;
    cursor: pointer;

    font-size: 28px;
  }
  calendar day daytitle {
    font-size: 26px;
  }
  playerProgressText {
    font-size: 28px;
  }
  playerProgress {
    height: 3em;
  }
  menu {
    font-size: 64px;
    right: -700px;
  }
  .openMenuButton {
    font-size: 38px;
  }
  sharedialog {
    font-size: 32px;
  }
}
