@property --main-color {
  syntax: "<color>";
  inherits: true;
  initial-value: rgb(152, 193, 205);
}
@property --light-color {
  syntax: "<color>";
  inherits: false;
  initial-value: rgb(185.99, 213.46, 221.5);
}
@property --lighterish-color {
  syntax: "<color>";
  inherits: false;
  initial-value: rgb(203.5, 224, 230);
}
@property --lighter-color {
  syntax: "<color>";
  inherits: false;
  initial-value: rgb(219.98, 233.92, 238);
}
@property --dark-color {
  syntax: "<color>";
  inherits: false;
  initial-value: rgb(78.1666666667, 142.2633333333, 161.0233333333);
}
@property --darker-color {
  syntax: "<color>";
  inherits: false;
  initial-value: rgb(39.6666666667, 72.1933333333, 81.7133333333);
}
:root {
  font-size: 36px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  background-color: var(--lighterish-color);
}

.main {
  padding-bottom: 4rem;
}

.header {
  text-align: center;
  margin: 4vh auto;
}
.header .text-header {
  margin: 0 auto;
  font-weight: 300;
}
.header i {
  font-size: 70%;
}

.container {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}

.center-form {
  text-align: center;
  background-color: var(--lighter-color);
  padding: 1rem;
  margin: 1rem auto;
}

.word-container {
  background-color: white;
  border: 1px solid;
  border-color: var(--main-color) var(--lighter-color) white var(--dark-color);
  padding: 1rem;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 1rem;
}
.word-container .word {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 1rem;
  word-break: break-word;
}

.word-image {
  display: block;
  max-width: 300px;
  margin: 1rem auto;
}

fieldset {
  width: 100%;
  border: none;
  padding: 0.5rem;
  margin: 1vh auto 3vh;
}

#definitions_list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#definitions_list li {
  margin: 0.5rem;
  border: 2px solid;
  border-color: white var(--main-color) var(--dark-color) var(--lighter-color);
  background-color: var(--light-color);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  word-break: break-word;
}
#definitions_list li.interactive {
  cursor: pointer;
}
#definitions_list li.selected {
  background-color: var(--main-color);
  border-color: var(--darker-color) var(--lighter-color) white var(--dark-color);
}
#definitions_list li.correct {
  background-color: rgb(60, 127, 92);
  color: white;
  position: relative;
}
#definitions_list li.correct::after {
  content: "";
  background-image: url("b30.png");
  background-size: contain;
  position: absolute;
  bottom: -2px;
  height: min(60%, 360px);
  aspect-ratio: 180/365;
  display: block;
  left: 10%;
}
#definitions_list li.error {
  background-color: rgb(171, 83, 89);
  color: white;
}
#definitions_list input {
  display: none;
}

.def_author {
  text-align: right;
  font-style: italic;
  margin: 5vh 0 1vh;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--light-color);
  border-top: 1px solid var(--lighter-color);
  box-shadow: 0 0 1rem var(--darker-color);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding: 1rem;
}
.footer-container .progress {
  word-break: break-word;
}
.footer-container .score {
  text-align: right;
}
.footer-container .button-container {
  flex-basis: 40%;
  text-wrap: nowrap;
}

.button-container {
  padding: 0 1rem;
  text-align: center;
}

.btn {
  border: none;
  padding: 1rem;
  background-color: var(--darker-color);
  color: white;
  font-size: 85%;
  text-decoration: none;
  cursor: pointer;
}
.btn[disabled=disabled] {
  background-color: var(--lighter-color);
  color: grey;
  cursor: not-allowed;
}

.context {
  font-size: 60%;
  margin: 2rem;
  line-height: 180%;
  background-color: var(--lighter-color);
  padding: 1rem;
}
.context .word {
  font-weight: 600;
  font-size: 110%;
  text-decoration: underline;
}
.context .definition {
  padding: 0.5rem;
  border: 4px solid transparent;
  margin: 0.5rem 0;
}
.context .definition.correct {
  background-color: rgb(60, 127, 92);
  color: white;
}
.context .definition.selected {
  border-color: rgb(152, 193, 205);
}
.context .definition .author {
  text-align: right;
  font-style: italic;
  margin: 0.2rem;
}

@media screen and (min-width: 1200px) {
  :root {
    font-size: 20px;
  }
  .container {
    width: 80%;
    min-width: 500px;
  }
  #definitions_list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .context {
    font-size: 100%;
  }
}

/*# sourceMappingURL=style.css.map */
