@font-face {
  font-family: 'PixelGaming';
  src: url('fonts/pixelgaming.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'SummerPixel';
  src: url('fonts/summerpixel.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
/* Reset default margin and padding */
body,
html {
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'SummerPixel', monospace;
  font-size: 20px;
  background-image: url('img/bg.png');
  background-repeat: repeat-x;
  background-size: 128px 100%;
  height: 100vh; /* Make the body take up the full height of the viewport */
  overflow: hidden; /* Hide any overflow beyond the viewport */
}

header {
  z-index: 100000;
  background-color: #33333333;
  color: #fff;
  padding: 10px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between; /* Align items at the start and end of the header */
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); /* Add a cool shadow to the header */
}

main {
  flex-grow: 1;
  display: flex; /* Center the main content */
  align-items: center; /* Vertically center the main content */
  justify-content: center;
  overflow: hidden; /* Hide any overflow beyond the viewport */
}

footer {
  z-index: 100000;
  background-color: #33333333;
  color: #fff;
  padding-top: 10px;
  text-align: center;
  text-transform: uppercase;
  position: sticky;
  bottom: 0;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.5); /* Add a cool shadow to the footer */
}

.icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

img.menu-item {
  display: block;
}

.gap10 {
  gap: 10px;
}

.menu-item {
  height: 40px;
}

.icon-text {
  margin-top: 6px;
  margin-left: 5px;
}

.tippy-content {
  padding: 8px 9px 0;
}

@keyframes bounce {
  0% {
    opacity: 0;
    transform: translateY(-100px) rotate(-45deg);
  }
  60% {
    opacity: 1;
    transform: translateY(5px) rotate(0deg);
  }
  80% {
    transform: translateY(-10px) rotate(10deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.bounce {
  animation-name: bounce;
  animation-fill-mode: both;
  animation-duration: 0.9s;
}

@keyframes rotate3d {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

img.rotating {
  animation: rotate3d 4s linear infinite;
}

.my-atropos {
  width: 100vh;
  max-height: 90vh;
}

.image {
  max-width: 100%;
}

.atropos-header {
  aspect-ratio: 1;
}

.atropos-header img {
  position: absolute;
  left: 5%;
  top: 5%;
  width: 90%;
  height: 90%;
  max-width: 1020px;
  max-height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  display: block;
  z-index: 1;
  transform-style: preserve-3d;
  pointer-events: none;
}
