@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=DM+Serif+Text:ital@0;1&display=swap');

* {
  font-family: 'DM Sans', sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background-color: #181818;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

#background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2;
}

#background .row {
  position: absolute;
  width: 100%;
  height: 96px;
  background: none;
  overflow: hidden;
}

#background .row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background-image: url('https://static.infotech.szewczuk.io/t_biale.png');
  background-size: 96px 96px;
  background-repeat: repeat-x;
  animation: moveLeft 5s linear infinite;
  opacity: 0.05;
}

#background .row:nth-child(odd)::before {
  animation-name: moveRight;
  animation-duration: 5s;
}

@keyframes moveLeft {
  from { background-position: 0 0; }
  to { background-position: -96px 0; }
}

@keyframes moveRight {
  from { background-position: 0 0; }
  to { background-position: 96px 0; }
}

#content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #252525;
  border-radius: 10px;
  padding: 40px;
  color: #ededed;
  z-index: 1;
  position: relative;
}

button {
  margin-top: 20px;
  border: 0;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  background-color: #3a3a3a;
  color: #ededed;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid #404040;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  background-color: #454545;
  border-color: #555555;
}

button:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  background-color: #2a2a2a;
}

#content img {
  width: 100px;
  height: 100px;
}

#content img:hover {
  cursor: pointer;
}

#content p {
  margin-top: 10px;
  font-size: 17px;
}
