#whatwedo {
  background-color: var(--basic-dark);
  padding-top: 140px;
  padding-bottom: 60px;
}

#whatwedo div.section-title {
  color: var(--basic-light-whitevar);
  text-align: center;
  margin-bottom: 48px;
}

#whatwedo .rectangle-a {
  margin: 0 auto;
  position: relative;
  background: #031830;
  border-radius: 12px;
  overflow: hidden;
  max-width: 312px;
}

#whatwedo .rectangle-b {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 8px);
  height: calc(100% - 8px);
  background: white;
  border-radius: 12px;
  /* Animation speed variable - change this value to adjust speed */
  transition: all 1s linear;
}

.tabs {
  display: flex;
  position: relative;
  z-index: 1;
}

.tab {
  flex: 1;
  text-align: center;
  padding: 15px 0;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: color 1s linear;
  /* Match the rectangle animation speed */
  user-select: none;
}

.tab.active {
  color: #1a1a2e;
}

.tab.inactive {
  color: #e6e6e6;
}

.whatwedo-container {
  color: var(--paragraph-light-typical);
  margin-top: 55px;
  max-width: 780px;
  overflow-x: hidden;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pl);
}

.whatwedo-content {
  display: flex;
  flex-direction: row;
  gap: 32px;
  min-width: 504px;
}

.whatwedo-container .whatwedo-count {
  font-size: 36px;
  color: #1277e8;
  font-family: "Tiempos Headline";
}

.whatwedo-container .whatwedo-title {
  font-size: 20px;
  margin-bottom: 20px;
}

.whatwedo-container .whatwedo-text {
  font-size: 18px;
  line-height: 130%;
  font-weight: 300;
}

.whatwedo-container .whatwedo-item {
  margin-bottom: 35px;
}

.whatwedo-talent {
  text-align: right;
}

.whatwedo-company {
  opacity: 0.2;
}

#whatwedo .tab {
  font-size: 18px;
  line-height: 100%;
}

#whatwedo .tab .whatwedo-stext {
  font-size: 12px;
  display: block;
}

@media (min-width: 768px) {
  #whatwedo {
    padding-top: 230px;
    padding-bottom: 75px;
  }

  #whatwedo .tab {
    font-size: 20px;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  #whatwedo .tab .whatwedo-stext {
    font-size: 20px;
    display: inline;
  }

  #whatwedo div.section-title {
    margin-bottom: 64px;
  }

  #whatwedo .rectangle-a {
    max-width: 404px;
  }

  #whatwedo .rectangle-b {
    width: 174px;
  }

  .tab.left {
    max-width: 182px;
  }

  .whatwedo-container {
    padding-left: var(--container-pl);
    padding-right: var(--container-pr);
  }

  .whatwedo-container .whatwedo-item {
    margin-bottom: 40px;
  }

  .whatwedo-container .whatwedo-count {
    font-size: 48px;
    line-height: 120%;
  }

  .whatwedo-container .whatwedo-title {
    font-size: 28px;
    color: var(--basic-light-whitevar);
  }

  .whatwedo-container .whatwedo-text {
    font-size: 24px;
    line-height: 160%;
  }
}
