@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro");
@import url("https://fonts.googleapis.com/css?family=Work+Sans:200&display=swap");
.main {
  margin-top: 90px;
}

.upcom {
  background-color: #f7f7f7;
  margin-left: 90px;
  margin-bottom: 80px;
}
.upcom-title {
  position: relative;
}
.upcom-title span {
  font-size: 180px;
  font-weight: 600;
  color: #fdfdfd;
  text-align: center;
  padding: 0 0 30px;
  display: block;
}
.upcom-stitle {
  position: absolute;
  top: 50%;
  left: 50%;
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.upcom-stitle .stitle-line {
  width: 8px;
  height: 1px;
  background-color: #d2ba6f;
  margin: 20px auto;
}
.upcom-box {
  padding: 30px 15%;
}
.upcom-list {
  position: relative;
  padding: 30px;
  background-color: #fff;
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.upcom-list:hover {
  box-shadow: 0 0 20px #ccc;
}
.upcom-date {
  color: #ccc;
  position: absolute;
  top: 10px;
  left: -20px;
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
  transform-origin: right bottom;
  -webkit-transform-origin: right bottom;
  -moz-transform-origin: right bottom;
  -o-transform-origin: right bottom;
}
.upcom-pic {
  width: 60%;
  margin: 0 40px;
}
.upcom-pic img {
  width: 100%;
}
.upcom-name {
  color: #d2ba6f;
  font-size: 20px;
  padding-bottom: 20px;
}

.mo {
  opacity: 0;
  -moz-transform: translateY(20px);
  -ms-transform: translateY(20px);
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
  -moz-transition: opacity 0.5s ease-in-out, -moz-transform 0.5s ease-in-out;
  -o-transition: opacity 0.5s ease-in-out, -o-transform 0.5s ease-in-out;
  -webkit-transition: opacity 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.mo.show {
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

@media screen and (max-width: 1450px) {
  .main {
    margin-top: 60px;
  }

  .upcom {
    margin-left: 60px;
  }
  .upcom-box {
    padding: 50px 5%;
  }
}
@media screen and (max-width: 1000px) {
  .upcom {
    margin-left: 0;
    margin-bottom: 50px;
  }
  .upcom-title span {
    font-size: 150px;
  }
  .upcom-box {
    padding: 0 5% 10px;
  }
  .upcom-list {
    display: block;
  }
  .upcom-pic {
    width: calc(100% - 80px);
    margin: auto;
  }
  .upcom-content {
    padding: 30px 0 0 40px;
    box-sizing: border-box;
  }
}
@media screen and (max-width: 860px) {
  .upcom-list {
    padding: 30px;
  }
  .upcom-date {
    left: -43px;
  }
  .upcom-pic {
    width: 100%;
  }
  .upcom-content {
    padding: 30px 0 0 0;
  }
}
@media screen and (max-width: 640px) {
  .upcom-title span {
    font-size: 100px;
    padding: 0;
    margin: 0 5%;
  }
  .upcom-stitle .stitle-line {
    margin: 10px auto 0;
  }
  .upcom-box {
    padding: 30px 5% 10px;
  }
}
@media screen and (max-width: 460px) {
  .upcom-title span {
    font-size: 70px;
    margin: 0;
  }
  .upcom-box {
    padding: 0 10px 20px;
  }
  .upcom-list {
    padding: 20px;
    margin-bottom: 30px;
  }
  .upcom-date {
    top: 5px;
    left: -40px;
    font-size: 12px;
  }
  .upcom-name {
    font-size: 16px;
    padding-bottom: 10px;
  }
  .upcom-content {
    padding: 20px 0 0 0;
  }
}
