/*stops the flashcards from resizing the window with animations*/
#body{
  overflow: hidden;
}
.box1{
	display: flex;
	align-items: center;
	justify-content: center;
}
.box2{
	display: flex;
	align-items: center;
	justify-content: center;
}
.mobile-only{
	display: none;
}
.slideRight{
	transition: transform .5s;
	transform: translate(800px);
}
.slideLeft{
	transition: transform .5s;
	transform: translate(-800px);
}
@media (min-width: 160px){
	.mainContent{
		display: table;
		font-size: 1.2em;
	}
	#cardCount{
		text-align: center;
	}
}
@media (min-width: 460px){
	.mainContent{
		display: table;
		font-size: 1.5em;
	}
}
@media (min-width: 768px){
	.mainContent{
		font-size: 2.2em;
	}
}
/* Smartphones ----------- */
@media only screen and (max-width: 767px) {
  .desktop-only { display: none; }
	.mobile-only {display: block;}
}
.fadeout {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s .2s, opacity .2s linear;
}
.shaker {
	animation: shake 0.5s;
}
.zoombounce {
	animation: zbounce 0.5s;
}
@keyframes zbounce {
    0% { transform: scale(1.0); -webkit-transform: scale(1.0); }
    100% { transform: scale(1.2); -webkit-transform: scale(1.2); }
}
@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}
.box1text img, .box2text img{
	max-width: 100%;
	max-height: 292px;
	margin-left: auto;
	margin-right: auto;
}
.hide-text{
	font-size: 0px;
}
.hide-image{
	visibility: hidden;
}

.flashcardGallery {
	display: none;
	position: absolute;
	top: 5px;
	left: 5px;
}
