@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');


html, body {
  min-height: 100%;
  background-image: url('background.gif');
  background-size: cover;
}

ul {
    display: inline-block;
    text-align: left;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgb(0, 0, 0);
    border-bottom: 2px solid white;
    padding: 12px 0;
    text-align: center;
    z-index: 1000;
}

nav a {
    color: white;
    text-decoration: none;
    display: inline-block;
    margin: 0 18px;
    padding: 6px 10px;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

nav a:hover {
    background: white;
    color: black !important;
    transform: translateY(-2px);
}

nav a:active {
    transform: translateY(0);
}

img {
  max-width: 100%;
  height: auto;
  image-rendering: pixelated;
}

.shake-hover:hover {
    animation: shake 0.4s ease-in-out infinite;
}

@keyframes shake {
    0%   { transform: translate(0, 0) rotate(0deg); }
    25%  { transform: translate(-2px, 1px) rotate(-2deg); }
    50%  { transform: translate(2px, -1px) rotate(2deg); }
    75%  { transform: translate(-2px, -1px) rotate(-2deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}


.borde_blanco {
  border: 2px solid white;
}

.box {
  position: absolute;
  max-width: 700px;
  width: 40%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.9);
  padding: 12px;
  outline: 2px solid white;
  color: white;
  line-height: 1.2;
}

footer {
  color: gray;
  font-size: 10px;
  font-family: cursive;
}

body {
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
}

* {
  box-sizing: border-box;
}

body, body * {
  text-align: center;
}

h1, p {
  font-family: 'Press Start 2P', monospace;
  text-align: center;
}
