.ui-keyboard.ui-widget-content {
  top: 550px !important;
}

#cadastro #content_center {
  margin-top: 200px;
}

.flow.out {
  -webkit-transform: translateX(-100%) scale(0.7);
  -webkit-animation-name: flowouttoleft;
  -webkit-animation-timing-function: ease;
  -webkit-animation-duration: 950ms;
  -moz-transform: translateX(-100%) scale(0.7);
  -moz-animation-name: flowouttoleft;
  -moz-animation-timing-function: ease;
  -moz-animation-duration: 950ms;
  transform: translateX(-100%) scale(0.7);
  animation-name: flowouttoleft;
  animation-timing-function: ease;
  animation-duration: 950ms;
}
.flow.in {
  -webkit-transform: translateX(0) scale(1);
  -webkit-animation-name: flowinfromright;
  -webkit-animation-timing-function: ease;
  -webkit-animation-duration: 950ms;
  -moz-transform: translateX(0) scale(1);
  -moz-animation-name: flowinfromright;
  -moz-animation-timing-function: ease;
  -moz-animation-duration: 950ms;
  transform: translateX(0) scale(1);
  animation-name: flowinfromright;
  animation-timing-function: ease;
  animation-duration: 950ms;
}

/* KEyBOARD */
.ui-widget-content {
  background: rgba(207, 207, 207, 0.72);
}

div.ui-body.ui-keyboard button.ui-keyboard-button.ui-btn {
  padding: 0 0;
  border-color: transparent;
}

.ui-body .ui-keyboard-button {
  width: 4em;
  height: 4em;
  display: inline-block;
}

.ui-body .ui-btn {
  font-size: 15px;
}

.ui-body .ui-keyboard-space {
  width: 15em !important;
}

.bg-inicio {
  background-image: url(https://www.presalpetroleo.gov.br/wp-content/themes/adventurous/inc/jogo-da-memoria/src/media/bg-inicio-game.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

#btInicio {
  position: absolute;
  width: 600px;
  height: 600px;
  top: 50%;
  left: 50%;
  margin-top: -300px;
  margin-left: -300px;
}

.bg-cadastro {
  background-image: url(https://www.presalpetroleo.gov.br/wp-content/themes/adventurous/inc/jogo-da-memoria/src/media/bg-cadastro.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-game {
  background-image: url(https://www.presalpetroleo.gov.br/wp-content/themes/adventurous/inc/jogo-da-memoria/src/media/bg-game.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.game {
  padding: 0;
  margin: 0;
}

#content_center {
  padding: 20px 2%;
  margin: auto;
  max-width: 600px;
  width: 96%;
}

#input_celular .ui-input-text {
  margin-left: 22%;
  width: 50%;
}

#memory--end-game-message {
  position: absolute;
  width: 600px;
  height: 600px;
  top: 50%;
  left: 50%;
  margin-left: -300px;
  margin-top: -300px;
}
#memory--end-game-score {
  position: absolute;
  z-index: 1;
  top: 50%;
  margin-top: 200px;
  text-align: center;
  width: 100%;
  font-size: 24px;
}

#memory--score {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-weight: bold;
  font-size: 16px;
}

.modal {
  position: absolute;
  width: 100%;
  height: 100%;
  right: 0;
  top: 0;
  z-index: 3;
  visibility: hidden;
  background-image: url(https://www.presalpetroleo.gov.br/wp-content/themes/adventurous/inc/jogo-da-memoria/src/media/bg-resultado_game.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.modal.show {
  visibility: visible;
  opacity: 1;
}

#memory--app-container {
  width: 100%;
  height: 100%;
  position: absolute;
}

#memory--cards {
  margin: 0 auto;
  padding: 0;
  list-style-type: none;
  list-style-image: none;
  position: absolute;
}
/* entire container, keeps perspective */
.flip-container {
  -webkit-perspective: 1000px;
  perspective: 1000px;
  float: left;
}

/* flip the pane when clicked */
.flip-container.clicked .front {
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
.flip-container.clicked .back {
  -webkit-transform: rotateY(0deg);
  -moz-transform: rotateY(0deg);
  -ms-transform: rotateY(0deg);
  -o-transform: rotateY(0deg);
  transform: rotateY(0deg);
}

/* flip speed goes here */
.flipper {
  width: 90%;
  height: 90%;
  margin: 0% auto;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  position: relative;
  top: 5%;
  bottom: 5%;
}

/* hide back of pane during swap */
.front,
.back {
  width: 100%;
  height: 100%;
  display: block;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 0px 0px 5px 0px black;
}

/* front pane, placed above back */
.front {
  /* for firefox 31 */
  -webkit-transform: rotateY(0deg);
  -moz-transform: rotateY(0deg);
  -ms-transform: rotateY(0deg);
  -o-transform: rotateY(0deg);
  transform: rotateY(0deg);
  background-color: #fff;
  border-radius: 5%;
  background-image: url(https://www.presalpetroleo.gov.br/wp-content/themes/adventurous/inc/jogo-da-memoria/src/media/cards/verso.jpg);
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: contain;
}

/* back, initially hidden pane */
.back {
  -webkit-transform: rotateY(-180deg);
  -moz-transform: rotateY(-180deg);
  -ms-transform: rotateY(-180deg);
  -o-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
  background-color: #000;
  border-radius: 5%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

.back.card-1 {
  background-image: url(https://www.presalpetroleo.gov.br/wp-content/themes/adventurous/inc/jogo-da-memoria/src/media/cards/card1.jpg);
}
.back.card-2 {
  background-image: url(https://www.presalpetroleo.gov.br/wp-content/themes/adventurous/inc/jogo-da-memoria/src/media/cards/card2.jpg);
}
.back.card-3 {
  background-image: url(https://www.presalpetroleo.gov.br/wp-content/themes/adventurous/inc/jogo-da-memoria/src/media/cards/card3.jpg);
}
.back.card-4 {
  background-image: url(https://www.presalpetroleo.gov.br/wp-content/themes/adventurous/inc/jogo-da-memoria/src/media/cards/card4.jpg);
}
.back.card-5 {
  background-image: url(https://www.presalpetroleo.gov.br/wp-content/themes/adventurous/inc/jogo-da-memoria/src/media/cards/card5.jpg);
}
.back.card-6 {
  background-image: url(https://www.presalpetroleo.gov.br/wp-content/themes/adventurous/inc/jogo-da-memoria/src/media/cards/card6.jpg);
}
.back.card-7 {
  background-image: url(https://www.presalpetroleo.gov.br/wp-content/themes/adventurous/inc/jogo-da-memoria/src/media/cards/card7.jpg);
}
.back.card-8 {
  background-image: url(https://www.presalpetroleo.gov.br/wp-content/themes/adventurous/inc/jogo-da-memoria/src/media/cards/card8.jpg);
}
.back.card-9 {
  background-image: url(https://www.presalpetroleo.gov.br/wp-content/themes/adventurous/inc/jogo-da-memoria/src/media/cards/card9.jpg);
}
.back.card-10 {
  background-image: url(https://www.presalpetroleo.gov.br/wp-content/themes/adventurous/inc/jogo-da-memoria/src/media/cards/card10.jpg);
}
.back.card-11 {
  background-image: url(https://www.presalpetroleo.gov.br/wp-content/themes/adventurous/inc/jogo-da-memoria/src/media/cards/card11.jpg);
}
.back.card-12 {
  background-image: url(https://www.presalpetroleo.gov.br/wp-content/themes/adventurous/inc/jogo-da-memoria/src/media/cards/card12.jpg);
}
.back.card-13 {
  background-image: url(https://www.presalpetroleo.gov.br/wp-content/themes/adventurous/inc/jogo-da-memoria/src/media/cards/card13.jpg);
}
.back.card-14 {
  background-image: url(https://www.presalpetroleo.gov.br/wp-content/themes/adventurous/inc/jogo-da-memoria/src/media/cards/card14.jpg);
}
.back.card-15 {
  background-image: url(https://www.presalpetroleo.gov.br/wp-content/themes/adventurous/inc/jogo-da-memoria/src/media/cards/card15.jpg);
}

/** Matching Cards **/
/**
 * If you wish to have custom matching media, you can do so
 * by leveraging the 'matching' class which is added to one
 * of the matching cards. See the example below.
 *
 * .back.card-1 {
 *   background-image: url(https://www.presalpetroleo.gov.br/wp-content/themes/adventurous/inc/jogo-da-memoria/src/media/cards/apple_1.jpg);
 * }
 *
 * .back.matching.card-1 {
 *   background-image: url(https://www.presalpetroleo.gov.br/wp-content/themes/adventurous/inc/jogo-da-memoria/src/media/cards/apple_2.jpg);
 * }
 *
 */
