*,
*::after,
*::before {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  min-width: 310px;
  font-family: PingFangSC-Regular;
}
a {
  text-decoration: none;
}

body {
  height: 100vh;
}
.cover {
  width: 100%;
  margin: 0 auto;
}
.icon1 {
  z-index: 41;
  width: 6px;
  height: 24px;
  background: #5a7ae9;
  transform: translateY(3px);
}
@media screen and (max-width: 700px) {
  html,
  body {
    font-size: 20px;
  }
}
@media screen and (max-width: 330px) {
  html,
  body {
    font-size: 8px;
  }
}
::-webkit-scrollbar {
  width: 0.625rem;
  height: 0.625rem;
}

::-webkit-scrollbar-track {
  border-radius: 0.125rem;
  background: rgba(0, 0, 0, 0.06);
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.08);
}

::-webkit-scrollbar-thumb {
  border-radius: 0.3125rem;
  background: #5d79ad;
  box-shadow: inset 0 0 0.625rem rgba(0, 0, 0, 0.2);
}

*:focus {
  outline: none !important;
}

@media screen and (max-width: 768px) {
  .logo {
    position: absolute;
    top: 1%;
    left: 13%;
    max-width: 77%;
  }
  .desktop {
    display: none !important;
  }
  .content-wrap {
    max-width: 768px;
    margin: 12px 50px;
  }

  .item {
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
  }
  .item:last-of-type {
    margin-bottom: 0;
  }
  .item:hover {
    box-shadow: 0 0 6px 0 rgba(39, 72, 167, 0.35);
  }
  .item .text {
    padding: 0 10px 10px 10px;
  }
  .item .text h3 {
    width: 100%;
    color: #2748a7;
  }
  .item .text p:nth-of-type(1) {
    width: 100%;
    color: #222222;
  }
  .item .text p:nth-of-type(2) {
    width: 100%;
    color: #555555;
  }
  .img:hover img {
    filter: brightness(50%);
  }
  .img {
    margin: 0;
    padding: 0;
    list-style-type: none;
    width: 100%;
    position: relative;
  }
  .img img {
    width: 100%;
  }
  .text {
    display: block;
    background: #fefefe;
    width: 100%;
  }
  .x {
    z-index: 3;
    position: absolute;
    text-decoration: none;
    width: 180px;
    height: 45px;
    line-height: 45px;
    background: #2748a7;
    color: #fff;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
  }
  .copyright {
    position: fixed;
    bottom: 0;
    margin-bottom: 0;
    width: 100%;
    text-align: center;
    letter-spacing: 0.04px;
    color: #e3e3e3;
    background-color: #0f2c7e;
  }
  .copyright a {
    color: #e3e3e3;
    text-decoration: none;
    padding-left: 0.5rem;
  }
  #arrow {
    position: fixed;
    right: 15px;
    bottom: 100px;
    width: 30px;
    height: 30px;
    cursor: pointer;
  }
  #arrow img {
    width: 100%;
  }
}
@media screen and (min-width: 768px) {
  .logo {
    position: absolute;
    top: 7%;
    left: 25%;
    max-width: 50%;
  }
  .mobile {
    display: none !important;
  }
  .content-wrap {
    max-width: 1200px;
    margin: 12px auto;
  }
  .item {
    margin-top: 10px;
  }
  .item:nth-child(odd) {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-direction: row;
  }
  .item:nth-child(even) {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-direction: row-reverse;
  }
  .item {
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.15);
  }
  .item:hover {
    box-shadow: 0 0 6px 0 rgba(39, 72, 167, 0.35);
  }

  .item .img .img2 {
    display: block;
    width: 100%;
  }
  .item .img {
    width: 50%;
    margin: 0;
    list-style-type: none;
    position: relative;
    justify-content: center;
    align-items: center;
  }
  .img:hover img {
    filter: brightness(50%);
  }
  .item .text {
    width: 50%;
    display: block;
    background: #fefefe;
    padding: 0 30px;
  }
  .item .text p:nth-of-type(1) {
    width: 100%;
    color: #222222;
  }
  .item .text p:nth-of-type(2) {
    width: 100%;
    color: #555555;
  }
  .item .text h3 {
    color: #2748a7;
  }
  .img img {
    width: 100%;
    object-fit: contain;
    display: inline-block;
  }

  .x {
    z-index: 3;
    position: absolute;
    text-decoration: none;
    width: 180px;
    height: 45px;
    line-height: 45px;
    background: #2748a7;
    color: #fff;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
  }

  .copyright {
    width: 100%;
    height: 80px;
    text-align: center;
    line-height: 2rem;
    letter-spacing: 0.04px;
    color: #e3e3e3;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0f2c7e;
  }
  .copyright a {
    width: 450px;
    height: 20px;
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    line-height: 20px;
  }

  #arrow {
    position: fixed;
    width: 50px;
    height: 50px;
    right: 80px;
    bottom: 80px;
    cursor: pointer;
  }
  #arrow img {
    width: 100%;
  }
}
