:root {
  --background: #f5f4f2;
  --text: #222222;
  --hover: #f0f0f0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--background);
  color: var(--text);
}

body {
  font-family: Courier, "Courier New", monospace;
  font-size: 14px;
  line-height: 1.4;
}

main {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.intro {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeIn 700ms ease-out forwards;
}

.screenshot {
  max-width: 720px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

.text-column {
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
}

h1 {
  margin: 0 0 12px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

p {
  margin: 0 0 30px;
  text-align: justify;
}

.button {
  display: inline-block;
  padding: 15px 30px;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  transition: background 180ms ease-in-out;
}

.button:hover,
.button:focus {
  background: var(--hover);
}

.return-link {
  color: #afafaf;
  display: inline-block;
  font-family: Helvetica, Arial, sans-serif;
  margin-top: 22px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.return-link:hover,
.return-link:focus {
  color: var(--text);
  text-decoration: none;
}

.altversion {
	color: var(--text);
	display: inline-block;
	font-family: Helvetica, Arial, sans-serif;
	margin-top: 22px;
	text-decoration: none;
	transition: color 0.2s ease;
}

.altversion:hover,
.altversion:focus {
	color: var(--text);
	text-decoration: none;
}

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

@media (prefers-reduced-motion: reduce) {
  .intro {
	opacity: 1;
	transform: none;
	animation: none;
  }

  .button {
	transition: none;
  }
}

@media (max-width: 767px) {
  main {
	  min-height: auto;
	  align-items: flex-start;
	  justify-content: flex-start;
	  padding: 30px 0 30px;
	}

  .screenshot {
	max-width: 100vw;
	width: auto;
	max-height: 540px;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
	margin-bottom: 30px;
  }

  .text-column {
	max-width: 540px;
	width: 100%;
	padding-left: 30px;
	padding-right: 30px;
  }

  h1 {
	font-size: 20px;
	font-weight: 700;
	margin-top: 10px;
  }

  p {
	font-size: 16px;
  }

  .button {
	font-size: 18px;
  }

  .return-link {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 14px;
  }
}
