* {
  margin: 0;
}
body {
  background-color: black;
  color: #eeeeee;
  padding: 50px;
  font-family: 'arial'
}
#app {
  display: flex;
  flex-direction: row;
  gap: 50px;
}

.hide {
  visibility: hidden;
}

.screen {
  width: 800px;
  height: 600px;
  border: solid 1px #333333;
}

.diapo {
  width: 800px;
}

.illustration {
  width: 800px;
  height: 600px;
  background-color: #111111;
  display: flex;
  align-items: center;
}

.illustration > img {
  max-width: 100%;
  min-width: 100%;
  height: auto;
}

.timer {
  background-color: red;
  height: 10px;
  margin-bottom: 10px;
}

.question {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 16px;
  font-weight: bold;
  padding: 0 25px;
}

.results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  height: 100%;
}
.results > div {
  font-size: 48px;
}
.results div:last-child {
  font-size: 18px;
  justify-self: flex-end;
}

.results .score {
  font-size: 9em;
}

.results .score .success {
  color: green;
}
.results .score .fail {
  color: #a00;
}

.ecran.results {
  font-size: 20px;
  justify-content: center;
}

strong {
  border: solid 1px #909ca9;
  padding: 4px 8px;
  border-radius: 100%;
  background-color: #909ca9;
}

.init.screen {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  background-color: #112f64;
}
.init.screen h1 {
  text-align: center;
  font-size: 60px;
  font-style: italic;
}
.init.screen ol {
  font-size: 30px;
}
.init.screen li {
  margin: 5px 0;
}
.init.screen div {
  width: 100%;
  text-align: center;
}

.disclaimer {
  font-style: italic;
  font-size: 12px;
  color: #888;
  padding-top: 20px;
  text-align: center;
}

.credits {
  display: flex;
  flex-direction: column;
  font-size: 50px;
  padding-left: 50px;
}

/* Le Boitier ************************************************************/

.boitier {
  background-color: #4d5760;
  border: solid 5px #919da9;
  height: 490px;
  width: 180px;
  border-radius: 10px 10px 80% 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 45px;
}
.ecran {
  position: relative;
  background-color: #b4d7c3;
  border: solid 5px black;
  border-radius: 10px;
  height: 110px;
  width: 90px;
  margin: 10px 0 30px 0;
  display: flex;
  justify-content: space-between;
  padding: 8px;
  color: black;
  font-weight: bold;
  font-size: 22px;
}
.ecran .idx {
  align-self: flex-end;
}
.ecran .selections {
  display: flex;
  flex-direction: column;
  left: auto;
}
.boutons div {
  border-radius: 100%;
  width: 70px;
  height: 40px;
  margin-bottom: 5px;
  cursor: pointer;
  text-align: center;
  line-height: 40px;
  font-weight: bold;
  font-size: 22px;
}
.btn-corr {
  background-color: #d44924;
}
.btn-corr:active {
  background-color: #d03a12;
}
.btn-a,.btn-b,.btn-c,.btn-d {
  background-color: #909ca9;
}
.btn-a:active,.btn-b:active,.btn-c:active,.btn-d:active {
  background-color: #758393;
}
.btn-valid {
  background-color: #4bab7d;
}
.btn-valid:active {
  background-color: #299b65;
}

/* screensaver ***********************************************************/
#screensaver {
  position: relative;
}

#dvd {
  position: absolute;
  left: 0px;
  top: 0px;
  height: 50px;
  width: 100px;
  mask: url("https://upload.wikimedia.org/wikipedia/commons/9/9b/DVD_logo.svg");
  -webkit-mask: url("https://upload.wikimedia.org/wikipedia/commons/9/9b/DVD_logo.svg");
  background-repeat: no-repeat;
  background-size: 75px;
  background-position: center;
}
/* screensaver ***********************************************************/
