html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: #fff;
  background: #1a1a1a;
  font-family: sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.main {
  text-align: center;
}

.wrapper {
  display: inline-block;
  width: 95%;
  max-width: 1440px;
}

.category-heading {
  margin: 20px 0 10px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  font-weight: normal;
  text-transform: uppercase;
}

.category-heading:first-child {
  margin-top: 0;
}

.wrapper > a {
  display: inline-block;
  margin-bottom: 10px;
  padding: 20px 40px;
  color: rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.wrapper > a span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
}

.wrapper > a:hover span {
  color: #eebc24;
}

.preview-layout {
  display: grid;
  min-height: 100vh;
  padding: 24px;
  box-sizing: border-box;
  place-items: center;
}

.preview-frame {
  width: min(1440px, 100%);
  height: 650px;
}

.preview-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.back-link {
  position: fixed;
  top: 16px;
  left: 24px;
  z-index: 1;
  padding: 4px 8px;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 1px 8px #000;
}

.back-link:hover {
  color: #eebc24;
}

.back-link:focus-visible {
  outline: 2px solid #eebc24;
  outline-offset: 4px;
}
