/* open-sans-regular - latin */

/* merriweather-regular - latin */
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/merriweather-v19-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Merriweather Regular'), local('Merriweather-Regular'),
       url('/fonts/merriweather-v19-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/fonts/merriweather-v19-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/fonts/merriweather-v19-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('/fonts/merriweather-v19-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/fonts/merriweather-v19-latin-regular.svg#Merriweather') format('svg'); /* Legacy iOS */
}
/* lato-700 - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/lato-v14-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Lato Bold'), local('Lato-Bold'),
       url('/fonts/lato-v14-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/fonts/lato-v14-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('/fonts/lato-v14-latin-700.woff') format('woff'), /* Modern Browsers */
       url('/fonts/lato-v14-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/fonts/lato-v14-latin-700.svg#Lato') format('svg'); /* Legacy iOS */
}

html {
  width:100%;
  height:100%;
}
body {
  margin:0;
  padding:0;
  width:100%;
  height:100%;
  font-family: Merriweather, Arial, sans-serif;
}

.modal {
  position: fixed;
  height: 90%;
  right: 0;
/*  top: 0; */
  bottom: 0;
  z-index: 3;
  width: 100%;
  visibility: hidden;
  opacity:0;
  -webkit-transition:opacity 0.4s linear;
  -moz-transition:opacity 0.4s linear;
  -ms-transition:opacity 0.4s linear;
  -o-transition:opacity 0.4s linear;
  transition:opacity 0.4s linear;
}
.modal.show {
  visibility: visible;
  opacity:1;
}

.valign-table {
  display: table;
  table-layout: fixed;
}
.valign-cell {
  display: table-cell;
  vertical-align: middle;
}

#memo--app-container {
  background-color: #0061a8;
  background-color: #183884;
  background-color: #D77272;
  width:100%;
  height:91%;
}

.memo--menu-bar {
  width:100%;
  background-color: #222;
  height:9%;
  display:table;

/*background-color: rgba(59, 123, 61, 0.8); */
position: relative;
background-color: #5C915E;
background-color: #DFCCCC;
border-bottom: 1px solid #eee;
-webkit-box-shadow: 0px 5px 11px 0px rgba(50, 50, 50, 0.1);
box-shadow: 0px 5px 11px 0px rgba(50, 50, 50, 0.1);
-webkit-box-shadow: 0 5px 10px -2px rgba( 50, 50, 50, 0.4 );
-moz-box-shadow: 0 5px 10px -2px rgba( 50, 50, 50, 0.4 );
box-shadow: 0 5px 10px -2px rgba( 50, 50, 50, 0.4 );

}

.memo--menu-bar .inner {
  display:table-cell;
  vertical-align:middle;
}
.memo--menu-bar .left {
  text-align: left;
  float:left;
/*  background-color: red; */
  width:90%;
}
.memo--menu-bar .right {
  text-align: right;
  float:right;
  width:10%;
}
.memo--app-name {
  color:#ccc;
  color: #fff;
  font-size:26px;
  margin:0;
  margin-left: 10px;
  padding:1px 4px;
/*  text-transform: uppercase; */
  font-family: "Courier New";
  font-family: lato, Arial, sans-serif;
  letter-spacing: 2px;
}
a#memo--end-game-again, a#memo--end-game-share-fb, a#memo--end-game-share-tw  {
  color: #fff;
  font-weight: bold;
}
a:hover#memo--end-game-again, a:hover#memo--end-game-share-fb, a:hover#memo--end-game-share-tw  {
  color: #fff;
  text-decoration: none;
}


@media screen and (max-width: 600px) {
  .memo--app-name {
    font-size:15px;
  }
}

#memo--settings-icon {
  height: 24px;
  display: block;
  padding:4px 8px;
  float: right;
  display: none;
}

#memo--end-game-modal .wrapper {
  background-color: rgba(0, 0, 0, .86);
  text-align: center;
  color:#ccc;
  padding:8px 0;
}
#memo--end-game-modal h2,
#memo--end-game-modal h3 {
  margin:0;
  margin-bottom: 4px;
}

#memo--settings-modal {
  background-color: rgba(0, 0, 0, .86);
  z-index: 4;
  display: none;
}
#memo--settings-modal form {
  min-width:240px;
  width:50%;
  margin:0 auto;
  text-align: center;
  color:#ccc;
}

.memo--settings-label {
  margin:8px 0;
}

#memo--settings-grid,
#memo--settings-reset {
  width:100%;
  margin-bottom:16px;
  font-size:18px;
  background:transparent;
  color:#ccc;
  height:50px;
  text-align: center;
}

#memo--settings-grid option {
  padding-top:5px;
  padding-bottom:5px;
}

#memo--settings-reset {
  border-radius:5px;
  border:2px solid #ccc;
  cursor: pointer;
}

#memo--cards {
  margin:0 auto;
  padding:0;
  height:100%;
  list-style-type: none;
  list-style-image: none;
  position:relative;
}
/* 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;
}

/* 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: #e12d00;
  background-color: #fff;
  border-radius: 5%;
  background-image: url(../images/card.svg);
  background-image: url(../images/spielkarte-back.png);
  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: #fff;
  border-radius: 5%;
  background-position:50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

.back.card-1 {
  background-image: url(../images/cards/01.jpg);
}
.back.card-2 {
  background-image: url(../images/cards/02.jpg);
}
.back.card-3 {
  background-image: url(../images/cards/03.jpg);
}
.back.card-4 {
  background-image: url(../images/cards/04.jpg);
}
.back.card-5 {
  background-image: url(../images/cards/05.jpg);
}
.back.card-6 {
  background-image: url(../images/cards/06.jpg);
}
.back.card-7 {
  background-image: url(../images/cards/07.jpg);
}
.back.card-8 {
  background-image: url(../images/cards/08.jpg);
}
.back.card-9 {
  background-image: url(../images/cards/09.jpg);
}
.back.card-10 {
  background-image: url(../images/cards/10.jpg);
}
.back.card-11 {
  background-image: url(../images/cards/11.jpg);
}
.back.card-12 {
  background-image: url(../images/cards/12.jpg);
}
.back.card-13 {
  background-image: url(../images/cards/13.jpg);
}
.back.card-14 {
  background-image: url(../images/cards/14.jpg);
}
.back.card-15 {
  background-image: url(../images/cards/15.jpg);
}
.back.card-16 {
  background-image: url(../images/cards/16.jpg);
}
.back.card-17 {
  background-image: url(../images/cards/17.jpg);
}
.back.card-18 {
  background-image: url(../images/cards/18.jpg);
}
.back.card-19 {
  background-image: url(../images/cards/19.jpg);
}
.back.card-20 {
  background-image: url(../images/cards/20.jpg);
}

/** Matching Cards **/
/**
 * If you wish to have custom matching images, 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(../images/cards/apple_1.jpg);
 * }
 *
 * .back.matching.card-1 {
 *   background-image: url(../images/cards/apple_2.jpg);
 * }
 *
 */
