.events_title {
  font-size: 32px;
  text-align: center;
  margin-top: 80px;
  margin-left: 5%;
  margin-right: 5%;
  font-weight: bold;
}

.envents_sub {
  font-size: 18px;
  text-align: center;
  margin-top: 20px;
  margin-left: 5%;
  margin-right: 5%;
  margin-bottom: 30px;
}

.events {
  margin: 0 10%;
  display: flex;
  justify-content: space-between;
}

.video_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
  height: auto;
}

.video_box>video {
  display: flex;
  width: 100%;
}

/* 비디오 옆 라인 작업*/
.box_line {
  width: 50%;
  height: auto;
  padding: 1%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.line_detail {
  width: 100%;
  height: 30%;
  display: flex;
  padding: 5%;
  margin-bottom: 1%;
  text-overflow: ellipsis;
  /*no work확인 필요*/
  white-space: nowrap;
}

@media (max-width: 640px) and (min-width: 1025px){
  .line_detail {
    overflow: hidden;
  }
}

.line_detail img {
  width: 100px;
  height: 100px !important;
  border-radius: 5px !important;
  margin-right: 15px;
}

.line_box_text {
  display: flex;
  width: 100%;
  height: auto;
  flex-direction: column;
  justify-content: center;
  margin-left: 20px;
}

@media (max-width: 640px){
  .line_detail{
    justify-content: center;
  }

  .line_box_desktop{
    display: none;
  }

  .line_detail img {
    margin-right: 0px;
  }
  
  .line_box_text {
    margin-left: 0px;
  }
}

@media (min-width: 641px){
  .line_box_mobile{
    display: none;
  }
}

@media (max-width: 1024px){
  /* .line_detail a{
    width: 80px;
    height: 80px;
  } */

  .line_detail img {
    width: 80px;
    height: 80px !important;
    margin-right: 10px;
  }
}

@media (min-width: 641px) and (max-width: 1024px){
  .line_box_text {
    margin-left: 10px;
  }
}

.line_box_text>p {
  margin-top: 3%;
}

/*메인 소개 디자인 시작*/
.l_text>p {
  text-align: center;
  font-size: 2rem;
  line-height: 50px;
}

.l_text > p:nth-child(1){
  font-weight: bold;
  margin-bottom: 1%;
}

.l_text>p>span {
  color: rgb(247, 13, 13);
}

.lecture {
  /* background-color: rgb(255, 250, 243); */
  padding: 15px 0;
  width: 90%;
  margin: 1% 5%;
  text-align: center;
  border-radius: 15px;
}

.l_box {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.l_box_sizing {
  width: 18%;
  height: 30%;
  border-radius: 5px;
  margin: 0 0.5%;
}

.l_text_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto;
  border: solid 2px #0e4b18;
  background-color: #ffffff;
}

.l_text_box>h3,
.l_text_box>a>p {
  line-height: 40px;
  font-size: 20px;
  color: #000;
}

.m_l_text_box {
  display: none;
}

/* 신천지 공식채널 */
.one_line {
  display: flex;
  flex-direction: row;
  justify-content:space-around;
  width: 90%;
  margin: 15px 5%;
}

.one_line>a {
  justify-content: center;
  width: 15%;
  max-width: 180px;
  height: auto;
  background-color: rgb(247, 255, 250);
  border-radius: 15px;
  margin: 0 0.3%;
  transition: 0.3s;
}

.one_line>a:hover{
  background-color:aquamarine;
  transition: 0.3s;
}

.one_line>a>img {
  width: 100%;
  max-width: 180px;
  height: auto;
}

footer div:nth-child(2) p{
  color: #999999;
}

@media (min-width: 1025px){
  footer{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 5%;
    width: 90%;
  }

  footer div{
    margin: 2% 5%;
  }
  footer div:nth-child(1) img{
    width: 70%;
    height: auto;
  }
  footer div:nth-child(2) p{
    font-size: 18px;
  }
}

@media (max-width: 1024px) {
  footer {
    display: flex;
    flex-direction: column;
    margin: 5%;
    width: 90%;
  }

  footer div {
    margin: 3% 0;
  }

  footer div:nth-child(1) img {
    width: 30%;
    height: auto;
  }

  footer div:nth-child(2) p {
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  .events_title {
    margin-top: 50px;
    font-size: 20px;
  }

  .envents_sub {
    font-size: 17px;
  }

  .events {
    flex-direction: column;
  }

  .events .video_box {
    margin: 3% 0;
    width: 100%;
  }

  .events .box_line {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

  .events .box_line .line_detail {
    flex-direction: column;
    padding: 2%;
  }

  .events .box_line .line_detail img {
    width: 100%;
  }

  .events .box_line .line_detail .line_box_text h3 {
    margin-top: 5px;
    font-size: 15px;
    text-align: center;
  }

  .events .box_line .line_detail .line_box_text p {
    display: none;
  }

  .l_text p {
    font-size: 1.2rem;
  }

  .lecture .l_box {
    display: flex;
    flex-wrap: wrap;
    margin: 1%;
    width: 100%;
  }

  .lecture .l_box .l_box_sizing {
    margin: 0.5%;
    width: 48%;
  }

  .l_text_box {
    display: none;
  }

  .m_l_text_box {
    margin: 3%;
    display: block;
  }

  .m_l_text_box h3 {
    font-size: 20px;
  }

  .m_l_text_box p {
    font-size: 17px;
  }

  .one_line {
    display: flex;
    flex-wrap: wrap;
  }

  .one_line a {
    width: 32%;
  }

  footer {
    display: flex;
    flex-direction: column;
    margin: 5%;
    width: 90%;
  }

  footer div {
    margin: 3% 0;
  }

  footer div:nth-child(1) img {
    width: 40%;
    height: auto;
  }

  footer div:nth-child(2) p {
    font-size: 13px;
  }
}

/*고민중 */
/* .wrap{ 
  max-width: 2560px;
  margin-left: auto;
  margin-right: auto;
} */