* {
  margin: 0;
  padding: 0;
}

ul {
  margin-left: 2rem;
}

#home {
  color: #333333;
}

#star {
  color: #dd353e;
}

img {
  width: 100%;
}

.topimg {
  margin-top: 80px;
}

.wh5,
.wh6,
.wh7,
.wh8,
.wh9,
.wh10 {
  width: 100%;
  position: relative;
}

.wximg5,
.wximg6,
.wximg7,
.wximg8,
.wximg9,
.wximg10 {
  position: absolute;
  z-index: 30;
}

.wh6,
.wh7,
.wh8,
.wh9,
.wh10 {
  margin-top: 25%;
}

.swiper-container {
  width: 62%;
  background-color: #f5f5f5;
}

.swiper-button-prev {
  margin-left: 10px;
  opacity: 0.5;
}

.swiper-button-next {
  margin-right: 10px;
  opacity: 0.5;
}

.swiper-button-prev:hover {
  opacity: 1;
}

.swiper-button-next:hover {
  opacity: 1;
}

.swiper-slide {
  position: relative;
}

.swiper-slide:hover .info {
  opacity: 1;
  -webkit-transition: All 0.6s ease-in-out;
  -moz-transition: All 0.6s ease-in-out;
  -o-transition: All 0.6s ease-in-out;
}

.info {
  width: 100%;
  height: 6rem;
  color: #fff;
  background-color: rgb(225, 80, 78);
  position: absolute;
  z-index: 9;
  opacity: 0;
  bottom: 0;
  left: 0;
}

.starName {
  font-size: 1rem;
  margin-top: 0.6rem;
  margin-left: 1rem;
}

.info ul {
  margin-top: 0.5rem;
  float: right;
  margin-right: 1rem;
}

.info li {
  list-style: none;
  float: left;
  margin-right: 0.3rem;
}

.info li a {
  display: block;
  cursor: pointer;
  text-decoration: none;
}

.describe {
  font-size: 14px;
  margin-left: 1rem;
  margin-top: 0.2rem;
  clear: both;
}

.jumpTop {
  cursor: pointer;
  width: 3rem;
  height: 3rem;
  text-align: center;
  line-height: 3rem;
  position: fixed;
  right: 6rem;
  bottom: 6rem;
  background-color: #fff;
  display: none;
  border-radius: 50%;
  text-decoration: none;
  z-index: 99999;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.jumpTop:hover {
  background-color: #dd353e;
  -webkit-transition: All 0.6s ease-in-out;
  -moz-transition: All 0.6s ease-in-out;
  -o-transition: All 0.6s ease-in-out;
}

.jumpTop:hover .topIco {
  color: #fff;
  -webkit-transition: All 0.6s ease-in-out;
  -moz-transition: All 0.6s ease-in-out;
  -o-transition: All 0.6s ease-in-out;
}

.topIco {
  font-size: 1.8rem;
  color: #9e9e9e;
}

.footer {
  margin-top: 0;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(35, 35, 35, 1);
}

.beeWall {
  width: 50%;
  margin: 0 auto;
}

#contactTemplate {
  /*clear: both;*/
  margin-top: 25%;
  width: 100%;
  height: 27em;
}

.morel,
.morer {
  display: block;
  text-decoration: none;
  width: 12em;
  height: 2.5em;
  line-height: 2.5em;
  text-align: center;
  border-radius: 5em;
  color: #fff;
  font-size: 1em;
  background-color: #333333;
}

.morel {
  font-weight: bold;
  font-size: 14px;
  position: absolute;
  z-index: 34;
  margin-top: 18%;
  margin-left: 20%;
  background-color: white;
  color: #333333;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
}

.morer {
  font-weight: bold;
  font-size: 14px;
  position: absolute;
  margin-left: 66%;
  margin-top: 18%;
  z-index: 34;
  background-color: white;
  color: #333333;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
}

i {
  font-family: "iconfont" !important;
  font-size: 28px;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;
}

.marrow {
  font-size: 1em;
  color: #333333;
}

.arrow {
  font-size: 1em;
}

#hexGrid {
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  padding: 0.866% 0;
  font-family: "Raleway", sans-serif;
  font-size: 15px;
}

#hexGrid:after {
  content: "";
  display: block;
  clear: both;
}

.hex {
  position: relative;
  list-style-type: none;
  float: left;
  overflow: hidden;
  visibility: hidden;
  outline: 1px solid transparent; /* fix for jagged edges in FF on hover transition */
  -webkit-transform: rotate(-60deg) skewY(30deg) translatez(-1px);
  -ms-transform: rotate(-60deg) skewY(30deg) translatez(-1px);
  transform: rotate(-60deg) skewY(30deg) translatez(-1px);
}

.hex * {
  position: absolute;
  visibility: visible;
  outline: 1px solid transparent; /* fix for jagged edges in FF on hover transition */
}

.hexIn {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  overflow: hidden;
  -webkit-transform: skewY(-30deg) rotate(60deg);
  -ms-transform: skewY(-30deg) rotate(60deg);
  transform: skewY(-30deg) rotate(60deg);
  color: transparent;
}

/*** HEX CONTENT **********************************************************************/
.hex img {
  left: -100%;
  right: -100%;
  width: auto;
  height: 100%;
  margin: 0 auto;
}

.hex h1,
.hex p {
  width: 102%;
  left: -1%; /* prevent line on the right where background doesn't cover image */
  padding: 5%;
  box-sizing: border-box;
  background-color: rgba(222, 53, 62, 0.6);
  font-weight: 300;
  -webkit-transition: -webkit-transform 0.2s ease-out, opacity 0.3s ease-out;
  transition: transform 0.2s ease-out, opacity 0.3s ease-out;
}

.hex h1 {
  bottom: 40%;
  padding-top: 50%;
  font-size: 1.3em;
  z-index: 1;
  -webkit-transform: translateY(-100%) translatez(-1px);
  -ms-transform: translateY(-100%) translatez(-1px);
  transform: translateY(-100%) translatez(-1px);
}

.hex h1:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 45%;
  width: 10%;
  text-align: center;
}

.hex p {
  top: 60%;
  padding-bottom: 50%;
  -webkit-transform: translateY(100%) translatez(-1px);
  -ms-transform: translateY(100%) translatez(-1px);
  transform: translateY(100%) translatez(-1px);
}

/*** HOVER EFFECT  **********************************************************************/
.hexIn:hover h1,
.hexIn:focus h1,
.hexIn:hover p,
.hexIn:focus p {
  -webkit-transform: translateY(0%) translatez(-1px);
  -ms-transform: translateY(0%) translatez(-1px);
  transform: translateY(0%) translatez(-1px);
}

/*** SPACING AND SIZING *****************************************************************/
@media (min-width: 1201px) {
  /* <- 5-4  hexagons per row */
  .hex {
    width: 19.2%; /* = (100-4) / 5 */
    padding-bottom: 22.17%; /* =  width / sin(60deg) */
  }

  .hex:nth-child(9n + 6),
  .hex:nth-child(9n + 7),
  .hex:nth-child(9n + 8),
  .hex:nth-child(9n + 9) {
    margin-top: -4.676%;
    margin-bottom: -4.676%;
    -webkit-transform: translateX(50%) rotate(-60deg) skewY(30deg);
    -ms-transform: translateX(50%) rotate(-60deg) skewY(30deg);
    transform: translateX(50%) rotate(-60deg) skewY(30deg);
  }

  .hex:nth-child(9n + 6):last-child,
  .hex:nth-child(9n + 7):last-child,
  .hex:nth-child(9n + 8):last-child,
  .hex:nth-child(9n + 9):last-child {
    margin-bottom: 0;
  }

  .hex:nth-child(9n + 6) {
    margin-left: 0.5%;
    clear: left;
  }

  .hex:nth-child(9n + 10) {
    clear: left;
  }

  .hex:nth-child(9n + 2),
  .hex:nth-child(9n + 7) {
    margin-left: 1%;
    margin-right: 1%;
  }

  .hex:nth-child(9n + 3),
  .hex:nth-child(9n + 4),
  .hex:nth-child(9n + 8) {
    margin-right: 1%;
  }
}

@media (max-width: 1200px) and (min-width: 901px) {
  /* <- 4-3  hexagons per row */
  .hex {
    width: 24.25%; /* = (100-3) / 4 */
    padding-bottom: 28.001%; /* =  width / sin(60deg) */
  }

  .hex:nth-child(7n + 5),
  .hex:nth-child(7n + 6),
  .hex:nth-child(7n + 7) {
    margin-top: -6.134%;
    margin-bottom: -6.134%;
    -webkit-transform: translateX(50%) rotate(-60deg) skewY(30deg);
    -ms-transform: translateX(50%) rotate(-60deg) skewY(30deg);
    transform: translateX(50%) rotate(-60deg) skewY(30deg);
  }

  .hex:nth-child(7n + 5):last-child,
  .hex:nth-child(7n + 6):last-child,
  .hex:nth-child(7n + 7):last-child {
    margin-bottom: 0;
  }

  .hex:nth-child(7n + 2),
  .hex:nth-child(7n + 6) {
    margin-left: 1%;
    margin-right: 1%;
  }

  .hex:nth-child(7n + 3) {
    margin-right: 1%;
  }

  .hex:nth-child(7n + 8) {
    clear: left;
  }

  .hex:nth-child(7n + 5) {
    clear: left;
    margin-left: 0.5%;
  }
}

@media (max-width: 900px) and (min-width: 601px) {
  /* <- 3-2  hexagons per row */
  .hex {
    width: 32.666%; /* = (100-2) / 3 */
    padding-bottom: 37.72%; /* =  width / sin(60) */
  }

  .hex:nth-child(5n + 4),
  .hex:nth-child(5n + 5) {
    margin-top: -8.564%;
    margin-bottom: -8.564%;
    -webkit-transform: translateX(50%) rotate(-60deg) skewY(30deg);
    -ms-transform: translateX(50%) rotate(-60deg) skewY(30deg);
    transform: translateX(50%) rotate(-60deg) skewY(30deg);
  }

  .hex:nth-child(5n + 4):last-child,
  .hex:nth-child(5n + 5):last-child {
    margin-bottom: 0;
  }

  .hex:nth-child(5n + 4) {
    margin-right: 1%;
    margin-left: 0.5%;
  }

  .hex:nth-child(5n + 2) {
    margin-left: 1%;
    margin-right: 1%;
  }

  .hex:nth-child(5n + 6) {
    clear: left;
  }
}

@media (max-width: 600px) {
  /* <- 2-1  hexagons per row */
  .hex {
    width: 49.5%; /* = (100-1) / 2 */
    padding-bottom: 57.158%; /* =  width / sin(60) */
  }

  .hex:nth-child(3n + 3) {
    margin-top: -13.423%;
    margin-bottom: -13.423%;
    -webkit-transform: translateX(50%) rotate(-60deg) skewY(30deg);
    -ms-transform: translateX(50%) rotate(-60deg) skewY(30deg);
    transform: translateX(50%) rotate(-60deg) skewY(30deg);
  }

  .hex:nth-child(3n + 3):last-child {
    margin-bottom: 0;
  }

  .hex:nth-child(3n + 3) {
    margin-left: 0.5%;
  }

  .hex:nth-child(3n + 2) {
    margin-left: 1%;
  }

  .hex:nth-child(3n + 4) {
    clear: left;
  }
}

@media (max-width: 400px) {
  #hexGrid {
    font-size: 13px;
  }
}
