/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.3.6,
* Autoprefixer: v10.3.1
* Browsers: last 4 version
*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* MES SYLES */

@font-face {
	font-family: "Podkova";
	src: url("Podkova/static/Podkova-Regular.ttf");
}

body{
	font-family: "Podkova", sans-serif;
	background: #F5F5EF;
}

form, .container{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	text-align: center;
	padding: 20px;
	padding-top: 50px;
}

h1{
	font-size: 3ch;
	font-weight: bold;
	color: #68448A;
	margin-bottom: 20px;
}

input{
	font-family: "Podkova", sans-serif;
	font-weight: bold;
}

input[type=text]{
	display: block;
	margin: 1em auto;
	border: none;
	padding: 0;
	width: 9ch;
	background: -o-repeating-linear-gradient(left, dimgrey 0, dimgrey 1ch, transparent 0, transparent 1.5ch) 0 100%/8.5ch 2px no-repeat;
	background: repeating-linear-gradient(90deg, dimgrey 0, dimgrey 1ch, transparent 0, transparent 1.5ch) 0 100%/8.5ch 2px no-repeat;
	font-size: 5ch;
	letter-spacing: 0.5ch;
  }

input:focus {
	outline: none;
	color: #68448A;
}

input[type=submit]{
	max-width: 80%;
	min-width: 50%;
	margin: auto;
	background-color: #68448A;
	padding: 10px;
	font-size: 3ch;
	border-radius: 10px;
}

/* COFFRE FORT */

.separateur{
	width: 60%;
	margin: auto;
	border: solid 2px #68448A;
	margin-bottom: 20px;
}

h2{
	font-size: 2.5ch;
	font-weight: bold;
	color: #68448A;
	margin-bottom: 15px;
}

h2.conseil{
	font-size: 1.5ch;
	font-weight: normal;
	font-style: oblique;
}

/* Indices */
.container-cartes {
	margin: auto;
	width: 300px;
	height: 300px;
	-webkit-perspective: 1000px;
	        perspective: 1000px;
	margin-bottom: 20px;
  }
  
  .card {
	-webkit-transition: -webkit-transform 2s;
	transition: -webkit-transform 2s;
	-o-transition: transform 2s;
	transition: transform 2s;
	transition: transform 2s, -webkit-transform 2s;
	-webkit-transform-style: preserve-3d;
	        transform-style: preserve-3d;
	cursor: pointer;
	width: 100%;
	height: 100%;
  }
  
  .front, .back {
	position: absolute;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-backface-visibility: hidden;
	        backface-visibility: hidden;
	width: 100%;
	height: 100%;
  }
  
  .front {
	border: 2px solid #68448A;
  }
  
  .front:hover {
	bottom: 2px;
	left: 2px;
	-webkit-box-shadow: 0px 0px 20px 1px #68448A;
	        box-shadow: 0px 0px 20px 1px #68448A;
  }
  
  .back {
	border: 2px solid black;
	-webkit-transform: rotateY(180deg);
	        transform: rotateY(180deg);
  }
  
  .back:hover {
	bottom: 2px;
	right: 2px;
	-webkit-box-shadow: 0px 0px 20px 1px #68448A;
	        box-shadow: 0px 0px 20px 1px #68448A;
  }
  