﻿
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}


html {
  line-height: 1;
}


ol, ul {
  list-style: none;
}


table {
  border-collapse: collapse;
  border-spacing: 0;
}


caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}


q, blockquote {
  quotes: none;
}

q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}


a img {
  border: none;
}


article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}
/***************reset*****************/

a:link {
	color: #333;
	text-decoration: none;
}
@font-face {
    font-family: 'LigatureSymbols';
    src: url('../font/LigatureSymbols-2.11.eot');
    src: url('../font/LigatureSymbols-2.11.eot?#iefix') format('embedded-opentype'),
         url('../font/LigatureSymbols-2.11.woff') format('woff'),
         url('../font/LigatureSymbols-2.11.ttf') format('truetype'),
         url('../font/LigatureSymbols-2.11.svg#LigatureSymbols') format('svg');
    src: url('../font/LigatureSymbols-2.11.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.icon, .lsf-icon:before {
  font-family: 'LigatureSymbols';
  -webkit-text-rendering: optimizeLegibility;
  -moz-text-rendering: optimizeLegibility;
  -ms-text-rendering: optimizeLegibility;
  -o-text-rendering: optimizeLegibility;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -ms-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  font-smoothing: antialiased;
}

.lsf-icon:before {
  content:attr(title);
  margin-right:0.3em;
  font-size:130%;
}

.lsf-icon.amazon:before {
  content: '\E007';
}

.container-full {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.container-full:after {
  content: " ";
  display: block;
  clear: both;
}


.container-restricted {
  position: relative;
  background-color: #111;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 761px) {
#wrapper {
	max-width: 960px;
	margin: 0 auto;
	text-shadow: 2px 2px 5px #000;
}
.container-restricted:after {
  content: " ";
  display: block;
  clear: both;
}

.container {
	display: flex;
	font-size: 3rem;
	color: #fff;
	text-align: center;
}

.container .box1 {
	 flex: 1;
	background-color: #aaa;
	min-height: 260px;
	line-height: 260px;
	
}

.container .box1-2 {
	flex: 2;
}


.container2 {
	display: flex;
	font-size: 3rem;
	color: #fff;
	text-align: center;

}

.container2 .box2 {
	flex: 1;
	min-height: 260px;
	background-color: #ccc;
	line-height: 260px;
}

.box2 {
	transform:
	rotateX(0deg)
	translateZ(130px);
	transition: .5s;
}

.box2:hover {
	transform:
	rotateX(90deg)
	translateZ(-130px);
	transition: .5s;
	z-index: 10;
	min-height: 260px;
	
}

.wrapper {
  display: inline-block;
  width: 310px;
  height: 100px;
  vertical-align: top;
  margin: 1em 1.5em 2em 0;
  cursor: pointer;
  position: relative;
  font-family: Tahoma, Arial;
  perspective: 4000px;
}
 
.item {
  height: 100px;
  transform-style: preserve-3d;
  transition: transform .6s;
}

.item .img {
  display: block;
	width: 310px;
	height: 80px;
  position: absolute;
  top: 0;
  border-radius: 3px;
  box-shadow: 0px 3px 8px rgba(0,0,0,0.3);
  transform: translateZ(50px);
  transition: all .6s;
   
} 
   
.item .information {
  display: block;
  position: absolute;
  top: 0;
  height: 80px;
  width: 290px;
  text-align: left;
  border-radius: 15px;
  padding: 10px;
  font-size: 12px;
  text-shadow: 1px 1px 1px rgba(255,255,255,0.5);
  box-shadow: none;
  background: linear-gradient(top,rgba(236,241,244,1) 0%,rgba(190,202,217,1) 100%);
  transform: rotateX(-90deg) translateZ(50px);
  transition: all .6s;
   
}


.item:hover {
  transform: translateZ(-50px) rotateX(95deg);
}
   
  .item:hover img {
    box-shadow: none;
    border-radius: 15px;
  }

  .item:hover .information {
    box-shadow: 0px 3px 8px rgba(0,0,0,0.3);
    border-radius: 3px;
  }





}



@media screen and (min-width: 0px) and (max-width: 480px) {
	#wrapper {
	text-shadow: 2px 2px 5px #000;
	transition: 2s;
}
.container {
	display: flex;
	flex-direction: column;
	font-size: 3rem;
	color: #fff;
	text-align: center;
}


.container .box1 {
	 flex: 1;
	background-color: #999;
	min-height: 260px;
	line-height: 260px;

}

.container2 {
	display: flex;
	flex-wrap: wrap;
	font-size: 3rem;
	color: #fff;
	text-align: center;

}

.container2 .box2 {
	
	width: 50%;
	min-height: 10rem;
	background-color: #444;
	box-sizing: border-box;
	line-height: 10rem;


}

.container2 .box3 {
	order: -1;
}

.container2 .box4 {
	order: 1;
}


}
