@charset "utf-8";

:root {
  --width: 640px;
}

html, body {
  height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-image: radial-gradient(50% 80%, #fff 9%, #cbd5de 82%);
}

/* helper */

.h-container {
  max-width: var(--width);
  padding: 1rem;
  box-sizing: border-box;
}

.h-mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.h-mt-1 {
  margin-top: 1rem;
}

.h-mt-2 {
  margin-top: 2rem;
}

/* layout */

.header {
  padding: 3rem 2rem;
  text-align: center;
  background-color: #e8eef4;
  border-bottom: solid 1px #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1) inset;
}

.header__title {
  font-size: 5rem;
  font-weight: 700;
  color: rgba(0, 0, 0, .4);
  text-shadow: 1px 1px #fff;
}

.section {
  color: rgba(0, 0, 0, .35);
  text-shadow: 1px 1px #fff;
  line-height: 1.7;
}

.section+.section {
  margin-top: 1.5rem;
}

.section__title {
  font-weight: 600;
  font-size: 1.5rem;
}



.box {
  position: relative;
  width: 170px;
  height: 170px;
}

.box-btn {
  position: absolute;
  width: 50px;
  height: 50px;
  color: #fff;
  line-height: 1;
  font-size: 2rem;
  text-transform: uppercase;
  border-radius: 25px;
  border: none;
  box-shadow:
    -1px -1px 0 1px #999,
    1px 1px 0 1px #666,
    0 0 1px 5.5px #111;
  background-image: linear-gradient(180deg, #666, #333);
}

.box-btn-x {
  top: 0;
  left: 50%;
  margin-left: -25px;
}

.box-btn-b {
  bottom: 0;
  left: 50%;
  margin-left: -25px;
}

.box-btn-y {
  top: 50%;
  left: 0;
  margin-top: -25px;
}

.box-btn-a {
  top: 50%;
  right: 0;
  margin-top: -25px;
}

.box-focus {
  display: none;
  position: absolute;
  width: 56px;
  height: 56px;
  background-color: rgb(110, 0, 0);
  border-radius: 50%;
  mix-blend-mode: overlay;
}

.box-focus-up,
.box-focus-down,
.box-focus-left,
.box-focus-right {
  display: block;
}


.box-focus-up {
  top: -3px;
  left: 50%;
  margin-left: -28px;
}

.box-focus-down {
  bottom: -3px;
  left: 50%;
  margin-left: -28px;
}

.box-focus-left {
  left: -3px;
  top: 50%;
  margin-top: -28px;
}

.box-focus-right {
  right: -3px;
  top: 50%;
  margin-top: -28px;
}