.safetyGame_root {
  font-family: "Montserrat", sans-serif;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: rgb(245, 247, 250);
  --color-m1: rgba(1, 25, 39, 0.48);
  --border-radius: 10px;
  --color-good: #5fc000;
  --color-wrong: #fb0029;
  position: absolute;
  z-index: 1;
  right: 0;
  top: 0;
  margin: 0;
  padding: 0;
}

h1 {
  letter-spacing: 2px;
  margin: 20px;
}
p {
  padding: 0 20px;
  margin: 1em;
}
#board {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background-color: rgb(245, 247, 250);
  color: #ff5252;
}

.question {
  text-align: center;
  background: transparent;
  position: absolute;
  width: 100%;
  margin: auto;
  z-index: 1;
  font-size: 2.3rem;
  font-weight: 600;
  box-sizing: border-box;
  color: white;
  top: 10vh;
}

.question p {
  max-width: 780px;
  padding: 0 1rem;
  margin: auto;
}

.card {
  width: 95vw;
  height: 70vw;
  max-width: 500px;
  max-height: 450px;

  top: 50%;
  left: 50%;
  border-radius: var(--border-radius);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.1);
  background-color: white;
  /*transform: translateX(-50%) translateY(-50%) scale(0.95);*/
  transform: translateX(-50%) translateY(-50%) scale(0.4);
  background-repeat: no-repeat;
  background-size: cover;
  cursor: pointer;
  z-index: 2;
  position: relative;
}
.overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-m1) !important; /* */
  opacity: 1;
  z-index: 4;
  transition: 0.4s ease;
}
.invisible_overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  z-index: 4;
  display: none;
}

.container {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 1.2em;
  z-index: 10;
  background-color: white;
  margin: 0 auto;
  box-shadow: 0px 2px 5px 0px rgb(0 0 0 / 10%);
  width: 80%;
  border-radius: var(--border-radius);
  max-width: 520px;
  min-width: 400px;
  color: #333;
  text-align: center;
  padding: 3rem 1.5rem;
  box-sizing: border-box;
  transition: 0.4s;

  max-height: 98vh;
  /*
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: center;
    */
}
.endContainer {
  transform: translateX(-50%) translateY(-50%) scale(0.2);
  opacity: 0;
  display: none;
}
.endContainer h1 {
  display: none;
}

.startContainer {
  transform: translateX(-50%) translateY(-50%) scale(0.2);
  opacity: 0;
  display: block;
}

.startContainer img {
  width: 250px;
}

.startContainer h1 {
  margin: 0;
}
.infoContainer {
  width: 95vw;
  max-width: 600px;
  overflow: hidden;
  padding: 0;
  transform: translateX(-50%) translateY(-50%) scale(0);
  display: flex;
  flex-direction: column;
}
button {
  background-color: #3abff0;
  border: none;
  color: white;
  padding: 10px 60px;
  text-align: center;
  text-decoration: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  outline: 0;
  font-size: 1.2em;
  margin: 15px auto;
}
.infoContainer button {
  margin: 25px auto 40px auto;
}
.infoContainer button:hover {
  background-color: #29b1f0;
}

.infoContainer img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 400px;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
  object-fit: cover;
}
button:active {
  transform: translateY(3px);
  transform: scale(0.95);
}
.button:hover {
  filter: brightness(110%);
}
.startButton:disabled {
  background-color: rgb(206, 206, 206);
  color: grey;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0);
}
header {
  position: absolute;
  top: 0;
  background: transparent;
  /*z-index: 1;*/
  width: 100%;
  text-align: center;
}

.indicatorContainer {
  background: white;
  min-width: 140px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: var(--border-radius);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
  z-index: 15;
  display: inline-flex;
  align-content: center;
  justify-content: center;
  position: fixed;
  top: 90vh;
  left: 0px;
  right: 0px;
  margin: auto;
}
.indicator {
  display: inline-block;
  background: rgb(194, 194, 194);
  height: 15px;
  width: 15px;
  margin: 5px 5px;
  border-radius: 50%;
}

.indicatorGood {
  background: #5fc000;
  box-shadow: 0 0 0 0 rgba(51, 217, 178, 1);
  transform: scale(1);
  animation: pulse-green 2.5s normal forwards;
}
.indicatorWrong {
  background: #fb0029;
  box-shadow: 0 0 0 0 rgba(255, 82, 82, 1);
  transform: scale(1);
  animation: pulse-red 2.5s normal forwards;
}

.arrow-right,
.arrow-left {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  display: table;
  margin: auto 4vw;
  overflow: auto;
  cursor: pointer;
  height: 18vw;
  max-height: 500px;
  min-height: 100px;
  transition: transform 0.3s ease-in-out;
}

.arrow-right,
.arrow-left {
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  font-size: 3rem;
  font-weight: 600;
  width: 20rem;
  height: 20rem;
}

.arrow-left img,
.arrow-right img {
  height: 18vw;
  max-height: 500px;
  min-height: 100px;
  display: table-row;
}
.arrow-right {
  right: 2vw;
  background: rgb(156, 187, 40);
  background: -moz-linear-gradient(
    -90deg,
    rgba(156, 187, 40, 1) 0%,
    rgba(95, 192, 0, 1) 85%
  );
  background: -webkit-linear-gradient(
    -90deg,
    rgba(156, 187, 40, 1) 0%,
    rgba(95, 192, 0, 1) 85%
  );
  background: linear-gradient(
    -90deg,
    rgba(156, 187, 40, 1) 0%,
    rgba(95, 192, 0, 1) 85%
  );
}

.arrow-right:hover {
  transform: translate(10px);
}
.arrow-left {
  left: 2vw;
  background: rgb(251, 0, 41);
  background: -moz-linear-gradient(
    90deg,
    rgba(251, 0, 41, 1) 0%,
    rgba(192, 0, 89, 1) 85%
  );
  background: -webkit-linear-gradient(
    90deg,
    rgba(251, 0, 41, 1) 0%,
    rgba(192, 0, 89, 1) 85%
  );
  background: linear-gradient(
    90deg,
    rgba(251, 0, 41, 1) 0%,
    rgba(192, 0, 89, 1) 85%
  );
}

.arrow-left:hover {
  transform: translate(-10px);
}

.achtergrond {
  top: 0;
  left: 0;
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  /*background-image: url("https://s3.eu-central-1.amazonaws.com/tle-test.thingks.nl/zelos/img/photo_computers.jpg");*/
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(0px);
}

.achtergrond::after {
  top: 0;
  left: 0;
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 4, 10, 0.7);
  content: " ";
}

/*
.achtergrond::before {
    bottom: 0;
    left: 0;
    position: absolute;
    z-index: 3;
    width: 100%;
    height: 50%;

    background-image: url("https://s3.eu-central-1.amazonaws.com/tle-test.thingks.nl/zelos/img/achtergrond_wit.png");

    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    content: " ";
}
*/
#board {
  background-color: transparent;
}
.safetyGame_root {
  background-color: transparent;
}

/* animation */
@keyframes pulse-red {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 82, 82, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
  }
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(51, 217, 178, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(51, 217, 178, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(51, 217, 178, 0);
  }
}
@media only screen and (max-height: 600px) {
  .infoContainer {
    max-width: 500px;
    max-height: 520px;
  }
  .infoContainer img {
    max-height: 280px;
  }
  .card {
    width: 80vh;
    height: 80vh;
    top: 54%;
  }
  .cardSmall {
    width: 68vh;
    height: 68vh;
    top: 58%;
  }
  .question p {
    font-size: 1.4rem;
    position: relative;
  }
  .indicatorContainer {
    padding: 4px 12px;
  }
}

@media only screen and (max-width: 800px) {
  .arrow-right,
  .arrow-left {
    top: auto;
    bottom: 1vh;
    margin: auto 0;
    height: 15vw;
  }
}

@media only screen and (max-width: 1300px) {
  .arrow-right,
  .arrow-left {
    font-size: 2rem;
    width: 15rem;
    height: 15rem;
    margin: auto 2vw;
  }
  .indicatorContainer {
    top: 10px;
  }
}
@media only screen and (max-width: 520px) {
  .arrow-right,
  .arrow-left {
    font-size: 1.5rem;
    width: 9rem;
    height: 9rem;
  }
}
