@charset "UTF-8";
:root {
  --container-width: 1300px;
  --header-height: 100px;
  --aside-width: 200px;
  --footer-height: 170px;
}

/****************************** 基础样式 ******************************/
/* 登录，注册 */
.login {
  margin-top: 80px;
  background-color: white;
  padding: 40px;
}

.login-container,
.register-container {
  width: 350px;
}

.login-logo {
  width: 40px;
}

.login-title {
  font-size: 22px;
  color: var(--font-color);
}

.login-error {
  background-color: #fafafa;
  padding: 5px;
  color: var(--color-red);
  text-align: center;
  margin-bottom: 20px;
}

/* header */
.header {
  background-color: var(--nav-bg-color);
  padding: 20px;
}

.header-container {
  width: var(--container-width);
  height: var(--header-height);
}

.header-logo {
  width: 35px;
}

.header-title {
  color: black;
  font-weight: bold;
  font-size: 20px;
  margin-left: 10px;
}

.header-login-info {
  color: black;
  margin-left: 50px;
}

.header-login-info:hover {
  cursor: pointer;
}

/* 导航 */
.nav-item:nth-child(n+2) {
  margin-left: 20px;
}

.nav-item a {
  color: black;
}

.nav-item .active {
  color: red;
}

.nav-item-selected {
  color: var(--color-primary) !important;
}

/* main */
.main {
  display: flex;
  background-color: #ededed;
}

.main-content {
  margin: 0 auto;
  width: var(--container-width);
  padding-top: 20px;
  padding-bottom: 40px;
  /* background-color: white; */
}

.main-height {
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

.no-footer-main {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  justify-content: center;
}

.content {
  font-size: 15px;
}

/* footer */
.footer {
  background-color: white;
  min-height: var(--footer-height);
  padding: 20px 0;
}

.footer-contianer {
  width: var(--container-width);
  color: black;
  display: flex;
}

.footer a {
  color: black;
}

.hf {
  width: var(--container-width);
}

.header-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.section {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #e6e6e6;
  padding: 20px;
}

.section-title {
  display: flex;
  align-items: center;
}

.section-title-text {
  font-size: 20px;
  font-weight: bolder;
  padding: 10px 0;
  margin-left: 10px;
}

.title-dec {
  background-color: var(--color-primary);
  width: 5px;
  height: 28px;
}

.first-video-container {
  width: 60%;
  position: relative;
}

.first-video {
  width: 100%;
  background-color: #252632;
}

.first-video-container,
.first-video {
  height: 500px;
}

.app {
  /* background-color: red; */
  width: 40%;
  padding: 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.app-name {
  font-size: 24px;
  font-weight: bolder;
  letter-spacing: 5px;
  color: var(--color-primary);
}

.app-img {
  margin-top: 20px;
  width: 200px;
}

.app-img-text {
  margin-top: 20px;
  font-size: 15px;
  font-weight: bolder;
}

.enter-button {
  position: absolute;
  width: 150px;
  height: 45px;
  border-radius: 30px;
  border: 1px solid white;
  font-size: 16px;
  background: rgba(0, 0, 0, 0.3);
  color: white;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.enter-button:hover {
  cursor: pointer;
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.section-2 {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url("../images/app-banner.jpg") no-repeat center center;
  background-size: cover;
}

.video-list {
  display: flex;
  margin-top: 10px;
}

.video-item {
  background-color: white;
}

.video-item .video {
  width: 400px;
  height: 200px;
}

.video {
  background: radial-gradient(circle, #dfdfdf, #b6b1a0, #4e4242);
}

.video-item:nth-child(n+2) {
  margin-left: 20px;
}

.video-title {
  padding: 5px 0;
}

.footer-nav {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  width: 30px;
  height: 30px;
}

.footer-title {
  font-size: 14px;
  margin-left: 10px;
}

.footer-nav-item {
  margin-top: 15px;
}

.footer-content {
  margin-left: 200px;
}

.page {
  height: 100%;
  background-color: white;
}

.page-container {
  width: 80%;
  margin: 0 auto;
}