/* ----------------------------
/* JK TRYK 2022 · SOREN OLIN */
/* ----------------------------
/* LOGIN */
* {
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
body {
	background: url(backdrop_dark.png);
	background-color: #771126;
	background-size: cover;
}
.login {
	width: 400px;
	height: 340px;
	background-color: #ffffff;
	box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.5);
	margin: -17px auto;
	border-radius: 5px;
}
.login h1 {
	text-align: center;
	color: #5E1E2B;
	font-size: 24px;
	padding: 20px 0 20px 0;
	border-bottom: 1px solid #dee0e4;
}
.login form {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding-top: 20px;
}
.login form label {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
	background-color: #5E1E2B;
	color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"] {
	width: 310px;
	height: 50px;
	border: 1px solid #dee0e4;
	margin-bottom: 20px;
	padding: 0 15px;
}
.login form input[type="submit"] {
	width: 100%;
	padding: 15px;
	margin-top: 20px;
	background-color: #5E1E2B;
	border: 0;
	cursor: pointer;
	font-weight: bold;
	color: #ffffff;
	transition: background-color 0.2s;
}
.login form input[type="submit"]:hover {
	background-color: #AA1E2B;
	transition: background-color 0.2s;
}

/* BEGIN HOME STYLE */
.logotop {
	height: 40px;
	width: 50%;
	border: 0;
	padding: 15px;
}
button {
	border: none;
	padding: 2px;
	margin: 0;
	text-decoration: none;
	background: none;
	color: #CC0000;
	font-family: sans-serif;
	font-size: 3rem;
	cursor: pointer;
	position: absolute;
	top: 35px;
	right: 40px;
	transition: color 250ms ease-in-out, transform 150ms ease;
	}
button:hover,
button:focus {
	color: #FF0000;
	background: #FFFFFF;
	border-radius: 40px;
}
/* END HOME STYLE */

/* BEGIN OLIN POP-UP */
.modal {
	display: none;
	position: fixed;
	z-index: 1;
	padding-top: 150px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
	backdrop-filter: blur(8px);
}
.modal-content {
	background-color: rgba(250,250,250,0.8);
	margin: auto;
	padding: 20px;
	text-align: center;
	width: 410px;
	border-radius: 10px;
	box-shadow: 0 3px 9px 0 rgba(0, 0, 0, 0.8);
}
.close {
	color: #aaaaaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}
.close:hover,
.close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}
/* END OLIN POP-UP */

/* BEGIN OLIN FLIPPER */
.flip-card-3D-wrapper {
	width: 60%;
	height: 80%;
	max-width: 400px;
	max-height: 500px;
	position: relative;
	-o-perspective: 900px;
	-webkit-perspective: 900px;
	-ms-perspective: 900px;
	  perspective: 900px;
	margin: 0 auto;
}
#flip-card {
	width: 398px;
	height: 100%;
	text-align: center;
	margin: 50px auto;
	position: absolute;
	-o-transition: all 1s ease-in-out;
	-webkit-transition: all 1s ease-in-out;
	-ms-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
	-o-transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
 	 transform-style: preserve-3d;
}
.do-flip {
	-o-transform: rotateY(-180deg);
	-webkit-transform: rotateY(-180deg);
	-ms-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
}
#flip-card-btn-turn-to-back, #flip-card-btn-turn-to-front {
	/*position: absolute;
	top: 8px;
	right: 8px;
	width: 40px;
	height: 40px;
	background: white;
	cursor: pointer;
	visibility: hidden;
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
	font-size: .7em;
	padding: 0;
	color: grey;
	border: 1px solid grey;*/
}
#flip-card .flip-card-front, #flip-card .flip-card-back{
	width: 400px;
	height: 320px;
	position: absolute;
	-o-backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
	z-index: 2;
	-webkit-box-shadow: 5px 6px 32px 2px rgba(0,0,0,0.71);
	-moz-box-shadow: 5px 6px 32px 2px rgba(0,0,0,0.71);
	box-shadow: 5px 6px 32px 2px rgba(0,0,0,0.71);
}
#flip-card .flip-card-front {
	/*border:1px solid grey;
	border-radius: 5px;*/

}
#flip-card .flip-card-back {
	background-color: rgba(0,0,0,0.6);
	-o-transform: rotateY(180deg);
	-webkit-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
	transform: rotateY(180deg);
	border-radius: 5px;

}
#flip-card .flip-card-front p, #flip-card .flip-card-back p {
	color: grey;
	display: block;
	position: absolute;
	top: 40%;
	width: 100%;
}
/* END OLIN FLIPPER */
