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

body {
  --primary-color: black;
  --secondary-color: #fff;

  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;

  min-height: 100vh;

  background-color: var(--primary-color);
  margin: 0;
}

.choice {
  display: flex;
  /*border: 1px solid red;*/

  width: 500px;
  height: 50px;
}

.choice__circle, .choice__cross {
  flex-grow: 1;

  font-size: 2rem;
  color: white;
  background-color: #202124;
}

.container {
  --square: 500px;

  display: flex;
  flex-wrap: wrap;


  width: var(--square);
  height: var(--square);
  padding: 2rem;

  border: 1px var(--secondary-color) solid;
}

.box {
  display: flex;
  justify-content: center;
  align-items: center;

  width: calc(100% / 3);
  height: calc(100% / 3);

  border: 1px solid var(--secondary-color);
}

.box-1, .box-2, .box-3 {
  border-top: none;
}

.box-1, .box-4, .box-7 {
  border-left: none;
}

.box-3, .box-6, .box-9 {
  border-right: none;
}

.box-7, .box-8, .box-9 {
  border-bottom: none;
}

.circle {
  --square: 60%;

  width: var(--square);
  height: var(--square);

  border: 20px solid skyblue;
  border-radius: 50%;
}

.cross-stripe {
  --square: 60%;

  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;

  width: var(--square);
  height: var(--square);
}

.cross-stripe:after {
  content: "";

  position: absolute;

  width: 20px;
  height: 120%;

  background-color: rosybrown;
  rotate: -45deg;
}

.cross-stripe:before {
  content: "";

  position: absolute;

  width: 20px;
  height: 120%;

  background-color: rosybrown;
  rotate: 45deg;
}

.focus {
  border: deepskyblue 3px solid;
}

.reset, .new-game {
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 1rem;

  border: white 1px solid;
  text-align: center;

  cursor: pointer;
  color: white;
  font-size: 2rem;
}

.main {
  width: 80%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.player {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;

  width: 200px;
  height: 400px;

  border: 1px solid white;

  font-size: 3rem;
  color: white;
}

i {
  font-size: 7rem;
  color: white;
}

.figure {
  padding: .5rem;
  border: #3D405B 5px solid;
}

.player-1__figure {
  background-color: #69A387;
  color: #3D405B;
}

.player-2__figure {
  background-color: rosybrown;
  color: #E07A5F;
}

.options {
  display: flex;
  justify-content: space-evenly;

  width: 500px;
  height: 50px;

  /*border: white solid 1px;*/
}

.figures {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  height: 100%;
  /*border: white solid 1px;*/
}

/* media query*/
@media screen and (max-width: 1200px) {
  body {
    margin-block: 2rem;
    gap: 3rem;
  }

  .main {
    flex-direction: column;
    gap: 3rem
  }

  .player {
    position: relative;

    /*justify-content: initial;*/
    align-items: initial;

    width: 400px;
    height: 200px;
    /*flex-direction: row;*/
  }

  .name-player {
    position: absolute;
    top: -50px;

    align-self: center;
  }

  .figures {
    position: absolute;

    width: 100%;
    height: auto;
    flex-direction: row;
  }
}