.tab-wrap {
  max-width: 768px;
  background-color: #fff;
  border-radius: 6px;
  flex-wrap: wrap;
  list-style: none;
  transition: box-shadow .3s;
  display: flex;
  position: relative;
  box-shadow: 0 1px 3px #0000001f, 0 1px 2px #0000003d;
  float: none !important;
  margin: 40px auto !important;
}

.tab-wrap:hover {
  box-shadow: 0 12px 23px #0000003b, 0 10px 10px #00000030;
}

.tab {
  display: none;
}

.tab:checked:nth-of-type(1) ~ .tab__content:nth-of-type(1), .tab:checked:nth-of-type(2) ~ .tab__content:nth-of-type(2), .tab:checked:nth-of-type(3) ~ .tab__content:nth-of-type(3), .tab:checked:nth-of-type(4) ~ .tab__content:nth-of-type(4) {
  opacity: 1;
  z-index: 1;
  text-shadow: 0 0;
  display: block;
  position: relative;
  top: 0;
  transform: translateY(0);
}

.tab:first-of-type:not(:last-of-type) + label {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.tab:not(:first-of-type):not(:last-of-type) + label {
  border-radius: 0;
}

.tab:last-of-type:not(:first-of-type) + label {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.tab:checked + label {
  cursor: default;
  background-color: #fff;
  box-shadow: inset 0 -1px #fff;
}

.tab:checked + label:hover {
  background-color: #fff;
  box-shadow: inset 0 -1px #fff;
}

.tab + label {
  width: 100%;
  cursor: pointer;
  color: #333;
  text-align: center;
  -webkit-user-select: none;
  user-select: none;
  text-align: center;
  height: 50px;
  box-sizing: border-box;
  background-color: #f2f2f2;
  border-radius: 6px 6px 0 0;
  flex-grow: 3;
  padding: 15px;
  text-decoration: none;
  transition: background-color .3s, box-shadow .3s;
  display: block;
  box-shadow: inset 0 -1px #eee;
}

@media (min-width: 512px) {
  .tab + label {
    width: auto;
  }
}

.tab + label:hover {
  background-color: #f9f9f9;
  box-shadow: inset 0 1px #f4f4f4;
}

.tab__content {
  width: 100%;
  z-index: -1;
  opacity: 0;
  background-color: #0000;
  border-radius: 6px;
  padding: 10px 25px;
  display: none;
  position: absolute;
  left: 0;
  transform: translateY(-3px);
}

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

body {
  color: #777;
  min-width: 350px;
  background-color: #e7e7e7;
  padding: 30px 0;
  font-family: Maven Pro, sans-serif;
}

h1, h2 {
  color: #444;
  text-align: center;
  margin: 0;
}

h2 {
  margin-bottom: 30px;
  font-size: 1em;
}

p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.container {
  max-width: 1150px;
  margin: 0 auto;
}

/*# sourceMappingURL=index.4fe7cf81.css.map */
