* {
  box-sizing: border-box;
}
body {
  font-family: Arial, Tahoma, sans-serif;
}
.control-buttons {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: rgba(3, 169, 244, 0.9);
}
.control-buttons span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #F44336;
  color: #FFF;
  padding: 15px 25px;
  font-size: 30px;
  text-align: center;
  border-radius: 6px;
  cursor: pointer;
}
.info-container {
  width: 80%;
  margin: 20px auto 0;
  background-color: #F6F6F6;
  padding: 20px;
  font-size: 24px;
  overflow: hidden;
  border: 2px solid #2196f3;
}
.info-container .name {
  float: left;
  width: 50%;
}
.info-container .tries {
  float: right;
  width: 50%;
  text-align: right;
}
.memory-game-blocks {
  /* display: flex;
  width: 1100px; */
  flex-wrap: wrap;
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  max-width: 70%;
}
.memory-game-blocks.no-clicking {
  pointer-events: none;
}
.memory-game-blocks .game-block {
  height: 200px;
  transition: transform .5s;
  transform-style: preserve-3d;
  cursor: pointer;
  position: relative;
  flex: 1 0 200px;
  margin: 0 10px 20px;
}
.memory-game-blocks .game-block .front {
  background-color: #333;
  line-height: 200px;
  /* transform: rotateY(180deg); */
}
.memory-game-blocks .game-block .front:before {
  content: '!';
  color: #FFF;
  font-size: 140px;
  font-weight: bold;
}
.memory-game-blocks .game-block .back {
  background-color: #607D8B;
  transform: rotateY(180deg);
}
.memory-game-blocks .game-block .back i {
  width: 140px;
  height: 140px;
  margin-top: 30px;
  font-size: 140px;
  color: #74C0FC;
}


.memory-game-blocks .game-block .face {
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  backface-visibility: hidden;
  border: 5px solid #f4ae5b;
}
.memory-game-blocks .game-block.is-flipped,
.memory-game-blocks .game-block.has-match {
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  transform: rotateY(180deg);
  pointer-events: none;
}

.container-bords {
  border: 2px solid #2196f3;
  padding: 10px;
  border-radius: 6px;
  max-width: 400px;
  margin: 20px auto
}

.container-bords h2 {
  text-align: center;
  margin: 0 0 10px;
}

.container-bords ul {
  list-style: none;
  padding: 0;
  margin: 0;
  user-select: none;
}

.container-bords ul li {
  background-color: #c7c7c742;
  color: #2196f3;
  padding: 10px;
  font-size: 20px;
  border-radius: 6px;
  margin-bottom: 10px;
  text-transform: capitalize;
  box-shadow: 0 2px 2px rgba(0,0,0,.2);
}
.container-bords ul li:last-child {
  margin-bottom: 0;
}
.container-bords ul li:hover {
  background-color: #2195f320;
  transition: .3s;
}

.container-bords ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.container-bords ul li span:nth-last-child(1){
  color: #2196f3;
  border: 2px solid #2196f3;
  padding: 5px 10px;
  border-radius: 6px;
}

