@import url('https://fonts.googleapis.com/css2?family=Fira+Sans&display=swap');

:root {
  --accent: #268BD2;
  --background: #1D1F21;
  --extra-light-background: #2a2c2e
}

.vertical-middle{
   vertical-align: middle;
}

pre {
    padding: .5rem .5rem;
    max-width: 100%;
    overflow: auto;
    overflow-x: auto;
    background: var(--extra-light-background);
    border: none;
    border-radius: 5px;
}

body {
  margin: 0;
	margin-bottom: 2em;
	background: var(--background);
	color: #efedef;
	font-family: 'Fira Sans', sans-serif;
}

main {
	margin-left: auto;
	margin-right: auto;
	max-width: 1050px;
  padding-left: 1em;
  padding-right: 1em;
}

nav {
  background-color: #131517;
  border-bottom: 2px solid var(--accent);
}

a {
	color: var(--accent);
	text-decoration: none;
}

h2 {
  margin-top: 10px;
}

header {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	max-width: 1050px;
  padding-left: 1em;
  padding-right: 1em;
}

section {
  border-radius: 0.5em;
  background-color: #131517;
  color: white;
  border: 2px solid var(--accent);
  padding: 15px 15px;
	margin-bottom: 1em;
}

.btn:link, .btn:visited {
  border-radius: 0.5em;
  background-color: var(--background);
  color: white;
  border: 2px solid var(--accent);
  padding: 8px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1em;
  margin-top: 1em;
}

.btn:hover, .btn:active {
  background-color: var(--extra-light-background);
  color: white;
  transform: scale(1.1);
}

.center-text {
	text-align: center;
}

.tiny-margin-bottom {
	margin-bottom: 0.5em;
}

.small-margin-right {
	margin-right: 1em;
}

.small-margin-left {
	margin-left: 1em;
}

.ul-clean {
	list-style-type: none;
	padding-inline-start: 20px;
}

.image-popup div {
  visibility: hidden;
  position: fixed;
  top: 5%;
  right: 5%;
  bottom: 5%;
  left: 5%;
  z-index: 75;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-popup div:before {
  content: '';
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 74;
  background-color: rgba(0, 0, 0, 0);
}

.image-popup div img {
  position: relative;
  z-index: 77;
  max-width: 100%;
  max-height: 100%;
  margin-left: -9999px;
  opacity: 0;
}

.image-popup div:target { visibility: visible; }

.image-popup div:target:before { background-color: rgba(0, 0, 0, 0.7); }

.image-popup div:target img {
  margin-left: 0px;
  opacity: 1;
}
