@font-face {
    font-family: 'FleurDeLeah';
    src: url('fonts/FleurDeLeah-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DMSerifText';
    src: url('fonts/DMSerifText-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DMSerifText';
    src: url('fonts/FleurDeLeah-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

body {
    font-family: 'DMSerifText', serif;
    color: #9d9d9d;
    background: #474b42;
}
input, select, textarea {
    display: block;
	width: 50%;
    max-width: 960px;
    margin: 10px auto;
    padding: 5px;
    font-family: 'DMSerifText', serif;
}
input[type='button'], input[type='submit'], button {
	font-family: 'DMSerifText', serif;
}
header {
	padding: 0 !important;
    background: #F2F4DB;
	background: linear-gradient(0deg, rgba(242, 244, 219, 1) 0%, rgba(253, 222, 45, 1) 100%);
}
header h1 {
	position: relative;
	z-index: 1;
	margin-top: -50px;
	font-family: 'DMSerifText', serif;
	font-weight: normal;
	color: #a85c32;
}
header h1 .fancy {
	font-size: 2em;
	font-family: 'FleurDeLeah', cursive;
}
header img {
	width: 133px !important;
	padding: 0 !important;
	display: block;
	float: left;
}
header form {
    text-align: right;
}
header input {
	position: relative;
	z-index: 4;
	display: inline-block;
	height: 3em;
	padding: 11px;
}
header input[type='submit'] {
	width: 4em;
}
nav {
	position: relative;
	z-index: 2;
    padding: 10px;
	text-align: center;
}

nav ul {
	display: inline;
}

nav ul li {
	font-size: 1.5em;
    display: inline-block;
    margin: 0 60px;
    padding: 5px;
}
nav ul li a:hover {
    text-decoration: none;
}
nav a:hover {
	color: #474b42;
}
main {
	font-size: 1.5em;
	background: #f2f4db;
	padding: 20px;
	text-align: center;
}
footer {
	text-align: center;
}
form {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
}
form * {
	font-size: 1.5em;
}
label {
    display: inline-block;
    margin: 10px;
}
h2 {
	font-weight: normal;
	font-size: 1.5em;
}
button {
    margin: 10px;
    padding: 5px;
    border: 1px solid #AAA;
}
a {
    text-decoration: none;
    color: #ac9043;
}
a:hover {
    text-decoration: underline;
}
table {
	margin: 0 auto;
	max-width: 100%;
    border-collapse: collapse;
    background: #efe6ca;
    border: 2px solid #f0d781;
    border-bottom: 15px solid #f0d781;
}
tr {
    height: 80px;
}
tr:nth-child(1) {
    height: 50px;
}
tr:nth-child(even) {
    background: #f2f4db;
}
th {
    background: #f0d781;
}
td, th {
    padding: 5px;
    border-left: 0;
    border-right: 0;
    box-sizing: border-box;
}
ul li {
    list-style: none;
    margin: 10px 0;
}
ul.list {
    margin-left: 100px;
}
ul.list li {
    display: inline-block;
    width: 200px;
    margin: 5px 20px;
}
p {
    margin: 20px 0;
}
h1, h2, h3 {
    margin: 20px 0;
    text-align: center;
}
h2 {
    font-weight: normal;
}
.red {
    color: red;
}
.fr {
    float: right;
}
.fl {
    float: left;
	margin-left: 1em;
}
.info {
	text-align: left; 
	margin-left: 20px; 
	margin-top: 50px; 
	line-height: 2em;
}

@media (max-width: 768px) {
	#menuBtn {
		position: relative;
		z-index: 2;
		display: block;
		text-align: center;
		float: right;
		height: 1.5em;
		width: 1.5em;
		transform: rotate(90deg);
		font-size: 2em;
		font-family: Arial, sans-serif;
		font-weight: bold;
		color: black;
		background: none;
		border: none;
	}
	
	#menu {
		padding: 0;
		overflow: hidden; 
		max-height: 0;
		transition: max-height 0.4s ease;
	}
	
	nav {
		display: block;
		clear: both;
		background: #f2f4db;
		border-top: 3px solid #a85c32;
		border-bottom: 3px solid #a85c32;
	}
	
	nav ul {
		display: block;
	}
	
	nav ul li {
		display: block;
		font-size: 2em;
	}
	
    .fl {
        float: none;
        text-align: center;
    }
	.desktop {
		display: none;
	}
	input, select, textarea {
		width: 80%;
	}
	textarea {
		min-height: 200px;
	}
	header img {
		position: relative;
		z-index: 2;
		width: 50px !important;
		height: auto;
		opacity: 50%;
	}
	header h1 {
		z-index: 1;
		position: absolute;
		top: 40px;
		display: block;
		font-size: 1em;
	}
	header h1 .fancy {
		font-size: 2em;
	}
	
	header form {
		text-align: center;
	}
	
	header input {
		font-size: 1em;
		height: 2em;
		padding: 5px;
	}
	header input[type='text'] {
		width: 60%;
	}
	header input[type='submit'] {
		width: 2em;
	}
	
	table, thead, tbody, th, td, tr {
        display: block;
		width: 100%;
    }
	table {
		background: none;
		border: none;
	}
	thead {
		display: none;
	}
	tr {
		height: auto;
        margin-bottom: 1.5rem;
        border: 1px solid #a85c32;
		box-shadow: -5px 5px 10px #a85c32;
        padding: 10px;
		overflow: hidden;
		background: #efe6ca;
    }
	tr:nth-child(1) {
		height: auto;
	}
	
	tr:nth-child(even) {
		background: #f0d781;
	}
    td {
		height: auto;
		min-height: 50px;
		position: relative;
		padding: 8px 8px 8px 120px;
		margin-bottom: 8px;
		border-bottom: 1px solid #a85c32;
		box-sizing: border-box;
    }
	td:last-child {
		margin-bottom: 0;
		border-bottom: none;
	}
    td::before {
        content: attr(data-label);
		position: absolute;
		top: 8px;
		left: 8px;
		min-height: 50px;
		width: 100px;
		font-weight: bold;
		white-space: nowrap;
    }
	td img {
        max-width: 80px;
		height: auto;
		display: block;
		margin: 5px auto 0 auto;
    }
}