html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  font-size: 14px;
  overflow: hidden;
  height: 100vh;
  position: relative;
  font-family: "Press Start 2P", system-ui;
}

a {
  text-decoration: none;
}

.main {
  margin: 0;
  padding: 50px;
  padding-top: 10px;
  background: url("images/bg.jpg");
  background-size: cover;
  height: 100vh;
  position: relative;
  background-position: center center;
  animation: moveBackground 10s ease-in-out infinite alternate;
}

@keyframes moveBackground {
  0% {
    background-position: center center;
  }
  25% {
    background-position: center 60px;
  }
  50% {
    background-position: center;
  }
  75% {
    background-position: center -60px;
  }
  100% {
    background-position: center center;
  }
}

.container {
  display: flex;
  justify-content: start;
  align-items: center;
  flex-direction: column;
  height: 100vh;
  gap: 20px;
  position: relative;
}

.container p {
  color: #fff;
  text-align: center;
  font-size: 2rem;
  letter-spacing: 4px;
  height: 2%;
  font-weight: bold;
  color: #fff;
  -webkit-text-stroke: 1px #ddd;
  text-stroke: 1px #ddd;
}

.container a {
  height: 22%;
  background-position: center center;
  text-align: center;
  font-size: 30px;
  width: 100%;
  max-width: 1000px;
  display: flex;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  border: 2px solid white;
}

.container a:nth-child(2) {
  background: url("images/dino.jpg");
  background-size: cover;
  background-position: bottom left;
}

.container a:nth-child(3) {
  background: url("images/space.jpg");
  background-size: cover;
  background-position: center right;
}

.container a:nth-child(4) {
  background: url("images/tetris.jpg");
  background-size: cover;
  background-position: bottom left;
}

.container a div {
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  color: #fff;
  transition: width 0.5s ease;
  width: fit-content;
  height: auto;
}

.container a:hover div {
  width: 100%;
  height: 100%;
}

.header {
  width: 100%;
  margin: 0 auto;
  height: 50px;
  background-color: #222;
  overflow: hidden;
}

.header-container {
  width: 90%;
  margin: 0 auto;
  display: flex;
  height: 50px;
  justify-content: space-between;
  align-items: center;
}

.header-container a {
  color: #fff;
  text-align: center;
  padding: 0 20px;
  font-size: 22px;
}

@media screen and (max-width: 968px) {
  .header-container a {
    color: #fff;
    text-align: center;
    padding: 0 16px;
    font-size: 17px;
  }
}

.header-container a:hover {
  color: #ddd;
  text-align: center;
}

iframe {
  width: 100%;
  height: calc(100vh - 50px);
  border: none;
}
