@import url("https://fonts.googleapis.com/css?family=Press+Start+2P");
*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  image-rendering: crisp-edges;
}

.inverted {
filter: invert(100%);
}

html {
  font-size: 10px;
  height: 100%;

}
@media (min-width: 450px) {
  html {
    font-size: 13px;
  }
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    body {
   display: flex;
   flex-direction: column;
  }

}
body {
  font-family: "Press Start 2P";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  line-height: 1.7;
  height: 100%;
}
#preloader {
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color:#000; /* change if the mask should have another color then white */
    z-index:9999; /* makes sure it stays on top */
}
#loadstatus {
    color: #fff;
    padding: 10px;
}

h1, h2, h3, p.lead {
  color: #004264;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 1.6em;
}

h2 {
  font-size: 1.4em;
}

p {
  max-width: 54ch;
}
p + p {
  margin-top: 1em;
}
p.lead {
  font-size: 1.2em;
}
p.black {
  max-width: 54ch;
  color: #000;
}

a {
  text-decoration: none;
  color: #004264;
  cursor: default;
}

.button {
  background-color: #dbdbdb;
  -webkit-box-shadow: inset -2px -2px rgba(18, 18, 18, 0.25), inset 2px 2px rgba(255, 255, 255, 0.25);
          box-shadow: inset -2px -2px rgba(18, 18, 18, 0.25), inset 2px 2px rgba(255, 255, 255, 0.25);
  display: inline-block;
  text-decoration: none;
  color: #121212;
  padding: 0.5rem 1rem;
}
.button:hover {
  -webkit-box-shadow: inset -2px -2px rgba(18, 18, 18, 0.4), inset 2px 2px rgba(255, 255, 255, 0.4);
          box-shadow: inset -2px -2px rgba(18, 18, 18, 0.4), inset 2px 2px rgba(255, 255, 255, 0.4);
}
.button:active {
  -webkit-box-shadow: inset 2px 2px rgba(18, 18, 18, 0.4), inset -2px -2px rgba(255, 255, 255, 0.4);
          box-shadow: inset 2px 2px rgba(18, 18, 18, 0.4), inset -2px -2px rgba(255, 255, 255, 0.4);
}

.desktop-wrapper {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  min-height: 100%; /* was vh */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background-color: #004264;
}

.desktop {
  position: relative;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  background-image: url(https://damian.me/img/logo9.png);
  background-repeat: no-repeat;
  background-position: center;
  padding: 1rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  min-height: 100%; /* was calc(100vh - 50px); */
}
@media screen and (min-width: 309px) {
  .desktop {
    background-size: auto;
  }
}

.bottom-bar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  background-color: #dbdbdb;
  padding: 0.5rem;
}
.bottom-bar label > img {
  margin-left: -0.33ch;
  margin-right: 0.5ch;
}
.bottom-bar .status {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.bottom-bar .status .sound {
  cursor: pointer;
}
.bottom-bar .status #time {
  padding: 0.5rem;
}

.start-menu {
  position: absolute;
  bottom: 0;
  left: 0;
  list-style: none;
  background-color: #dbdbdb;
  margin: 0;
  padding: 0;
  z-index: 800;
  -webkit-box-shadow: inset -2px 0 rgba(18, 18, 18, 0.25), inset 2px 0 rgba(255, 255, 255, 0.5);
          box-shadow: inset -2px 0 rgba(18, 18, 18, 0.25), inset 2px 0 rgba(255, 255, 255, 0.5);
  display: none;
}
.start-menu > a {
  color: #121212;
  display: block;
  padding: 1rem;
  margin: 0 2px;
  border-bottom: 2px solid rgba(18, 18, 18, 0.15);
}
.start-menu > a:first-child {
  margin-top: 2px;
}
.start-menu > a:hover {
  background-color: #004264;
  color: #fff;
}
.start-menu > a:active {
  outline: 1px dotted #121212;
}

input#start-menu {
  display: none;
}
input#start-menu:checked + .start-menu {
  display: block;
}

#time {
  margin-right: 0.5rem;
}

.icon-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: white;
  font-size: 0.8em;
  width: 10em;
  height: 10em;
}

.icon-wrapper-window {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  float: left;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: white;
  font-size: 0.8em;
  width: 15em;
  height: 10em;
}

.window {
  display: none;
  position: absolute;
  top: 5vh;
  left: 5vh;
  width: calc(100% - 5vh*2); 
  height: calc(100% - 5vh*2 - 25px);
  max-height: calc(100% - 5vh*2 - 25px);
  background: #fff;
  padding: 4px;
  background: #dbdbdb;
  -webkit-box-shadow: inset -2px -2px rgba(18, 18, 18, 0.25), inset 2px 2px rgba(255, 255, 255, 0.5);
          box-shadow: inset -2px -2px rgba(18, 18, 18, 0.25), inset 2px 2px rgba(255, 255, 255, 0.5);
  overflow: hidden;
}
@media (min-width: 1300px) {
  .window {
    width: 50vw;
  }
}
.window .window-bar {
  background: #004264;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0.5ch;
  cursor: -webkit-grab;
  cursor: grab;
}
.window .window-bar .window-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.window .window-bar .window-title > img {
  margin-right: 0.5ch;
}
.window .window-bar:active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}
.window .window-bar .close-button {
  cursor: default;
  padding: 0.5em;
  margin: -.25ch;
}
.window .window-inner {
  position: absolute;
  height: calc(100% - 3em - 4px*2);
  width: calc(100% - 4px*2);
  background: #fff;
  padding: 1.75rem;
  -webkit-user-select: text;
     -moz-user-select: text;
      -ms-user-select: text;
          user-select: text;
  overflow-y: scroll;
  overflow-x: hidden;
}
.window .window-innerdos {
  position: absolute;
  height: calc(100% - 3em - 4px*2);
  width: calc(100% - 4px*2);
  background: #fff;
  padding: 0rem;
  -webkit-user-select: text;
     -moz-user-select: text;
      -ms-user-select: text;
          user-select: text;
  overflow-y: hidden;
  overflow-x: hidden;
}
.window .window-innersystem {
  position: absolute;
  height: calc(100% - 3em - 4px*2);
  width: calc(100% - 4px*2);
  background: #ccc;
  padding: 1.75rem;
  -webkit-user-select: text;
     -moz-user-select: text;
      -ms-user-select: text;
          user-select: text;
  overflow-y: hidden;
  overflow-x: hidden;
}

.content-title {
  margin-bottom: 1rem;
}

.service-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin: 0 -1rem;
}
.service-wrapper .service {
  padding: 1rem;
  min-width: 310px;
  width: 50%;
}
.service-wrapper .service .service-image {
  margin-bottom: 1rem;
}
.service-wrapper .service .service-copy ul {
  list-style: url(http://damian.me/img/checkmark.png) outside;
  padding-left: 1.25rem;
}
.service-wrapper .service .service-copy ul li {
  margin: 0.5em 0;
}

.overlay {
  position: fixed;
  top: -100vh;
  left: 0;
  background: repeating-linear-gradient(rgba(255, 255, 255, 0.25) 0, transparent 1px, transparent 3px, rgba(18, 18, 18, 0.25) 4px);
  width: 100vw;
  height: 200vh;
  pointer-events: none;
  z-index: 999;
  -webkit-animation: buzz 1000ms linear infinite;
          animation: buzz 1000ms linear infinite;
  mix-blend-mode: hard-light;
}

@-webkit-keyframes buzz {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(100vh);
            transform: translateY(100vh);
  }
}

@keyframes buzz {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(100vh);
            transform: translateY(100vh);
  }
}

    #preloader {
  height: 100%;
  width: 100%;
  background-color: #ccc;
  position: fixed;
  z-index: 100;
  overflow: hidden;
  color: #ccc;
}

#load {
	background-color: #ccc;
	height: 100px;
	width: 100px;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;

  color: #000;
}

.loader {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 100px;
  height: 100px;
  animation: spin 1s linear infinite;
  animation-timing-function: steps(12, end);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
