@import url("https://fonts.googleapis.com/css?family=DM+Sans:400,500,700&display=swap");

.container {
	width: 100%;
	max-width: 1200px;
	border-radius: 4px;
	margin: 0 auto;
	padding: 10px 0;
  
}
.pic_big {
	width: 50%;
	height: 100%;
	float: left;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 0px;
}
.pic_h {
	height: 100%;
	float: left;
	padding: 10px;
}
.pic {
	width: 49%;
	height: 100%;
	float: left;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 10px;
}

.name {
  position: relative;
  font-size: 16px;
  display: inline-block;
}
.name:after {
  content: "";
  position: absolute;
  width: calc(100% + 10px);
  height: 1px;
  background-color: #000;
  bottom: -4px;
  left: 0;
}

.box {
  position: relative;
  max-height: 420px;
  border-radius: 4px;
  overflow: hidden;
  
}
.box .hide {
  opacity: 0;
}
.box h2, .box p {
  position: absolute;
  color: #fff;
  z-index: 2;
  width: 100%;
  transition: opacity 0.2s, transform 0.3s;
}
.box h2 {
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 0;
  letter-spacing: 1px;
}
.box p {
  bottom: 0;
  font-size: 14px;
  letter-spacing: 1px;
}
.box:hover {
  transition: all 0.3s ease-in-out;
}
.box:hover:before {
  transition: all 0.3s ease-in-out;
}
.box img {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: all 0.3s ease-in-out;
}
.box img:hover {
  transition: all 0.3s ease-in-out;
}
.box img:after {
  content: "";
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
}
.box img:hover {
  transition: all 0.3s ease-in-out;
}

.zoom-in h2 {
  top: 60%;
  transform: translatey(-50%);
  text-align: center;
  margin: 0;
}
.zoom-in p {
  text-align: center;
  top: calc(15% + 40px);
  transition: all 0.3s ease;
  transform: scale(1.8);
  opacity: 0;
}
.zoom-in:hover img {
  transform: scale(1.1);
  filter: grayscale(100%);
}
.zoom-in:hover p {
  transform: scale(1);
  transition: all 0.3s ease;
  opacity: 1;
}

.zoom-in2 h2 {
  top: 80%;
  transform: translatey(-50%);
  text-align: center;
  margin: 0;
}
.zoom-in2 p {
  text-align: center;
  top: calc(3% + 40px);
  transition: all 0.3s ease;
  transform: scale(1.8);
  opacity: 0;
}
.zoom-in2:hover img {
  transform: scale(1.1);
  filter: grayscale(100%);
}
.zoom-in2:hover p {
  transform: scale(1);
  transition: all 0.3s ease;
  opacity: 1;
}

.zoom-in3 h2 {
  top: 50%;
  transform: translatey(-50%);
  text-align: center;
  margin: 0;
}
.zoom-in3 p {
  text-align: left;
  left: calc(15% + 40px);
 top: calc(5% + 40px);
  transition: all 0.3s ease;
  transform: scale(1.8);
  opacity: 0;
}
.zoom-in3:hover img {
  transform: scale(1.1);
  filter: grayscale(100%);
}
.zoom-in3:hover p {
  transform: scale(1);
  transition: all 0.3s ease;
  opacity: 1;
}

.postcard h2 {
  top: 50%;
  text-align: left;
  transform: translate3d(50px, 20px, 0);
}
.postcard p {
  transform: translate3d(40px, 60px, 0);
  font-size: 24px;
  letter-spacing: 1px;
}
.postcard:hover h2 {
  transform: translate3d(20px, 20px, 0);
}
.postcard:hover p {
  opacity: 1;
}
.postcard:hover img {
  filter: opacity(0.7);
  transform: translate3d(-30px, 0, 0);
}


.zoom-out .frame {
  width: calc(100% - 100px);
  height: calc(100% - 100px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 40px);
  height: calc(100% - 40px);
}

.zoom-out img {
  transform: scale(1.1);
}
.zoom-out:hover img {
  transform: scale(1);
  filter: contrast(70%);
}

@media screen and (max-width: 880px) {
  .pic {
    width: 50%;
  }
}
@media screen and (max-width: 520px) {
  .pic {
    width: 100%;
  }
}
.pic .box{
	height: 212px;
	width: 286px;
}
.pic_big .box{
	height: 420px;
	width: 600px;
}
.pic_h .box {
	height: 188px;
	width: 580px;
}
.pic_big .box.zoom-in p img {
	height: 88px;
	width: 88px;
}
.pic_h .box.zoom-in3 p img {
	height: 88px;
	width: 88px;
}
.pic .box.zoom-in2 p img {
	height: 88px;
	width: 88px;
}
.video {
	padding-top: 80px;
	padding-right: 20px;
	background-image: url(../images/lbt.png);
	background-repeat: no-repeat;
	background-position: right top;
	padding-bottom: 20px;
}
