body {
  font-family: Lato;
  line-height: 2em;
  font-size: 16px;
  
}
body,
.container {
  position: absolute;
  width: 930px;
  height: auto;
}
br {
        display: block; /* makes it have a width */
        content: ""; /* clears default height */
        margin-top: 0px; /* change this to whatever height you want it */
}


.card h2{
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-shadow: 1px 1px 2px #000;
}

.container {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -o-flexbox;
  display: -webkit-flex;
  display: flex;
  background-color: #ffffff;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  width: 100%;
}
.row {
  background-color: #e5e5e5;
  -webkit-flex: 5;
  -moz-flex: 5;
  -ms-flex: 5;
  -o-flex: 5;
  flex: 5;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
}

.square {
  width: 300px;
  background-color: #ffffff;
  -webkit-flex: 4;
  -moz-flex: 4;
  -ms-flex: 4;
  -o-flex: 4;
  flex: 4;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  text-align: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  -webkit-flex-flow: column wrap;
  -moz-flex-flow: column wrap;
  -ms-flex-flow: column wrap;
  -o-flex-flow: column wrap;
  flex-flow: column wrap;
  padding: 5px;
  position: relative;
}
.card-container {
  cursor: pointer;
  height: 300px;
  perspective: 600;
  position: relative;
  width: 300px;
  z-index: 0;
}
.card {
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  transition: all 1s ease-in-out;
  width: 100%;
 -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.card-flip {
transform: rotateY(180deg);
-webkit-backface-visibility: visible;
 backface-visibility: visible;
}
.card i{
  position: absolute;
  bottom: 8;
  right: 8;
  color: white;
  text-shadow: 1px 1px 2px #000;
  z-index: 2;
  -webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.instruction{
  font-size: 11pt;
  font-family: Lato;
  font-weight: 400;
  text-shadow: 1px 1px 2px #000;
  -webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.card .side {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 6px;
  height: 300px;
  position: absolute;
  width: 100%;
  z-index: 1;
}
.card .back {
  background: #efefef;
  color: #000;
  height: 300px;
  line-height: 2em;
  transform: rotateY(180deg);
  overflow-y: hidden;
  z-index: 1;
}

.text {
  padding-top: 90px;
  text-align: center;
  line-height: 2em;
}

.visible{
  color: blue;
  visibility: visible;
  opacity: 1;
}
a:hover{
  color: purple;
}

img{
  border-radius: 6px;
}



