@import "fontawesome-all.min.css";
@import url("https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&family=Aboreto&family=Prata&display=fallback");
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

body {
  -webkit-text-size-adjust: none;
}

mark {
  background-color: transparent;
  color: inherit;
}

input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input,
select,
textarea {
  -moz-appearance: none;
  -webkit-appearance: none;
  -ms-appearance: none;
  appearance: none;
}

/* Basic */
@media screen and (max-width: 480px) {
  html,
  body {
    min-width: 320px;
  }
}
html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  background: #ffffff;
}
body.is-preload *,
body.is-preload *:before,
body.is-preload *:after, body.is-resizing *,
body.is-resizing *:before,
body.is-resizing *:after {
  -moz-animation: none !important;
  -webkit-animation: none !important;
  -ms-animation: none !important;
  animation: none !important;
  -moz-transition: none !important;
  -webkit-transition: none !important;
  -ms-transition: none !important;
  transition: none !important;
}

/* Type */
body,
input,
select,
textarea {
  color: hsl(206deg, 7%, 33%);
  font-family: "Atkinson Hyperlegible", "Open Sans", sans-serif;
  font-size: 13pt;
  font-weight: 400;
  line-height: 1.65;
}
@media screen and (max-width: 1280px) {
  body,
  input,
  select,
  textarea {
    font-size: 10pt;
  }
}
@media screen and (max-width: 360px) {
  body,
  input,
  select,
  textarea {
    font-size: 9pt;
  }
}

a {
  -moz-transition: color 0.1s ease-in-out, border-bottom-color 0.2s ease-in-out;
  -webkit-transition: color 0.1s ease-in-out, border-bottom-color 0.2s ease-in-out;
  -ms-transition: color 0.1s ease-in-out, border-bottom-color 0.2s ease-in-out;
  transition: color 0.1s ease-in-out, border-bottom-color 0.2s ease-in-out;
  color: #0088d4;
  text-decoration: none;
}
a:hover {
  border-bottom-color: #0088d4;
  color: #0088d4 !important;
}
a:hover strong {
  color: inherit;
}

strong,
b {
  color: #25292c;
  font-weight: 600;
}

em,
i {
  font-style: italic;
}

p {
  margin: 0 0 2em 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #25292c;
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 1em 0;
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
  text-decoration: none;
  border-bottom: 0;
}

h1 {
  font-size: 4em;
  margin: 0 0 0.5em 0;
  line-height: 1.3;
}

h2 {
  font-size: 1.75em;
}

h3 {
  font-size: 1.25em;
}

h4 {
  font-size: 1.1em;
}

h5 {
  font-size: 0.9em;
}

h6 {
  font-size: 0.7em;
}

@media screen and (max-width: 1680px) {
  h1 {
    font-size: 3.5em;
  }
}
@media screen and (max-width: 980px) {
  h1 {
    font-size: 3.25em;
  }
}
@media screen and (max-width: 736px) {
  h1 {
    font-size: 2em;
    line-height: 1.4;
  }
  h2 {
    font-size: 1.5em;
  }
}
sub {
  font-size: 0.8em;
  position: relative;
  top: 0.5em;
}

sup {
  font-size: 0.8em;
  position: relative;
  top: -0.5em;
}

blockquote {
  border-left: solid 3px rgba(210, 215, 217, 0.75);
  font-style: italic;
  margin: 0 0 2em 0;
  padding: 0.5em 0 0.5em 2em;
}

code {
  background: rgba(230, 235, 237, 0.25);
  border-radius: 0.375em;
  border: solid 1px rgba(210, 215, 217, 0.75);
  font-family: "Courier New", monospace;
  font-size: 0.9em;
  margin: 0 0.25em;
  padding: 0.25em 0.65em;
}

pre {
  -webkit-overflow-scrolling: touch;
  font-family: "Courier New", monospace;
  font-size: 0.9em;
  margin: 0 0 2em 0;
}
pre code {
  display: block;
  line-height: 1.75;
  padding: 1em 1.5em;
  overflow-x: auto;
}

hr {
  border: 0;
  border-bottom: solid 1px rgba(210, 215, 217, 0.75);
  margin: 2em 0;
}
hr.major {
  margin: 3em 0;
}

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

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

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

/* Wrapper */
#wrapper {
  display: flex;
  flex-direction: row-reverse;
  min-height: 100vh;
}

/* Main */
#main {
  -moz-flex-grow: 1;
  -webkit-flex-grow: 1;
  -ms-flex-grow: 1;
  flex-grow: 1;
  -moz-flex-shrink: 1;
  -webkit-flex-shrink: 1;
  -ms-flex-shrink: 1;
  flex-shrink: 1;
  width: 100%;
}
#main > .inner {
  padding: 0 6em 0.1em 6em;
  margin: 0 auto;
  max-width: 110em;
}
#main > .inner > section {
  padding: 6em 0 4em 0;
  border-top: solid 2px rgba(210, 215, 217, 0.75);
}
#main > .inner > section:first-of-type {
  border-top: 0 !important;
}
@media screen and (max-width: 1280px) {
  #main > .inner {
    padding: 0 4em 0.1em 4em;
  }
  #main > .inner > section {
    padding: 4em 0 2em 0;
  }
}
@media screen and (max-width: 736px) {
  #main > .inner {
    padding: 0 2em 0.1em 2em;
  }
  #main > .inner > section {
    padding: 3em 0 1em 0;
  }
}

/* Sidebar */
#search form {
  text-decoration: none;
  position: relative;
}
#search form:before {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  text-transform: none !important;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
#search form:before {
  -moz-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  -ms-transform: scaleX(-1);
  transform: scaleX(-1);
  color: hsl(206deg, 7%, 33%);
  content: "\f002";
  cursor: default;
  display: block;
  font-size: 1.5em;
  height: 2em;
  line-height: 2em;
  opacity: 0.325;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 2em;
}
#search form input[type=text] {
  padding-right: 2.75em;
}

#sidebar {
  -moz-flex-grow: 0;
  -webkit-flex-grow: 0;
  -ms-flex-grow: 0;
  flex-grow: 0;
  -moz-flex-shrink: 0;
  -webkit-flex-shrink: 0;
  -ms-flex-shrink: 0;
  flex-shrink: 0;
  -moz-transition: margin-left 0.5s ease, box-shadow 0.5s ease;
  -webkit-transition: margin-left 0.5s ease, box-shadow 0.5s ease;
  -ms-transition: margin-left 0.5s ease, box-shadow 0.5s ease;
  transition: margin-left 0.5s ease, box-shadow 0.5s ease;
  font-size: 0.9em;
  position: relative;
  width: 26em;
  grid-area: sidebar;
}
#sidebar .menu-item {
  padding: 5px;
}
#sidebar .menu-item a {
  text-decoration: none;
  color: black;
}
#sidebar .menu-item:hover {
  background-color: #0088d4;
}
#sidebar .menu-item:hover a {
  color: white !important;
}
#sidebar .menu-selected {
  background-color: #0088d4;
}
#sidebar .menu-selected a {
  color: white !important;
  cursor: default;
}
#sidebar h2 {
  font-size: 1.3888888889em;
}
#sidebar > .inner {
  padding: 2.2222222222em 2.2222222222em 2.4444444444em 2.2222222222em;
  -moz-transition: margin-left 0.5s ease, box-shadow 0.5s ease;
  -webkit-transition: margin-left 0.5s ease, box-shadow 0.5s ease;
  -ms-transition: margin-left 0.5s ease, box-shadow 0.5s ease;
  transition: margin-left 0.5s ease, box-shadow 0.5s ease;
  background-color: #f5f6f7;
  position: relative;
  width: 26em;
  height: 100vh;
}
#sidebar > .inner > * {
  border-bottom: solid 2px rgba(210, 215, 217, 0.75);
  margin: 0 0 3.5em 0;
  padding: 0 0 3.5em 0;
}
#sidebar > .inner > * > :last-child {
  margin-bottom: 0;
}
#sidebar > .inner > *:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
#sidebar > .inner > .alt {
  background-color: #eff1f2;
  border-bottom: 0;
  margin: -2.2222222222em 0 4.4444444444em -2.2222222222em;
  padding: 2.2222222222em;
  width: calc(100% + 4.4444444444em);
}
#sidebar .toggle {
  text-decoration: none;
  -moz-transition: left 0.5s ease;
  -webkit-transition: left 0.5s ease;
  -ms-transition: left 0.5s ease;
  transition: left 0.5s ease;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  border: 0;
  display: block;
  height: 7.5em;
  left: 26em;
  line-height: 7.5em;
  outline: 0;
  overflow: hidden;
  position: absolute;
  text-align: center;
  text-indent: -15em;
  white-space: nowrap;
  top: 0;
  width: 6em;
  z-index: 10000;
}
#sidebar .toggle:before {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  text-transform: none !important;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
#sidebar .toggle:before {
  content: "\f0c9";
  color: #ffffff;
  font-size: 2rem;
  height: inherit;
  left: 0;
  line-height: inherit;
  position: absolute;
  text-indent: 0;
  top: 0;
  width: inherit;
}
@media screen and (min-width: 737px) {
  #sidebar .toggle:before {
    text-shadow: 1px 1px 10px black;
  }
}
#sidebar.inactive {
  margin-left: -26em;
}
@media screen and (max-width: 1280px) {
  #sidebar {
    box-shadow: 0 0 5em 0 rgba(0, 0, 0, 0.175);
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    z-index: 10000;
  }
  #sidebar.inactive {
    box-shadow: none;
  }
  #sidebar > .inner {
    -webkit-overflow-scrolling: touch;
    height: 100%;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    top: 0;
  }
  #sidebar > .inner:after {
    content: "";
    display: block;
    height: 4em;
    width: 100%;
  }
  #sidebar .toggle {
    text-indent: 6em;
    width: 6em;
  }
  #sidebar .toggle:before {
    font-size: 1.5rem;
    margin-left: -0.4375em;
  }
  body.is-preload #sidebar {
    display: none;
  }
}
@media screen and (max-width: 736px) {
  #sidebar .toggle {
    text-indent: 7.25em;
    width: 7.25em;
  }
  #sidebar .toggle:before {
    color: hsl(206deg, 7%, 33%);
    margin-left: -0.0625em;
    margin-top: -0.6em;
    font-size: 1.1rem;
    z-index: 1;
  }
  #sidebar .toggle:after {
    background: rgba(168, 174, 179, 0.75);
    border-radius: 0.375em;
    content: "";
    height: 3.5em;
    left: 1em;
    position: absolute;
    top: 1em;
    width: 5em;
  }
}

/* Header */
#header {
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: column;
  border-bottom: solid 5px #0088d4;
  padding: 6em 0 1em 0;
  margin-bottom: 1em;
  position: relative;
}
#header > * {
  -moz-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  margin-bottom: 0;
}
#header .logo {
  border-bottom: 0;
  color: inherit;
  font-family: "Roboto Slab", serif;
  font-size: 1.125em;
}
#header .icons {
  text-align: right;
}
@media screen and (max-width: 1680px) {
  #header {
    padding-top: 5em;
  }
}
@media screen and (max-width: 736px) {
  #header {
    padding-top: 6.5em;
  }
  #header .logo {
    font-size: 1.25em;
    margin: 0;
  }
  #header .icons {
    height: 5em;
    line-height: 5em;
    position: absolute;
    right: -0.5em;
    top: 0;
  }
}

:root {
  --ButtonBlue: #0088d4;
  --ButtonWhite: #ffffff;
  --ButtonDisabled: #9fa3a6;
}

body {
  height: 100%;
  position: relative;
}
body:before {
  content: " ";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  background-image: url("../assets/marble.jpg");
}

.center-content {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

h1 {
  font-family: "Aboreto", cursive;
  margin-bottom: 0;
}

h2 {
  font-family: "Prata", serif;
  margin-top: 0;
}

h2.cinzel {
  font-family: "Aboreto", cursive;
}

#wrapper {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template: "sidebar space-left col-left header col-right space-right" auto "sidebar space-left col-left content col-right space-right" 1fr "sidebar space-left col-left footer col-right space-right" auto/auto 1fr auto auto auto 1fr;
}
@media screen and (min-width: 737px) {
  #wrapper #space-left {
    grid-area: space-left;
    background-image: linear-gradient(to right, #00187b, 40%, rgba(255, 255, 255, 0));
    min-width: 3em;
  }
  #wrapper #space-right {
    grid-area: space-right;
    background-image: linear-gradient(to left, #00187b, 40%, rgba(255, 255, 255, 0));
    min-width: 3em;
  }
}

#header {
  grid-area: header;
}

#content {
  grid-area: content;
}
@media screen and (min-width: 981px) {
  #content {
    margin-left: auto;
    margin-right: auto;
    max-width: 50em;
  }
}
@media screen and (max-width: 980px) {
  #content {
    margin-left: 2em;
    margin-right: 2em;
  }
}

#footer {
  grid-area: footer;
  margin-bottom: 50px;
}

.col-group {
  display: flex;
  flex-direction: column;
  margin: 25px;
  min-width: 10em;
}
.col-group .top {
  background-image: url(../assets/col2_top.png);
  background-repeat: no-repeat;
  background-size: 10em;
  height: 10em;
}
.col-group .mid {
  background-image: url(../assets/col2_mid.png);
  background-repeat: repeat-y;
  background-size: 10em;
  flex-grow: 1;
}
.col-group .bot {
  background-image: url(../assets/col2_bot.png);
  background-repeat: no-repeat;
  background-size: 10em;
  height: 10em;
}
.col-group#col-left {
  grid-area: col-left;
}
.col-group#col-right {
  grid-area: col-right;
}
@media screen and (max-width: 736px) {
  .col-group {
    /* Remove columns */
    display: none;
  }
}

.puzzle-group {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: space-between;
  justify-content: space-evenly;
  row-gap: 10px;
  padding: 20px;
}

.puzzle-item {
  display: table;
  width: 150px;
  height: 200px;
  border: 2px solid black;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  border-radius: 5px;
  padding: 10px;
  margin: 2px;
}
.puzzle-item:hover {
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.puzzle-icon img {
  /* width: 100%; */
  /* height: 40px; */
  display: table-row;
  width: 100%;
  border-bottom: 2px solid black;
  /* height: 100px; */
  /* display: table-header-group; */
  /* height:0; */
}

.puzzle-title {
  text-transform: uppercase;
  font-size: large;
}

.puzzle-status {
  accent-color: #0088d4;
  display: flex;
  justify-content: center; /* align horizontal */
  align-items: center; /* align vertical */
  -ms-transform: scale(2); /* IE */
  -moz-transform: scale(2); /* FF */
  -webkit-transform: scale(2); /* Safari and Chrome */
  -o-transform: scale(2); /* Opera */
  transform: scale(2);
  padding: 10px;
}
.puzzle-status input {
  appearance: auto;
}

.btn {
  background-color: var(--ButtonWhite);
  color: var(--ButtonBlue);
  border: 2px solid var(--ButtonBlue);
  border-radius: 5px;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  margin-left: 10px;
  margin-right: 10px;
}
.btn :hover :not(.btn-disabled) {
  filter: brightness(120%);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--ButtonBlue);
  color: var(--ButtonWhite);
}

.btn-disabled {
  border-color: var(--ButtonDisabled);
  background-color: var(--ButtonWhite);
  color: var(--ButtonDisabled);
}

.btn-group {
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}