/* Default CSS Settings */
body {
  font-family: "Noto Sans KR", sans-serif;
  color: #6c757c;
  margin-bottom: 5rem;
}

a {
  color: steelblue;
}

summary {
  display: block;
  padding-top: 0.7rem;
  font-size: 0.7rem;
  color: #666666;
}

/* navbar */
.bg-light2 {
  background-color: #f5f5f5;
}

.navbar-brand-logo {
  font-size: 2rem;
  font-family: "Nanum Myeongjo", sans-serif;
}

/* index 페이지 */
.container > .index_title {
  font-size: 2.5rem;
  font-family: "Nanum Myeongjo", sans-serif !important;
}

.bg-pspdimg {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("https://pspd-www.s3.ap-northeast-2.amazonaws.com/wp-content/uploads/2025/07/28164158/2025bg.jpg") no-repeat center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}

.mb-0 {
  font-family: "Nanum Myeongjo", sans-serif;
}

/* breadcrum + 최신업데이트 + sns */

#topflexbox {
  display: flex;
  justify-content: space-between;
}

.topflex_right {
  display: flex;
  margin-left: auto;
  padding: 1rem 0.5rem;
  align-items: center;
}

.topflex_right > .update_time {
  font-size: 0.8em;
  color: #999999;
  padding-right: 0.7rem;
  align-items: flex-start;
}
.topflex_right > .sns {
  align-content: flex-start;
}

/* 제목 + badge + detail */

main > .container {
  display: flex; /*이것 때문에 옆으로 배치되는 거야*/
  flex-wrap: wrap;
  padding: 12px 15px 0;
  align-items: baseline;
}

.container > .mt-5-font {
  font-size: 2rem;
  font-family: "Nanum Myeongjo", sans-serif;
  padding-right: 10px;
  margin-bottom: 0 !important;
}

.badge-primary_pspd {
  font-weight: 500;
  margin-right: 0.8rem;
}

.lead_pspd {
  font-size: 0.9rem;
  color: #777777;
  margin: auto 0;
}

/* select box 시작 */

.boxinput {
  padding: 0px 0px 15px 0px;
}

select {
  color: inherit;
  border: none;
  background-color: #f5f5f5;
  align-items: center;
  border-radius: 0.25rem;
}

.my-select {
  width: 100%;
  margin: 0.5rem 0 1.5rem;
}

/* select box 끝 */

/* table */
@media screen and (max-width: 765px) and (min-width: 300px) {
  .table-container {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  table {
    width: auto;
  }
}

/* sticky-footer-navbar */

.footer {
  background-color: #343a40;
  font-size: 1rem;
}

.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

.text-muted {
  font-size: 0.8em;
}
.btn-group-footer {
  margin: 3px 10px;
}

/*jumbotron */

.jumbotron_pspd {
  padding: 2rem 2rem 1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.badge-pspd {
  font-weight: 200;
  font-size: 70%;
}

/* person_detail */

.person_detail_name {
  font-size: 2rem;
}

.person_detail_etc {
  padding-top: 0.6rem;
}

.section_title {
  font-size: 2rem;
  font-weight: 300;
}

.case_year {
  width: 80px;
}
.case_link {
  width: 80px;
}

/*jojik */
.align-self-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.align-self-center2 {
  width: 35%;
  text-align: center;
}
.btnl1 {
  margin-bottom: 1rem;
}

/* search 검색결과 페이지*/
.search_header_pspd {
  padding: 70px 0 40px;
}
.search_result {
  margin: 2rem 1rem;
}
em {
  color: #4da0b0;
}
.search_text {
  color: #ec7063;
}

.bottom_spacing {
  height: 150px;
}

/* blog */

.card1 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("https://upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Lee_Myung-bak_2013-01-29.jpg/250px-Lee_Myung-bak_2013-01-29.jpg");
  height: 200px;

  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  margin: 10px 0;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.card2 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("https://upload.wikimedia.org/wikipedia/commons/thumb/0/0f/Korea_President_Park_UN_20130506_01_cropped.jpg/250px-Korea_President_Park_UN_20130506_01_cropped.jpg");
  height: 200px;

  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  margin: 10px 0;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.card3 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("https://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Moon_Jae-in_%282017-10-01%29_cropped.jpg/250px-Moon_Jae-in_%282017-10-01%29_cropped.jpg");
  height: 200px;

  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  margin: 10px 0;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.card4 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
  url("https://upload.wikimedia.org/wikipedia/commons/thumb/6/6a/South_Korea_President_Yoon_Suk_Yeol_portrait.jpg/250px-South_Korea_President_Yoon_Suk_Yeol_portrait.jpg");
  height: 200px;

  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  margin: 10px 0;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.card5 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
  url("https://upload.wikimedia.org/wikipedia/commons/5/59/President_Lee_Jae_Myung_20260306.jpg");
  height: 200px;

  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  margin: 10px 0;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.card-title {
  font-size: 1rem;
  color: #f5f5f5;
  padding: 0.8rem;
}

.card-text {
  font-size: 0.8rem;
  color: #f5f5f5;
  position: absolute;
  bottom: 0.8rem;
  margin-left: 0.8rem;
}

/* about */
.bg-pspdimg2 {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("https://images.unsplash.com/photo-1569235186275-626cb53b83ce") no-repeat center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}

.hero-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("https://live.staticflickr.com/65535/54428677362_ccfef74f95_k.jpg");
  height: 400px;
  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
/* Place text in the middle of the image */
.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -35%);
  color: white;
}
.hero-text a {
  color: black;
}

/* Event */
.event-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url("http://www.peoplepower21.org/./files/attach/images/37219/393/702/001/58f7f0da865ff89fa438786a7657e226.jpg");
  height: 300px;
  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.event-image-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -35%);
  color: white;
}
