/* -- margin/padding reset -- */
html, body, blockquote, code, h1, h2, h3, h4, h5, h6, p, pre {
  margin: 0;
  padding: 0;
}

html {
  max-width: 100vw;
  height: 100%;
}

body {
  margin-top: 30px;
  font-size: 16px;
  font-family: "Courier New", Courier, monospace;
  text-align: center;
  color: white;
  background-image: url('img/arcade.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: center;    
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  width: 100%;
}

h1 {
  margin-bottom: 10px;
}

h2 {
  font-size: 20px;
  margin-bottom: -20px;
}

.container {
  margin-top: 150px;
  border: white 1px solid;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 40px;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 85px;
  width: 600px;
  height: 550px;
  background-color: black;
}

.container > div {
  flex-basis: 50%;
}
.menu {
  display: flex;  
  flex-direction: row;
  flex-wrap: wrap;
  row-gap: 60px;
  margin-top: 50px;
}

.fighters, .snake, .spaceinvaders, .towerdefense,.platformer, .potreba, .toilet, .jumpyjump {
  margin-top: 50px;
  display: flex;
  flex-basis: 50%;
  align-items: center;
  justify-content: center;
  width: 590px;
}

.bg {
  animation: pulse 3s ease infinite;
  background: rgb(79, 63, 206);
}

.bg, .fightersButton, .snakeButton, .spaceinvadersButton, .towerdefenseButton, .platformerButton, .potrebaButton, .toiletButton, .jumpyjumpButton {
  position: absolute;
  width: 200px;
  height: 70px;
  border-radius: 5px 5px 5px 5px;
}

a {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 19px;
  animation: glow 3s ease-in-out infinite;
}

.fightersButton, .snakeButton, .spaceinvadersButton, .towerdefenseButton, .platformerButton, .potrebaButton, .toiletButton, .jumpyjumpButton {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 99;
  border: none;
  background: rgb(79, 63, 206);
  background-size: 18px;
  cursor: pointer;
  outline: none;
}

.misc {
  position: relative;
  font-family:'Courier New', Courier, monospace;
  z-index: 100;
}

.misc > p {
  color: white;
  background-color: #000000a9;
  border-radius: 5px 0px 0px 0px;
  text-align: center;
  margin: auto;
  padding: 10px;
  font-size: 13px;
  font-family: 'Courier New', Courier, monospace;
  position: fixed;
  bottom: 0px;
  right: 0px;

}

@keyframes pulse {
  0% {
    transform: scale(1, 1);
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes glow {
  0% {
    text-shadow: 0 0 20 px black, 0 0 30px black;
  }
  20% {
    text-shadow :0 0 20px #ffffff, 0 0 30px #ffffff;
  }
}
