/* fonts */

@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Arima+Madurai&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed&display=swap');

/* general */
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;
  box-sizing: border-box;
}

h1 {
	font-family: 'Amatic SC', cursive;
	font-size: 2.5em; /* 24px / 16px*/ 
	text-shadow: 3px 3px 3px #aaaaaa;
}
h1 img {
	height: 1.6em;
}


h2 {
	font-family: 'Amatic SC', cursive;
	font-size: 2em;
	text-shadow: 3px 3px 3px #aaaaaa;
	margin-bottom: 0.5em;
}
h3 {
	font-size: 1.2em;
	font-style: italic;
	margin-bottom: 0.2em;
}

a {
	text-decoration: underline;
	color: rgb(24, 64, 77);
}
h1 > a {
	text-decoration: none;
	color: inherit;
}

ul, ol, li {
	list-style-type: none;
}

body {
	font-family: 'Arima Madurai', cursive;
	line-height: 1.5em;
	max-width: 71.125em;
	width: 100%;
	height: 100%;
	margin: 0 auto;
	background-color: #ff7101;
}

body > header, footer, nav, article {
	width: 100%;
	padding: 2em 1em;
	background-color: white;
}
body > header {
	padding: 3em 1em 4.8em;
}

footer {
	font-size: 0.8em;
	text-align: center;
}

/* nav */
body > nav {
	padding: 0.2em 1em 2em;
}
nav ul {
	list-style-type: none;
}

nav li {
	font-family: 'Barlow Condensed', sans-serif;
	float: left;
	margin-right: 0.2em;
}

nav a {
	background: #ff7101;
	color: white;
	padding: 0.3em 0.9em;
	border-radius: 0.3em;
	text-decoration: none;
}

nav a:hover {
	background: #c25400;
	color: #EEEEEE;
	text-decoration: none;
}

nav::after {
	content: "";
	display: block;
	clear: both;
}
  
/* katalog */
thead td {
	background-color: #ffe3ce;
	font-style: italic;
	padding: 0;
}

td {
	padding: 0.2em 0.1em;
}

tbody a {
	text-decoration: underline;
}

/* inputs */
input[type="text"], input[type="email"], input[type="password"] {
	width: 16em;
	border-radius: 0.3em;
	border: 1px solid #aaaaaa;
	padding: 0.3em;
	margin: auto;
	background-color: rgb(226, 239, 247);
}

input[type="submit"] {
	background: #ff7101;
	color: #EEEEEE;
	padding: 0.5em 1em;
	display: block;
	margin: 0 auto;
	margin-top: 1.2em;
	font-weight: bold;
	border-radius: 0.3em;
	border: 0px;
}

input[type="submit"]:hover {
	background: #c25400;
	color: #EEEEEE;
	cursor: pointer;
}

textarea {
	border-radius: 0.3em;
	border: 1px solid #aaaaaa;
	width: 40em;
	height: 15em;
}

/* class */
.zprava {
	border: 1px solid #9DC2F8;
	background: #DBE8F8;
	padding: 0.1em;
}

/* statuses */
.status0::before {
	content: "Volné";
	background-color: rgb(186, 226, 186);
}

.status1::before {
	content: "Pouze prezenčně";
	background-color: rgb(252, 252, 184);
}

.status2::before { 
	content: "Rezervováno";
	background-color: rgb(255, 231, 188);
  }

.status3::before {
	content: "Půjčeno";
	background-color: rgb(255, 197, 197);
}

.status4::before {
	content: "Externí sklad";
	background-color: rgb(197, 243, 255);
}

/* icon */
.icon {
	width: 100%;
	min-width: 1em;
	max-width: 1.5em;
}

/* uvod */
.uvod {
	position: relative;
}
.uvod p {
	position: absolute;
	top: 2em;
	right: 2em;
	background-color: white;
	border-radius: 0.2em;
	padding: 1em;
	width: 40%;
}
.uvod img {
	width: 100%;
}

/* flake */
.flake {
	width: 15px;
	height: 15px;
}

/* resp ---------------------------------------------*/
html, body {
	font-size: 0.8em;
}

@media all and (min-width: 20em) { /*320px*/

}
@media all and (min-width: 40em) { /*640px*/
	html, body {
		font-size: 0.9em;
	}
	h1 img {
		height: 1.8em;
	}
	.flake {
		width: 25px;
		height: 25px;
	}
}
@media all and (min-width: 60em) { /*960px*/
	html, body {
		font-size: 1.0em;
	}
	h1 img {
		height: 2em;
	}
	.flake {
		width: 35px;
		height: 35px;
	}
}
@media all and (min-width: 71.125em) { /*1024px*/

}
@media all and (min-width: 76.1875em) { /*1024px*/

}
@media all and (min-width: 81.25em) { /*1300px*/

}