html,
body {
  padding: 0;
  margin: 0;
}

body {
  background-color: #000;
}

#banner {
  background: url(../images/banner.jpg) center center no-repeat;
  width: 1920px;
  height: 940px;
  margin: 0 auto;
  position: relative;
}

#fab-upload {
  background: url(../images/fab-upload.png) center center no-repeat;
  width: 218px;
  height: 74px;
  position: absolute;
  right: 244px;
  bottom: 109px;
  cursor: pointer;
  transform-origin: center center;
  animation: upload 0.6s linear infinite alternate;
}

#fab-upload:hover {
  animation: none;
}

@keyframes upload {
  0% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}

#main {
  width: 1920px;
  margin: 0 auto;
  padding-bottom: 69px;
  background: #040e29 url(../images/bg.jpg) bottom center no-repeat;
}

#nav {
  display: flex;
  align-items: center;
  height: 99px;
  background-color: rgba(11, 41, 118, 0.5);
  z-index: 9;
}

.anchor {
  position: absolute;
  visibility: hidden;
}

#logo {
  width: 238px;
  height: 29px;
  margin-left: 180px;
  background: url(../images/logo.png) center center no-repeat;
}

#menu {
  display: flex;
  margin-left: 92px;
  flex: 1;
}

.menu-item {
  width: 150px;
  height: 99px;
  box-sizing: border-box;
  border: 2px solid transparent;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 99px;
  text-align: center;
  text-decoration: none;
}

.menu-item.actived,
.menu-item:hover {
  background-color: #00eaff;
  color: #0c276e;
  font-weight: bold;
}

#nav-upload {
  width: 140px;
  height: 39px;
  border: 2px double transparent;
  border-radius: 22px;
  background-image: linear-gradient(#0c0e34, #0c0e34),
    linear-gradient(
      315deg,
      rgba(54, 106, 243, 1),
      rgba(82, 252, 244, 1),
      rgba(247, 192, 255, 1)
    );
  background-origin: border-box;
  background-clip: content-box, border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-right: 180px;
}

#nav-upload span {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  line-height: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #51f8f4 48%, #397bf3 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#slogan {
  width: 1420px;
  height: 600px;
  margin: 80px auto;
  background: url(../images/slogan.png) center center no-repeat;
}

#section-video {
  margin-top: 77px;
}

#title-video {
  width: 1200px;
  height: 140px;
  margin: 0 auto;
  background: url(../images/title-video.png) center center no-repeat;
}

#content-video {
  position: relative;
  width: 1318px;
  height: 600px;
  margin: 32px auto 0;
  background: url(../images/video-bg.png) center center no-repeat;
}

#content-video video {
  position: absolute;
  left: 158px;
  top: 83px;
  width: 900px;
  height: 506px;
}

#section-progress {
  width: 1200px;
  height: 400px;
  margin: 120px auto;
  background: url(../images/bg-progress.png) center center no-repeat;
}

#section-intro {
  width: 1200px;
  height: 280px;
  margin: 120px auto;
  background: url(../images/bg-intro.png) center center no-repeat;
}

#section-download,
#section-upload {
  display: flex;
  margin: 60px auto 0;
  align-items: center;
  justify-content: center;
}

.btn-common {
  display: flex;
  align-items: center;
  position: relative;
  color: #0c276e;
  font-size: 36px;
  font-weight: 600;
  text-decoration: none;
  padding: 0 48px;
  height: 98px;
  line-height: 94px;
  z-index: 0;
  cursor: pointer;
}

.btn-common::after {
  position: absolute;
  content: "";
  border: 2px solid #0c276e;
  background-color: #fff;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: -1;
}

.btn-common::before {
  position: absolute;
  content: "";
  background-color: #b2f5ff;
  width: 100%;
  height: 100%;
  right: -20px;
  bottom: -20px;
  z-index: -1;
}

#section-sample {
  width: 940px;
  height: 1187px;
  margin: 80px auto;
  background: url(../images/bg-sample.png) center center no-repeat;
}

#section-award {
  width: 1200px;
  height: 976px;
  margin: 120px auto;
  background: url(../images/bg-award.png) center center no-repeat;
}

#section-judge {
  width: 1200px;
  height: 802px;
  margin: 120px auto;
  background: url(../images/bg-judge.png) center center no-repeat;
}

#section-criteria {
  width: 1200px;
  height: 408px;
  margin: 120px auto;
  background: url(../images/bg-criteria.png) center center no-repeat;
}

#section-info {
  width: 1200px;
  height: 1201px;
  margin: 120px auto;
  background: url(../images/bg-info.png) center center no-repeat;
}

#section-notice {
  width: 1200px;
  height: 489px;
  margin: 120px auto;
  background: url(../images/bg-notice.png) center center no-repeat;
}

#title-share {
  width: 631px;
  height: 42px;
  margin: 0 auto;
  background: url(../images/title-share.png) center center no-repeat;
}

#group-share {
  display: flex;
  justify-content: center;
  margin-top: 80px;
  gap: 88px;
}

#group-share .btn-common {
  width: 280px;
  justify-content: center;
  padding: 0;
}

.share-icon {
  display: inline-block;
  width: 36px;
  height: 36px;
  margin-right: 20px;
  background-repeat: no-repeat;
}

.icon-facebook {
  background-image: url(../images/icon-facebook.png);
}

.icon-twitter {
  background-image: url(../images/icon-twitter.png);
}

.icon-reddit {
  background-image: url(../images/icon-reddit.png);
}

#fab-vote {
  background: url(../images/fab-vote.png) center center no-repeat;
  width: 218px;
  height: 74px;
  position: absolute;
  right: 244px;
  bottom: 109px;
  transform-origin: center center;
  animation: upload 0.6s linear infinite alternate;
}

#title-product {
  width: 318px;
  height: 32px;
  margin: 80px auto;
  background: url(../images/title-product.png) center center no-repeat;
}

#product-list {
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 1200px;
  margin: 0 auto;
}

.product-card {
  position: relative;
  width: 285px;
  height: 532px;
  padding: 2px;
  box-sizing: border-box;
  background-color: #fff;
}

.product-info {
  padding: 0 20px;
}

.product-image {
  width: 281px;
  height: 281px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.product-count {
  position: absolute;
  right: 2px;
  top: 251px;
  height: 32px;
  padding: 0 11px;
  line-height: 32px;
  text-align: center;
  background-color: #b2f5ff;
  color: #0c276e;
  font-size: 14px;
}

.product-name {
  font-size: 16px;
  color: #333;
  margin-top: 20px;
  width: 240px;
  height: 20px;
  word-break: break-all;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-author {
  font-size: 14px;
  color: #999;
  margin-top: 12px;
  width: 240px;
  height: 20px;
  word-break: break-all;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-label {
  font-size: 16px;
  color: #333;
  margin-top: 24px;
}

.product-intro {
  font-size: 14px;
  color: #333;
  margin-top: 8px;
  word-break: break-all;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 36px;
}

.product-action {
  display: flex;
  margin: 24px auto 0;
  align-items: center;
  justify-content: center;
}

.btn-small {
  position: relative;
  color: #0c276e;
  font-size: 16px;
  font-weight: 600;
  padding: 0 24px;
  height: 36px;
  line-height: 36px;
  z-index: 0;
  cursor: pointer;
}

.btn-small::after {
  position: absolute;
  content: "";
  border: 1px solid #0c276e;
  background-color: #fff;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: -1;
}

.btn-small::before {
  position: absolute;
  content: "";
  background-color: #476ae4;
  width: 100%;
  height: 100%;
  right: -8px;
  bottom: -8px;
  z-index: -1;
}

.btn-small:hover::after {
  background-color: #b2f5ff;
}

.btn-small.disabled {
  color: #999;
  cursor: not-allowed;
}

.btn-small.disabled::after {
  background-color: #e6e6e6;
}

#pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 80px;
}

.pager-item {
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  font-size: 14px;
  color: #0c276e;
  background-color: #fff;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 4px;
  cursor: pointer;
}

.pager-item.actived,
.pager-item:hover {
  background-color: #00eaff;
}

.pager-item.actived {
  cursor: default;
}

.pager-item.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pager-item.disabled:hover {
  background-color: #fff;
}

.pager-first {
  background-image: url(../images/icon-first.png);
}

.pager-last {
  background-image: url(../images/icon-last.png);
}

.pager-prev {
  background-image: url(../images/icon-prev.png);
}

.pager-next {
  background-image: url(../images/icon-next.png);
}

#fab-award {
  background: url(../images/fab-award.png) center center no-repeat;
  width: 218px;
  height: 74px;
  position: absolute;
  right: 244px;
  bottom: 109px;
  transform-origin: center center;
  animation: upload 0.6s linear infinite alternate;
}

.award-title {
  height: 32px;
  margin: 80px auto 50px;
  background-position: center center;
  background-repeat: no-repeat;
}

#title-level1 {
  width: 375px;
  height: 34px;
  background-image: url(../images/title-level1.png);
}

#title-level2 {
  width: 414px;
  background-image: url(../images/title-level2.png);
}

#title-level3 {
  width: 376px;
  background-image: url(../images/title-level3.png);
}

#title-level4 {
  width: 410px;
  background-image: url(../images/title-level4.png);
}

.award-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 1680px;
  margin: 0 auto;
  justify-content: center;
}

.award-card {
  position: relative;
  width: 320px;
  padding: 2px 2px 20px;
  box-sizing: border-box;
  background-color: #fff;
}

.award-image {
  width: 316px;
  height: 316px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.award-info {
  padding: 0 20px;
  width: 316px;
  box-sizing: border-box;
}

.award-name {
  font-size: 16px;
  color: #333;
  margin-top: 20px;
  width: 278px;
  height: 20px;
  word-break: break-all;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.award-author {
  font-size: 14px;
  color: #999;
  margin-top: 12px;
  width: 278px;
  height: 20px;
  word-break: break-all;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.award-label {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-top: 40px;
}

.award-intro {
  font-size: 14px;
  color: #333;
  margin-top: 8px;
  margin-bottom: 4px;
  word-break: break-all;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
}

.dialog-mask {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dialog-mask.small .dialog {
  width: 360px;
  box-sizing: border-box;
}

.dialog-mask.small .btn-close {
  top: 16px;
  right: 16px;
}

.dialog {
  position: relative;
  width: 900px;
  padding: 40px;
  z-index: 0;
  transform-origin: center center;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.dialog-mask.show {
  opacity: 1;
}

.dialog-mask.show .dialog {
  transform: scale(1);
}

.dialog::after {
  position: absolute;
  content: "";
  border: 2px solid #0c276e;
  background-color: #fff;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: -1;
}

.dialog::before {
  position: absolute;
  content: "";
  background-color: #b2f5ff;
  width: 100%;
  height: 100%;
  right: -20px;
  bottom: -20px;
  z-index: -1;
}

.btn-close {
  position: absolute;
  width: 24px;
  height: 24px;
  top: 28px;
  right: 28px;
  background: url(../images/icon-close.png) center center no-repeat;
  cursor: pointer;
}

.btn-close:hover {
  opacity: 0.8;
}

.dialog-title {
  font-size: 32px;
  font-weight: 600;
  color: #333;
  margin-bottom: 32px;
}

.dialog-content p {
  font-size: 16px;
  line-height: 22px;
  color: #333;
  margin: 0 0 20px;
}

.dialog-content p.dialog-message {
  font-size: 22px;
  font-weight: 800;
  color: #333333;
  line-height: 28px;
  text-align: center;
  margin-bottom: 40px;
}

.dialog-action {
  display: flex;
  margin: 20px auto 8px;
  align-items: center;
  justify-content: center;
}

.sign-unlogin {
  position: absolute;
  width: 129px;
  height: 100px;
  bottom: -20px;
  right: -49px;
  background: url(../images/sign-login.png) center center no-repeat;
}

.form-hint {
  width: 617px;
  height: 40px;
  font-size: 14px;
  color: #999;
  line-height: 20px;
  margin-bottom: 40px;
}

#copyright-link {
  text-decoration: none;
  color: #303fda;
}

.form-item {
  display: flex;
  margin-bottom: 24px;
  align-items: flex-start;
}

.require-label {
  width: 8px;
  font-size: 16px;
  color: #ff2626;
  margin-right: 12px;
  height: 40px;
  line-height: 40px;
}

.input-wrapper {
  position: relative;
  width: 500px;
  height: 40px;
  background: #f4f4f4;
  border-radius: 4px;
  border: 1px solid #ddd;
  display: flex;
  align-items: stretch;
}

.input-wrapper input[type="text"] {
  border: 0 none;
  outline: 0 none;
  background: transparent;
  padding: 0 46px 0 16px;
  flex: 1;
  font-size: 16px;
  color: #333;
}

.input-wrapper .word-count {
  position: absolute;
  right: 12px;
  width: 18px;
  line-height: 40px;
  font-size: 16px;
  color: #999;
  text-align: right;
}

.uploader-wrapper {
  position: relative;
  width: 240px;
  height: 240px;
  background: #f4f4f4;
  border-radius: 4px;
  border: 1px solid #dddddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.uploader-wrapper input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 240px;
  height: 240px;
  opacity: 0;
  z-index: 1;
}

.uploader-wrapper.uploaded .uploader-preview {
  display: block;
}
.uploader-wrapper.uploaded .uploader-placeholder {
  display: none;
}

.uploader-preview {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 240px;
  height: 240px;
  border-bottom: 4px;
}

.uploader-placeholder {
  position: absolute;
  left: 0;
  top: 0;
  width: 240px;
  height: 240px;
  border-bottom: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.uploader-icon {
  width: 30px;
  height: 30px;
  background: url(../images/icon-upload.png) center center no-repeat;
  margin-bottom: 12px;
}

.uploader-label {
  font-size: 16px;
  font-weight: 500;
  color: #999;
  line-height: 24px;
  margin-bottom: 8px;
}

.uploader-hint {
  font-size: 14px;
  color: #999;
  line-height: 20px;
  text-align: center;
}

.textarea-wrapper {
  position: relative;
  width: 500px;
  height: 136px;
  background: #f4f4f4;
  border-radius: 4px;
  border: 1px solid #ddd;
  display: flex;
  flex-direction: column;
}

.textarea-wrapper textarea {
  border: 0 none;
  outline: 0 none;
  background: transparent;
  padding: 12px 16px;
  flex: 1;
  font-size: 16px;
  color: #333;
  resize: none;
}

.form-extra {
  margin: 0 20px 40px 0;
}

.form-extra label {
  font-size: 16px;
  color: #333;
  line-height: 24px;
}
