.none {
  display: none;
}

.block {
  display: block;
}

@keyframes slide-back {
  to {
    translate: -270px;
  }
}

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
}

html {
	height: 100vh;
	overflow: hidden;
}

body {
	height: 100%;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
}

main {
  display: flex;
  flex-direction: column;
}

h1 {
  color: red;
  text-align: center;
}

.buttons {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.cursor {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 20px;
  height: 100%;
}

.cursor.animate {
  animation: slide-back;
  animation-duration: 2s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

button:first-child {
  background-color: red;
}

button:nth-child(2) {
  background-color: blue;
}

button {
  padding: 10px;
  border: none;
  color: white;
  border-radius: 10px;
  font-size: 20px;
}

img {
  max-width: 300px;
  height: auto;
}

.home {
  display: block;
  position: fixed;
  bottom: 20px;
}
