body {
  font-family: Arial, "MS Trebuchet", sans-serif;
  margin: 0;
  padding: 0;
  /* background: #fff url(http://www.janiceshaw.co.uk/memory/images/dot2.png) fixed; */
}

a {
  text-decoration: none;
  color: white;
}

h1 {
  text-align: center;
  font-size: 2em;
  margin: 15px 0 20px 0;
  color: white !important;  
  text-shadow: -3px 3px rgba(0,0,0,0.3);
  padding: 5px;
  /* border-top: dotted 2px #ccc; */
  /* border-bottom: dotted 2px #ccc; */
}

#holder {
  height: 800px;
  background-color: transparent;
  z-index: 10;
  position: relative;
}

#Playfield {
  display: inline-grid;
  grid-template-columns: repeat(6,18vh);
  grid-template-rows: repeat(4,18vh);
  grid-gap: 10px;
  height: auto;
  width: auto;
  text-align: center;
  /* max-width: 960px; */
  max-height: 1000px;
  background: rgba(9, 48, 90, 0.5);
  /* margin: 15px auto 20px auto; */
  padding: 2vh;
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  border-radius: 20px;
}

p {
  text-align: center;
  color: #666;
  font-size: 1.1em;
  padding: 0;
  margin: 0;
}

.card {
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -moz-box-shadow: rgba(72, 72, 72, 0.2) 2px 3px 0 0;
  -webkit-box-shadow: rgba(72, 72, 72, 0.2) 2px 3px 0 0;
  box-shadow: rgba(72, 72, 72, 0.2) 2px 3px 0 0;
  display: none;
  border: solid 1px rgba(90, 9, 77, 0.2);
}

div div.pic {
  font-size: 0.9em;
  height: 100%;
  border-radius: 10px;
  background-size: contain;
  color: white;
}

img.nothere {
  display: none;
}

div.down {
  background: rgba(222, 222, 222, 1);
  background-image: url(../img/toast.jpg);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.9;
}
div.down:hover {
  cursor: pointer;
  border: solid 1px white;
}

div.up {
  background: rgba(222, 222, 222, 1);
  opacity: 0.9;
}

div {
  /* background-color: white; */
  text-align: center;
}

div.matched {
  background-color: #cccccc;
  border: solid 1px rgba(90, 9, 77, 0.1);
}

div#turns {
  position: absolute;
  top: 25%;
  left: -9px;
  height: 105px;
  width: 105px;
  background: rgba(9, 48, 90, 0.5);
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  display: none;
  color: #fff;
  padding-top: 0;
}
div#turns p {
  font-size: 1.2em;
  color: white;
  margin-left: 0 0 0 5px;
  padding: 5px 0 0 0;
}

div#turns span {
  font-size: 4em;
  line-height: 1em;
}

/* End slide show */
#slideshow {
  margin: 50px 0;
  position: absolute;
  width: 100%;
  height: auto;
  top: 25px;
  background-color: transparent;
  z-index: 20;
}

#slideshow > div {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background-color: transparent;
}

#slideshow img {
  width: 960px;
  -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  padding: 10px;
  margin: 0 auto;
  display: block;
  background-color: #fff;
}

div.finished {
  z-index: 30;
  width: 100%;
  height: 250px;
  background-color: rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 130px;
  color: white;
  display: none;
  text-align: center;
  font-size: 2em;
  padding: 20px;
}

div#restart a {
  color: white;
  margin: 10px;
  display: block;
}

/*cards*/
div.one div.pic {
  background-image: url(../img/01.jpg);
}

div.two div.pic {
  background-image: url(../img/02.jpg);
}

div.three div.pic {
  background-image: url(../img/03.jpg);
}

div.four div.pic {
  background-image: url(../img/04.jpg);
}

div.five div.pic {
  background-image: url(../img/05.jpg);
}

div.six div.pic {
  background-image: url(../img/06.jpg);
}

div.seven div.pic {
  background-image: url(../img/07.jpg);
}

div.eight div.pic {
  background-image: url(../img/08.jpg);
}

div.nine div.pic {
  background-image: url(../img/09.jpg);
}

div.ten div.pic {
  background-image: url(../img/10.jpg);
}

div.eleven div.pic {
  background-image: url(../img/11.jpg);
}

div.twelve div.pic {
  background-image: url(../img/12.jpg);
}
