/* .main{
    margin: 4% 0;    
} */

.events-img {
  width: 373px;
  height: 248px;
  margin-bottom: 40px;
  transition: all 1s;
}
.events-img img {
  width: 373px;
  height: 248px;
}

.events-img:hover {
  transform: translateY(-10px);
  cursor: pointer;
  animation: ease all 2s;
}

.events-img:hover img {
  box-shadow: 0px 10px 30px 0px rgba(155, 155, 155, 0.6);
}

.events-img:hover .mask {
  background-color: rgba(0, 0, 0, 0.7);
}
.events_img_active {
  cursor: pointer;
  animation: ease all 2s;
}

.events_img_active .mask {
  display: block;
}
.mask {
  width: 343px;
  height: 248px;
  background-color: rgba(0, 0, 0, 0.3);
  /* display: none; */
  position: relative;
  top: -248px;
  padding: 90px 30px 60px;
}

.mask p {
  text-align: center;
}

.mask p.mask-time {
  color: rgba(255, 255, 255, 0.6);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mask-title {
  margin-bottom: 30px;
}

.mask-title {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}
.mask-time {
  font-size: 18px;
  font-weight: normal;
  color: #999;
}

.main .row {
  margin-top: 4%;
}

/*  小屏幕 (手机, 200px and 767px) */
@media (min-width: 200px) and (max-width: 400px) {
  .mask-title,
  .mask-time {
    font-size: 14px;
  }
  .row > div {
    width: 100%;
    margin: 0 auto 15px;
  }
  .mask {
    width: 100% !important;
  }
}
@media (min-width: 400px) and (max-width: 767px) {
  .mask-title,
  .mask-time {
    font-size: 14px;
  }
  .row > div {
    width: 100%;
    margin: 0 auto 15px;
  }
  .mask {
    width: 373px;
  }
}
/*  中等屏幕 (平板, 768px and 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .mask-title,
  .mask-time {
    font-size: 16px;
  }
}
/*  大屏幕 (桌面显示器, 992px and 1099px) */
@media (min-width: 992px) and (max-width: 1099px) {
  .mask-title,
  .mask-time {
    font-size: 16px;
  }
  .row > div {
    width: 33.33333333%;
  }
  .mask {
    width: 294px;
  }
}

/* 分辨率 150% */
@media (min-width: 1100px) and (max-width: 1300px) {
  .container {
    width: 1000px;
  }
  .events-img img {
    height: 225px;
  }
  .events-img {
    margin-bottom: 0px;
  }
  .mask-title,
  .mask-time {
    font-size: 16px;
  }
  .mask {
    width: 303px;
    height: 225px !important;
    top: -225px;
  }
  .row > div {
    width: 33.33333333%;
  }
}
@media (min-width: 1300px) {
  .container {
    width: 1200px;
  }
  .mask-title,
  .mask-time {
    font-size: 16px;
  }
  .row > div {
    width: 33.33333333%;
  }
  .mask {
    width: 370px;
  }
}
