html {
  box-sizing: border-box;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

@media screen and (max-width: 1000px) {
  .flex-container-inner {
    position: absolute;
    width: 100%;
    text-align: center;
  }
}
@media screen and (min-width: 1000px) {
  .flex-container {
    width: 100%;
    text-align: center;
  }

  .flex-container-inner {
    display: inline-block;
    width: 60%;
    height: 80%;
    margin-left: auto;
    margin-right: auto;
    min-width: 1000px;
  }
}
.flex-boxes {
  align-items: stretch;
  clear: both;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.flex-boxes::after {
  clear: both;
  content: "";
  display: block;
}
.flex-boxes .flex-box {
  align-self: stretch;
  border-radius: 3px;
  /* box-shadow: inset 0 0 1px #ddd, 0 2px 4px #e6e6e6; */
  display: block;
  flex: 2 2 15em;
  margin: 0.4em;
  padding: 2em 2em 3em 2em;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
