@keyframes span1 {
  0% {
    left: -200px;
  }
  100% {
    left: 200px;
  }
}
@keyframes span2 {
  0% {
    top: -70px;
  }
  100% {
    top: 70px;
  }
}
@keyframes span3 {
  0% {
    right: -200px;
  }
  100% {
    right: 200px;
  }
}
@keyframes span4 {
  0% {
    bottom: -70px;
  }
  100% {
    bottom: 70px;
  }
}
.wrapper {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  z-index: 999;
}
@media screen and (min-width: 1301px) {
  .wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
.wrapper.choice {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.wrapper.custom {
  top: auto;
  bottom: -50%;
}
.wrapper.custom div:first-child {
  margin-right: 0;
}
.wrapper div:first-child {
  margin-right: 30px;
}
.wrapper div.play button, .wrapper div.play-custom button {
  background: linear-gradient(to left top, #4267b2 50%, #37589b 50%);
}
.wrapper div.custom button {
  background: linear-gradient(to left top, #a6192c 50%, #8f1424 50%);
}

button {
  width: 200px;
  height: 70px;
  border-style: none;
  color: #fff;
  font-size: 23px;
  text-transform: uppercase;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  position: relative;
  padding: 0px;
  overflow: hidden;
  transition: all 0.5s;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
}
button span {
  position: absolute;
  display: block;
}
button span:nth-child(1) {
  height: 3px;
  width: 200px;
  top: 0px;
  left: -200px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0), #f6e58d);
  border-top-right-radius: 1px;
  border-bottom-right-radius: 1px;
  animation: span1 2s linear infinite;
  animation-delay: 1s;
}
button span:nth-child(2) {
  height: 70px;
  width: 3px;
  top: -70px;
  right: 0px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #f6e58d);
  border-bottom-left-radius: 1px;
  border-bottom-right-radius: 1px;
  animation: span2 2s linear infinite;
  animation-delay: 2s;
}
button span:nth-child(3) {
  height: 3px;
  width: 200px;
  right: -200px;
  bottom: 0px;
  background: linear-gradient(to left, rgba(0, 0, 0, 0), #f6e58d);
  border-top-left-radius: 1px;
  border-bottom-left-radius: 1px;
  animation: span3 2s linear infinite;
  animation-delay: 3s;
}
button span:nth-child(4) {
  height: 70px;
  width: 3px;
  bottom: -70px;
  left: 0px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0), #f6e58d);
  border-top-right-radius: 1px;
  border-top-left-radius: 1px;
  animation: span4 2s linear infinite;
  animation-delay: 4s;
}
button:hover {
  transition: all 0.5s;
  transform: rotate(-3deg) scale(1.1);
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.4);
}
button:hover span {
  animation-play-state: paused;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 15px;
  border-radius: 5px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #4caf50;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #4caf50;
  cursor: pointer;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: #e0e0e0;
}

.hide {
  display: none !important;
}

.inTurn {
  transition: all 0.1s ease-in-out;
  border: 5px solid rgba(204, 22, 22, 0.575);
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: auto;
  text-align: center;
}

@media screen and (min-width: 701px) {
  .container-custom {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
@media screen and (max-width: 1300px) {
  .container-custom {
    top: 50%;
  }
}
.container-custom .option-game {
  display: inline-grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-column-gap: 20px;
}
@media screen and (max-width: 1300px) {
  .container-custom .option-game {
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 20px;
  }
}
@media screen and (max-width: 700px) {
  .container-custom .option-game {
    grid-template-columns: 1fr;
    align-items: center;
    align-content: center;
    align-self: center;
    justify-content: center;
  }
}
.container-custom .option-game .option {
  width: 200px;
  height: 300px;
  background-color: #fff;
  padding: 50px;
  border-radius: 30px;
  box-shadow: 0 0 50px 0 rgba(27, 58, 106, 0.1);
}
.container-custom .option-game .option input[type=text] {
  -webkit-appearance: none;
  border: none;
  outline: none;
  margin-bottom: 40px;
}
.container-custom .option-game .option label {
  position: relative;
  top: 40px;
}
.container-custom .option-game .option label span {
  width: 100%;
  height: 2px;
  background-color: #000;
  position: absolute;
  top: 27px;
  left: 0;
}
.container-custom .option-game .option p {
  font-size: 20px;
  font-weight: bold;
}
.container-custom .option-game .option .picto i {
  font-size: 50px;
}

.container-game {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.container-game table {
  border-collapse: collapse;
  padding-top: 40px;
  width: 500px;
}
.container-game .playerOne {
  order: 1;
}
.container-game .playerTwo {
  order: 3;
}
.container-game .game {
  order: 2;
}
.container-game .playerOne .avatar img {
  width: 80px;
}
.container-game .playerTwo .avatar img {
  width: 60px;
}
.container-game .playerOne,
.container-game .playerTwo {
  width: 150px;
  background-color: #fff;
  padding: 30px;
  border-radius: 30px;
  box-shadow: 0 0 50px 0 rgba(27, 58, 106, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-content: center;
  align-items: center;
}
.container-game .playerOne .weapon img,
.container-game .playerTwo .weapon img {
  width: 50px;
}
.container-game .playerOne .name-player p,
.container-game .playerTwo .name-player p {
  font-size: 25px;
  font-weight: bold;
}
.container-game .playerOne .weapon .name,
.container-game .playerOne .weapon .damage,
.container-game .playerTwo .weapon .name,
.container-game .playerTwo .weapon .damage {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  position: relative;
  left: 15px;
}
.container-game .playerOne .weapon .name img,
.container-game .playerOne .weapon .damage img,
.container-game .playerTwo .weapon .name img,
.container-game .playerTwo .weapon .damage img {
  margin-right: 20px;
}
@media screen and (max-width: 1024px) {
  .container-game .playerOne .weapon .name img,
.container-game .playerOne .weapon .damage img,
.container-game .playerTwo .weapon .name img,
.container-game .playerTwo .weapon .damage img {
    margin-right: 10px;
  }
}
.container-game .actions {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  margin-top: 15px;
}
.container-game .actions .attaque {
  margin-right: 30px;
  background-color: #4267b2;
}
.container-game .actions .attaque:hover {
  background-color: #37589b;
}
@media screen and (max-width: 1024px) {
  .container-game .actions .attaque {
    margin-right: 15px;
  }
}
.container-game .actions .defence {
  background-color: #a6192c;
}
.container-game .actions .defence:hover {
  background-color: #8f1424;
}
.container-game .actions .attaque,
.container-game .actions .defence {
  width: 60px;
  height: 60px;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  cursor: pointer;
}
.container-game .actions img {
  width: 50px;
}
@media screen and (max-width: 1024px) {
  .container-game .actions {
    margin: 0;
    position: relative;
    left: 30px;
  }
}
.container-game .health {
  margin-top: 20px;
  background-color: #e0e0e0;
  border-radius: 10px;
  width: 100%;
  height: 20px;
  transition: all 0.3s ease-in-out;
}
.container-game .health div {
  background-color: rgba(0, 128, 0, 0.288);
  border-radius: 10px;
  width: 100%;
  height: 20px;
  color: white;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
}
@media screen and (max-width: 1024px) {
  .container-game .health {
    margin: 0 40px;
    position: relative;
    left: 30px;
  }
}
.container-game .game {
  margin: 0 30px;
  box-shadow: 0 0 50px 0 rgba(27, 58, 106, 0.1);
}
.container-game .game table {
  width: 500px;
  height: 500px;
}
.container-game .game table td {
  border: 1px solid #928e8e;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.container-game .game table td.inaccessibleCase {
  background-color: #000000;
}
.container-game .game table td.emptyCase {
  background-color: #387741;
}
.container-game .game table td.availableMoveCase {
  background-color: rgba(0, 128, 0, 0.288);
  cursor: pointer;
}
.container-game .game table td.availableMoveCase:hover {
  background-color: rgba(0, 128, 0, 0.527);
}
.container-game .game table td#playerOne {
  background-image: url("../../assets/img/player_1.png");
}
.container-game .game table td#playerTwo {
  background-image: url("../../assets/img/player_2.png");
}
@media screen and (max-width: 1024px) {
  .container-game {
    flex-direction: column;
  }
  .container-game .playerOne,
.container-game .playerTwo {
    width: 100%;
    flex-direction: row;
    margin: 20px 0;
  }
  .container-game .playerOne .avatar img,
.container-game .playerTwo .avatar img {
    width: 30px;
  }
  .container-game .playerOne .name-player,
.container-game .playerTwo .name-player {
    display: none;
  }
  .container-game .playerOne .weapon,
.container-game .playerTwo .weapon {
    display: flex;
  }
  .container-game .playerOne .weapon img,
.container-game .playerTwo .weapon img {
    width: 30px;
  }
  .container-game .playerOne .actions .attaque,
.container-game .playerOne .actions .defence,
.container-game .playerTwo .actions .attaque,
.container-game .playerTwo .actions .defence {
    width: 40px;
    height: 40px;
  }
  .container-game .playerOne .actions img,
.container-game .playerTwo .actions img {
    width: 20px;
  }
  .container-game .playerOne .health,
.container-game .playerTwo .health {
    display: block;
  }
}

.weapon {
  background-size: 100% 100%;
}
.weapon.blanc {
  background-image: url("../../assets/img/blanc.png");
}
.weapon.vert {
  background-image: url("../../assets/img/vert.png");
}
.weapon.bleu {
  background-image: url("../../assets/img/bleu.png");
}
.weapon.violet {
  background-image: url("../../assets/img/violet.png");
}
.weapon.jaune {
  background-image: url("../../assets/img/jaune.png");
}
.weapon.gris {
  background-image: url("../../assets/img/gris.png");
}
.weapon.orange {
  background-image: url("../../assets/img/orange.png");
}
.weapon.rouge {
  background-image: url("../../assets/img/rouge.png");
}

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