html,
body {
  margin: 0;
  padding: 0;
  overflow: hidden; /* to remove scrollbars entirely if you want */
}

main {
  display: flex;
  width: 100%;
  height: 100vh;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

img {
  width: 100%;
  height: 100%;
}
button {
  background-color: red;
  font-size: 1.5rem;
  border-radius: 5px;
  transition: background-color 1.5s ease;
}
button:hover {
  background-color: darkred;
}
.regret {
  color: transparent;
  position: relative;
}

.regret::after {
  content: "You will regret pressing me!:(";
  position: absolute;
  top: 0;
  left: 0;
  color: #00fff1;
}
.regret:hover::after {
  content: "I warned you!";
}
.spin-hover {
  animation: spin 1s linear infinite;
}

.bounce {
  position: absolute;
  width: 100px;
  height: auto;
  animation: bounce 5s linear infinite alternate;
}

.spin-hover {
  animation: spin 1s linear infinite;
}
a,
a:hover,
a:visited a:active {
  position: fixed;
  bottom: 10px;
  right: 10px;
  text-decoration: none;
  color: inherit;
  pointer-events: auto;
  cursor: default;
}
/* @keyframes bounce {
  0% {
    top: 0;
    left: 0;
  }
  25% {
    top: 0;
    left: calc(100vw - 100px);
  }
  50% {
    top: calc(100vh - 100px);
    left: calc(100vw - 100px);
  }
  75% {
    top: calc(100vh - 100px);
    left: 0;
  }
  100% {
    top: 0;
    left: 0;
  }
} */

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.bounce {
  position: absolute;
  width: 100px;
  height: auto;
  top: 100px;
  left: 100px;
}
