body {
  background: #edf3fb;
}

.container-title {
  font-size: 3.125rem;
  line-height: 4.5rem;
  text-align: center;
  font-weight: 600;
}

.apply-container {
  padding-top: 5rem;
  padding-left: 5rem;
  padding-right: 8.25rem;
}

.apply-btn {
  display: block;
  width: fit-content;
  height: 3rem;
  font-size: 1.25rem;
  color: #ffffff;
  border-radius: 0.5rem;
  background: linear-gradient(90deg, #de8110 0%, #de2910 100%);
  margin: 2rem auto 0;
}

.apply-btn:active {
  color: #fff !important;
  transform: none !important;
  box-shadow: none !important;
}

.apply-btn:hover {
  color: #fff !important;
}

.apply-desc {
  font-size: 1.5rem;
  color: #000;
  margin-top: 4.5rem;
  text-align: center;
  font-weight: normal;
}

#canvas-container {
  margin-top: 4.25rem;
  width: 100%;
  height: 33.4375rem;
  flex-grow: 1;
  position: relative;
  /*background: transparent;*/
  border-radius: 8px;
  overflow: hidden;
  background-image: url("../images/partner/canvas-bg.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

#canvas-container canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.canvas-text {
  position: absolute;
  font-size: 1.5rem;
  line-height: 2.125rem;
  color: #de2910;
  font-weight: 500;
  pointer-events: auto;
  z-index: 99;
  opacity: 0.8;
  /*transition: all 0.3s ease;*/
  white-space: nowrap;
  transform-origin: center;
}

.canvas-text:hover {
  opacity: 1;
  transform: scale(1.05);
}

.business-opportunity-container {
  margin-top: 5rem;
  margin-bottom: 10.125rem;
}

.business-opportunity-title {
  text-align: center;
  line-height: 4.5rem;
  font-weight: 600;
}

.tabs {
  margin: 2rem auto;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.tab-item {
  font-size: 16px;
  line-height: 23px;
  color: #666;
  position: relative;
  font-weight: 600;
  cursor: pointer;
}

.tab-item:hover {
  color: #de2910;
}

.tab-item_active {
  color: #de2910;
}

.tab-item_active:after {
  content: "";
  width: 48px;
  height: 2px;
  border-radius: 100px;
  background: #de2910;
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
}

.tab-content {
  margin-top: 1.6875rem;
  padding-right: 8.25rem;
  padding-left: 8.25rem;
}

.tab-content_item {
  width: 100%;
  height: 30.625rem;
  min-height: 300px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 4rem;
  border-radius: 4px;
}

.tab-content_supplier {
  background-image: url("../images/partner/supplier-bg.png");
}

.tab-content_fans {
  background-image: url("../images/partner/fans-bg.png");
}

.tab-content_item--info {
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.ab-content_item--info_title {
  font-size: 1.5rem;
  line-height: 2.125rem;
  font-weight: 400;
}

.tab-content_item--info ul {
  margin-top: 1.5rem;
  line-height: 1.75rem;
  font-size: 1rem;
}

.tab-content_item--info_btn {
  /*width: 13.125rem;*/
  width: fit-content;
  height: 3rem;
  border-radius: 0.5rem;
  background: #fff;
  box-sizing: border-box;
  margin-top: 3.3125rem;
  padding: 0 2rem;
  line-height: 3rem;
}

/*@keyframes textShake {*/
/*  0%,*/
/*  100% {*/
/*    transform: translateX(0) translateY(0);*/
/*  }*/
/*  10% {*/
/*    transform: translateX(-1px) translateY(-1px);*/
/*  }*/
/*  20% {*/
/*    transform: translateX(1px) translateY(1px);*/
/*  }*/
/*  30% {*/
/*    transform: translateX(-1px) translateY(1px);*/
/*  }*/
/*  40% {*/
/*    transform: translateX(1px) translateY(-1px);*/
/*  }*/
/*  50% {*/
/*    transform: translateX(-0.5px) translateY(-0.5px);*/
/*  }*/
/*  60% {*/
/*    transform: translateX(0.5px) translateY(0.5px);*/
/*  }*/
/*  70% {*/
/*    transform: translateX(-0.5px) translateY(0.5px);*/
/*  }*/
/*  80% {*/
/*    transform: translateX(0.5px) translateY(-0.5px);*/
/*  }*/
/*  90% {*/
/*    transform: translateX(-0.25px) translateY(-0.25px);*/
/*  }*/
/*}*/

.canvas-text:nth-child(1) {
  top: 10.3%;
  left: 28.66%;
}

.canvas-text:nth-child(2) {
  top: 26.35%;
  left: 90.83%;
}

.canvas-text:nth-child(3) {
  top: 19%;
  left: 72.8%;
}

.canvas-text:nth-child(4) {
  top: 53.5%;
  left: 63%;
}

.canvas-text:nth-child(5) {
  top: 32.7%;
  left: 32.6%;
}

.canvas-text:nth-child(6) {
  top: 29.5%;
  left: 53.2%;
}

.canvas-text:nth-child(7) {
  top: 54.95%;
  left: 44.33%;
}

.canvas-text:nth-child(8) {
  top: 73.1%;
  left: 81.5%;
}

.canvas-text:nth-child(9) {
  top: 61.3%;
  left: 11.67%;
}

.canvas-text:nth-child(10) {
  top: 37.94%;
  left: 10%;
}

.canvas-text:nth-child(11) {
  top: 45.4%;
  left: 78.83%;
}

.canvas-bottom-shadow {
  display: block;
  margin: 4.375rem auto 0;
  width: 27.125rem;
}

@media screen and (max-width: 992px) {
  .tab-content {
    margin-top: 27px;
  }

  .tab-content_item {
    border-radius: 4px;
    background-size: auto 100%;
  }

  .tab-content_item--info_title {
    font-size: 16px;
    line-height: 18px;
    font-weight: 400;
  }

  .tab-content_item--info ul {
    margin-top: 6px;
    line-height: 18px;
    font-size: 12px;
  }

  .tab-content_item--info_btn {
    /*width: 90px;*/
    width: fit-content;
    height: 30px;
    border-radius: 4px;
    font-size: 12px;
    background: #fff;
    box-sizing: border-box;
    margin-top: 10px;
    line-height: 30px;
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media screen and (max-width: 576px) {
  .apply-container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .canvas-text:nth-child(2) {
    top: 28.35%;
    left: 85.83%;
  }

  .apply-btn {
    font-size: 12px;
    width: auto;
    height: auto;
    padding-left: 14px;
    padding-right: 14px;
    border-radius: 4px;
  }

  .apply-desc {
    font-size: 12px;
    line-height: 18px;
  }

  .container-title,
  .business-opportunity-title {
    font-size: 18px !important;
    line-height: 26px !important;
  }

  .canvas-text {
    font-size: 12px;
    line-height: 16px;
  }

  .tab-content {
    padding-left: 10px;
    padding-right: 10px;
  }

  .tab-item {
    font-size: 12px;
    line-height: 16px;
  }

  .tab-item_active:after {
    content: "";
    width: 32px;
    height: 2px;
    border-radius: 100px;
    background: #de2910;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
  }

  .tab-content_item {
    border-radius: 4px;
    overflow: hidden;
    padding-left: 36px;
  }
}

body {
  display: flex;
  flex-direction: column;
}

.apply-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.canvas-container {
  flex-grow: 1;
}
