@import url(https://fonts.googleapis.com/css?family=Droid%20Sans%20Mono);
@import url(https://fonts.googleapis.com/css?family=Short%20Stack);

:root {
  --birthday-color: #98b5b5;
}

* {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
}

html,
body,
div,
a,
span {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  -webkit-tap-highlight-color: transparent;
  -webkit-transition: -webkit-transform 0ms;
  -webkit-transform-origin: 0px 0px;
  -webkit-transform: translate3d(0px, 0px, 0px);
}

:focus {
  outline: none;
}

body {
  width: 100%;
  height: 100vh;
  background-color: white;
  color: #353535;
  font-size: 16px;
  font-family: "Droid Sans Mono";
  font-weight: 100;
  margin: 0px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.fullContainer {
  width: 100%;
  height: 100%;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.rotateAge {
  -webkit-transform-origin: center;
  -ms-transform-origin: center;
  transform-origin: center;
}
.age {
  display: none;
}
.birthdayName {
  display: none;
}

.confettiWrapper {
  display: none;
}

.countdown {
  margin-bottom: 10px;
  font-size: 24px;
}
.miniCountdown {
  font-size: 14px;
  background-color: #e1f0f0;
  color: var(--birthday-color);
  padding: 0.2em 0.4em;
  border-radius: 0.3em;
  width: auto;
  text-align: center;
  margin-bottom: 0.4em;
}

.isBirthday .countdownContent {
  display: none;
}
.isBirthday .age {
  display: block;
  font-size: 42px;
  /*color: var(--birthday-color);*/
}
.isBirthday .birthdayName {
  display: block;
  font-weight: 600;
  /*color: var(--birthday-color);*/
}
.isBirthday .confettiWrapper {
  display: block;
  position: fixed;
  z-index: 0;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  background-size: 300px 300px;
  background-image: url(../kleinKonfetti.gif);
  background-repeat: repeat;
}

.photo {
  display: block;
  position: absolute;
  z-index: 1;
  height: auto;
  max-width: 400px;
}

.isEstersBirthday .confettiWrapper {
  display: block;
  position: fixed;
  z-index: 3;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  transition: opacity 0.1s;
  background-size: 600px 600px;
  background-image: url(../kleinKonfetti.gif);
  background-repeat: repeat;
  mix-blend-mode: multiply;
}
.isEstersBirthday .age {
  font-family: "Short Stack";
  z-index: 2;
  font-size: 1200%;
  color: black;
  -webkit-transform-origin: center;
  -ms-transform-origin: center;
  transform-origin: center;
  position: fixed;
  top: 50vh;
  left: 50vw;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  /*
    font size
    color
    text shadow
  */
}
.isEstersBirthday .birthdayName {
  display: none !important;
}
