/******************************************
/* SETUP
/*******************************************/

/* Box Model Hack */
*{
  box-sizing: border-box;
  list-style: none;
  Font-size: 1em;
}

/* Clear fix hack */
.clearfix:after {
     content: ".";
     display: block;
     clear: both;
     visibility: hidden;
     line-height: 0;
     height: 0;
}

.clear {
	clear: both;
}

.alignright {
	float: right;
	padding: 0 0 10px 10px; /* note the padding around a right floated image */
}

.alignleft {
	float: left;
	padding: 0 10px 10px 0; /* note the padding around a left floated image */
}

/******************************************
/* BASE STYLES
/*******************************************/

body {
     color: #000;
     font-size: 12px;
     line-height: 1.4;
     font-family: Helvetica, Arial, sans-serif;
     background-color: black;
}


/******************************************
/* LAYOUT
/*******************************************/
.card{
    border:2px solid black;
    float: left;
    width:17.5%;
    height:170px;
    margin:8px;
    box-shadow: 5px 5px rgba(0, 0, 0, 0.233);
}

.card:hover{
    transform: scale(1.1);
  }
#cardStack{
    width:81%;
    text-align: center;
    margin-left:9%;
    margin-top:2.6%;
    height:430px;
}

.card1,
.card2,
.card3,
.card4,
.card5{
    width:100%;
    height:100%;
    display: none;
}

.backCard{
    display: inline;
    width:100%;
    height:100%;
}

.flipped img, .matched img{
    display:inline;
}
.flipped .backCard{
    display:none;
}

.matched .backCard{
    display: none;
}

.header{
    text-align: center;
    padding:10px;
}

button{
    font-weight: 700;
    padding:8px;
    box-shadow: 5px 5px rgba(0, 0, 0, 0.233);
    margin-left:43%;
    border-radius: 8px;
    border:none;
    transition-duration: 0.4s;
}
button:hover {
    background-color: black;
    color: white;
    transform: scale(1.1);

}


.wholeThing{
    border:4px solid black;
    width:70%;
    margin:auto;
    height:680px;
    margin-top:1.5%;
    background-color: #A8A8A8;
}

#titleImg {
  height: 170px;
  width: 400px 
}

/******************************************
/* ADDITIONAL STYLES
/*******************************************/
