* {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  margin: 0;
  height: 100vh;
  width: 100vw;
  background-image: url(assets/background@2x.png);
  background-size: cover;
  background-position: center;

  overflow: hidden;

  display: flex;
  flex-direction: column;
}

.spanner-3 {
  flex: 3;
}

.spanner-4 {
  flex: 4;
}

.header {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: rgba(0,0,0,.16) 0 6px 6px;
  background: #F7E7FF;
  z-index: 1;
  position: relative;
}

.header-img {
  height: 27px;
  width: 27px;
  margin-right: 11px;
}

.header-text {
  font-size: 18px;
}

.main-slide-wrapper {
  height: 192px;
  width: 100vw;
  overflow: hidden;
}

.main-slide {
  height: 202px;
  padding-bottom: 10px;

  font-size: 0;
  white-space: nowrap;
  overflow-x: scroll;
  overflow-y: hidden;
}

.main-slide-page {
  width: 100vw;
  height: 192px;
  font-size: 16px;
  color: white;
  line-height: 21px;

  display: inline-flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 13px 8px;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.main-slide-ind-wrapper {
  height: 0;
  width: 100vw;
  position: relative;
}

.main-slide-ind {
  height: 12px;
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-slide-ind-dot {
  border: #707070 1px solid;
  background: #707070;
  width: 12px;
  height: 12px;
  border-radius: 6px;
  margin: 0 5px;
}

.main-slide-ind-dot-active {
  background: white;
}

.home {
  display: flex;
  align-items: center;
  justify-content: center;

  margin: 30px auto 10px auto;

  width: 256px;
  height: 64px;

  color: white;

  box-shadow: rgba(0,0,0,.16) 0 6px 6px;
  background: #A25C9E;
  border: white 2px solid;
  border-radius: 32px;
}

.home-img {
  width: 23px;
  height: 26px;
  margin-right: 10px;
}

.home-text {
  font-size: 22px;
}

.section-slide-wrapper {
  width: 100%;
  overflow: hidden;
  height: 184px;
}

.section-slide {
  padding: calc(50vw - 138px);
  padding-top: 20px;
  padding-bottom: 30px;
  overflow-y: visible;
  overflow-x: scroll;
  height: calc(100% + 10px);
  white-space: nowrap;
  position: relative;
  font-size: 0;
}

.section-slide-page {
  display: inline-flex;
  width: 256px;
  margin: 0 10px;
  height: 100%;
  border-radius: 19px;
  border: white 2px solid;
  box-shadow: rgba(0,0,0,.49) 0 3px 12px;

  padding: 10px;
  align-items: flex-end;
  justify-content: flex-end;
  flex-direction: column;
  color: white;
}

.section-brand {
  font-weight: 900;
  font-size: 18px;
}

.section-brand big {
  font-size: 26px;
}

.section-hint {
  font-size: 16px;
  font-weight: 100;
}

.bottom {
  padding-bottom: 30px;
}

.bottom-hint {
  font-size: 18px;
  margin-bottom: 18px;
  color: #707070;
  text-align: center;
}

.bottom-tiles {
  display: flex;
  justify-content: space-around;
  padding: 0 10px;
  font-size: 0;
}

.bottom-tile {
  flex: 1;
}

.bottom-img {
  width: 100%;
  height: auto;
}

.bottom-text {
  font-size: 16px;
  line-height: 21px;
  text-align: center;
}

.contact-switcher {
  width: 100%;
  min-height: 128px;
  background: #CABED1;

  display: flex;
  justify-content: space-around;
  align-items: center;
}

.contact-option {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 71px;

  position: relative;
}

.contact-option:before {
  content: ' ';
  position: absolute;
  background: url(assets/lighting@2x.png);
  background-size: contain;
  width: 196px;
  height: 128px;
  top: calc(50% - 64px);
  left: calc(50% - 98px);
  z-index: 0;

  opacity: 0;
  transition: opacity .2s ease;
}

.contact-option-active.contact-option:before {
  opacity: .8;
}

.contact-option-img {
  width: 50px;
  transition: transform .2s ease;
  position: relative;
  z-index: 1;
}

.contact-option-text {
  color: #553861;
  position: relative;
  z-index: 1;
}

.contact-option-active .contact-option-img {
  transform: scale(1.2);
  filter: brightness(1.5);
}

.contact-option-active .contact-option-text {
  filter: brightness(1.5);
}

.contact-lists {
  flex: 1;
  max-height: calc(100vh - 48px - 128px);
  font-size: 0;
  overflow-x: scroll;
  white-space: nowrap;
}

.contact-list {
  display: inline-block;
  padding: 15px 20px;
  overflow-y: scroll;
  width: 100%;
  height: 100%;
}

.contact {
  display: flex;
  height: 67px;
  border: 1px solid #BC9ABA;
  border-radius: 34px;
  background: white;

  display: flex;
  align-items: center;
  margin-bottom: 8px;

  box-shadow: rgba(0,0,0,.16) 0 3px 6px;
}

.contact-img {
  margin-left: 10px;
  width: 48px;
  margin-right: 9px;
}

.contact-info {
  flex: 1;
}

.contact-title {
  font-size: 16px;
  color: #202020;
  line-height: 21px;
}

.contact-hint {
  margin-top: 2px;
  font-size: 12px;
  line-height: 16px;
  color: #707070;
}

.contact-hitzone {
  display: inline-flex;
  align-items: center;
}

.contact-qrcode {
  width: 21px;
  height: 21px;
  margin: 11px;
}

.contact-arrow {
  height: 57px;
  width: 35px;
  margin-right: 4px;
}

.backdrop {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;

  background-color: rgba(85, 56, 97, .6);

  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-wrapper {
  padding: 28px;
  background: white;
  border-radius: 34px;
  box-shadow: rgba(0,0,0,.16) 0 3px 6px;
}

.qr-hint {
  color: #A25C9E;
  font-size: 18px;
  line-height: 24px;
  margin-top: 10px;
  text-align: center;
}

.qr {
  width: 217px;
  height: 217px;
}

.contact .contact-hitzone {
  filter: grayscale(1);
  opacity: .5;
}

.contact[data-qr] .contact-hitzone {
  filter: grayscale(0);
  opacity: 1;
}

.cals {
  overflow-y: scroll;
  overflow-x: hidden;
  font-size: 0;
}

.cals img {
  width: 100%;
  height: auto;
}

/* Element config */
.main-slide-page:nth-child(1) {
  background-image: url(assets/DSC09361@2x.png);
}

.main-slide-page:nth-child(2) {
  background-image: url(assets/DSC09336@2x.png);
}

.main-slide-page:nth-child(3) {
  background-image: url(assets/DSC09359@2x.png);
}

.main-slide-page:nth-child(4) {
  background-image: url(assets/DSC04449_mh1542523535364@2x.png);
}

.section-slide-page:nth-child(1) {
  background-image: url(assets/本科招生.png);
}

.section-slide-page:nth-child(2) {
  background-image: url(assets/研究生招生.png);
}

.section-slide-page:nth-child(3) {
  background-image: url(assets/留学生招生.png);
}
