@import url("https://fonts.googleapis.com/css?family=Questrial");
html {
  min-height: 100%;
}

body {
  background: #fff;
}
.date{
	margin-top:10px;
	background-color:#666;
	width:80%;
	display:inline-block;
	border-radius: 0.5rem;
}
a{
	text-decoration: none;
}
.box {
  width: 800px;
	height:60vh;
  margin: 0% auto 20px;
  position: relative;
}

#card-container {
  position: relative;
  margin: 20px 30px 0px;
  width: 200px;
  height: 200px;
  z-index: 1;
  float: left;
  perspective: 1000px;
}
.box img {
  width: 200px;
  height: 200px;
}

#card, #card2, #card3, #card4, #card5, #card6 {
  width: 100%;
  height: 100%;
  margin: 0 10%;
  transform-style: preserve-3d;
  transition: all 0.8s linear;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

#card:hover {
  transform: rotateY(180deg);
  box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.3);
}

#card2:hover {
  transform: rotateY(-180deg);
  box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.3);
}

#card3:hover {
  transform: rotateX(180deg);
  box-shadow: 5px -5px 15px rgba(0, 0, 0, 0.3);
}
#card3 .back {
  transform: rotateX(-180deg);
}

#card4:hover {
  transform: rotateY(-180deg);
  box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.3);
}

#card5:hover {
  transform: rotateX(180deg);
  box-shadow: 5px -5px 15px rgba(0, 0, 0, 0.3);
}
#card5 .back {
  transform: rotateX(-180deg);
}

#card6:hover {
  transform: rotateY(180deg);
  box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.3);
}
.face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.back {
  display: block;
  transform: rotateY(180deg);
  box-sizing: border-box;
  padding: 10px;
  text-align: center;
  opacity: 0.7;
  background: #F9F3E4;
}

h1, p {
  font-family:YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  text-transform: uppercase;
  letter-spacing: 1px;
	font-weight: 400;
  color: #333;
}

h1 {
  font-size: 0.9em;
  padding-top: 45px;
	padding-bottom:10px;
}

p {
  font-size: 0.7em;
  line-height:1.3em;
	padding: 5px 10px;
  color: #444;
}

.date {
	color:#efeae1;
  font-family:YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
}

#header{
	background:#000;
	width:100%;
	height:auto;
	margin:0 0 10px;
}
header img{
	width:auto;
	height:60px;
	margin:20px 0;
}
#footer{
	width:100%;
	height:auto;
	position:absolute;
	margin:20px 0 0;
	padding:20px 0;
}
.footer_1{
	width:40%;
	float:left;
	padding-left:80px;
	text-align:left;
}
.footer_1 h2{
	margin-bottom:16px;
}
		.footer_1 h2 a{
	font-size:2.1rem;
	letter-spacing: 0.7rem;
	text-decoration:none;
			color:#fff;
}
.footer_1 img{
	height:22px;
	margin-right:12px;
	margin-bottom:40px;
}
.footer_1 a{
	text-decoration: none;
	color:#fff;
	font-size: 1.2rem;
}
.footer_2{
	width:20%;
	float:left;
	color:#fff;
}
.footer_2 a{
	text-decoration: none;
	color:#fff;
	font-size: 1.2rem;
}
.footer_2 h3{
	margin-bottom: 2px;
	font-size:1.4rem;
}
.footer_2 ul{
	list-style: none;
	text-align: left;
}
.footer_services{
	text-align: left;
		letter-spacing: 0.8px;
}
.footer_3{
	width:20%;
	float:left;
}
.footer_3 a{
	text-decoration: none;
	color:#fff;
	font-size: 1.2rem;
}
.footer_3 h3{
	margin-bottom: 2px;
	font-size:1.4rem;
}
.footer_3 ul{
	list-style: none;
	text-align: left;
}
.footer_prices{
	text-align: left;
	margin-bottom:18px;
	letter-spacing: 0.8px;
}
.footer_works{
	text-align: left;
		letter-spacing: 0.8px;
}
.footer_4{
	width:20%;
	float:left;
}
.footer_4 a{
	text-decoration: none;
	color:#fff;
	font-size: 1.2rem;
}
.footer_4 h3{
	margin-bottom: 2px;
	font-size:1.4rem;
		text-align: left;
	letter-spacing: 0.8px;
}
.footer_4 ul{
	list-style: none;
	text-align: left;
	letter-spacing: 0.8px;
}
.footer_contact{
	margin-top:14px;
}
@media(max-width:900px){
			body{
		height:auto
	}
	#header{
		margin:0 0 10px;
	}
	header img{
	height:40px;
	}
	footer{
	margin:10px 0 0;
	height:30%;
}
	.footer_2 ul, .footer_3 ul, .footer_4 ul{
		display:none;
	}
	.footer_2 h3, .footer_3 h3, .footer_4 h3{
		display:inline;
		margin-top:5px;
		font-size: 1.2rem;
	}
	.footer_contact, .footer_prices, .footer_services{
	width:100%;
		height:auto;
		margin:0;
		padding:0;
	}
	.footer_2, .footer_3, .footer_4{
		width:100%;
		text-align:left;
		margin:0;
		padding:0;
	}
	.footer_menu{
		height:100%;
		width:50%;
		display: flex;
    flex-direction:column;
    align-items: center;
		line-height:25px;
	}
	.footer_1{
	width:50%;
	padding-left:30px;
}
		.footer_1 h2 a{
	text-decoration:none;
	font-size:1.8rem;
	letter-spacing: 0.4rem;
			color:#fff;
}

.box {
  width: auto;
	height:auto;
  margin: 5% auto;
  position: relative;
	text-align:center;
	padding:0;
}
	#card-container{
  float: none;
		text-align: center;
	  width: 200px;
  height: 200px;
	margin:20px auto;
}
.box img {
  width: 100%;
  height: 100%;
	margin:0 auto;
}

#card, #card2, #card3, #card4, #card5, #card6 {
  width: 100%;
  height: 100%;
  margin: 0 ;
  transform-style: preserve-3d;
  transition: all 0.8s linear;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}
}