#employees main #intro {
  margin: 50px 0 50px;
}
#employees main #intro .container {
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 0;
  justify-content: space-between;
}
#employees main #intro .container .title {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#employees main #intro .container .title p {
  font-size: 60px;
  color: #60707a;
  font-style: normal;
  font-weight: 200;
  line-height: 150%;
  letter-spacing: 6px;
  text-transform: uppercase;
  padding: 0 40px;
}
#employees main #intro .container .title p.motto {
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 300;
  line-height: 150%;
  letter-spacing: 2.4px;
  text-transform: inherit;
}
#employees main #intro .container .title h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#employees main #intro .container .title h1 > small {
  background-color: #fcfbf9;
}
@media (prefers-color-scheme: dark) {
  #employees main #intro .container .title h1 > small {
    color: #fcfbf9;
    background-color: #434333;
  }
}
#employees main #intro .container .title h1 > span {
  position: relative;
  font-size: 128px;
  font-weight: 200;
  color: #60707a;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 12.8px;
  line-height: 1;
  padding: 0 32px 0 32px;
  z-index: 2;
}
@media (prefers-color-scheme: dark) {
  #employees main #intro .container .title h1 > span {
    color: #fcfbf9;
  }
}
#employees main #intro .container .title h1 > span:not(:last-child) {
  margin-bottom: 25.6px;
}
#employees main #intro .container .title h1 > span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  transform: none;
  background-color: #f4f0ea;
  border-radius: 0 20px 20px 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
@media (prefers-color-scheme: dark) {
  #employees main #intro .container .title h1 > span::before {
    background-color: #434333 !important;
  }
}
@media screen and (max-width: 900px) {
  #employees main #intro .container .title h1 > span::before {
    border-radius: 0 8px 8px 0;
  }
}
#employees main #intro .container .title h1 {
  text-transform: uppercase;
  margin: 40px 0 60px 0;
}
#employees main #intro .container .desc {
  position: relative;
  width: 50%;
  display: flex;
  justify-content: center;
}
#employees main #intro .container .desc img {
  max-width: 100%;
  display: block;
  height: auto;
}
#employees main #intro .container .desc > p {
  max-width: 450px;
  position: absolute;
  display: block;
  text-align: center;
  font-size: 60px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 6px;
  top: 58%;
  transform: translateY(-50%);
}
#employees main #intro .container .desc > p span {
  display: block;
  font-size: 36px;
  font-weight: 200;
  line-height: 150%;
  letter-spacing: 3.6px;
}
#employees main #groups .container {
  max-width: 1440px;
  margin: 0 auto;
}
#employees main #groups .container .list li {
  border-top: 4px solid #f4f0ea;
}
#employees main #groups .container .list li .header {
  display: flex;
  flex-direction: row;
}
#employees main #groups .container .list li .header .title {
  width: 60%;
}
#employees main #groups .container .list li .header .title h2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#employees main #groups .container .list li .header .title h2 > small {
  background-color: #fcfbf9;
}
@media (prefers-color-scheme: dark) {
  #employees main #groups .container .list li .header .title h2 > small {
    color: #fcfbf9;
    background-color: #434333;
  }
}
#employees main #groups .container .list li .header .title h2 > span {
  position: relative;
  font-size: 64px;
  font-weight: 200;
  color: #60707a;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 6.4px;
  line-height: 1;
  padding: 0 16px 0 16px;
  z-index: 2;
}
@media (prefers-color-scheme: dark) {
  #employees main #groups .container .list li .header .title h2 > span {
    color: #fcfbf9;
  }
}
#employees main #groups .container .list li .header .title h2 > span:not(:last-child) {
  margin-bottom: 12.8px;
}
#employees main #groups .container .list li .header .title h2 > span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  transform: none;
  background-color: #f4f0ea;
  border-radius: 0 20px 20px 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
@media (prefers-color-scheme: dark) {
  #employees main #groups .container .list li .header .title h2 > span::before {
    background-color: #434333 !important;
  }
}
@media screen and (max-width: 900px) {
  #employees main #groups .container .list li .header .title h2 > span::before {
    border-radius: 0 8px 8px 0;
  }
}
#employees main #groups .container .list li .header .title h2 {
  text-transform: uppercase;
  padding: 40px 0;
}
#employees main #groups .container .list li .header .title h2 span {
  font-size: clamp(2rem, 3vw, 5rem);
}
#employees main #groups .container .list li .header .info {
  width: 40%;
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  align-items: center;
}
#employees main #groups .container .list li .header .info p {
  font-size: 42px;
  font-style: normal;
  font-weight: 200;
  line-height: normal;
  letter-spacing: 4.2px;
  background-color: #f4f0ea;
  padding: 5px 30px;
  border-radius: 20px;
  cursor: pointer;
  user-select: none;
}
#employees main #groups .container .list li .header .info p span {
  font-weight: 400;
}
#employees main #groups .container .list li .header .info p:nth-child(3) {
  margin-left: auto;
  text-align: center;
}
#employees main #groups .employee-list {
  display: none;
}
#employees main #groups .employee-list .container {
  display: flex;
  flex-direction: row;
}
#employees main #groups .employee-list .container .list {
  width: 70%;
  padding: 70px 40px 40px 40px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  row-gap: 35px;
}
#employees main #groups .employee-list .container .list .item {
  display: flex;
  flex-direction: column;
  align-content: flex-start;
  align-items: center;
  cursor: pointer;
}
#employees main #groups .employee-list .container .list .item .image_box {
  position: relative;
}
#employees main #groups .employee-list .container .list .item .image_box .image {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  border: 2px solid #f4f0ea;
  overflow: hidden;
}
#employees main #groups .employee-list .container .list .item .image_box .image img {
  width: 100%;
  filter: grayscale(1);
}
#employees main #groups .employee-list .container .list .item .image_box .years {
  position: absolute;
  top: -15px;
  right: -15px;
  padding: 5px 0;
  min-width: 33px;
  background-color: #f4f0ea;
  border-radius: 10px;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-align: center;
  color: #ffffff;
}
#employees main #groups .employee-list .container .list .item p {
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 1.2px;
  text-align: center;
  padding-top: 5px;
  word-spacing: 100vw;
}
#employees main #groups .employee-list .container .list .item.active .image_box .image img {
  filter: grayscale(0);
}
#employees main #groups .employee-list .container .list .item.active .image_box .years {
  background-color: #60707a;
}
#employees main #groups .employee-list .container .detail {
  width: 30%;
  display: flex;
  flex-direction: column;
  padding-top: 70px;
}
#employees main #groups .employee-list .container .detail .card {
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: #f4f0ea;
  border-radius: 20px;
  text-align: center;
  padding-bottom: 35px;
}
#employees main #groups .employee-list .container .detail .card .inner {
  height: 100px;
}
#employees main #groups .employee-list .container .detail .card .inner .top {
  width: 60%;
  height: 120px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  column-gap: 4px;
  border: 2px solid #f4f0ea;
  background-color: #f4f0ea;
  border-radius: 20px;
  margin: 0 auto;
  overflow: hidden;
  transform: translateY(-50%);
}
#employees main #groups .employee-list .container .detail .card .inner .top .photo {
  width: 50%;
}
#employees main #groups .employee-list .container .detail .card .inner .top .photo img {
  width: 100%;
}
#employees main #groups .employee-list .container .detail .card .inner .top .info {
  width: 50%;
  background-color: #ffffff;
  padding: 10px 0;
}
#employees main #groups .employee-list .container .detail .card .inner .top .info .years {
  color: #212111;
  text-align: center;
  font-size: 42px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 4.2px;
}
#employees main #groups .employee-list .container .detail .card .inner .top .info .cat, #employees main #groups .employee-list .container .detail .card .inner .top .info .years_text {
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  letter-spacing: 1.4px;
}
#employees main #groups .employee-list .container .detail .card .desc {
  width: 100%;
  box-sizing: border-box;
  padding: 0 30px;
}
#employees main #groups .employee-list .container .detail .card .desc .name {
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding-bottom: 5px;
}
#employees main #groups .employee-list .container .detail .card .desc .tel, #employees main #groups .employee-list .container .detail .card .desc .email {
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  letter-spacing: 1.4px;
}
#employees main #groups .employee-list .container .detail .card .desc .slogan {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 1.6px;
  padding-top: 30px;
}

@media (min-width: 901px) and (max-width: 1880px) {
  #employees main #intro .container .title p {
    font-size: 2.8vw;
  }
  #employees main #intro .container .title p.motto {
    font-size: 1.4vw;
  }
  #employees main #intro .container .title h1 {
    padding-bottom: 3%;
  }
  #employees main #intro .container .title h1 span {
    font-size: 5vw !important;
  }
  #employees main #intro .container .desc > p {
    max-width: 20vw;
    font-size: 2.6vw;
    letter-spacing: 3px;
    top: 58%;
  }
  #employees main #intro .container .desc > p span {
    font-size: 1.6vw;
    letter-spacing: 3.6px;
  }
  #employees main #groups .container .list li .header .title h2 span {
    font-size: 3.7vw !important;
  }
  #employees main #groups .container .list li .header .info p {
    font-size: 2.6vw;
    letter-spacing: 2.2px;
    padding: 1% 3%;
  }
  #employees main #groups .container .list li .header .info p:nth-child(3) {
    min-width: 50px;
  }
  #employees main #groups .employee-list .container .list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  #employees main #groups .employee-list .container .detail .card .inner .top {
    width: 65%;
    height: 8.5vw;
  }
  #employees main #groups .employee-list .container .detail .card .inner .top .info .years {
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 3.6px;
  }
}
