/* Main elements */

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

html {
  box-sizing: border-box;
  overflow-x: hidden;
}

body {
  background-color: #220000;
  font-family: Verdana, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  margin: auto;
  max-width: 1500px;
}

a {
  color: #aa0000;
  text-decoration: none;
}

a:link, a:visited {
  color: #aa0000;
  outline-width: 0px;
}

a:hover, a:active {
  color: #ff0000;
  outline-width: 0px;
}

footer {
  margin-top: -32px;
}

header {
  position: fixed;
  max-width: 1500px;
  width: 100%;
  z-index: 1;
}

h1 {
  font-family: "Cinzel", "Noto Sans", sans-serif;
  font-size: 36px;
  margin: 0px 0px 16px 0px;
}

h2 {
  font-family: "Dancing Script", "Noto Serif", serif;
  font-size: 36px;
  font-weight: normal;
  margin: 0px;
}

h3 {
  font-family: "Cinzel", "Noto Sans", sans-serif;
  font-size: 30px;
  margin: 0px 0px 8px 0px;
}

h4 {
  font-size: 20px;
  font-weight: normal;
  margin: 0px;
}

ol {
  list-style-type: upper-roman;
}

p {
  margin: 0px;
}

ul {
  margin: 8px 0px;
}


/* Buttons */

.btn-header, .btn-footer, .btn-logo {
  color: #ffffff!important;
  display: inline-block;
  text-align: center;
  transition: 0.5s ease;
  vertical-align: middle;
}

.btn-header:hover, .btn-footer:hover {
  background-color: #999999!important;
}

.btn-next, .btn-prev {
  background-color: #550000;
  cursor: pointer;
  position: absolute;
  transition: 0.5s ease;
  top: 50%;
}

.btn-next:hover, .btn-prev:hover {
  background-color: #990000;
}

.btn-next {
  right: 0;
  padding: 8px 4px 4px 8px;
}

.btn-prev {
  left: 0;
  padding: 8px 8px 4px 4px;
}

.btn-top {
  background-color: #999999;
  border: none;
  border-radius: 12px;
  bottom: 16px;
  cursor: pointer;
  display: none;
  padding: 12px;
  position: fixed;
  right: 16px;
}

.btn-top:hover {
  background-color: #666666;
}


/* Containers and bars */

.bar-item {
  align-items: center;
  display: flex;
  float: left;
  height: 64px;
  padding: 4px 8px;
  vertical-align: middle;
  width: auto;
}

.bar-item-small {
  height: 48px!important;
}

.bar-side {
  background-color: #ffffff;
  display: flex;
  height: 100%;
  overflow: auto;
  position: fixed!important;
  right: 0;
  z-index: 1;
}

.bar-side .bar-item {
  float: none;
  justify-content: flex-end;
}

.bar-top {
  height: 64px;
  overflow: hidden;
}

.bar-bottom {
  height: 48px;
  overflow: hidden;
}

.cont-main {
  background-color: #cacaca;
  margin: 0px 0px 32px 0px;
  padding: 32px 0px;
}

.cont-main:after, .cont-main:before, .cont-row:after, .cont-row:before, .bar-top:before, .bar-top:after {
  clear: both;
  content: "";
  display: table;
}

.cont-half, .cont-third, .cont-twothird, .cont-threequarter, .cont-quarter {
  float: left;
  width: 100%;
}

.cont-row {
  margin-top: 16px;
  padding: 0px 8px;
}

.cont-row>.cont-half, .cont-row>.cont-third, .cont-row>.cont-twothird, .cont-row>.cont-threequarter, .cont-row>.cont-quarter {
  padding: 0px 8px;
}

.cont-slide {
  max-width: 99%;
  position: relative;
  margin: auto;
}

.slide {
  display: none;
}


/* Fonts */

@font-face {
  font-family: Cinzel;
  src: url('../fonts/Cinzel-SemiBold.ttf');
}

@font-face {
  font-family: Dancing Script;
  src: url('../fonts/Dancing-Script.otf');
}

.font-caption {
  font-weight: bold;
  padding-bottom: 8px;
}

.font-center {
  text-align: center!important;
}

.font-large {
  font-size: 16px!important;
}


/* Images */

.img-app {
  margin-bottom: 8px;
}

.img-contact {
  margin: 12px 0px 0px 16px;
  width: 200px;
}

.img-home {
  display: block;
  filter: grayscale(50%);
  margin-bottom: 16px;
  margin-left: auto;
  margin-right: auto;
  max-height: 256px;
  max-width: 100%;
}

.img-icon {
  margin: 4px;
}

.img-screenshot {
  height: auto;
  width: 100%;
}


/* Positions */

.margin-bottom {
  margin-bottom: 8px!important;
}

.pos-left {
  float: left!important;
}

.pos-right {
  float: right!important;
}


/* Animations */

@keyframes sidebar {
  from {right: -500px; opacity: 0} to {right: 0; opacity: 1}
}

@keyframes slide {
  from {opacity: .4}
  to {opacity: 1}
}

.animate-sidebar {
  animation: sidebar 0.5s;
  position: relative;
}

.animate-slide {
  animation-name: slide;
  animation-duration: 1.5s;
}


/* Colors */

.col-black {
  background-color: #000000!important;
}

.col-red {
  background-color: #550000!important;
}

.col-white {
  color: #ffffff!important;
}


/* Display settings */

@media (min-width: 601px) {
  .cont-quarter {width: 100%}
}

@media (min-width: 601px) and (max-width: 768px) {
  .cont-quarter {width: 50%}
}

@media (max-width: 768px) {
  .cont-quarter, .cont-third, .cont-half, .cont-twothird, .cont-threequarter {margin-bottom: 16px}
  .cont-third:last-child, .cont-half:last-child, .cont-twothird:last-child {margin-bottom: 0px}  
  .hide-small {display: none!important}
  .next {padding: 4px 0px 0px 4px}
  .prev {padding: 4px 4px 0px 0px}
}

@media (min-width: 769px) {
  .cont-quarter {width: 25%}
  .cont-third {width: 33.3%}
  .cont-half {width: 50%}
  .cont-twothird {width: 66.7%}
  .cont-threequarter {width: 75%}
}

@media (min-width: 769px) and (max-width: 992px) {
  .hide-medium {display: none!important}
}

@media (max-width: 992px) {
  h1 {font-size: 29px}
  h3 {font-size: 24px}
  h4 {font-size: 16px}
  .bar-side {display: none}
  .btn-top {border-radius: 8px; bottom: 8px; padding: 8px}
  .font-large {font-size: 14px}  
  .img-app {height: 96px}
  .img-icon {height: 48px}
}

@media (min-width: 993px) {
  .hide-large {display: none!important}
}

@media (prefers-color-scheme: dark) {
  body {background-color: #221111}
  a {color: #ffcc00}
  a:link, a:visited {color: #ffcc00}
  a:hover, a:active {color: #ffff00}
  .cont-main {background-color: #1a0000}
  .img-contact, .img-icon {filter: invert(100%)}
}
