*,
*::after,
*::before {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

.main_block-grid-1 {
  z-index: 10;
  width: 100%;
  grid-column-gap: 0em;
  grid-row-gap: 0em;
  color: #10131f;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  margin-bottom: 0;
  position: relative;
  display: grid;
}
.hero-2-grid-paragraph {
  opacity: 0.8;
  text-align: left;
  letter-spacing: -0.05em;
  font-size: 0.8em;
  font-weight: 400;
}
.block-main-contents {
  color: rgb(255, 255, 255);
  justify-content: space-between;
  font-size: 2.8em;
  font-weight: 400;
  display: inline-block;
  line-height: 1;
}

.hero-2-grid-title {
  color: #fff;
  margin-bottom: 0.2em;
  font-size: 2em;
  display: inline-block;
}

.main_session {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  width: 1000px;
  height: 170px;
  text-align: center;
}
.session_block {
  font-size: 25px;
  display: block;
  background-color: rgba(0, 0, 0, 0.15);
  width: 24%;
  transition: cubic-bezier(0.6, -0.28, 0.735, 0.045);
}
/* .block-session-grid:hover {
  background: rgba(255,255,255,.5);
  background: rgba(255,255,255,0.05);
} */
.abc {
  font-size: 50px;
  color: #ffc85c;
}
.text1 {
  color: white;
  font-size: 30px;
}
.main-block-1 {
  margin-top: 60px;
}
.main_block-grid-1 {
  z-index: 10;
  width: 100%;
  grid-column-gap: 0em;
  grid-row-gap: 0em;
  color: #10131f;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  margin-bottom: 0;
  position: relative;
  display: grid;
}
.hero-2-grid-paragraph {
  opacity: 0.8;
  text-align: left;
  letter-spacing: 0.01em;
  font-size: 1.4em;
  font-weight: 400;
  margin: 0;
}
.block-session-grid {
  gap: 20px;
  z-index: 5;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 0;
  flex-direction: row;
  align-items: center;
  padding: 2.2em;
  transition: color 0.2s, background-color 0.2s;
  display: flex;
  position: relative;
}

.block-main-contents {
  margin-bottom: 10px;
  color: rgb(255, 255, 255);
  justify-content: space-between;
  font-size: 2.8em;
  font-weight: 400;
  display: inline-block;
}
.number {
  display: flex;
  gap: 8px;
}
.number > * {
  margin: 0;
}
.number > .hero-2-grid-title {
  margin: 0;
}

.hero-2-grid-title {
  color: #fff;
  margin-bottom: 0.2em;
  font-size: 2em;
  display: inline-block;
}

.main_session {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  width: 1000px;
  height: 170px;
  text-align: center;
}
.session_block {
  font-size: 25px;
  display: block;
  background-color: rgba(0, 0, 0, 0.15);
  width: 24%;
  transition: cubic-bezier(0.6, -0.28, 0.735, 0.045);
}
/* .block-session-grid:hover {
  background: rgba(255,255,255,.5);
  background: rgba(255,255,255,0.05);
} */
.abc {
  font-size: 50px;
  color: #ffc85c;
}
.text1 {
  color: white;
  font-size: 30px;
}
.block-session-grid:hover {
  background: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.custom-navbar .navbar-toggler {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
  padding: 8px;
  width: 50px;
  height: 50px;
}
.custom-navbar .navbar-toggler span,
.custom-navbar .navbar-toggler span::before,
.custom-navbar .navbar-toggler span::after {
  width: 100%;
}

.custom-navbar .navbar-toggler span::before,
.custom-navbar .navbar-toggler span::after {
  content: unset;
}

.btn.btn-outline-light {
  padding: 12px;
  height: auto;
  line-height: initial;
}

.header-main-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  width: 100%;
  height: calc(100% - 100px);
  margin-top: 100px;
  padding: 20px;
}

.header .overlay .subtitle {
  margin: 0;
  line-height: 1.5;
  word-break: keep-all;
}
.title {
  font-weight: 700;
}
.header .buttons {
  margin-top: 30px;
}

.modalss_content {
  max-height: 800px;
  max-width: 80vw;
  width: 100%;
  height: auto;
}

/* 모달 띄우기 */
.modalss_content.vertical {
  width: auto; 
  max-height: 80vh;
}

.modalss {
  display: flex; /* 모달창 숨겨 놓기 */
  align-items: center;
  justify-content: center;
  position: fixed; 
  z-index: 90000; /* 모달창을 제일 앞에 두기 */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  cursor: pointer; /* 마우스 손가락모양 */
  background-color: rgba(0, 0, 0, 0.8);
  transition: opacity 0.3s 0.12s;
  opacity: 0;
  pointer-events: none;
}
.modalss.active {
  opacity: 1;
  pointer-events: unset;
  transform: scale(1);
  transition: opacity 0.3s;
}

.modalss img {
  transform: scale(0.5);
  transition: all 0.3s;
}
.modalss.active img {
  transform: scale(1);
  transition: all 0.3s 0.12s;
}

/* 닫기 버튼 꾸미기 */
.moclose {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}
.moclose:hover, .moclose:focus{
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
/* 모달 띄우기 */








/* media query */
@media screen and (max-width: 1000px) {
  .main_block-grid-1 {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 768px) {
  .custom-navbar .container {
    margin: 0;
    width: 100%;
    max-width: none;
    height: auto;
    padding: 4px;
  }
  .custom-navbar {
    min-height: 50px;
  }
  .custom-navbar .navbar-brand {
    padding: 0;
  }
  .custom-navbar .navbar-brand img {
    width: 40px;
  }
  .custom-navbar {
    top: 10px;
  }
  .custom-navbar .navbar-toggler {
    padding: 6px;
    width: 36px;
    height: 36px;
    gap: 6px;
  }
}
@media screen and (max-width: 480px) {
  .header-main-wrap {
    height: calc(100% - 70px);
    margin-top: 70px;
  }
  .header .overlay .subtitle {
    font-size: 4.4vw;
  }
  .header .buttons {
    display: flex;
    gap: 8px;
  }
  .btn.btn-outline-light {
    width: auto;
    min-width: unset;
    padding: 10px 20px;
    font-size: 0.8rem;
  }
  .block-session-grid {
    gap: 10px;
    padding: 15px;
  }
  .abc,
  .abc::before {
    font-size: 40px;
  }
  .number {
    gap: 4px;
  }
  .block-main-contents {
    font-size: 2em;
  }
  .number > .hero-2-grid-title {
    font-size: 1.4em;
  }
}

@media screen and (max-width: 370px) {
  .header .overlay .title {
    margin-bottom: 20px;
    font-size: 11vw;
  }
  .header .buttons {
    margin-top: 20px;
  }

  .main_block-grid-1 {
    grid-template-columns: 1fr;
  }
  .main-block-1 {
    margin-top: 30px;
  }
  .block-session-grid {
    gap: 20px;
  }
  .abc,
  .abc::before {
    font-size: 36px;
  }
  .block-main-contents {
    font-size: 1.8em;
  }
  .number > .hero-2-grid-title {
    font-size: 1.2em;
  }
}

@media screen and (min-width: 992px) {
  .custom-navbar .navbar-toggler {
    display: none;
  }
}
