body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  align-items: center;
  justify-content: flex-start;
  background: #000;
  background-image: linear-gradient(rgba(0, 150, 0, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 150, 0, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  text-align: center;
  touch-action: manipulation;
  position: relative;
}

#level-title {
  font-family: "Press Start 2P", cursive;
  font-size: 3rem;
  margin: 5% 5% 0;
  color: #fef2bf;
  width: 100%;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 20px 0;
  flex: 1 0 auto;
}

.row {
  display: flex;
  justify-content: center;
  width: 100%;
}

.btn {
  margin: 15px;
  display: inline-block;
  height: 150px;
  width: 150px;
  border: 8px solid black;
  border-radius: 20%;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

@media (max-width: 768px) {
  .btn {
    margin: 10px;
    padding: 15px;
  }
}

@media (max-width: 768px) {
  #level-title {
    font-size: 2rem;
    margin: 15% 5%;
  }

  .btn {
    height: 120px;
    width: 120px;
    margin: 10px;
    border: 6px solid black;
  }
}

@media (max-width: 480px) {
  #level-title {
    font-size: 1.5rem;
    margin: 20% 5% 10%;
  }

  .container {
    width: 100%;
  }

  .btn {
    height: 80px;
    width: 80px;
    margin: 8px;
    border: 4px solid black;
  }
}

@media (max-width: 320px) {
  .btn {
    height: 70px;
    width: 70px;
    margin: 5px;
  }
}

.game-over {
  background-color: red;
  opacity: 0.8;
}

.red {
  background-color: red;
}

.green {
  background-color: green;
}

.blue {
  background-color: blue;
}

.yellow {
  background-color: yellow;
}

.pressed {
  box-shadow: 0 0 20px white;
  background-color: grey;
}

.ola-footer {
  width: 100%;
  background: rgba(1, 31, 63, 0.9);
  padding: 15px 0;
  border-top: 1px solid #fef2bf;
  position: relative;
  flex-shrink: 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.ola-dev {
  font-family: "Press Start 2P", cursive;
  color: #fef2bf;
  font-size: 1.2rem;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  animation: pulse 1.5s infinite alternate;
}

.ola-dev::after {
  content: ">";
  position: absolute;
  right: -15px;
  animation: blink 0.7s infinite;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-link {
  color: #fef2bf;
  text-decoration: none;
  font-family: "Press Start 2P", cursive;
  font-size: 0.7rem;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #4ecca3;
  transform: translateY(-2px);
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ola-dev {
    font-size: 1rem;
  }

  .footer-links {
    gap: 15px;
  }

  .footer-link {
    font-size: 0.6rem;
  }
}

@media (max-width: 480px) {
  .ola-footer {
    padding: 10px 0;
  }

  .ola-dev {
    font-size: 0.8rem;
  }

  .footer-links {
    gap: 10px;
  }
}

.screen-touched {
  background-color: rgba(254, 242, 191, 0.2);
  transition: background-color 0.2s;
}
