@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Lato:wght@400;700&display=swap");

html,
body {
	position: relative;
	width: 100%;
	background: #fff5f5;
	/* height: 100%; */
}

body {
	color: #333;
	margin: 0;
	padding: 8px;
	box-sizing: border-box;
	font-family: "Lato", sans-serif;
	line-height: 1.4;
}

h1 {
	font-family: "DM Serif Display", serif;
	font-size: 2.4em;
	line-height: 1.1;
	margin: 22px 0 16px;
}

a {
	color: #008080;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:visited {
	color: #008080;
}

label {
	display: block;
}

input,
button,
select,
textarea,
.button {
	font-family: inherit;
	font-size: 1.1em;
	padding: 0.65em;
	margin: 0 0 0.5em 0;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 4px;
}

input:focus,
button:focus,
select:focus,
textarea:focus,
.grid:focus,
a:focus {
	outline: 3px solid #fd0;
}

input:focus,
button:focus,
select:focus,
textarea:focus,
.button:focus {
	box-shadow: inset 0 0 0 2px black;
	outline-offset: 0;
}

.button:hover {
	text-decoration: none;
}

input:disabled {
	color: #ccc;
}

button {
	color: #333;
	background-color: #f4f4f4;
	outline: none;
}

button:disabled {
	color: #999;
}

button:not(:disabled):active {
	background-color: #ddd;
}

button:focus {
	border-color: #666;
}

main {
	max-width: 600px;
	margin: 0 auto;
}

.icon-button {
	display: inline-flex;
	background: none;
	border: none;
	padding: 4px 2px;
	cursor: pointer;
	margin: 0;
	color: black;
}

.icon-button:focus {
	box-shadow: none;
}

a.icon-button:visited {
	color: black;
}

.zoom-button {
	padding: 3px;
	margin-left: 4px;
	border: 2px solid black;
	border-radius: 50%;
}

.zoom-button:hover {
	background: #ddd;
}

.zoom-button.disabled {
	pointer-events: none;
	color: lightgrey !important;
	border-color: lightgrey;
}

.flex-row {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
}

.flex-left {
	flex-grow: 1;
}

.flex-right {
	flex-shrink: 1;
	text-align: right;
}

.floating-icons {
	margin-bottom: 16px;
	position: relative;
}
