﻿body {
  margin: 0;
  font-size: 14px;
  color: #333333;
}

a {
  text-decoration: none;
  color: #333333;
}

h1 {
  font-family: sans-serif;
  font-weight: 300;
  letter-spacing: 2px;
  font-size: 45px;
}

p {
  font-family: sans-serif;
  letter-spacing: 1px;
  font-size: 14px;
  color: #333333;
}

.header {
  position: absolute;
  width: 100%;
  text-align: center;
  background: linear-gradient(60deg, rgba(0, 130, 252, 0.7) 0%, rgba(0, 82, 233, 0.8) 100%);
  color: white;
}

.logo {
  width: 50px;
  fill: white;
  padding-right: 15px;
  display: inline-block;
  vertical-align: middle;
}

.inner-header {
  height: 45vh;
  width: 100%;
  margin: 0;
  padding: 0;
}

.flex {
  /*Flexbox for containers*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px;
  /*Fix for safari gap*/
  min-height: 100px;
  max-height: 150px;
}

.content {
  position: relative;
  height: 20vh;
  text-align: center;
  background-color: white;
}

/* Animation */

.parallax>use {
  animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 21s;
}

.parallax>use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 30s;
}

.parallax>use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 33s;
}

.parallax>use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 60s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }

  100% {
    transform: translate3d(85px, 0, 0);
  }
}

.col-md-6 {
  flex: 0 0 50%;
  max-width: 50%
}

.main {
  margin: 0 auto;
  margin-top: 100px;
  position: absolute;
  left: 25%;
}



.guide {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(105, 108, 109, 0.2);
  -webkit-box-shadow: 0pt 2px 5px rgba(105, 108, 109, 0.3), 0px 0px 8px 5px rgba(208, 223, 226, 0.1) inset;
  -moz-box-shadow: 0pt 2px 5px rgba(105, 108, 109, 0.3), 0px 0px 8px 5px rgba(208, 223, 226, 0.1) inset;
  box-shadow: 0pt 2px 5px rgba(105, 108, 109, 0.3), 0px 0px 8px 5px rgba(208, 223, 226, 0.1) inset;
  -webkit-box-shadow: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  text-align: center;
}

.guide h1 {
  font-size: 30px;
  font-weight: 500;
  color: #343a40;
  padding: 30px 0 0px 0;
  margin: 0;
}

.guide h4 {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  padding-top: 20px;
  color: #343a40;
}

.guide .list {
  width: 90%;
  background-color: #f8f9fb;
  margin: 30px 5%;
  border-radius: 5px;
  display: flex;
}

.list ul {
  width: 100%;
  list-style-type: none;
  margin: 0;
  padding: 0;
  margin: 10px 0;
}

.list ul li {
  user-select: none;
  float: left;
  width: 50%;
  text-transform: uppercase;
  text-indent: 2em;
  padding: 10px 0;
  color: #999;
  text-align: left;
}

.list ul li:nth-child(even) {
  text-indent: 5em;
}

.list ul li span {
  color: #333;
  font-size: 13px;
}

.list ul li a {
  color: rgb(248, 95, 95);
  font-size: 12px;
}

.info {
  margin-top: 100px;
  color: #555;
  border-bottom: solid 1px #d3d3d3;
}

.info a {
  color: #3277FC;
  text-decoration: none;
}

.fieldset {
  margin: 15px 0;
}

.btn-primary {
  color: #fff;
  background-color: #3277FC;
  border-color: #006fde;
  width: 115px;
}

.btn-primary-l {
  width: 160px;
}

.btn-primary:focus,
.btn-primary.focus {
  color: #fff;
  background-color: #3277FC;
  border-color: #006fde;
}

.btn-primary:hover {
  color: #fff;
  background-color: #125ffa;
  border-color: #006fde;
}

.btn {
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 4px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.custom-control-input {
  position: relative;
  top: 1.5px;
}

.refresh {
  position: absolute;
  right: 0;
  width: 100px;
  top: 40px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  color: #606266;
}

#pledge {
  max-width: 570px;
  text-align: left;
  padding: 10px 25px;
  max-height: 60vh;
  font-size: 14px;
  overflow-x: hidden;
  text-underline-position: under;
  word-break: break-word;
  white-space: pre-wrap;
}

br {
  padding: 50px;
  border: 1px solid black;
}


div::-webkit-scrollbar {
  width: 10px;
}

div::-webkit-scrollbar-thumb,
div::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 5px rgb(0 0 0 / 20%);
  box-shadow: inset 0 0 5px rgb(0 0 0 / 20%);
}

div::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: rgba(0, 0, 0, .2);
}

div::-webkit-scrollbar-track {
  border-radius: 0;
  background: rgba(0, 0, 0, .1);
}

div::-webkit-scrollbar-thumb,
div::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 5px rgb(0 0 0 / 20%);
  box-shadow: inset 0 0 5px rgb(0 0 0 / 20%);
}

.close {
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: calc(1.25625rem + 0.075vw);
  color: #999;
}

.close:hover {
  color: #409EFF;
}

.el-dialog__title {
  line-height: 24px;
  font-size: 18px;
  color: #303133;
}

.students {
  width: 100%;
  display: flex;
  text-align: center;
  padding: 20px 0;
}

.student {
  width: 50%;
}

/*Shrinking for mobile*/
@media (max-width: 1268px) {

  .col-md-6 {
    flex: 0 0 70%;
    max-width: 70%
  }

  .main {
    margin-top: 50px;
    left: 15%;
  }

  .popup-content {
    left: 15%;
    transform: translate(7%, -50%);
  }

}


/*Shrinking for mobile*/
@media (max-width: 968px) {

  .col-md-6 {
    flex: 0 0 80%;
    max-width: 80%
  }

  .main {
    margin-top: 50px;
    left: 10%;
  }

  .popup-content {
    left: 10%;
    transform: translate(-2.5%, -50%);
  }

}

/*Shrinking for mobile*/
@media (max-width: 788px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }

  .col-md-6 {
    flex: 0 0 90%;
    max-width: 90%
  }

  .content {
    height: 30vh;
  }

  h1 {
    font-size: 24px;
  }

  .main {
    margin-top: 50px;
    left: 5%;
  }

  .popup-content {
    left: 5%;
    transform: translate(-2.5%, -50%);
  }

  .list ul li {
    width: 100%;
  }

  .list ul li:nth-child(even) {
    text-indent: 2em;
  }

  .info {
    margin-top: 10px;
  }

}