@import './theme.css';
@import './common.css';

.navbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 60px;
  width: 100%;
  overflow-y: hidden;
  overflow-x: auto;

  /* padding: 0 360px; */
  max-width: 1200px;
  padding: 0 30px;
  /* display: ; */
}

.navbar .logo > img {
  height: 32px;
}
.navbar .logo .text {
  font-size: 18px;
  font-weight: bold;
  margin-left: 8px;
}

.navbar .nav-right .right-item {
  /* width: 112px; */
  height: 100%;
  cursor: pointer;
  color: var(--text-color);
  text-decoration: none;
}

.navbar .nav-right .right-item + .right-item {
  margin-left: 24px;
}

.page {
  background-color: rgba(255, 255, 255, 1);
  position: relative;
  width: 100%;

  margin-top: 60px !important;
  height: calc(100% - 60px) !important;
  overflow: auto;
  /* overflow-y: auto;
  overflow-x: hidden; */
}
.page .header {
  height: auto;
  min-height: 400px;
  max-height: 800px;
  background: url(../assets/img/header-bg.png) 100% no-repeat;
  position: relative;
  flex-shrink: 0;
}
.page .header .content {
  max-width: 450px;
  /* width: auto; */
  /* height: 100%; */
  padding: 24px;
  z-index: 5;
  flex-shrink: 0;
}
.page .header .content .title {
  width: 100%;
}
.page .header .content .description {
  margin-top: 24px;
}
.page .header .content .buttons {
  margin-top: 40px;
}
.page .header .img-wrapper {
  height: 100%;
  max-height: 400px;
}

.page .introduction-item {
  min-height: 480px;
  width: 100%;
  display: flex;
  flex-direction: row;
  /* flex-wrap: wrap; */
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}
.page .introduction-item .description {
  /* margin-left: 20px; */
  width: 400px;
  max-width: 100%;
  overflow: hidden;
}
.page .introduction-item > :nth-child(2) {
  margin-left: 120px;
}
.page .introduction-item .description .title {
  font-weight: bold;
  font-size: 24px;
  line-height: 44px;
}

.page .introduction-item .description .content {
  margin-top: 20px;
  /* w
  hite-space: pre-line; */
}
.page .introduction-item .img-wrapper {
  max-width: 100%;
}
.page .introduction-item .img-wrapper .img {
}

.page .ecological-partner {
  padding: 70px 30px;
  background: #f8fbff;
}

.page .ecological-partner .title {
  text-align: center;
}
.page .ecological-partner .partner-list {
  margin-top: 40px;
  width: 100%;

  display: grid;
  grid-gap: 60px;
  grid-template-columns: repeat(2, 140px);
  justify-content: center;
  align-items: center;
}
.page .ecological-partner .partner-item {
  cursor: pointer;
}
.page .ecological-partner .partner-item + .partner-item {
  /* margin-left: 60px; */
}

.page .ecological-partner .partner-item .icon {
  max-width: 140px;
}
.page .ecological-partner .partner-item .name {
  /* margin-top: 12px; */
  padding: 12px;
  width: 100%;
  text-align: center;
  font-size: 14px;
}

.page .footer {
  height: auto;
  width: 100%;
  background-color: var(--text-color);
  color: #c6c8c7;
  padding: 12px 0;
  flex-shrink: 0;
}

.page .footer .friendship-link {
  max-width: 1200px;
  padding: 12px 24px;
}

.friendship-link .title {
  color: white;
  margin-right: 16px;
}
.friendship-link .friendship-link-item {
  /* font-size: ; */
  cursor: pointer;
}

.friendship-link .friendship-link-item + .friendship-link-item {
  margin-left: 16px;
}

.copyright {
  padding: 0 24px;
  margin-top: 12px;
  font-size: 12px;
  width: 100%;
  text-align: center;
}

@media screen and (max-width: 1024px) {
  .page .header {
    flex-direction: column;
    height: auto !important;
    /* align-items: flex-start;
    justify-content: flex-start; */
  }
  .page .header .content {
    margin-top: 24px;
  }
  .page .header .demo-img {
    height: 300px;
  }

  .introduction-item {
    flex-direction: column !important;
  }
  .introduction-item.img-left {
    flex-direction: column-reverse !important;
  }

  .introduction-item > :nth-child(2) {
    margin-left: 0 !important;
  }

  .introduction-item .img-wrapper {
    margin-top: 40px !important;
  }
}

@media screen and (max-width: 576px) {
  .page .header {
    flex-direction: column;
  }
  .page .header .title {
    font-size: 26px;
  }

  .introduction-item {
    flex-direction: column !important;
  }
  .introduction-item .box + .box {
    margin-left: 0 !important;
    margin-top: 20px;
  }
  .navbar {
    padding: 0 12px !important;
  }
}
