
.tab {
  overflow: hidden;
  border-radius: 12px 12px 0px 0px;
  background: rgb(205, 230, 255);
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.4);
}

.tab button {
  background: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
}

.tab button:hover {
  background: rgb(0, 120, 255, 0.4);
}

.tab button.active {
  color: white;
  background: rgb(0, 120, 255);
}

.tab-content {
  display: none;
  border-radius: 0px 0px 12px 12px;
  border-top: none;
  margin-bottom: 2em;
  background: white;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.4);
}

.tab-content.active {
  display: block;
}

.tab-content * {
  animation-name: fade;
  animation-duration: 0.6s;
}

.sticky-container {
  position: sticky;
  top: 80px;
  margin-bottom: 2em;
}

@keyframes fade {
  from {opacity: 0}
  to   {opacity: 1}
}

@media (min-width: 650px) {

  .tab {
    width: 590px;
  }

}

@media (min-width: 1200px) {

  .col-left .tab {
    width: 560px;
  }

  .col-left .tab-content {
    width: 560px;
  }

  .col-right .tab {
    width: 410px;
  }

  .col-right .tab-content {
    width: 410px;
  }

}
