@charset "utf-8";

#no_design_main {
  position: relative;
  padding: 20px 0;
}
#no_design_main:after {
  content: "";
  display: block;
  position: relative;
  clear: both;
}

#main_visual_box {
  min-height: 100px;
  background: #000;
  margin-bottom: 20px;
}

#main_twitter_box {
  position: relative;
  width: 32%;
  height: 260px;
  float: left;
  margin-bottom: 20px;
}
.twitter {
  max-height: 100%;
}

#main_image_box {
  position: relative;
  width: 32%;
  margin-left: 2%;
  margin-right: 2%;
  height: 260px;
  text-align: center;
  line-height: 260px;
  float: left;
  margin-bottom: 20px;
}

#main_side_box {
  position: relative;
  width: 32%;
  height: 260px;
  float: right;
  margin-bottom: 20px;
}

#main_login_box {
  margin-bottom: 20px;
}
#main_banner_box {
  padding: 20px;
  height: 130px;
  text-align: center;
  box-sizing: border-box;
}

#main_copyright_box {
  display: block;
  position: relative;
  clear: both;
  text-align: center;
}

/**************************
* 2025-09-26 수정
* - 기본 레이아웃 스타일
***************************/
.main-header {
  font-size: 50px;
  color: #f5f5f5;
  font-weight: normal;
  font-family: "Backover", sans-serif;
  line-height: normal;
}

#main-wrapper {
  display: flex;
  gap: 15px;
}
.main-box-round {
  border-radius: 50px 50px 0 0;
  background-color: #f5f5f5;
  padding: 50px;
  box-sizing: border-box;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.3);
}
.main-box-round * {
  font-family: "Pretendard Variable", sans-serif;
}

.main-box-round h1 {
  font-weight: 400;
  color: #464646;
  font-size: 20px;
  margin-bottom: 10px;
}

.main-left {
  justify-content: space-between;
}

/*****************************
* main-right
******************************/
.main-right {
  height: 100%;
  justify-content: space-between;
}
.youtube-container {
  flex: 1;
  max-height: 110px;
  box-sizing: border-box;
  border: 1px solid #c0b5c3;
  border-radius: 30px;
  overflow: hidden;
}
.youtube-container .youtube-video {
  width: calc(50% - 0px - 0px);
  height: calc(100% - 0px - 0px);
  flex-direction: row;
  background-repeat: repeat;
  background-size: auto;
  background-attachment: scroll;
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  justify-content: center;
  align-items: center;
  z-index: 4;
  overflow: hidden;
  filter: grayscale(100%);
}
.youtube-video iframe {
  width: 100%;
  height: 100%;
}

.youtube-container .youtube-info {
  padding: 20px;
  box-sizing: border-box;
  justify-content: space-between;
}

.youtube-container .youtube-info em {
  font-weight: bold;
}
.lyrics-container {
  flex: 3;
  font-size: 12px;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 10px;
  box-sizing: border-box;
  color: #464646;
  font-weight: 400;
  font-family: "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI",
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}
/*****************************
* main-admin
******************************/
.main-admin-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-admin-img {
  border-radius: 50%;
  overflow: hidden;
  width: 90px;
  height: 90px;
}

/*****************************
. main-right calendar
******************************/
.calendar-box {
  max-height: 320px;
  padding: 15px !important;
}

.banner {
  color: #464646;
  font-family: "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI",
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -1px;
}

/********************************
* 반응형
*********************************/
@media (max-width: 900px) {
  #main-wrapper {
    flex-direction: column;
  }
  .main-box-round {
    width: 100%;
    padding: 30px;
  }
  .main-right {
    flex-direction: column;
  }
  .youtube-container {
    width: 100%;
    max-height: 150px;
  }
  .youtube-container .youtube-video {
    height: 100%;
  }
  .lyrics-container {
    max-height: 150px;
  }
  .calendar-box {
    max-height: 350px;
    width: 100%;
    max-width: 300px;
  }
  .main-calendar {
    flex-direction: row;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .youtube-container {
    max-height: 120px;
  }
  .lyrics-container {
    max-height: 120px;
  }
  .main-board {
    flex-direction: column;
  }
  .lyrics-container {
    display: none;
  }
  .main-calendar {
    flex-direction: column;
    align-items: center;
  }
  .banner {
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
  }
}

/* <a>와 <button> 둘 다 같은 스타일 적용 */
a.gnb_1da,
button.gnb_1da {
  color: var(--menu-text-color, #f5f5f5);
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

button.gnb_1da:hover {
  color: var(--menu-hover-color, #4dd0c8);
}
