@font-face {
	font-family: 'Material Icons';
	font-style: normal;
	font-weight: 400;
	src: url("/icons.ttf");
	src: local('Material Icons'),
		local('MaterialIcons-Regular'),
		url("/icons.ttf") format('truetype');
}

.material-icons {
	transform: translateY(3px);
	font-family: 'Material Icons';
	font-weight: normal;
	font-style: normal;
	font-size: 24px;  /* Preferred icon size */
	display: inline-block;
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	word-wrap: normal;
	white-space: nowrap;
	direction: ltr;
  
	/* Support for all WebKit browsers. */
	-webkit-font-smoothing: antialiased;
	/* Support for Safari and Chrome. */
	text-rendering: optimizeLegibility;
  
	/* Support for Firefox. */
	-moz-osx-font-smoothing: grayscale;
  
	/* Support for IE. */
	font-feature-settings: 'liga';
}
  
* {
	margin: 0;
	padding: 0;
}

html, body {
	width: 100%;
	height: 100%;
	font-size: 100%;
}

body {
	background-color: {{ .Background }};
}

main {
	width: 100%;
	height: 100%;
}

#bookmark-container {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: center;
}

main {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

#search {
	margin: 0 auto;
	margin-bottom: 5em;
}

#search form {
	--input-font-size: 1.2em;
}

#search form input[type="search"] {
	display: inline-block;
	border: 1px solid black;
	outline: 0;
	background-color: black;
	color: white;
	padding: 0.25em 0.5em;
	transition: all 0.2s ease-in-out;
	border-radius: 0.25em 0 0 0.25em;
	font-size: var(--input-font-size);
}

#search form input[type="search"]:focus {
	box-shadow: 0px 0px 3px gray;
	transition: all 0.2s ease-in-out;
}

#search form input[type="search"]:focus + label[for="submit"] {
	background-color: #111;
	box-shadow: 0px 0px 3px gray;
	transition: all 0.2s ease-in-out;
}

#search form label[for="submit"] {
	margin-left: 0;
	border: 1px solid black;
	background-color: black;
	color: white;
	padding: 0.25em 0.5em;
	transition: all 0.2s ease-in-out;
	border-radius: 0 0.25em 0.25em 0;
	font-size: var(--input-font-size);
	cursor: pointer;
}

#search form label[for="submit"] img {
	display: inline-block;
}

#search form input[type="submit"] {
	display: none;
}

.bookmark {
	display: block;
	box-sizing: border-box;
	transition: all 0.2s ease-in-out;

	width: {{ .IconWidth }};
	height: {{ .IconHeight }};
	margin: {{ .IconMargin }};
	padding: {{ .IconPadding }};
	border-radius: {{ .BorderRadius }};
}

.bookmark:hover {
	transform: scale(1.1, 1.1);
	transition: all 0.2s ease-in-out;
}

.background {
	width: 100%;
	height: 100%;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}