/* COMMON */
:root {
  --main-color: #809671;
}

body {
  background: #fcfaf5;
}

.inner {
  width: 100%;
  padding: 0 2.4rem;
  margin: 0 auto;
}

main {
  margin-top: 9.1rem;
  padding-bottom: 3rem;
}

/* HEADER */
header {
  text-align: center;
  padding: 2rem 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  background: #fcfaf5;
}
header .inner {
  display: flex;
  align-items: center;
  justify-content: center;
}
header .logo {
  display: inline-block;
  width: 5rem;
}
header .logo img {
  width: 100%;
}
header .menu {
  position: absolute;
  top: 50%;
  right: 2.4rem;
  transform: translateY(-50%);
  width: 2.4rem;
  aspect-ratio: 1 / 1;
}
header .menu img {
  width: 100%;
}
header h1 {
  font-family: 'IncheonEducation';
  font-size: 3.2rem;
}
header .prev_btn {
  position: absolute;
  top: 50%;
  left: 2.4rem;
  transform: translateY(-50%);
}
header .prev_btn img {
  width: 2.4rem;
}

/* FOOTER */
footer {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 999;
  border-top: 1px solid var(--main-color);
  background: #f7f9fc;
}
footer ul {
  display: flex;
  justify-content: space-evenly;
  gap: 2rem;
}
footer ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  padding: 1.3rem 0;
}
footer ul li a img {
  width: 3rem;
  aspect-ratio: 1 / 1;
}
footer ul li a p {
  font-size: 1.4rem;
  font-weight: 600;
  color: #9ba8d0;
  white-space: nowrap;
}
footer ul li.active a p {
  color: var(--main-color);
}

/* home.php */
.home h1 {
  font-family: 'IncheonEducation';
  font-size: 3.2rem;
  text-align: center;
  line-height: 4rem;
  margin-bottom: 4rem;
}
.home h2 {
  font-family: 'IncheonEducation';
  font-size: 2.4rem;
  margin-bottom: .8rem;
}
.home .recent_wrap {
  margin-bottom: 4rem;
}
.home .recent_wrap .box_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0px 0px 8px 0px #E7DFD240;
  padding: 2rem 1.6rem;
}
.home .recent_wrap .box_wrap p {
  font-size: 2rem;
  font-weight: 700;
}
.home .recent_wrap .box_wrap a {
  display: inline-block;
  border: 1px solid #6E675F;
  color: #6E675F;
  border-radius: 3.5rem;
  padding: .6rem 1.2rem;
  font-size: 1.2rem;
  font-weight: 700;
}
.home .category_wrap {
  margin-bottom: 4rem;
}
.home .category_wrap ul {
  display: flex;
  gap: .8rem;
}
.home .category_wrap ul li {
  width: 100%;
}
.home .category_wrap ul li a {
  display: block;
  width: 100%;
  padding: 2rem 0;
  text-align: center;
  border-radius: 1rem;
  box-shadow: 0px 0px 8px 0px #E7DFD240;
  background: #fff;
}
.home .category_wrap ul li a h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.home .category_wrap ul li a p {
  border: 1px solid #6E675F;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 3rem;
  padding: .4rem 1rem;
  width: fit-content;
  margin: 0 auto;
}
.home .quick_wrap ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem; 
}
.home .quick_wrap ul li a {
  display: block;
  background: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  padding: 2rem 0;
  text-align: center;
  border-radius: 1rem;
  box-shadow: 0px 0px 8px 0px #E7DFD240;
}

/* list */
.list .list_wrap > ul {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.list .list_wrap > ul > li .title_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 2rem;
  box-shadow: 0px 0px 8px 0px #E7DFD240;
  border-radius: 1rem;
  cursor: pointer;
}
.list .list_wrap > ul > li .title_wrap h2 {
  font-size: 2rem;
  font-weight: 700;
}
.list .list_wrap > ul > li .title_wrap img {
  width: 2rem;
  transition: transform .3s;
}
.list .list_wrap > ul > li.on .title_wrap img {
  transform: rotate(180deg);
}
.list .list_wrap > ul > li .verse_wrap {
  margin-top: .8rem;
  display: none;
}
.list .list_wrap > ul > li.on .verse_wrap {
  display: block;
}
.list .list_wrap > ul > li .verse_wrap ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
}
.list .list_wrap > ul > li .verse_wrap ul li a {
  display: block;
  background: #e7dfd2;
  border-radius: 1rem;
  padding: 1.7rem 0;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: #6E675F;
}
.list .list_wrap > ul > li .verse_wrap ul li.done a {
  background: #809671;
  color: #fff;
}

/* view.php */
.view {
  padding-bottom: 0;
}
.view .view_wrap {
  border-top: 1px solid #e7dfd2;
  padding: 2rem 0 4rem;
}
.view .view_wrap .nav_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4rem;
}
.view .view_wrap .nav_wrap a {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.6rem;
  font-weight: 500;
  color: #6E675F;
}
.view .view_wrap .nav_wrap a img {
  width: 2.4rem;
}
.view .view_wrap .nav_wrap a.disabled {
  opacity: .5;
  pointer-events: none;
}
.view .view_wrap .bible_wrap h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #6E675F;
  border: 1px solid #6E675F;
  border-radius: 4rem;
  padding: .7rem 1.8rem;
  width: fit-content;
  margin: 0 auto 4rem;
}
.view .view_wrap .bible_wrap ul {
  height: calc(100dvh - 45rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4rem;
}
.view .view_wrap .bible_wrap ul li {
  display: none;
  text-align: center;
}
.view .view_wrap .bible_wrap ul li.active {
  display: block;
}
.view .view_wrap .bible_wrap ul li span {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  color: #6E675F;
  margin-bottom: 1rem;
}
.view .view_wrap .bible_wrap ul li p {
  font-size: 2rem;
  font-weight: 700;
  line-height: 3rem;
  word-break: keep-all;
}
.view .control_wrap {
  padding: 4rem 2.4rem;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fcfaf5;
  z-index: 9;
  border-top: 1px solid #e7dfd2;
}
.view .control_wrap .bar_wrap .bar {
  width: 100%;
  height: .5rem;
  background: #E7DFD2;
  border-radius: 3rem;
  overflow: hidden;
  position: relative;
}
.view .control_wrap .bar_wrap .bar .gage {
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: var(--main-color);
}
.view .control_wrap .bar_wrap .idx_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: .5rem;
}
.view .control_wrap .bar_wrap .idx_wrap p {
  font-size: 1.2rem;
  font-weight: 300;
  color: #6E675F;
}
.view .control_wrap .btn_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.6rem;
}
.view .control_wrap .btn_wrap .play {
  width: 3.2rem;
  aspect-ratio: 1 / 1;
}
.view .control_wrap .btn_wrap .play img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.view .control_wrap .btn_wrap .prev_btn,
.view .control_wrap .btn_wrap .next_btn {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--main-color);
}
.view .control_wrap .btn_wrap .prev_btn img {
  width: 3rem;
  transform: scale(-1);
}
.view .control_wrap .btn_wrap .next_btn img {
  width: 3rem;
}
.view .control_wrap .btn_wrap button.disabled {
  opacity: .5;
  pointer-events: none;
}

/* source.php */
.source {
  margin-top: 7.2rem;
}
.source .content_wrap {
  border-top: 1px solid #e7dfd2;
  padding-top: 4rem;
}
.source .content_wrap p {
  font-size: 1.4rem;
  line-height: 2.5rem;
  color: #6E675F;
  word-break: keep-all;
}