/* Colors */
/* Fonts */
/* Background images */
/* General */
body {
  background-color: #F1F1F1;
  background-image: url("https://www.transparenttextures.com/patterns/white-diamond.png");
  font-family: "Abel", sans-serif;
  color: #80B243;
}

/* Main page */
.heading {
  font-size: 52px;
  font-family: "Domine", cursive;
  color: #80B243;
  margin-bottom: 0;
}
#IDS{
    display:none;
    position: absolute;
    right: -24px;
    top: 15px;
}

#IDS img{
height:70%;
width:70%;
}
svg{
	width: 60px;
	display: inline;
	position: relative;
}

p.desc {
  font-family: 'Domine',cursive;
  font-weight: 600;
  font-variant: small-caps;
  letter-spacing: 1.5px;
  margin-top: 0;
  margin-bottom: 30px;
  color: #555555;
}

/* Cards */
.cards-container {
  display: block;
  margin: 40px;
  user-select:none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-tap-highlight-color: transparent;
}

.flip-container {
  position: relative;
  display: inline-block;
  margin: 8px;
  perspective: 1000px;
  cursor: pointer;
}
.flip-container .flipper {
  position: relative;
  -webkit-transform-style: preserve-3d;
  -webkit-transition: 0.5s;
  -moz-transform-style: preserve-3d;
  -moz-transition: 0.5s;
  -ms-transform-style: preserve-3d;
  -ms-transition: 0.5s;
  -o-transform-style: preserve-3d;
  -o-transition: 0.5s;
}
.flip-container.active .flipper {
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.flip-container,
.front,
.back {
  border-radius: 5px;
  color: #FFFFEA;
  width: 180px;
  height: 180px;
}

.front,
.back {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  border:1px dotted #b2b2b2;
}

.front {
  background-color: #FF5E5B;
  background: url("../BacksideMemoCard.jpg")  scroll center center / cover ;
  z-index: 2;
  -moz-transform: rotateY(0);
  -o-transform: rotateY(0);
  -ms-transform: rotateY(0);
  -webkit-transform: rotateY(0);
  transform: rotateY(0);
}
.front label {
  cursor: pointer;
  display: inline-block;
  font-size: 24px;
  padding-top: 10px;
}

.back {
  background-color: #00CECB;
  text-align: center;
  vertical-align: middle;
  display: table-cell;
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
.back label {
  display: block;
  width: 100%;
  font-size: 24px;
  margin-top: 10px;
}

/* Timer */
.timer {
  background:rgba(255, 255, 255, 0.4) none repeat scroll 0 0;
  border-radius: 5px;
  display: none;
  padding: 5px;
  position: fixed;
  pointer-events: none;
  left: 30px;
  top: 30px;
}
.timer label#minutes,
.timer label#seconds {
  display: inline-block;
  font-size: 20px;
}
.timer .time {
  display: none;
  font-size: 13px;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: #FFFF7F;
  padding: 15px 40px;
  border: none;
  border-radius: 15px;
  font-family: "Abel", sans-serif;
  font-size: 20px;
  text-decoration: none;
  text-transform: uppercase;
  color: #80b243;
  box-shadow: 0 3px 0 #80b243;
  cursor: pointer;
  transition: all 100ms linear;
  margin: 1em auto;
}
.btn:hover {
  -moz-transform: translateY(-4px);
  -o-transform: translateY(-4px);
  -ms-transform: translateY(-4px);
  -webkit-transform: translateY(-4px);
  transform: translateY(-4px);
  box-shadow: 0 7px 0 #80b243;
}
.btn:focus {
  outline: 0;
}

/* Github ribbon */
#github {
  position: absolute;
  top: 0;
  right: 0;
  border: 0;
}

/* Helpers */
.align-center {
  text-align: center;
}

.hide {
  display: none !important;
}

.cursor-default {
  cursor: default !important;
}

/* Reponsive Rules */
@media screen and (max-width: 1200px) {
  .flip-container, .front, .back {
    width: 140px;
    height: 140px;
  }

  .timer {
    padding: 10px;
    border-radius: 5px;
    background-color: #FFFFEA;
  }
}
@media screen and (max-width: 992px) {
  .flip-container, .front, .back {
    width: 120px;
    height: 120px;
  }

  .front label {
    display: inline-block;
    font-size: 16px;
    padding-top: 10px;
  }

  .cards-container {
    margin: 10px;
  }

  .timer {
    top: 10px;
    left: 10px;
  }
}
@media screen and (max-width: 768px) {
#IDS{
display: none;
}


  .flip-container, .front, .back {
    width: 120px;
    height: 120px;
  }
   .cards-container {
    margin: 10px;
  }
}

/* Topics & Input */
.topic-selection{
	border:none;
	border-top:dotted 1px #AAAAAA;
	height: 250px;
	
}

.topic-selection > input {
    display: none;
    visibility: hidden;
}

label{
	display:block;
   margin: 6px;
	}
	
input[type="radio"]+label{ 
	color:#999999;
	font-size:1.5em;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	transition: all 0.3s ease;
	}

input[type="radio"]:checked+label{ 
	color: white;
	font-size:1.8em;
	} 

/* Animations */
@keyframes wobble {
  from {
    transform: none;
  }
  15% {
    transform: translate3d(0, -3%, 0) rotate3d(0, 0, 1, 0deg);
  }
  30% {
    transform: translate3d(0, -12%, 0) rotate3d(0, 0, 0, 0deg);
  }
  50% {
    transform: translate3d(0, 0, 0) rotate3d(0, 0, -1, 0deg);
  }
  70% {
    transform: translate3d(0, 6%, 0) rotate3d(0, 0, 0, 0deg);
  }
  85% {
    transform: translate3d(0,-3%, 0) rotate3d(0, 0, 0, 0deg);
  }
  to {
    transform: none;
  }
}
.wobble {
  animation: wobble 600ms ease-in-out;
}
