@charset "utf-8";
/* CSS Document */

html,
body {
  margin: 0px;
  width: 100%;
  height: 100%;
}

.logo {
  position: absolute;
  top: 50px;
  width: 360px;
  left: 50%;
  margin-left: -200px;
  z-index: 100;
}

.logo img {
  width: 100%;
}

.campus {
  position: absolute;
  width: 50%;
  height: calc(100%);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.left {
  left: 0px;
  background-image: url(../images/bg1.jpg);
}

.right {
  right: 0px;
  background-image: url(../images/bg2.jpg);
}

.campus p {
  position: absolute;
  display: inline-block;
  margin: 0px;
  bottom: 0px;
  width: 100%;
  padding: 20px 0px;
  color: white;
  font-size: 36px;
  text-align: center;
  transition: padding 0.2s;
  -webkit-transition: padding 0.2s;
  -moz-transition: padding 0.2s;
  -ms-transition: padding 0.2s;
  -o-transition: padding 0.2s;
}

.red {
  background-color: #a40000;
  opacity: 0.9;
}

.blue {
  background-color: #154afc;
  opacity: 0.9;
}

.campus:hover p {
  padding: 180px 0px;
}

.name {
  display: flex;
  justify-content: center;
  z-index: 99;
}

.name p {
  position: absolute;
  top: 200px;
  font-size: 62px;
  font-weight: 600;
  text-shadow: 3px 3px 0 yellow, 6px 6px 0 blue, 9px 9px red, 12px 12px 0 black;
  font-family: “Arial”, “Microsoft YaHei”, “黑体”, sans-serif;
  text-transform: uppercase;
  text-align: center;
  color: #ee6352;
}

@media (max-width: 1024px) {
  .logo {
    top: 45%;
  }

  .campus {
    position: absolute;
    width: calc(100%);
    height: 50%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
  }

  .campus:hover p {
    padding: 0 180px;
  }

  .campus p {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100%);
    width: 10%;
    padding: 0 10px;
    font-size: 64px;
    font-weight: 600;
  }

  .right {
    bottom: 0px;
  }

  .name p {
    top: 47%;
    font-size: 52px;
    transform: translateX(5%);
    -webkit-transform: translateX(5%);
    -moz-transform: translateX(5%);
    -ms-transform: translateX(5%);
    -o-transform: translateX(5%);
  }
}