* {
  box-sizing: border-box;
}
.wrapper {
  max-width: 50rem;
  width: 100%;
  margin: 0 auto;
}
.tabs {
  position: relative;
  margin: 3rem 0;
  background: transparent;
  height: 435px;
}
.tabs::before,
.tabs::after {
  content: "";
  display: table;
}
.tabs::after {
  clear: both;
}
.tab {
  float: left;
}
.tab-switch {
  display: none;
}
.tab-label {
  position: relative;
  display: block;
  line-height: 2.75em;
  height: 3em;
  padding: 0 1.618em;
  background: #3399cc;
  border-right: 0.125rem solid #003399;
  color: #fff;
  cursor: pointer;
  top: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  transition: all 0.25s;
}
.tab-label:hover {
  top: -0.25rem;
  transition: top 0.25s;
}
.tab-content {
  height: 12rem;
  position: absolute;
  z-index: 1;
  top: 2.75em;
  left: 0;
  padding: 1.618rem;
  background: #fff;
  color: #3399cc;
  border-bottom: 0rem solid #3399cc;
  opacity: 0;
  transition: all 0.35s;
}
.tab-switch:checked + .tab-label {
  background: #fff;
  color: #2c3e50;
  border-bottom: 0;
  border-right: 0.125rem solid #fff;
  transition: all 0.35s;
  z-index: 1;
  top: -0.0625rem;
}
.tab-switch:checked + label + .tab-content {
  z-index: 2;
  opacity: 1;
  transition: all 0.35s;
}
.plan-featured {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    position: absolute;
    top: 0;
    right: 0;
    height: 25px;
    border-bottom-left-radius: 30px;
    border-top-right-radius: 30px;
    min-width: 40%;
    padding-top: 2px;
    text-align: center;
    background-color: #007BFF;
}
