@font-face {
  font-family: "Ark Pixel";
  src: url("fonts/ark-pixel.ttf") format("truetype");
}
@font-face {
  font-family: "MS PGothic";
  src: url("fonts/ms-pgothic.ttf") format("truetype");
}

body::selection {
  background: rgb(0, 0, 0);
}

.header::selection {
  background: rgb(255, 255, 255);
}
.footer::selection {
  background: rgb(255, 255, 255);
}

html {
  /* background: url("images/tile.png");
  background-size: 0.5rem; */
  font-family: "MS PGothic";
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height:90vh;
  overflow: hidden;
  letter-spacing: 1px;
}

.header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  background-color: black;
  color: white;
  padding: 10px;
  justify-content: center;
  align-items: center;
  z-index: 99;
  transform: scaleX(1.226);
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: black;
  color: white;
  padding: 10px;
  justify-content: center;
  align-items: center;
  z-index: 99;
}

#grid {
  display: grid;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  grid-gap: 0;
}

.tile {
  width: 10px;
  height: 10px;
  background-image: url('https://www.flobbuss.de/images/tile.png');
  background-size: cover;
  will-change: background-image;
  cursor: none;
}

.tile:hover {
  background-image: url('https://www.flobbuss.de/images/flag.png');
}

.scrolling_line {
  width: 100%;
  display: flex;
  white-space: nowrap;
  z-index: 999;
  transform: scaleX(1.226);
}

.scrolling-text {
  animation: animate_text 40s linear infinite; /* The animation property */
  font-size: 15px;
}

@keyframes animate_text {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-100%, 0, 0);
  }
}

.hello-box {
  width: 530px;
  height: auto;
  border: 4px solid black;
  background-color: rgb(255, 255, 255);
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  padding: 10px;
  transform: scaleX(1.226);
  text-align: center;
}

h1 {
  text-align: center;
  font-size: 30px;
  margin: 10px;
  font-family: "Ark Pixel";
  font-synthesis: weight;
}

p {
  text-align: center;
  font-size: 15px;
  margin: 2px;
}

#s-m-t-tooltip {
  /* basic */
  max-width: 200px;
  z-index: 777;
  margin: 24px 14px 7px 12px;
  /* style and design */
  padding: 6px;
  border: 3px solid black;
  border-radius: 4px;
  background-color: white;
  color: black;
  transform: scaleX(1.226);
}