/* ################### CSS for Gewinnspiele ################### */
.spiel__webform {
    display: none;
}

.show {
    display: block !important;
}

.hidden {
    display: none !important;
}

.spiel__feedback {
    display: none;
}

#hotspot-timer {
  width: auto;
}

/** MODAL **/

.gewinnspiel__modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
}

/**
 * Ausblenden unnötiger Felder
 */
.page-node-spiel #edit-markup-01, .page-node-spiel #edit-highscore-time {
    display: none;
}


.gewinnspiel__modal_inner {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 0px 20px #000000;
  width: 90%;
  max-width: 600px;
}

.gewinnspiel__modal_headline {
  text-align: center;
  margin-bottom: 20px;
}

.gewinnspiel__modal_content {
  text-align: center;
  margin-bottom: 20px;
}

.gewinnspiel__modal_buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.gewinnspiel__modal_buttons button {
  margin: 0 10px;
}

/** Ostereiersuche **/
.h5p-image-hotspot-question #hotspot-timer {
  font-weight: bold;
  float: right;
  bottom: 65px;
  padding: 0.4rem 0.8rem;
  margin-right: 50px;
}
.h5p-image-hotspot-question #hotspot-timer span {
  font-weight: normal;
  margin: 0 0 0 0.5rem;
}
.h5p-joubelui-score-bar {
  border: 3px solid rgba(0,0,0,0.08);
}
.h5p-question-feedback {
  font-weight: bold;
  color: #FF7900;
}
.h5p-joubelui-score-bar-progress {
  background: #FF7900;
  background: linear-gradient(to right,#FF7900,#FF7900);
}



/** Memory **/
.h5p-memory-game .h5p-status > dt {
  margin: 0 0.5em 0 0;
}
.h5p-memory-game .h5p-status {
  padding: 0.4rem 0.8rem;
  border: 3px solid rgba(0,0,0,0.08);
  background: #fff;
  border-radius: 1.5em;
  width: 225px;
}
.h5p-memory-game > ul{
  /*padding: 0 !important;*/
  /*display: flex;*/
  flex-wrap: wrap;
  justify-content: center;
}



.h5p-memory-game .h5p-memory-wrap {
  /*width: 14% !important;*/
  /*margin: 1% !important;*/
  /*flex-basis: 18%;*/
  padding: 5px !important;  
  padding-top: 0px !important;
}
.h5p-memory-game .h5p-memory-card {
  margin: 0;
}
.h5p-memory-game .h5p-memory-card .h5p-back {
  line-height: 0;
}
.h5p-memory-game .h5p-memory-card, .h5p-memory-game .h5p-memory-card .h5p-back, .h5p-memory-game .h5p-memory-card .h5p-front {
  height: fit-content;
  width: 100%;
  aspect-ratio: 1 /1;
}
.h5p-memory-game .h5p-row-break {
  clear: none;
}

@media only screen and (max-width: 1150px) {
  .h5p-image-hotspot-question #hotspot-timer {
    margin-right: 0px;
  }
}

@media only screen and (max-width: 800px) {
  .h5p-memory-game .h5p-memory-wrap {
    width: 18% !important;
  }
}

@media only screen and (max-width: 500px) {
  .h5p-image-hotspot-question #hotspot-timer {
    float: none;
    bottom: 0;
  }
  .h5p-memory-game .h5p-memory-wrap {
    width: 23% !important;
  }
}

@media only screen and (max-width: 350px) {
  .h5p-memory-game .h5p-memory-wrap {
    width: 31% !important;
  }
} 