body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #333;
  color: #fff;
  text-align: center;
  overflow-x: hidden;
}

.hard-hat {
  width: 350px;
  height: auto;
  margin-bottom: 10px;
  animation: bounce 2s infinite;
  object-fit: contain;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
  animation: fadeIn 1s ease-in;
  /* Fade-in effect */
}

p {
  font-size: 1.2em;
  margin-bottom: 1em;
  animation: fadeIn 1.5s ease-in;
  /* Fade-in effect */
}

.container {
  background: black;
  padding: 20px;
  width: 100vw;
  min-height: 100vh;
  box-sizing: border-box;
  animation: slideIn 1s ease-in;
  position: relative;
  border: 15px solid;
  border-image: repeating-linear-gradient(45deg, black, black 10px, yellow 10px, yellow 20px) 10;
  animation: borderRotate 10s linear infinite;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@keyframes borderRotate {
  from {
    border-image: repeating-linear-gradient(45deg, black, black 10px, yellow 10px, yellow 20px) 10;
  }

  to {
    border-image: repeating-linear-gradient(405deg, black, black 10px, yellow 10px, yellow 20px) 10;
  }
}

.button {
  background-color: yellow;
  /* Yellow background */
  color: black;
  /* Black text */
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s, transform 0.3s;
  /* Transition for hover effect */
}

.button:hover {
  background-color: black;
  /* Change to black on hover */
  color: yellow;
  /* Change text to yellow on hover */
  transform: scale(1.1);
  /* Scale effect on hover */
}

.footer {
  margin-top: 20px;
  font-size: 0.8em;
  color: #ddd;
  /* Light gray text */
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

a {
  color: gray;
}