/** @format */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
blockquote,
th {
  font-family: "Roboto", Arial, "Noto Sans TC", "Microsoft JhengHei", sans-serif !important;
}

img,
object,
embed,
video {
  max-width: 100%;
}

.ie6 img {
  width: 100%;
}

body {
  color: #333333;
  font-size: 15px;
  min-width: 320px;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: auto;
  }
}

.cp-tips {
  width: 100%;
  line-height: 1.6;
  text-align: center;
  color: #996600;
  background-color: #ffefc6;
  padding: 10px;
  font-size: 16px;
}

.cp-tips p {
  margin: 0;
}

.cp-tips a {
  color: #f75c61;
  text-decoration: underline;
}

.cp-tips .cp-tips-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: block;
  width: 22px;
  height: 22px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  cursor: pointer;
}

.cp-tips .cp-tips-close:before {
  content: "";
  position: absolute;
  width: 100%;
  border-top: 1px solid #996600;
  top: 50%;
  left: 0;
}

.cp-tips .cp-tips-close:after {
  content: "";
  position: absolute;
  height: 100%;
  border-left: 1px solid #996600;
  top: 0;
  left: 50%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.4;
  margin: 0;
  padding: 0;
}

p {
  line-height: 1.4;
  margin-bottom: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.text-hidden {
  height: 0;
  text-indent: -9999px;
  padding: 0;
  margin: 0;
}

.header {
  background: #fff;
  padding: 20px 40px;
  overflow: hidden;
}

.header .brand {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
}

.header .brand span {
  display: inline-block;
  height: 25px;
  border-right: 1px solid #a0a0a0;
}

.header .school_logo {
  max-width: 250px;
  max-height: 45px;
}

.footer {
  background: #edf1ff;
  text-align: center;
  padding: 15px;
  font-size: 12px;
  color: #112f82;
  overflow: hidden;
}

.all-content {
  position: relative;
  background: -webkit-gradient(linear, left top, right top, from(#020bfd), to(#112f82));
  background: linear-gradient(90deg, #020bfd 0%, #112f82 100%);
  padding: 6em 10px;
  min-height: calc(100vh - 130px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  overflow: hidden;
}

.all-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/content_bg.png) no-repeat center/cover;
  pointer-events: none;
}

.all-content > * {
  position: relative;
}

.all-content .inner {
  width: 980px;
  max-width: 100%;
  margin: 0 auto;
}

.all-content .mainimg {
  position: relative;
  display: inline-block;
}

.all-content .mainimg::before {
  content: "";
  width: 275px;
  height: 275px;
  position: absolute;
  top: -60px;
  left: -60px;
  background: url(../images/dot1.png) no-repeat center/cover;
}

.all-content .mainimg::after {
  content: "";
  width: 157px;
  height: 258px;
  position: absolute;
  bottom: -40px;
  right: -40px;
  background: url(../images/dot2.png) no-repeat center/cover;
}

.all-content .mainimg > * {
  position: relative;
  z-index: 2;
}

.title {
  color: #fff;
}

.title h1 {
  font-size: 2.2rem;
}

.title h2 {
  font-size: 1.4rem;
  font-weight: normal;
}

.loading {
  text-align: center;
  padding-top: 4em;
  display: none;
}

.loading .loader {
  border: 4px solid #f3f3f3;
  border-radius: 50%;
  border-top: 4px solid #5fffff;
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
  -webkit-animation: spin 1.5s linear infinite;
          animation: spin 1.5s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

.loading .loading-text {
  font-size: 1em;
  letter-spacing: 0.05em;
  font-weight: normal;
  color: #fff;
  opacity: 0.7;
}

.loading .dots::after {
  content: "";
  display: inline-block;
  width: 1em;
  text-align: left;
  -webkit-animation: dots 1.5s steps(4, end) infinite;
          animation: dots 1.5s steps(4, end) infinite;
}

@-webkit-keyframes dots {
  0%,
  20% {
    content: "";
  }
  40% {
    content: ".";
  }
  60% {
    content: "..";
  }
  80%,
  100% {
    content: "...";
  }
}

@keyframes dots {
  0%,
  20% {
    content: "";
  }
  40% {
    content: ".";
  }
  60% {
    content: "..";
  }
  80%,
  100% {
    content: "...";
  }
}

@media only screen and (max-width: 991px) {
  .header .brand {
    gap: 10px;
  }
  .header .brand span {
    height: 20px;
  }
  .header .logo {
    width: 135px;
  }
  .header .school_logo {
    max-width: 190px;
    max-height: 36px;
  }
  .loading {
    padding: 2em 0;
  }
}

@media only screen and (max-width: 767px) {
  .header {
    padding: 15px 20px;
  }
}

@media only screen and (max-width: 575px) {
  .header .logo {
    width: 100px;
  }
  .header .school_logo {
    max-width: 150px;
    max-height: 28px;
  }
  .all-content .mainimg img {
    max-width: 80%;
  }
  .title h1 {
    font-size: 1.5rem;
  }
  .title h2 {
    font-size: 1rem;
  }
}

@media only screen and (max-width: 480px) {
  .all-content .mainimg::before {
    width: 57.2vw;
    height: 57.2vw;
  }
  .all-content .mainimg::after {
    width: 32.7vw;
    height: 53.7vw;
  }
}
