@font-face {
  font-family: 'JosefinSans';
  weight: 100;
  src: url('./JosefinSans-ExtraLight.ttf');
}
@font-face {
  font-family: 'C64Mono';
  weight: 100;
  src: url('./C64_Pro_Mono-STYLE.ttf');
}

body {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10+ */
  user-select: none;
  overscroll-behavior: contain;

  font-family: 'JosefinSans';
  font-size: .5em;

  width: 100vw;
  height: 100dvh;
  height: 100vh;
  margin: 0;

  background-color: #27282c;

  display: flex;
    align-items: center;
    justify-content: center;

  position: fixed;
    top: 0;
    left: 0;
}

button{
  font-family: 'C64Mono';
  color: #2e2c9b;
  font-size: large;
  background-color: inherit;
  border-radius: 15px;
  outline: 2px solid #2e2c9b;
  background-color: #706deb;
  padding: 2vw;
  text-shadow: 3px 2px 0px #6663c1;
}

#id_screenshot{
  //outline: 1px solid red;
}

#id_button_camera{
  position: fixed;
  bottom: 5vh;
  right: 5vw;
}
#id_button_map{
  position: fixed;
  bottom: 5vh;
  left: 5vw;
}
#id_button_download{
  position: fixed;
  bottom: 15vh;
}

.class_c64{
  border: 40px solid #706deb;
  background-color: #2e2c9b;
}
.class_c64 pre{
  font-family: 'C64Mono';
  letter-spacing: 0;
  line-height: 0;
  color: #706deb;
}

.ascii{
  text-align: center;
}

.logo {
  font-family: JosefinSans;
  font-size: small;
  position: fixed;
  bottom: 1vw;
  left: 1vw;
  z-index:1000;
  color: whitesmoke;
}
.logo.right {
  left: unset;
  right: 1vw;
}

#id_wrapper_app{
  height: 100%;
  aspect-ratio: .56;
  max-width: 100vw;
  display: grid;
  padding-top: env(safe-area-inset-top);
  padding-bottom: calc(env(safe-area-inset-bottom) + 10vh);
  align-content: center;
  justify-content: center;
}

 .scanlines {
	 position: relative;
	 overflow: hidden;
}
 .scanlines:before, .scanlines:after {
	 display: block;
	 pointer-events: none;
	 content: '';
	 position: absolute;
}
 .scanlines:before {
	 width: 100%;
	 height: 2px;
	 z-index: 2147483649;
	 background: rgba(0, 0, 0, .3);
	 opacity: 0.75;
	 animation: scanline 6s linear infinite;
}
 .scanlines:after {
	 top: 0;
	 right: 0;
	 bottom: 0;
	 left: 0;
	 z-index: 2147483648;
	 background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, .3) 51%);
	 background-size: 100% 4px;
	 animation: scanlines 1s steps(60) infinite;
}
 @keyframes scanline {
	 0% {
		 transform: translate3d(0, 200000%, 0);
	}
}
 @keyframes scanlines {
	 0% {
		 background-position: 0 50%;
	}
}
