h1, h2:link, h3, a:link { 
  text-decoration: none; 
} 
h1, h2:visited, h3, a:visited { 
  text-decoration: none; 
}
h1, h2:any-link, h3, a:any-link {
  text-decoration: none;
}
h1, h2:-moz-any-link, h3, a:-moz-any-link {
  text-decoration: none;
}
h1, h2[href^="mailto:"], h3, a[href^="mailto:"] {
  color: inherit;
  text-decoration: none;
}
html {
  font-family: 'Noto Sans', sans-serif;
}

h1 {
  text-align: center;

}

h2, p, div, span, li, article {
  text-align: left;
}
a {
  color: inherit; /* Use the same color as surrounding text */
  text-decoration: none; /* Optional: Removes underline */
}

a:link,
a:visited,
a:hover,
a:active {
  color: inherit; /* Ensure no purple for visited links */
}
img {
  max-width: 100%;
  max-height: 100%;
}

body {
    height: 97vh;
    display: flex;
    justify-content: center;
    align-items: start;
    background: hsl(0, 0%, 3%);
    color: #000000;
    overflow-x: clip;
    overflow-y: auto;
    opacity: 0;
}

main {
  display: inherit; /* Prevents block-level behavior if not needed */
    margin: 0;
    padding: 0;
    width: 100%; /* Ensures it takes the correct width */
    height: auto; /* Adjust based on content */
    justify-content: center;
}

.change-screen {
  position: absolute;
  width: 100vw;
  height: 98vh;
  color: black;
  background-color: black;
  opacity: 1;
  z-index: 100;
}


.stancil {
  position: absolute;
  width: 100vw;
  height: 98vh;
  color: black;
  background: hsl(0, 0%, 3%);
  
  mask: url('Egg/egg-outline.svg') no-repeat center/contain, linear-gradient(#000 0 0);
  mask-position: center min(30%, 30vw);
  mask-size: min(40vh, 95vw) min(55vh, 175vw);
  -webkit-mask: url('Egg/egg-outline.svg') no-repeat center/contain, linear-gradient(#000 0 0);
  -webkit-mask-composite: copy;
  -webkit-mask-position: center min(30%, 30vw);
  -webkit-mask-size: min(40vh, 95vw) min(55vh, 175vw);
  mask-composite: intersect;

  overflow: clip;
}

.stancil-inverted {
  position: absolute;
  width: 100vw;
  height: 98vh;
  color: black;
  background: hsl(0, 0%, 3%);
  
  mask: url('Egg/egg-outline-inverted-hull.svg') no-repeat center/contain, linear-gradient(#000 0 0);
  mask-position: center min(30%, 30vw);
  mask-size: min(40vh, 95vw) min(55vh, 175vw);
  -webkit-mask: url('Egg/egg-outline-inverted-hull.svg') no-repeat center/contain, linear-gradient(#000 0 0);
  -webkit-mask-composite: copy;
  -webkit-mask-position: center min(30%, 30vw);
  -webkit-mask-size: min(40vh, 95vw) min(55vh, 175vw);
  mask-composite: intersect;

  overflow: clip;
  z-index: 5;
}

.noise-background {
  top: 0;
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-image: url('Egg/noise-background.jpg');
  box-shadow: 0 0 5rem rgb(0, 0, 0) inset;
  opacity: 1;
  z-index: 5;
  background-repeat: no-repeat;
  background-size: cover;
}

.noise-background-filler {
  top: 0;
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-image: url('Egg/noise-background.jpg');
  box-shadow: 0 0 5rem rgb(0, 0, 0) inset;
  opacity: 1;
  z-index: -1;
  background-repeat: no-repeat;
  background-size: cover;
}

.glass-pane {
  top: 10%;
  width: min(44vh, 99vw);
  height: min(63vh, 183vw);
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  /*border: 3px red solid;*/
  z-index: 1;
}

.color-pane {
  visibility: visible;
  width: 100vw;
  height: 100vh;
  position: absolute;
  background: rgb(0, 0, 0);
  z-index: 2;
  opacity: 0;
}

.flash-pane {
  position: absolute;
  visibility: visible;
  width: 100%;
  height: 100%;
  margin: 0;
  background-color: rgb(27, 27, 27);
  opacity: 0;
  z-index: 3;
}

.fog-wrapper {
  bottom: -20%;
  left: -20%;
  position:absolute;
  /*border: 3px yellow solid;*/
}

.fog {
  opacity: 0;
  z-index: 0;
  -webkit-mask: url('fog.png') no-repeat center;
  mask: url('fog.png') no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
  /*border: 3px red solid;*/
  transform-origin: center;
}

#fog-wrapper-0 {
  animation: translateFog 30s ease-out infinite;
  --moveX: 120%;
  --moveY: -85%;
}
#fog-wrapper-1 {
  animation: translateFog 35s ease-out infinite 5s;
  --moveX: 80%;
  --moveY: -60%;
}
#fog-wrapper-2 {
  animation: translateFog 38s ease-out infinite 10s;
  --moveX: 30%;
  --moveY: -180%;
}
#fog-wrapper-3 {
  animation: translateFog 45s ease-out infinite 15s;
  --moveX: 55%;
  --moveY: -140%;
}
#fog-wrapper-4 {
  animation: translateFog 50s ease-out infinite 20s;
  --moveX: 72%;
  --moveY: -230%;
}
#fog-wrapper-5 {
  animation: translateFog 40s ease-out infinite 25s;
  --moveX: 30%;
  --moveY: -200%;
}

#fog-0 {
  animation: changeColor 40s linear infinite, scaleFog 30s ease-out infinite, rotateFog 180s ease-out infinite, opacityFog 30s ease-in-out infinite;
  --rotateBase: 90deg;
  --rotationDirection: 1;
}
#fog-1 {
  animation: changeColor 40s linear infinite, scaleFog 35s ease-out infinite 5s, rotateFog 100s ease-out infinite 5s, opacityFog 35s ease-in-out infinite 5s;
  --rotateBase: 0deg;
  --rotationDirection: -1;
}
#fog-2 {
  animation: changeColor 40s linear infinite, scaleFog 38s ease-out infinite 10s, rotateFog 150s ease-out infinite 10s, opacityFog 38s ease-in-out infinite 10s;
  --rotateBase: 120deg;
  --rotationDirection: -1;
}
#fog-3 {
  animation: changeColor 40s linear infinite, scaleFog 45s ease-out infinite 15s, rotateFog 210s ease-out infinite 15s, opacityFog 45s ease-in-out infinite 15s;
  --rotateBase: 190deg;
  --rotationDirection: 1;
}
#fog-4 {
  animation: changeColor 40s linear infinite, scaleFog 50s ease-out infinite 20s, rotateFog 250s ease-out infinite 20s, opacityFog 50s ease-in-out infinite 20s;
  --rotateBase: 210deg;
  --rotationDirection: 1;
}
#fog-5 {
  animation: changeColor 40s linear infinite, scaleFog 40s ease-out infinite 25s, rotateFog 180s ease-out infinite 25s, opacityFog 40s ease-in-out infinite 25s;
  --rotateBase: 300deg;
  --rotationDirection: -1;
}

.side-filler {
  position: absolute;
  top: 0;
  display: flex;
  width: min(45vh, 100vw);
  min-height: 99vh;
  height: max(fit-content, 97vh);
  justify-content: center;
  align-items: flex-start;
  z-index: 10;
  max-height: max-content;
  flex: none;
  overflow: auto;
}

.container {
  position: relative;
  width: min(45vh, 100vw);
  height: min(min(80vh, 180vw), fit-content);
  max-height: max-content;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  z-index: 10;
  flex: none;
  overflow: auto;
}

.main-page {
  text-align: center;
  /*border: 3px solid blue;*/
  z-index: 10;
}

.egg-placeholder {
  flex-shrink: 0;
  position: relative;
    z-index: 10;
    display: grid;
    width: min(45vh, 100vw);
    height: calc(15vh + min(55vh, 175vw));
    min-width: min(45vh, 100vw);
    min-height: calc(15vh + min(55vh, 175vw));
}

.egg-display {
    position: relative;
    z-index: 0;
    /*border: 3px solid rgb(128, 0, 128);*/
    display: grid;
    grid-template-rows: 1;
    grid-template-columns: 1;
}
.egg {
  grid-row: 1;
  grid-column: 1;
  background: #000000e1;
  -webkit-mask: url('Egg/egg-outline-blur5.svg') no-repeat center/contain;
  -webkit-mask-position: center 5%;
  mask: url('Egg/egg-outline-blur5.svg') no-repeat center/contain;
  mask-position: center 5%;
  pointer-events: none;
  align-self: center;
  justify-self: center;
  width: min(40vh, 95vw);
  height: min(55vh, 175vw);
}

#egg-middle {
    z-index: 10;
}

.ui-element {
  width: min(40vh, 95vw);
  margin: 3% auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  outline: 1px solid rgb(20, 20, 20);
  border-radius: 0.1rem;
  --background_color_alpha: 0.08;
  background: rgb(10, 10, 10);
  visibility: hidden;
  padding: 6px;
  word-wrap: break-word;
  flex: none;
}

.heading-container {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 100%;
}

.egg-trivia {
  text-align: left;
  justify-content: left;
  color: lightgray;
  width: 90%;
}

.egg-tip {
  text-align: left;
  justify-content: left;
  color: lightgray; 
  width: 90%; 
}

.egg-code-input {
  width: 80%;
  margin: 5% auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  z-index: 10;
  outline: 1px solid rgb(20, 20, 20);
  border-radius: 0.1rem;
  animation: backgroundFlash 0.3s ease-out, outlineFlash 0.3s ease-out;
  --background_color_alpha: 0.08;
  background: rgb(20, 20, 20);
  box-shadow: 0px 0px 0.5rem 0.5rem#aaa1, 0 0 10px rgba(0, 0, 0, 0.945) inset;
  -webkit-user-select: text;
  user-select: text;
}

input, textarea {
  -webkit-user-select: text;
  user-select: text;
}

.input-dot {
  width: 10%;
  font-size: 150%;
  height: fit-content;
  background-color: transparent;
  color: gray;
  word-spacing: 0px;
  overflow: hidden;
  text-align: center;
  border: 0;
  outline: 0;
  z-index: 10;
  margin-left: 2%;
  margin-right: 2%;
  margin-top: 1%;
  margin-bottom: 1%;
  caret-color: transparent;
  -webkit-user-select: text;
  user-select: text;
}

.input-dot:focus {
  color: rgb(192, 192, 192);
}

.main-page-input {
    display: block;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 66%;
    margin-bottom: 10%;
    background-color: #575757;
    color: #e6e8eb;
    text-align: center;
    font-size: 150%;
    z-index: 10;
}

.egg-list {
  position: relative;
  padding-top: 8%;
  justify-content: center;
  text-align: center;
  height: fit-content;
  display: inline-block;
}

.egg-stripe {
  position: absolute;
  width: calc(min(40vh, 95vw) * 2); 
  height: calc(min(55vh, 175vw) * 2);
  rotate: 45deg;
  z-index: 0;
  background-color: green;
  left: 50vw;
  top: 50vh;
}

.place-indicator {
  margin-top: calc(15vh + calc(min(55vh, 175vw) / 2.5));
  position: absolute;
  font-size: x-large;
  visibility: hidden;
}

.basket-element-upper {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 100%;
}
.basket-element-lower {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 80%;
}
.basket-element-place {
  height: 2rem;
  padding: 1rem;
  font-size: x-large;
}
.basket-element-place-number {
  height: 2rem;
  padding: 0rem;
  font-size: x-large;
}

.line-h {
  display: block;
  height: 1px;
  border: 0;
  border-top: 3px solid #000000;
  margin: 0 0;
  padding: 0;
  width: 90%;
}

.image-container {
  position: relative;
  left: 30%;
  width: 40%;
}

#basket-element-empty {
  visibility: hidden;
  opacity: 0.5;
}

.glow {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  animation: glow 19s ease 0s infinite alternate;
}

.particles {
  position: absolute;
  top: calc(50% - 50px);
  left: calc(50% - 50px);
  width: 100px;
  height: 100px;
  
}

.rotate {
  position: absolute;
  top: calc(50% - 5px);
  left: calc(50% - 5px);
  width: 10px;
  height: 10px;
}

.angle {
  position: absolute;
  top: 0;
  left: 0;
}

.size {
  position: absolute;
  top: 0;
  left: 0;
}

.position {
  position: absolute;
  top: 0;
  left: 0;
}

.pulse {
  position: absolute;
  top: 0;
  left: 0;
}

.particle {
  position: absolute;
  top: calc(50% - 5px);
  left: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.rotate {
  animation: rotate 60s linear 0s infinite alternate;
}

.pulse{
  /*animation: pulse 16s linear 0s infinite alternate;*/
}


@keyframes glow {
  0% {
    transform: rotate(0deg);
    box-shadow: 0 0 60px 20px #56bcf9, 25px 15px 50px 10px #fff, -5px -25px 30px 5px #fff;
  }
  50% {
        transform: rotate(0deg);
    box-shadow: 0 0 60px 20px #56bcf9, 25px 15px 50px 10px #fff, -5px -25px 30px 5px #fff;
  }
  100% {
    transform: rotate(0deg);
    box-shadow: 0 0 60px 20px #56bcf9, 25px 15px 50px 10px #fff, -5px -25px 30px 5px #fff;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes angle {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes size {
  0% {
    transform: scale(.2);
  }
  100% {
    transform: scale(.6);
  }
}

@keyframes position {
  0% {
    transform: translate3d(0,0,0);
    opacity: 1;
  }
  50%{
    opacity: 1;
  }
  100% {
    transform: translate3d(100px,100px,0);
    opacity: 0;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(.5);
  }
}

@keyframes particle {
  0% {
    box-shadow: inset 0 0 20px 20px #0079e8, 0 0 50px 10px #0079e8, inset 0 0 80px 80px #269aff;
  }
  33.33% {
    box-shadow: inset 0 0 20px 20px #0079e8, 0 0 130px 10px #0079e8, inset 0 0 50px 50px #269aff;
  }
  33.34% {
    box-shadow: inset 0 0 20px 20px #2693ff, 0 0 50px 10px #2693ff, inset 0 0 80px 80px #52abff;
  }
  66.66% {
    box-shadow: inset 0 0 20px 20px #2693ff, 0 0 130px 10px #2693ff, inset 0 0 50px 50px #52abff;
  }
  66.67% {
    box-shadow: inset 0 0 20px 20px #485fe8, 0 0 50px 10px #485fe8, inset 0 0 80px 80px #7d71e8;
  }
  100% {
    box-shadow: inset 0 0 20px 20px #485fe8, 0 0 130px 10px #485fe8, inset 0 0 50px 50px #7d71e8;
  }
}



.rotate .angle:nth-child(1){
  /* change the angle every 2 seconds */
  animation: angle 30s ease 0s infinite;
}
.rotate .angle:nth-child(1) .size{
  /* change the size of the particle every 2 seconds */
  /*animation: size 30s ease 0s infinite;
}
.rotate .angle:nth-child(1) .particle{
  /* animate the glow and change the color every 2 seconds */
  animation: particle 18s ease infinite alternate;
}
.rotate .angle:nth-child(1) .position{
  /* animate the fly out of the particle and its fade out at the end */
  animation: position 6s ease 0s infinite;
}

.rotate .angle:nth-child(2){
  /* change the angle every 2 seconds */
  animation: angle 14s ease -4.5s infinite;
}
.rotate .angle:nth-child(2) .size{
  /* change the size of the particle every 2 seconds */
  /*animation: size 14s ease -4.5s infinite alternate;*/
}
.rotate .angle:nth-child(2) .particle{
  /* animate the glow and change the color every 2 seconds */
  animation: particle 14s ease -9.9s infinite alternate;
}
.rotate .angle:nth-child(2) .position{
  /* animate the fly out of the particle and its fade out at the end */
  animation: position 4.5s ease 0s infinite;
}

.rotate .angle:nth-child(3){
  /* change the angle every 2 seconds */
  animation: angle 13.76s ease -6.88s infinite;
}
.rotate .angle:nth-child(3) .size{
  /* change the size of the particle every 2 seconds */
  /*animation: size 6.88s ease -5.16s infinite alternate;*/
}
.rotate .angle:nth-child(3) .particle{
  /* animate the glow and change the color every 2 seconds */
  animation: particle 5.16s ease -1.72 infinite alternate;
}
.rotate .angle:nth-child(3) .position{
  /* animate the fly out of the particle and its fade out at the end */
  animation: position 5s ease 0s infinite;
}

.rotate .angle:nth-child(5) .position{
  /* animate the fly out of the particle and its fade out at the end */
  animation: position 7s ease 0s infinite;
}

#infobutton-space-buffer {
  margin-bottom: 35%;
}

.main-page-contact {
  position: absolute;
    z-index: 10;
    width: 10vw;
    height: 5vh;
    bottom: 3%;
    -webkit-mask-size: contain;
    mask-size: contain;
    background-color: black;
    background: linear-gradient(90deg,black 0%, black 70%, rgb(105, 105, 105) 0%, black 90%, black 100%);
    mask: url('infoIcon.svg') no-repeat center/contain;
    -webkit-mask: url('infoIcon.svg') no-repeat center/contain;
    background-size: 300% 100%;
    animation: shimmer 30s infinite; 
    overflow: hidden;
    opacity: 0.2;
  }

  
.popup {
  visibility: hidden;
  position: fixed;
  display: inline-block;
  cursor: pointer;
  width: min(80vw, 50vh);
  bottom: 5px;
  z-index: 20;
  left:auto;
}

.popuptext {
  visibility: hidden;
  background-color: #555555e3;
  color: #a6a6a6;
  border-radius: 6px;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 1rem;
  position: fixed;
  bottom: 7vh;
  z-index: 20;
  width: calc(min(80vw, 50vh) - 4rem);
  left: calc(max(25vh, 10vw));
}
.popuptext::after {
  content: "";
  position: fixed;
  bottom: -10px;
  left: calc(min(40vw, 25vh) - 10px);
  margin-left: 5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
  z-index: 20;
}

@keyframes flash-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes flash-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes touch-egg {
  0% {
    mask-size: min(40vh, 95vw) min(55vh, 175vw);
  }
  20% {
    mask-size: min(36vh, 85.5vw) min(49.5vh, 157.5vw);
  }
  100% {
    mask-size: min(40vh, 95vw) min(55vh, 175vw);
  }
}



@keyframes reveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes hide {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes move-egg-stripe {
  from {
    transform: translate(0 0);
  }
  to {
    transform: translate(-10vw 0);
  }
}

@keyframes changeColor {
  0% {
      background-color: hsl(0, 80%, 30%);
    }
    17% {
      background-color: hsl(60, 80%, 30%);
    }
    33% {
      background-color: hsl(120, 80%, 30%);
    }
    50% {
      background-color: hsl(180, 80%, 30%);
    }
    67% {
      background-color: hsl(240, 80%, 30%);
    }
    83% {
      background-color: hsl(300, 80%, 30%);
    }
    100% {
      background-color: hsl(360, 80%, 30%);
    }
}
@keyframes changeColorSoft {
  0% {
      background-color: hsla(0, 80%, 30%, 0.1);
    }
    17% {
      background-color: hsl(60, 80%, 30%, 0.1);
    }
    33% {
      background-color: hsl(120, 80%, 30%, 0.1);
    }
    50% {
      background-color: hsl(180, 80%, 30%, 0.1);
    }
    67% {
      background-color: hsl(240, 80%, 30%, 0.1);
    }
    83% {
      background-color: hsl(300, 80%, 30%, 0.1);
    }
    100% {
      background-color: hsl(360, 80%, 30%, 0.1);
    }
}

@keyframes changeOutlineColor {
  0% {
    outline-color: hsl(0, 20%, 40%);
  }
  17% {
    outline-color: hsl(60, 20%, 40%);
  }
  33% {
    outline-color: hsl(120, 20%, 40%);
  }
  50% {
    outline-color: hsl(180, 20%, 40%);
  }
  67% {
    outline-color: hsl(240, 20%, 40%);
  }
  83% {
    outline-color: hsl(300, 20%, 40%);
  }
  100% {
    outline-color: hsl(360, 20%, 40%);
  }
}

@keyframes backgroundFlash {
  0% {
    background-color: black;
    color: black;
  }
  50% {
    background-color: rgb(20, 20, 20);
    color: rgb(20, 20, 20);
  }
  100% {
    background-color: rgb(10, 10, 10);
    color: rgb(10, 10, 10);
  }
}

@keyframes outlineFlash {
  0% {
    outline-color: black;
    outline-width: 0;
  }
  50% {
    outline-color: 1px solid rgb(20, 20, 20);
    outline-width: 3px;
  }
  100% {
    outline-color: 1px solid rgb(10, 10, 10);
    outline-width: 1px;
  }
}
@keyframes backgroundFlashReverse {
  0% {
    background-color: rgb(10, 10, 10);
    color: rgb(10, 10, 10);
  }
  50% {
    background-color: rgb(20, 20, 20);
    color: rgb(20, 20, 20);
  }
  100% {
    background-color: black;
    color: black;
  }
}

@keyframes outlineFlashReverse {
  0% {
    outline-color: 1px solid rgb(10, 10, 10);
    outline-width: 1px;
  }
  50% {
    outline-color: 1px solid rgb(20, 20, 20);
    outline-width: 3px;
  }
  100% {
    outline-color: black;
    outline-width: 0;
  }
}

@keyframes shimmer {
  0% {
    background-position: 200%;
  }
  40% {
    background-position: 200%;
  }
  50% {
    background-position: 0%;
  }
  60% {
    background-position: -150%;
  }
  100% {
     background-position: -150%;
  }
}

@keyframes scaleFog {
  from {
    width: min(20vh, 20vw);
    height: min(20vh, 20vw);
  }

  to {
    width: min(55vh, 70vw);
    height: min(55vh, 70vw);
  }
}

@keyframes rotateFog {
  from {
    rotate: var(--rotateBase);
  }

  to {
    rotate: calc(var(--rotateBase) + calc(var(--rotationDirection) * 360deg));
  }
}

@keyframes opacityFog {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes translateFog {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(calc(var(--moveX)), var(--moveY));
  }
}

@keyframes shrinkEgg {
  0% {
    mask-size: min(40vh, 95vw) min(55vh, 175vw);
  }
  100% {
    mask-size: min(20vh, 52vw) min(27vh, 87vw);
  }
}

@keyframes shrinkPlaceholder {
  0% {
    width: min(40vh, 95vw);
    height: min(55vh, 175vw);
  }
  100% {
    width: min(20vh, 52vw);
    height: min(27vh, 87vw);
  }
}

@keyframes heartBeat {
  0% {
    opacity: 0.90;
  }
  57% {
    opacity: 0.92;
  }
  50% {
    opacity: 0.85;
  }
  55% {
    opacity: 1;
  }
  58% {
    opacity: 0.88;
  }
  60% {
    opacity: 0.90;
  }
  67% {
    opacity: 0.92;
  }
  70% {
    opacity: 0.85;
  }
  75% {
    opacity: 1;
  }
  78% {
    opacity: 0.88;
  }
  80% {
    opacity: 0.90;
  }
  100% {
    opacity: 0.90;
  }
}

@keyframes breathing {
  0% {
    opacity: 1;
  }
  70% {
    opacity: 0.70;
  }
  100% {
    opacity: 1;
  }
}

@keyframes showUiElement {
  0% {
    background-color: black;
    color: black;
    outline-color: black;
    outline-width: 0;
    opacity: 0;
  }
  50% {
    background-color: rgb(40, 40, 40);
    color: rgb(255, 255, 255);
    outline-color: rgb(60, 60, 60);
    outline-width: 3px;
    opacity: 1;
  }
  100% {
    background-color: rgb(20, 20, 20);
    color: rgb(230, 230, 230);
    outline-color: rgb(20, 20, 20);
    outline-width: 1px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.945) inset;
  }
}

@keyframes hideUiElement {
  0% {
    background-color: rgb(20, 20, 20);
    color: rgb(230, 230, 230);
    outline-color: rgb(20, 20, 20);
    outline-width: 1px;
    box-shadow: none;
  }
  50% {
    background-color: rgb(40, 40, 40);
    color: rgb(255, 255, 255);
    outline-color: rgb(60, 60, 60);
    outline-width: 3px;
    opacity: 1;
  }
  100% {
    background-color: black;
    color: black;
    outline-color: black;
    outline-width: 0;
    opacity: 0;
  }
}

@keyframes flashShowElement {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 100%;
  }
}
@keyframes flashHideElement {
  0% {
    opacity: 100%;
  }
  100% {
    opacity: 0%;
  }
}


.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 0.2s ease-in;
  animation: fadeIn 0.2s ease-in;
}

.input-dot .show {
  -webkit-animation: fadeNumberIn 0.2s ease-in;
  animation: fadeNumberIn 0.2s ease-in;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(0, 20%);
  }
  to {
    opacity: 1;
    transform: translate(0% 0%);
    visibility: visible;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(0, 20%);
  }
  to {
    opacity: 1;
    transform: translate(0% 0%);
    visibility: visible;
  }
}

@-webkit-keyframes fadeOut {
  from {
    opacity: 1;
    transform: translate(0, 0%);
    visibility: visible;
  }
  to {
    opacity: 0;
    transform: translate(0% 20%);
    visibility: hidden;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translate(0, 0%);
    visibility: visible;
  }
  to {
    opacity: 0;
    transform: translate(0% 20%);
    visibility: hidden;
  }
}


@keyframes fadeNumberIn {
  from {
    transform: translate(0%, 10%);
  }
  to {
    transform: translate(0% 0%);
  }
}

@keyframes fadeNumberOut {
  from {
    transform: translate(0%, 0%);
  }
  to {
    transform: translate(0% 10%);
  }
}