.flex
{
  display: flex;
}

.main-center
{
  justify-content: center;
}

.w-game
{
  min-width: 310px;
  max-width: 400px;
  min-height: 550px;
  max-height: 720px;
  margin: 150px auto 0 auto;
  box-sizing: border-box;
  font-size: 16px;
  font-family: Helvetica, sans-serif;
}

.game-title
{
  margin: 0;
  text-align: center;
  background-color: #f7f7f7;
  font-size: 15px;
  line-height: 20px;
  font-weight: 400;
}

.card
{
  min-width: 80px;
  max-width: 80px;
  min-height: 80px;
  max-height: 80px;
  border: 1px solid black;
  box-sizing: border-box;
  position: relative;
  border-radius: 6px;
}

.card svg
{
  position: relative;
  top: -1px;
  left: -1px;
  border-radius: 18px;
}

.card .number
{
  width: 30px;
  height: 30px;
  box-sizing: border-box;
  border: 1px solid silver;
  text-align: center;
  line-height: 30px;
  position: absolute;
  right: -8px;
  top: -8px;
  z-index: 10;
  background-color: #fff;
  border-radius: 50%;
  font-size: 18px;
  box-shadow: 0 0 2px rgba(0,0,0,.8);
  text-shadow: 0 1px 2px rgba(0,0,0,.2);
}

.button
{
  cursor: pointer;
  transition: transform .2s ease;
}
.button:hover
{
  transform: translateY(-2px);
}
.button:active
{
  transform: translateY(2px);
}

.description
{
  height: 40px;
  margin-bottom: 20px;
  background-color: #f7f7f7;
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 5px 10px;
  box-sizing: border-box;
}
.text
{
  width: 300px;
}
.next
{
  min-width: 30px;
  max-width: 30px;
  min-height: 30px;
  max-height: 30px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 2px rgba(0,0,0,.6);
  display: flex;
  justify-content: center;
  align-items: center;
}
.next svg
{
  fill: cornflowerblue;
}
.loading-bar
{
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: #fff;
  overflow: hidden;
}

.wrapper-target
{
  box-sizing: border-box;
  height: 120px;
  display: flex;
  justify-content: space-around;
  padding: 20px 0;
}
.wrapper-choice
{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.card.button
{
  margin: 5px;
}

.hidden
{
  display: none;
}

.bar
{
  width: 400px;
  height: 8px;
  position: absolute;
  top: 1px;
  left: -400px;

}
.bar.green
{
  background-color: green;
  transform: translateX(800px);
  transition: transform 3s ease;
}
.bar.red
{
  background-color: crimson;
  transform: translateX(800px);
  transition: transform 10s ease;
}

.wrapper-score
{
  position: absolute;
  top: 60px;
  left: calc((100% - 262px) / 2);
  background-color: #fff;
  border: 8px solid crimson;
  text-align: center;
  z-index: 100;
  line-height: 30px;
  padding: 20px;
  font-size: 16px;
  border-radius: 12px;
}
.score
{
  font-size: 30px;
  color: green;
}
