/* Layout */
body.hasky {
    display: flex;
    flex-direction: column;
    background: black;
    color: white;
    font-family: DejaVuSans;
    margin: 0px;
    min-height: 100vh;
}

.hasky header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hasky main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: middle;
    margin-bottom: auto;
}

.hasky footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid #666;
    margin-top: 1em;
    padding-top: 1em;
}

/* Default Elements */
.hasky h1 *,
.hasky h1 a:visited {
    font-family: BubblegumSans;
    color: #fff;
    text-decoration: none;
}

.hasky a {
    color: #487DC8;
}

.hasky a:hover {
    color: #87ABE1;
}

.hasky a:visited {
    color: #AD99A7;
}

.hasky a:visited:hover {
    color: #87ABE1;
}

.hasky ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1em 1em;
    width: 75%;
}

.hasky ul li a,
.hasky ul li a:visited {
    display: block;
    padding: 0.25em 1em;
    color: #fff;
    background: #487DC8;
    border: 2px solid #fff;
    border-radius: 0.5em;
    font-family: BubblegumSans;
    font-size: 2em;
    text-decoration: none;
}

.hasky ul li a:hover,
.hasky ul li a:hover:visited {
    background: #000;
    color: #87ABE1;
}

.hasky sub {
    color: #999;
}

.hasky main {
    height: 100%;
}

.hasky form {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.hasky form input {
    width: 80%;
    height: 10vh;
    font-size: 2em !important;
    padding: 0em 2em;
}

/* Special Elements */
.hasky .dialogue {
    display: inline-flex;
    border: 1px solid #fff;
    max-width: 900px;
    flex-basis: max-content;
}

.hasky .dialogue .message {
    padding: 0em 0em;
}

.hasky .dialogue .speaker {
    display: block;
    font-family: BubblegumSans;
    font-weight: bold;
    font-size: 1.25em;
    padding: 0.25em 0.55em;
    border-bottom: 1px solid #999;
    text-decoration: none;
}

.hasky .dialogue .speech {
    padding: 0.25em 0.75em;
}

.hasky .dialogue .speech>div {
    padding-bottom: 0.5em;
}

.hasky .slideshow {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-direction: column;
    min-height: 100vh;
}

.hasky .slideshow #img_slide {
    margin: auto;
    display: block;
    max-width: 100%;
}

.hasky .slideshow .slide-actions {
    background: #000;
    display: flex;
    justify-content: space-evenly;
}

.hasky .slideshow .side-button {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1em;
    padding: 1em;
    background: #fff2;
    color: white;
    text-decoration: none;
    font-weight: bolder;
    cursor: pointer;
}

.hasky .slideshow .side-button:hover {
    background: #fff4;
}

.hasky .slideshow .side-button.disabled {
    cursor: not-allowed;
    opacity: 25%;
    background: #fff2;
}

.hasky .slideshow .page-number {
    text-align: center;
    padding: 0.5em;
    font-weight: bold;
}

.hasky .PagesPage {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hasky .PagesPage .pageSections {
    max-width: 54em;
    width: 100%;
}

.hasky .PagesPage .pageSections .pageSectionFile {
    background: #fff1;
    padding: 0.1em 2em 2em 2em;
    margin: 1em 0em;
}

.hasky .PagesPage .pageSections .pageSectionFile .pageSectionHeader {
    border-bottom-style: dotted;
    border-bottom-width: 1px;
    border-bottom-color: #fff7;
}

.hasky .PagesPage .pageSections .pageSectionFile .pageSectionContents {
    white-space: pre-line;
}

.hasky .PagesPage .imageGallery {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.hasky .PagesPage .imageGallery .galleryImage {
    max-width: 250px;
    max-height: 250px;
}

.hasky .PagesPage .folderNavigation .folderListItem .folderLink {
    display: table;
    width: 6em;
    height: 6em;
    overflow: clip;
    text-align: center;
}

.hasky .PagesPage .folderNavigation .folderListItem .folderLink * {
    /*background: red; todo*/
}

.hasky .PagesPage .folderNavigation .folderListItem .folderLink .folderPageIcon {
    vertical-align: middle;
    height: inherit;
}

.hasky .PagesPage .folderNavigation .folderListItem.no-icon .folderLink {
    height: fit-content;
    width: fit-content;
}

.hasky .PagesPage .breadcrumbs .breadcrumb * {
  background-color: #fff0;
  border: none;
  border-right: 1px solid #ffff;
  color: #87ABE1;
  font-size: 1.5em;
}

.hasky .PagesPage .breadcrumbs .breadcrumb a:hover {
  color: #ffff;
  background-color: #fff2;
}

/* Landing Page */
.hasky main > div.changelog {
    max-width: 640px;
}.hasky main>div.changelog h2 {
    text-align: center;
}

/* Fonts */
@font-face {
    font-family: BubblegumSans;
    src: url("/static/fonts/BubblegumSans-Regular.otf");
}

@font-face {
    font-family: DejaVuSans;
    src: url("/static/fonts/DejaVuSans.ttf");
}

/* Color */
/*
Main #fff
MainHighlight #ddd
Primary Blue #487DC8
PrimaryLighter Blue #87ABE1
Secondary Pink #DD39AC
SecondaryLighter Pink #AD99A7
Background Black #000
*/