* {
  margin: 0;
  padding: 0;
}

body {
  background-color: whitesmoke;
  font-family: 'Times New Roman', Times, serif;
  color: #4a5c53;
}

header {
  height: 19rem;

  background-image: url('./photo-components/headerWithoutRoof.JPG');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center center;

  position: relative;
}
header ol {
  list-style: none;
}
header ol li.mail {
  width: 20%;
  height: 35%;

  position: absolute;
  top: 13%;
  left: 5%;
}
header ol li.ins {
  width: 20%;
  height: 35%;

  position: absolute;
  top: 13%;
  right: 8%;
}

header ol li a {
  display: block;
  height: 100%;
  width: 100%;
  color: transparent;
  text-decoration: none;
  text-align: center;

  /* border: 1px solid #000; */
}
header ol li.mail a p {
  position: relative;
  top: 54%;
  left: 2%;
}
header ol li.ins a p {
  position: relative;
  top: 64%;
  left: -2%;
}
header ol li:hover a p {
  color: yellow;
}

@media screen and (max-width: 640px) {
  header {
    height: 9.5rem;
  }
}

nav {
  height: 5rem;
  padding-left: 3.6%;

  background-image: url('./photo-components/顶部弹窗定位.JPG');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center center;

  /*固定在屏幕顶端*/
  /* position: sticky;
  top: 0;
  left: 0; */

  /*滑动消失*/
  /* opacity: 1;
  transition: opacity 0.7s ease; */
}

/* nav.disappear {
  opacity: 0;
}
nav.appear {
  opacity: 1;
} */

nav ul {
  list-style: none;
}
nav ul li {
  height: 5rem;
  width: 14%;
  margin-right: 1.8%;
  padding-right: 3%;
  padding-left: 1%;
  /* background-color: rgba(244, 247, 244, 0.821); */

  float: left;
  text-align: center;

  position: relative;
}
.li2 {
  margin-right: 1.4%;
}
.li3 {
  margin-right: 1.7%;
}
.li4 {
  margin-right: 1.5%;
}
nav ul li a {
  display: block;
  height: 100%;
}
nav ul li a img {
  display: block;
  height: 140%;

  position: absolute;
  top: 0;
  left: -26%;
  opacity: 0;
}
nav ul li:hover a img {
  opacity: 1;
}

@media screen and (max-width: 640px) {
  nav {
    height: 2.5rem;
  }
  nav ul li {
    height: 2.5rem;
  }
  nav ul li a img {
    left: -39%;
  }
}

.row {
  display: flex;
  flex-wrap: wrap;

  /*用overflow设置BFC/box formatting context/块级格式化上下文，
  就可以避免footer上窜*/
  overflow: hidden;
  padding: 1.5%;
}
.column {
  /* flex: 48%; */
  flex: 100%;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  /* justify-content: space-evenly; */
}

.boxColumn {
  width: 100%;
  padding: 0.5%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* background-color: rgba(255, 0, 208, 0.3); */
}
.boxEntire {
  width: 100%;
  padding: 0.5%;
  display: flex;
  /* background-color: rgba(255, 0, 208, 0.5); */
}
.boxRow {
  width: 100%;
  padding: 0.5%;
  display: flex;
  /* flex-direction: row; */
  justify-content: space-between;
  /* background-color: rgba(255, 0, 208, 0.3); */
}

.box1 {
  width: 74%;

  display: flex;
  flex-direction: column;

  /* background-color: rgba(0, 68, 255, 0.5); */
}
.box2 {
  width: 25%;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  /* background-color: rgba(153, 0, 255, 0.5); */
}
.ul1 {
  width: 100%;
  /* background-color: rgba(0, 255, 217, 0.5); */
}
.box3 {
  width: 100%;
  padding-top: 0.5%;

  display: flex;
  justify-content: space-between;
  /* background-color: rgba(0, 255, 128, 0.5); */
}
.ul2 {
  display: inline-flex;
  width: 58.3%;
  padding-right: 1%;

  /* background-color: rgba(157, 255, 0, 0.704); */
}
.ul3 {
  display: inline-flex;

  width: 41.2%;

  /* background-color: rgba(234, 255, 0, 0.803); */
}

.ul4 {
  width: 100%;

  /* background-color: rgba(255, 72, 0, 0.5); */
}

.ul5 {
  display: inline-flex;
  width: 37%;
  padding-right: 1%;

  /* background-color: rgba(157, 255, 0, 0.704); */
}
.ul6 {
  display: inline-flex;
  width: 82%;

  /* background-color: rgba(234, 255, 0, 0.803); */
}

.ul7 {
  display: inline-flex;
  width: 82%;
  padding-right: 1%;

  /* background-color: rgba(157, 255, 0, 0.704); */
}
.ul8 {
  display: inline-flex;
  width: 37%;

  /* background-color: rgba(234, 255, 0, 0.803); */
}

.ul9 {
  display: inline-flex;
  width: 35%;
  padding-right: 1%;

  /* background-color: rgba(157, 255, 0, 0.704); */
}
.ul10 {
  display: inline-flex;
  width: 84%;

  /* background-color: rgba(234, 255, 0, 0.803); */
}

.ul11 {
  display: inline-flex;
  width: 24.2%;
  padding-right: 1%;

  /* background-color: rgba(234, 255, 0, 0.803); */
}
.ul12 {
  display: inline-flex;
  width: 24.2%;

  /* background-color: rgba(234, 255, 0, 0.803); */
}

.box4 {
  width: 74.5%;

  display: flex;
  flex-direction: column;

  /* background-color: rgba(0, 68, 255, 0.5); */
}
.box5 {
  width: 24.5%;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  /* background-color: rgba(153, 0, 255, 0.5); */
}

.column .show {
  position: relative;
}

.column div img {
  width: 100%;
  opacity: 1;
  transform: opacity 1s ease 0s forwards;
}

.info {
  width: 100%;
  height: 54%;
  color: black;
  text-align: center;

  position: absolute;
  bottom: 0;

  opacity: 0;
}

.column .show:hover img {
  opacity: 0.5;
}
.column .show:hover .info {
  opacity: 1;
}

@media screen and (max-width: 640px) {
  .column {
    flex: 100%;
  }
}

/* main div ul {
  list-style: none;
} 
.box1 {
  width: 48rem;
  height: 47rem;
  flex: left;
}
.box2 {
  width: 14rem;
  height: 47rem;
  flex: right;
}
.ul1 {
  width: 48rem;
  height: 27rem;
}
.box3 {
  width: 48rem;
  height: 19rem;
}
.ul4 {
  width: 24rem;
  height: 19rem;
  flex: left;
}
.ul5 {
  width: 17rem;
  height: 19rem;
  flex: left;
}

.ul2,
.ul3,
.ul6 {
  width: 14rem;
  height: 14rem;
} 

main div ul li {
  width: 100%;

  position: relative;
}
main div ul li img {
  width: 100%;
  opacity: 1;
  transform: opacity 1s ease 0s;
}
main div ul li .info {
  width: 100%;
  height: 54%;
  text-align: center;

  position: absolute;
  bottom: 0;

  opacity: 0;
}

main div ul li:hover img {
  opacity: 0.5;
}
main div ul li:hover .info {
  opacity: 1;
}
*/
footer {
  height: 4rem;
  background-image: url('./photo-components/footer.jpg');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center center;

  position: relative;
}
.copyright {
  color: yellow;

  position: absolute;
  left: 0;
  bottom: 0;
}
footer ul,
ol {
  list-style: none;
}
footer ul li {
  height: 100%;
  width: 16%;
  /* background-color: rgba(10, 0, 0, 0.55); */
  text-align: center;
  /* line-height: 4rem; */

  position: absolute;
  left: 40.9%;
  bottom: 0;
}
footer ul li a.mouse {
  display: block;
  height: 100%;
  width: 100%;
  color: transparent;
  text-decoration: none;

  position: absolute;
  top: 0;
  left: 0;
}
.mouse:hover {
  background-image: url('./photo-components/页面底部小门打开是小老鼠.PNG');
  background-repeat: no-repeat;
  /*宽、高*/
  background-size: 120% 100%;
  background-position: center center;
}

footer ol li.mail {
  width: 18%;
  height: 50%;

  position: absolute;
  bottom: 0;
  left: 26%;
}
footer ol li.ins {
  width: 14%;
  height: 50%;

  position: absolute;
  bottom: 0;
  right: 30%;
}

footer ol li a {
  display: block;
  height: 100%;
  width: 100%;
  color: transparent;
  text-decoration: none;
  text-align: center;

  /* border: 1px solid #000; */
}
footer ol li.mail a p {
  position: relative;
  top: 60%;
  left: 11%;
}
footer ol li.ins a p {
  position: relative;
  top: 60%;
  left: 10%;
}
footer ol li:hover a p {
  color: yellow;
}

@media screen and (max-width: 640px) {
  footer {
    height: 2.5rem;
  }
  footer ul li {
    height: 2.5rem;
  }
  footer ol li {
    height: 2.5rem;
  }
}
