html,
body {
  width: 100%;
  min-width: 1200px;
  height: 100%;
}

body {
  background: url(http://cscoding.top/img/login.jpg) no-repeat;
  background-size: cover;
  background-position: 0px -150px;
}

::-webkit-scrollbar {
  display: none;
}

canvas {
  display: block;
  vertical-align: bottom;
}

.count-particles {
  background: #000022;
  position: absolute;
  top: 48px;
  left: 0;
  width: 80px;
  color: #13E8E9;
  font-size: .8em;
  text-align: left;
  text-indent: 4px;
  line-height: 14px;
  padding-bottom: 2px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
}

.js-count-particles {
  font-size: 1.1em;
}

#stats,
.count-particles {
  -webkit-user-select: none;
  margin-top: 5px;
  margin-left: 5px;
}

#stats {
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}

.count-particles {
  border-radius: 0 0 3px 3px;
}


#particles-js {
  width: 100%;
  height: 100%;
  position: relative;
  background-color: hsla(0, 0%, 0%, 0.2);
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  margin-left: auto;
  margin-right: auto;
}

/* #particles-js canvas {
  opacity: 0.5;
} */

.sk-rotating-plane {
  display: none;
  width: 80px;
  height: 80px;
  margin: auto;
  background-color: white;
  -webkit-animation: sk-rotating-plane 1.2s infinite ease-in-out;
  animation: sk-rotating-plane 1.2s infinite ease-in-out;
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -40px;
  margin-top: -80px;
}

.sk-rotating-plane.active {
  display: block;
}

@keyframes sk-rotating-plane {
  0% {
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  }

  50% {
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  }

  100% {
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}

@keyframes login-small {
  0% {
    transform: scale(1);
    -moz-transform: scale(1);
    /* Firefox 4 */
    -webkit-transform: scale(1);
    /* Safari 和 Chrome */
    -o-transform: scale(1);
    /* Opera */
    -ms-transform: scale(1);
    /* IE 9 */
  }

  100% {
    transform: scale(0.2);
    -moz-transform: scale(0.1);
    /* Firefox 4 */
    -webkit-transform: scale(0.2);
    /* Safari 和 Chrome */
    -o-transform: scale(0.1);
    /* Opera */
    -ms-transform: scale(0.1);
    /* IE 9 */
  }
}

.login {
  display: none;
  z-index: 2;
  position: absolute;
  width: 350px;
  border-radius: 5px;
  height: 400px;
  background: white;
  box-shadow: 0px 0px 5px #333333;
  top: 50%;
  left: 50%;
  margin-top: -250px;
  margin-left: -175px;
  transition: all 1s;
  -moz-transition: all 1s;
  /* Firefox 4 */
  -webkit-transition: all 1s;
  /* Safari 和 Chrome */
  -o-transition: all 1s;
  /* Opera */
}

.icon {
  display: block;
  width: 60px;
  margin: 0 auto;
  margin-top: 20px;
}

.login-top {
  font-size: 25px;
  margin-top: 20px;
  padding-left: 10px;
  box-sizing: border-box;
  color: #333333;
  margin-bottom: 50px;
  text-align: center;
  font-weight: bold;
  letter-spacing: 20px;
}

.login-center {
  width: 100%;
  box-sizing: border-box;
  padding: 0 40px;
  margin-bottom: 30px;
}

.login-center-img {
  width: 20px;
  height: 20px;
  float: left;
  margin-top: 5px;
}

.login-center-img>img {
  width: 100%;
}

.login-center-input {
  float: left;
  width: 230px;
  margin-left: 15px;
  height: 30px;
  position: relative;
}

.login-center-input input {
  z-index: 2;
  transition: all 0.5s;
  padding-left: 10px;
  color: #333333;
  width: 100%;
  height: 30px;
  border: 0;
  border-bottom: 1px solid #cccccc;
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #ffffff;
  box-sizing: border-box;
  outline: none;
  position: relative;
}

.login-center-input input:focus {
  border: 1px solid dodgerblue;
}

.login-center-input-text {
  background: white;
  padding: 0 5px;
  position: absolute;
  z-index: 0;
  opacity: 0;
  height: 20px;
  top: 50%;
  margin-top: -10px;
  font-size: 14px;
  left: 5px;
  color: dodgerblue;
  line-height: 20px;
  transition: all 0.5s;
  -moz-transition: all 0.5s;
  /* Firefox 4 */
  -webkit-transition: all 0.5s;
  /* Safari 和 Chrome */
  -o-transition: all 0.5s;
  /* Opera */
}

.login-center-input input:focus~.login-center-input-text {
  top: 0;
  z-index: 3;
  opacity: 1;
  margin-top: -15px;
}

.login.active {
  -webkit-animation: login-small 0.8s;
  animation: login-small 0.8s;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards
}

.login-button {
  cursor: pointer;
  width: 250px;
  text-align: center;
  height: 40px;
  line-height: 40px;
  background-color: dodgerblue;
  border-radius: 5px;
  margin: 0 auto;
  margin-top: 50px;
  color: white;
}

#lesson-box {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 80%;
  height: 100vh;
  overflow: scroll;
}

.type-item {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  background: #eee;
  margin-top: 20px;
  border-radius: 10px;
}

.type-item .title {
  box-sizing: border-box;
  width: 100%;
  line-height: 60px;
  font-size: 30px;
  text-align: left;
  color: #000;
  font-weight: bold;
  padding-left: 2%;
}

.type-item .item {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
  width: 23%;
  height: 55px;
  margin: 1%;
  opacity: 1;
  border-radius: 5px;
  /* overflow: hidden; */
  background: #fff;
}

.type-item .item .record-tip {
  position: absolute;
  top: 55px;
  left: 0px;
  font-size: 12px;
  color: #f00;
}

.type-item .record-item {
  background: #ccc;
}

.type-item .item .number {
  width: 40px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

.type-item .button {
  width: 70px;
  height: 30px;
  font-size: 15px;
  background: #02f7b1;
  color: #000;
  text-align: center;
  line-height: 30px;
  border-radius: 5px;
}

.type-item .lesson-name {
  width: 85px;
  box-sizing: border-box;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.type-item .item:hover {
  cursor: pointer;
  -webkit-box-shadow: 0 0 15px -5px #000;
  box-shadow: 0 0 15px -5px #000;
  opacity: 0.8;
}

.select-box {
  width: 100%;
  font-size: 20px;
  color: #000;
  font-weight: bold;
  line-height: 50px;
  margin-top: 20px;
}

.select-box #lesson-type {
  width: 200px;
  height: 40px;
  font-size: 20px;
  color: #000;
}

.logout {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 20px;
  color: #000;
}

.logout .button {
  color: #f00;
  text-decoration: underline;
  cursor: pointer;
  font-size: 16px;
}

.video-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-width: 800px;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.video-popup .video-box {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 800px;
  height: 450px;
}


.video-popup video {
  width: 100%;
}
@media screen and (max-width:800px) {
  .video-popup .video-box{
    width: 90%;
    height: 40%;
  }
  .video-popup .video-box video {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
  }
  .video-popup{
    min-width: 0;
  }
}
.video-js .vjs-play-control {
  display: block !important;
}

.video-js.vjs-playing .vjs-tech {
  pointer-events: auto;
}

.video-js .vjs-time-control {
  display: block;
}

.video-js .vjs-remaining-time {
  display: none;
}

.video-popup .close {
  position: absolute;
  top: -70px;
  right: 0;
  width: 70px;
  cursor: pointer;
}