@font-face {
    font-family: Orbitron;
    src: url(fonts/Orbitron\ Light.ttf);
    font-weight: normal;
}
@font-face {
    font-family: Orbitron;
    src: url(fonts/Orbitron\ Bold.ttf);
    font-weight: bold;
}
@font-face {
    font-family: Ubuntu;
    src: url(fonts/UbuntuMono-R.ttf);
    font-weight: normal;
}
@font-face {
    font-family: Ubuntu;
    src: url(fonts/UbuntuMono-B.ttf);
    font-weight: bold;
}
@font-face {
    font-family: Ubuntu;
    src: url(fonts/UbuntuMono-RI.ttf);
    font-style: italic;
}
@font-face {
    font-family: Ubuntu;
    src: url(fonts/UbuntuMono-BI.ttf);
    font-weight: bold;
    font-style: italic;
}

body {
    background-image: url("imgs/stars.jpg");
    background-repeat: repeat;
}

/* Default formatting */
::-moz-selection,
::selection {
    color: white;
    background: rgba(255,255,0,0.6);
}

a {
    text-decoration-line: underline;
}

a:visited,
a:link {
    color: white;
  }
a:hover,
a:active {
    color: rgba(255,255,0,1);
}

.hasBackground {
    color: white;
    background-color: rgba(129, 12, 129, 0.5);
    border: 1px solid magenta;
    font-size: 1.25em;
    line-height: 1.5em;
    font-family: Ubuntu;
}

table, tr, th{
    border: 1px solid magenta
}

.no-default-display {
  background-color: transparent;
  border: none;
}

/* Individual elements */
.mainHeader {
    color:white;
    font-size: 3.5rem;
    margin-top: 20vh;
    text-align: center;
    font-family: Orbitron;
    width: 80vw;
    left: 10vw;
    position: relative;
    overflow-wrap: anywhere;
}

.page {
    margin-left: auto;
    margin-right: auto;
    max-width: 55rem;
    min-height: 70vh;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-wrap: anywhere;
}

.section {
    padding: 1rem;
    border: 1px solid magenta;
}

.navbar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.navbar .left {
    min-height: 4.3rem;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 1rem;
    flex-grow: 2;
    padding: 0.2rem;
}

.enabled {
	-webkit-filter: drop-shadow(0px 0px 8px rgba(255,255,0,1));
}

.navbar .right {
    min-height: 4.3rem;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 1rem;
    flex-grow: 1;
    padding: 0.2rem;
}

.navbar .item {
    font-size: 0.9em;
    text-align: center;
}

.footspace {
    height: 30vh;
}

.list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.selectors {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.selectorColumn {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

select {
    height: 2em;
}

#load-cover {
  width: 100vw;
  height: 100vh;
}

.infobox {
  width: 20rem;
  text-align: center;
  float: left;
  margin: 1rem;
}

.infobox img {
  width: 20rem;
}

.infobox h2 {
  margin: 1rem;
  font-size: 2rem;
}
.infobox h3 {
  margin: 1rem;
  font-size: 1.5rem;
}

.personal-bar {
    display: inline-flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 0rem;
}

.personal-bar a {
    border: 1px solid magenta;
    width: 100%;
    text-align: center;
}

td {
    border: 1px solid rgba(255,0,255,0.5);
}

.carousel {
    display: inline-flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 0rem;
    text-align: center;
    width: 100%;
}

.an-wrapper {
    display: inline;
    width: 100%;
}

.active-an-root {
    background-color: rgba(100, 100, 180, 0.5);
    border-bottom: 1px dotted white;
}

.active-an-root:hover {
    background-color: rgba(20, 30, 140,0.8);
}

.an-root an {
    visibility: hidden;
    text-align: center;
    border-radius: 6px;

    position: absolute;
    left: 50%;
    z-index: 1;
    transform:translateX(-50%) translateY(-100%);
    max-height: 40vh;
    overflow: auto;

    background-color: rgba(40, 50, 160, 0.9);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border: 2px solid black;
}

.stories {
    margin: 0.5rem;
}

.story-link-block {
    width: 10rem;
    text-align: center;
}

.story-link-block img {
    width: 100%;
}

.story-title {
    width: 100%;
    font-weight: bold;
}

hr {
    border-color: magenta;
}

.invisible {
  display: none;
}
