/*================*
 * Button styling *
 *================*/

.menu {
  margin-top: 3rem;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
}

.menu .button {
  margin-bottom: 2rem;
}

.button {
  width: 7rem;
  height: 3rem;

  margin: 0 1rem;

  text-align: center;
  vertical-align: middle;
  line-height: 3rem;

  cursor: pointer;
}

.button.red {
  border: solid 2px var(--red);
}

.button.green {
  border: solid 2px var(--green);
}

.button.blue {
  border: solid 2px var(--blue);
}

.corner {
  position: fixed;
  top: 1rem;
  left: 1rem;

  margin: 0;
  padding: 0;

  text-align: left;

  border: none;
  background-color: transparent;

  z-index: 10;
}

.corner > .button {
  display: inline-block;
  margin: 0;
  width: auto;
}

.corner > .home.button {
  min-width: 6ch;
}

.corner > .about.button,
.corner > .works.button {
  min-width: 7ch;
}

.corner > .experience.button {
  width: 12ch;
}

.button:hover {
  text-decoration: underline;
}

.button.disabled {
  cursor: auto;
}

.button.disabled:hover {
  text-decoration: none;
}

@media only screen and (max-width: 766px) {
  .corner {
    left: auto;
  }
}
