@charset "UTF-8";
@font-face {
  font-family: "87MMILSANG";
  font-style: normal;
  font-weight: 400;
  src: url("/font/87MMILSANG-Regular.ttf") format("truetype");
}
.cont {
  display: flex;
  margin-top: 65px;
  margin-bottom: 40px;
  padding: 0 1px;
}
.cont .history_left_img {
  flex-shrink: 0;
  margin-right: 3px;
}
.cont .history_left_img img {
  height: auto;
  display: block;
}
.cont .history_right_text {
  flex: 1;
}
.cont .history_right_text .history_list {
  display: grid;
  grid-template-columns: 45px 1fr;
  row-gap: 12px;
  line-height: 2;
}
.cont .history_right_text .history_list dt {
  font-weight: bolder;
  color: #333;
  font-size: 12.5px;
  letter-spacing: 0px;
  align-items: start;
}
.cont .history_right_text .history_list dd {
  color: #555;
  font-size: 12px;
  letter-spacing: -0.5px;
  align-items: start;
}

.certi_title {
  margin: 30px 0 15px 0;
}
.certi_title img {
  display: block;
}

.certificate_grid {
  width: 508px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.certificate_grid a img {
  display: block;
}

/* 모달 배경 (어두운 반투명) */
.certi-modal {
  display: none; /* 평소에는 숨김 */
  position: fixed;
  z-index: 9999; /* 화면 최상단에 배치 */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

/* 모달 안에 들어가는 이미지 */
.certi-modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90vh; /* 화면 높이를 넘어가지 않도록 제한 */
  position: relative;
  top: 50%;
  transform: translateY(-50%); /* 화면 정중앙 배치 */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* 닫기 버튼 (X 아이콘) */
.certi-modal-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.certi-modal-close:hover,
.certi-modal-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}