@import url("https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Roboto+Mono:700&display=swap");
html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}

.responsiveMenu {
  display: none;
}

body {
  background-color: lightsteelblue;
}

#resetInput {
  height: 50px;
}

.wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

#hang-guy {
  display: none;
}

.pendu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

#pendu {
  font-family: 'Roboto Mono', monospace;
  margin-bottom: 5px;
}

.word-group {
  display: inline-block;
}

.word-group:not(:last-child) {
  margin-right: 40px;
}

#message {
  margin-top: 0;
  font-weight: bold;
  min-height: 1.2em;
}

.hide {
  visibility: hidden;
}

.red {
  color: red;
}

.green {
  color: green;
}

.space {
  margin-left: 20px;
}

input {
  font-size: 1.5rem;
  padding: 10px;
}

input[type="password"] {
  font-size: 16px;
}

button {
  font-size: 1rem;
  background-color: lightsteelblue;
  border: 2px solid #000;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
  margin-right: 10px;
  cursor: pointer;
}

button:hover {
  background-color: #c4d3e6;
}

button:active {
  background-color: steelblue;
}

button:disabled {
  cursor: default;
}

button::-moz-focus-inner {
  border: 0;
}

#keyboard {
  text-align: center;
  margin-top: 1em;
  margin-bottom: 1em;
}

#keyboard button[disabled] {
  color: #9e9e9e;
  border-color: #9e9e9e;
}

#keyboard button[disabled]:hover {
  background-color: lightsteelblue;
}

.letter-button {
  padding: 10px 0px 10px 0px;
  width: 32px;
  margin: 3px;
  font-weight: bold;
}

/* ================== SVG du pendu ================== */
.cls-1, .cls-4, .cls-6, .cls-7 {
  fill: none;
}

.cls-1, .cls-2, .cls-3, .cls-4, .cls-6, .cls-7, .cls-8, .cls-9 {
  stroke: #000;
}

.cls-1, .cls-2, .cls-3, .cls-4, .cls-6, .cls-8, .cls-9 {
  stroke-linecap: round;
}

.cls-1, .cls-2, .cls-3, .cls-4, .cls-7 {
  stroke-miterlimit: 10;
}

.cls-1 {
  stroke-width: 8px;
}

.cls-2, .cls-3, .cls-5, .cls-8, .cls-9 {
  fill: #fff;
}

.cls-3, .cls-4, .cls-6, .cls-7, .cls-8 {
  stroke-width: 3px;
}

.cls-6, .cls-8, .cls-9 {
  stroke-linejoin: round;
}

.cls-9 {
  stroke-width: 2px;
}

footer p {
  text-align: center;
  margin: 2px 0;
}

footer p a {
  color: black;
  font-size: .7em;
}

/* ================== Menu de triche ================== */
#cheatMenu {
  display: none;
  margin-bottom: 1em;
}

@media screen and (min-width: 610px) {
  .letter-button {
    font-size: 2rem;
    width: 55px;
    height: 80px;
  }
}

@media screen and (max-width: 610px) {
  .responsiveMenu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    position: absolute;
    right: 10px;
    top: 300px;
  }
  .responsiveMenu #showRespMenu {
    height: 40px;
    width: 40px;
    padding: 5px;
  }
  .pendu {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .texts {
    width: 100%;
    text-align: center;
  }
  .hang-figure {
    width: 100px;
    height: 235px;
  }
  #pendu {
    font-size: 20px;
  }
  .menu {
    position: fixed;
    text-align: right;
    background-color: #97b1d3;
    right: 0;
    top: 0;
    height: 100vh;
    width: 225px;
    padding: 0 10px 0 10px;
    border-left: 3px solid black;
    z-index: 100;
    -webkit-transition: -webkit-transform 1s;
    transition: -webkit-transform 1s;
    -o-transition: transform 1s;
    transition: transform 1s;
    transition: transform 1s, -webkit-transform 1s;
  }
  .menu #resetInput {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .hideResponsiveMenu {
    -webkit-transform: translateX(230px);
        -ms-transform: translateX(230px);
            transform: translateX(230px);
    -webkit-transition: -webkit-transform 1s;
    transition: -webkit-transform 1s;
    -o-transition: transform 1s;
    transition: transform 1s;
    transition: transform 1s, -webkit-transform 1s;
  }
  #keyboard {
    min-height: 30px;
  }
}

@media screen and (max-height: 800px) and (min-width: 610px) {
  .hang-figure {
    height: calc(100vh - 390px);
  }
}

@-webkit-keyframes fade-in-top {
  0% {
    position: relative;
    top: -50px;
    opacity: 0;
  }
  99% {
    position: relative;
    top: 0;
    opacity: 1;
  }
  100% {
    position: static;
  }
}

@keyframes fade-in-top {
  0% {
    position: relative;
    top: -50px;
    opacity: 0;
  }
  99% {
    position: relative;
    top: 0;
    opacity: 1;
  }
  100% {
    position: static;
  }
}

.found-anim {
  -webkit-animation: fade-in-top 0.2s cubic-bezier(0.39, 0.575, 0.565, 1) both;
          animation: fade-in-top 0.2s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

@-webkit-keyframes right {
  0% {
    color: forestgreen;
    border-color: forestgreen;
  }
  100% {
    color: #88bb88;
    border-color: #88bb88;
  }
}

@keyframes right {
  0% {
    color: forestgreen;
    border-color: forestgreen;
  }
  100% {
    color: #88bb88;
    border-color: #88bb88;
  }
}

.green-letter-anim {
  -webkit-animation: right 2s cubic-bezier(0.39, 0.575, 0.565, 1) both;
          animation: right 2s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

@-webkit-keyframes wrong {
  0% {
    color: red;
    border-color: red;
  }
  100% {
    color: #d69b9b;
    border-color: #d69b9b;
  }
}

@keyframes wrong {
  0% {
    color: red;
    border-color: red;
  }
  100% {
    color: #d69b9b;
    border-color: #d69b9b;
  }
}

.red-letter-anim {
  -webkit-animation: wrong 2s cubic-bezier(0.39, 0.575, 0.565, 1) both;
          animation: wrong 2s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

@-webkit-keyframes shake-horizontal {
  0%,
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70% {
    -webkit-transform: translateX(-10px);
    transform: translateX(-10px);
  }
  20%,
  40%,
  60% {
    -webkit-transform: translateX(10px);
    transform: translateX(10px);
  }
  80% {
    -webkit-transform: translateX(8px);
    transform: translateX(8px);
  }
  90% {
    -webkit-transform: translateX(-8px);
    transform: translateX(-8px);
  }
}

@keyframes shake-horizontal {
  0%,
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70% {
    -webkit-transform: translateX(-10px);
    transform: translateX(-10px);
  }
  20%,
  40%,
  60% {
    -webkit-transform: translateX(10px);
    transform: translateX(10px);
  }
  80% {
    -webkit-transform: translateX(8px);
    transform: translateX(8px);
  }
  90% {
    -webkit-transform: translateX(-8px);
    transform: translateX(-8px);
  }
}

.shake-horizontal {
  display: inline-block;
  -webkit-animation: shake-horizontal 0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955) both;
  animation: shake-horizontal 0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955) both;
}
/*# sourceMappingURL=style.css.map */