@font-face {
  font-family: "LondrinaSolid";
  src: url("../fonts/LondrinaSolid-Regular.ttf");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "LondrinaSolid-Black";
  src: url("../fonts/LondrinaSolid-Black.ttf");
  font-weight: 800;
  font-display: swap;
}
html {
  box-sizing: border-box;
}

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

body {
  background: #E0AC7A url("../bg.svg") center/100% auto repeat-y;
}

.flex {
  display: flex;
  justify-content: space-between;
}

#pitchabulaire {
  position: relative;
  margin-top: 6em;
  padding-bottom: 6em;
}

#hang-guy {
  display: none;
}

#hang-guy svg {
  width: 100%;
  height: auto;
  max-height: 400px;
  margin: 0 auto;
}

.texts {
  margin: 0 auto;
}

.pendu {
  display: flex;
  justify-content: space-between;
}

#btn-hint {
  position: absolute;
  bottom: 1em;
  right: 1.5em;
  display: block;
  font: 700 2rem/1.1em "LondrinaSolid-Black", sans-serif;
  color: #fff;
  background-color: #9ADB50;
  border: 0;
  padding: 0.3em 2em;
  border-radius: 0.8em;
  margin: 0.25em 0;
  box-shadow: 3px 4px 0px 1px #627D38;
}

#btn-hint:hover,
#btn-hint:active {
  background-color: #15358D;
  box-shadow: 3px 4px 0px 1px #0E2751;
}

#pendu {
  font-family: "LondrinaSolid-Black", sans-serif;
  margin-bottom: 5px;
  font-size: 5rem;
  text-align: center;
}

.word-group {
  display: inline-block;
  /* white-space: nowrap; */
  font-size: 0;
}
.word-group:not(:last-child) {
  margin-right: 40px;
}
.word-group span {
  position: relative;
  display: inline-block;
  width: 3.5rem;
  height: 6rem;
  font-size: 4rem;
  text-align: center;
  color: #0E2751;
  background: url(../sub-letter.svg) center bottom/100% auto no-repeat;
}

#message {
  font-family: "LondrinaSolid-Black", sans-serif;
  margin-top: 0;
  font-weight: 700;
  font-size: 2rem;
  min-height: 1.2em;
  color: #fff;
}

.hide {
  visibility: hidden;
}

.red {
  color: red;
}

.green {
  color: green;
}

.space {
  margin-left: 20px;
}

#keyboard {
  text-align: center;
  margin-top: 1em;
  margin-bottom: 1em;
}
#keyboard button {
  font-size: 3rem;
  border: 0;
  background: #52abd9; /* Old browsers */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #52abd9 50%, #5cb8e8 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#52abd9", endColorstr="#5cb8e8",GradientType=0 ); /* IE6-9 */
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
  margin-right: 10px;
  cursor: pointer;
}
#keyboard button:hover {
  background: #52abd9; /* Old browsers */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #52abd9 50%, #5cb8e8 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#52abd9", endColorstr="#5cb8e8",GradientType=0 ); /* IE6-9 */
}
#keyboard button:active {
  background: #52abd9; /* Old browsers */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #52abd9 50%, #5cb8e8 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#52abd9", endColorstr="#5cb8e8",GradientType=0 ); /* IE6-9 */
}
#keyboard button:disabled {
  cursor: default;
}
#keyboard button::-moz-focus-inner {
  border: 0;
}

.letter-button {
  padding: 5px 20px;
  width: 70px;
  margin: 3px;
  font-family: "LondrinaSolid-Black", sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 2.5rem;
}

footer p {
  text-align: center;
  margin: 2px 0;
}
footer p a {
  color: black;
  font-size: 0.7em;
}

@media screen and (max-width: 767px) {
  .word-group span {
    width: 2rem;
    height: 4rem;
    font-size: 2.75rem;
  }
  .pendu {
    flex-direction: column;
    align-items: center;
  }
  .texts {
    width: 100%;
    text-align: center;
  }
  #keyboard {
    min-height: 30px;
  }
  #keyboard button {
    line-height: 1;
  }
  #hang-guy svg {
    max-height: 240px;
  }
}
@media screen and (max-width: 440px) {
  .word-group span {
    width: 1.5rem;
    height: 3.5rem;
    font-size: 2.5rem;
  }
  #keyboard button {
    width: 50px;
    padding: 5px 10px;
    font-size: 2.5em;
  }
  #hang-guy svg {
    max-height: 180px;
  }
}
@-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% {
    background: #52abd9; /* Old browsers */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #52abd9 50%, #5cb8e8 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#52abd9", endColorstr="#5cb8e8",GradientType=0 ); /* IE6-9 */
    color: #fff;
  }
  100% {
    background: #93c263; /* Old browsers */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #93c263 50%, #89bd5d 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#93c263", endColorstr="#89bd5d",GradientType=0 ); /* IE6-9 */
    color: #fff;
  }
}

@keyframes right {
  0% {
    background: #52abd9; /* Old browsers */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #52abd9 50%, #5cb8e8 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#52abd9", endColorstr="#5cb8e8",GradientType=0 ); /* IE6-9 */
    color: #fff;
  }
  100% {
    background: #93c263; /* Old browsers */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #93c263 50%, #89bd5d 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#93c263", endColorstr="#89bd5d",GradientType=0 ); /* IE6-9 */
    color: #fff;
  }
}
.green-letter-anim {
  -webkit-animation: right 0s cubic-bezier(0.39, 0.575, 0.565, 1) both;
          animation: right 0s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

@-webkit-keyframes wrong {
  0% {
    color: red;
    background: #5f7682; /* Old browsers */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #5f7682 50%, #5c737e 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#5f7682", endColorstr="#5c737e",GradientType=0 ); /* IE6-9 */
  }
  100% {
    color: #888888;
    background: #5f7682; /* Old browsers */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #5f7682 50%, #5c737e 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#5f7682", endColorstr="#5c737e",GradientType=0 ); /* IE6-9 */
  }
}

@keyframes wrong {
  0% {
    color: red;
    background: #5f7682; /* Old browsers */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #5f7682 50%, #5c737e 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#5f7682", endColorstr="#5c737e",GradientType=0 ); /* IE6-9 */
  }
  100% {
    color: #888888;
    background: #5f7682; /* Old browsers */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #5f7682 50%, #5c737e 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#5f7682", endColorstr="#5c737e",GradientType=0 ); /* IE6-9 */
  }
}
.red-letter-anim {
  -webkit-animation: wrong 1s cubic-bezier(0.39, 0.575, 0.565, 1) both;
          animation: wrong 1s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

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

@keyframes shake-horizontal {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70% {
    transform: translateX(-10px);
  }
  20%, 40%, 60% {
    transform: translateX(10px);
  }
  80% {
    transform: translateX(8px);
  }
  90% {
    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;
}

.modal-content {
  background-color: #FFEABC;
  border-radius: 2rem;
  border: 0;
  padding: 4rem 2rem 2rem;
  box-shadow: 6px 6px 0px 1px #BCAE98;
}

.modal-content h2 {
  font: 700 3rem/1.1em "LondrinaSolid-Black", sans-serif;
  color: #0E2751;
  text-align: center;
  text-transform: uppercase;
}

.modal-footer {
  border: 0;
}

.modal-footer .btn-primary {
  display: block;
  width: 100%;
  font: 700 2rem/1.1em "LondrinaSolid-Black", sans-serif;
  color: #fff;
  background-color: #E6A2BC;
  border: 0;
  padding: 0.3em 2em;
  border-radius: 0.8em;
  margin: 0.25em 0;
}

.modal-footer .btn-secondary {
  display: block;
  width: 100%;
  font: 700 2rem/1.1em "LondrinaSolid-Black", sans-serif;
  color: #fff;
  background-color: #CC9CFF;
  border: 0;
  padding: 0.3em 2em;
  border-radius: 0.8em;
  margin: 0.25em 0;
}

.modal-footer .btn-primary:hover,
.modal-footer .btn-secondary:hover {
  background-color: #15358D;
}

#modal-win .modal-content:after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: 5%;
  background: url(../illus-win.svg) center/100% no-repeat;
  width: 243px;
  height: 250px;
}

#modal-lost .modal-content:after {
  content: "";
  position: absolute;
  bottom: 20%;
  left: 20%;
  background: url(../illus-lost.svg) center/100% no-repeat;
  width: 106px;
  height: 39px;
}

@media screen and (max-width: 980px) {
  #modal-win .modal-content:after {
    bottom: auto;
    width: 150px;
    height: 155px;
    left: 50%;
    top: 0;
    transform: translateX(-50%) translateY(-50%);
  }
  #modal-lost .modal-content:after {
    bottom: auto;
    left: 50%;
    top: 0;
    transform: translateX(-50%) translateY(-50%);
  }
}
@media screen and (max-width: 768px) {
  .modal-content h2 {
    font: 700 2rem/1.1em "LondrinaSolid-Black", sans-serif;
  }
}/*# sourceMappingURL=style.css.map */