* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

svg {
  display: block;
}
.content{
	background: #0c123b;
	padding-bottom: 60px;
}

.game {
  background: #0c123b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.title {text-align: center;}

.game__cards {
  width: 100%;
  max-width: 720px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 146px;
  grid-gap: 5%;
  padding: 0 20px;
}
.game__cards.no-event {
  pointer-events: none;
}
.game__card {
  position: relative;
  cursor: pointer;
  perspective: 700px;
}
.game__card.flipped, .game__card.has-match {
  pointer-events: none;
}
.game__card.flipped .game__back-card, .game__card.has-match .game__back-card {
  transform: rotateY(180deg);
}
.game__card.flipped .game__front-card, .game__card.has-match .game__front-card {
  transform: rotateY(360deg);
}
.game__back-card, .game__front-card {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0px;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transition: transform 400ms;
}
.game__back-card {
  z-index: 1;
}
.game__front-card {
  transform: rotateY(180deg);
}
.footer {
	margin: auto 20px; 
	padding: 20px 40px 0; 
	display: flex; 
	align-items: center; -webkit-align-items: center; 
	justify-content: space-around; -webkit-justify-content: space-around; -moz-justify-content: space-around;
	flex-wrap: wrap; -webkit-flex-wrap: wrap; -moz-flex-wrap: wrap;
	align-content: center;
	margin: auto; 
	max-width: 600px; 
	background-color: white;
}
.footer-left, footer-right {
	padding: 0 20px;
}
p{
	font-family: 'Avenir';
	font-weight: 300;
	color: #133542;
	max-width: 530px;
	text-align: center;
	margin: 0 auto 7px;
	font-size: 16px;
	line-height: 26px;
}
a {
	font-family: 'Avenir';
	color: #003c4b; 
	font-weight: 300;
	font-size: 20px; 
	line-height: 28px;
	font-size: 16px;
}
.soc-med {
	max-width: 38px; 
	padding: 5px 3px 0;
}

.mobile{display: none;}

@media only screen and (max-width: 600px) {
	.content{padding-bottom: 40px;}
	
	.game__cards {
		grid-auto-rows: 120px;
		padding: 0 20px;
	}
}



@media only screen and (max-width: 480px) {
	.desktop{display: none;}
	.mobile{display: block;}
	
	.game__cards {
		grid-auto-rows: 90px;
		grid-gap: 5%;
		padding: 0 20px;
	}
}


@media only screen and (max-width: 399px) {
	.wordblock li{
		font-size: 50px;
		width: 50px;
		line-height: 1em;
		margin: 0 7px 0;
	}
	.wordblock{
		height: 50px;
	}
	.you{
		font-size: 80px;
		line-height: 80px;
	}

	.footer-left {
		padding-bottom: 20px;
	}
	.bottom {
		padding-top: 20px;
	}
		.game__cards {
		grid-auto-rows: 80px;
		grid-gap: 5%;
		padding: 0 20px;
	}
}