:root {
  --primary-bg-color: #fff;
  --link-color: #0066CC;
  --link-hover-color: #9C5300;
  --font-size: 1.25em;
  --line-height: 1.5em;
  --border-color: #ddd;
}

/* fira-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/firasans/fira-sans-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* fira-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 700;
  src: url('assets/fonts/firasans/fira-sans-v18-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html {
	background-color: var(--primary-bg-color);
	font-family: "Fira Sans", sans-serif;
	font-size: var(--font-size);
}

body {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	min-height: 100vh;
}

footer {
	border-top: 1px solid var(--border-color);
	margin-top: 40px;
	padding-top:40px;
}

p {
	line-height: var(--line-height);
}

a {
	color: var(--link-color);
}
a:hover {
	color: var(--link-hover-color);
}

hr {
  border: none;
  height: 1px;
  background-color: var(--border-color);
  margin: 40px 0;
}

.hide-visually {
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	width: 1px;
}

img.logo {
	width:400px;
}

a.icon > svg {
  width: 1em;
  height: var(--font-size);
  margin-right: 0.25em;
  fill: var(--link-color);
}

a.icon:hover > svg {
  fill: var(--link-hover-color);
}

a.icon {
  display: inline-flex;
  align-items: center;
}

ul.tag-cloud {
	list-style: none;
	padding-left: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	line-height: 2.75rem;
	width: 750px;
}

ul.tag-cloud > li {
	--size: 4;
	--color: #666;
	color: var(--color);
	font-size: calc(var(--size) * 0.25rem + 0.5rem);
	padding: 0.125rem 0.25rem;
	position: relative;
	text-decoration: none;
}

ul.tag-cloud li[data-weight="1"] { --size: 1; }
ul.tag-cloud li[data-weight="2"] { --size: 2; }
ul.tag-cloud li[data-weight="3"] { --size: 3; }
ul.tag-cloud li[data-weight="4"] { --size: 4; }
ul.tag-cloud li[data-weight="5"] { --size: 6; }
ul.tag-cloud li[data-weight="6"] { --size: 8; }
ul.tag-cloud li[data-weight="7"] { --size: 10; }
ul.tag-cloud li[data-weight="8"] { --size: 13; }
ul.tag-cloud li[data-weight="9"] { --size: 16; }

ul[data-show-value] li::after {
  content: " (" attr(data-weight) ")";
  font-size: 1rem;
}

ul.cloud li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 100%;
  background: var(--color);
  transform: translate(-50%, 0);
  opacity: 0.15;
  transition: width 0.25s;
}

.fslightbox-source {
	color:#fff;
}

.lb-scroll-y {
	overflow-y:auto;
	height:100vh;
}