/* ************* TYPOGRAPHY ************* */
body {
  position: relative;
  background: var(--background-color);
  word-break: keep-all;
  font-family: var(--body-font-family);
  font-size: var(--base-font-size);
  color: var(--body-font-color);
  margin-bottom: 120px;
}
body.no-nav {
  margin-bottom: 0;
}
body span {
  line-height: 1.3em;
}
.position-re {
  position: relative;
}
.title {
  font-family: var(--body-font-family);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-shadow: var(--text-shadow);
  /* font-size: 24px; */
  line-height: 1;
}
.sub-title {
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  font-size: 18px;
  line-height: 1.4em;
}
.sub-title.point {
  width: 100%;
  color: var(--primary-color);
}
.sub-title.point-bg {
  padding: 5px;
  width: 100%;
  color: var(--white-color);
  background-color: var(--primary-color);
  border-radius: 10px;
}
.small-text {
  /* margin-bottom: var(--spacing-xs); */
  font-size: var(--small-font-size);
  font-weight: 500;
  line-height: 1.5em;
}
.card-title {
  font-weight: 800;
  font-size: var(--base-font-size);
  letter-spacing: 1px;
}
.link-text,
.point-blue,
.point-orange,
.point-green {
  /* text-decoration: underline;
  text-underline-offset: var(--text-underline-offset); */
}

/* ************* LAYOUT ************* */
/* header */
.title {
  position: relative;
  margin: var(--spacing-sm) 0;
  display: flex;
  align-items: center;
}
/* 부엉이홈 버튼 */
.title nav a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  /* background: rgba(239, 142, 56, 0.3); */
  background: #fff;
  /* border: 1px solid var(--primary-color); */
  /* border: 1px solid #ebebeb; */
  box-shadow: var(--box-shadow);
  color: var(--body-font-color);
  font-size: 10px;
  box-sizing: border-box;
}
.title nav img {
  width: 100%;
}
.title h1 {
  position: absolute;
  font-size: 18px;
  left: 50%;
  transform: translateX(-50%);
}
.title .popup-cancle {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  background: transparent;
}
.title .popup-cancle img {
  width: 100%;
}
.title .popup-cancle.close_btn {
  width: 30px;
  height: 30px;
  cursor: pointer;
}
.title .popup-cancle.close_btn img {
  width: 100%;
}
/* ************* LAYOUT ************* */
/* layout */
.con-width {
  width: 90%;
  margin: 0 auto;
  /* position: relative; */
}
section {
  margin-bottom: var(--spacing-xl);
}

/* navigation bar */
.navigation-bar {
  position: fixed;
  z-index: 10;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid #ebebeb;
  background-color: var(--white-color);
  padding: 16px;
  height: 45px;
}
.navigation-bar img {
  width: auto;
  height: 20px;
}
.navigation-bar ul {
  display: flex;
  justify-content: space-around;
}
.navigation-bar ul li a {
  font-size: 12px;
  display: flex;
  gap: 10px;
  flex-direction: column;
  align-items: center;
  font-weight: 700;
  color: #bcb5ad;
}
.navigation-bar ul li {
  position: relative;
  width: 20%;
}
.navigation-bar ul li.active * {
  color: var(--accent-color);
}

/* ************* UI ************* */
/* cardbox style */
.card-box {
  /* margin: 0 auto; */
  /* width: 85%; */
  padding: 21px;
  box-shadow: var(--box-shadow);
  background: #fff;
  border-radius: var(--border-radius);
}
.divider-vertical {
  width: var(--border-width);
  background: #ebebeb;
  height: 100%;
}
.divider-horizontal {
  margin: 0;
  /* display: block; */
  width: 100%;
  border: var(--border-width) solid #ebebeb;
}
.point-section {
  position: relative;
}
.point-section:after {
  content: "";
  width: 18px;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  position: absolute;
  background: var(--primary-color);
}
.point-section .wrapper {
  margin-left: 12px;
}
/* profile img style */
.user-profile-img {
  background: var(--white-color);
  position: relative;
  margin: auto 0;
  width: 110px;
  height: 110px;
  /* overflow: hidden; */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  box-shadow: var(--box-shadow);
  z-index: 0;
  display: flex;
  align-items: center;
}
.user-profile-img img {
  width: 90%;
  height: 90%;
  /* object-fit: cover; */
  clip-path: circle(50% at 50% 50%);
}

.user-profile-img .btn-setting {
  position: absolute;
  bottom: 0;
  left: -5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #fff url("../src/ico_setting.png") no-repeat center / 70% auto;
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  z-index: 1;
}

/* form  style */
.form-section .select-wrapper,
.form-section .input-wrapper {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}
label {
  font-size: var(--base-font-size);
  font-weight: 700;
}
input,
select {
  outline: 0.5px solid rgba(92, 67, 54, 0.3);
  border: none;
  box-shadow: 0px 2px 4px 0px rgba(92, 67, 54, 0.1);
  width: 100%;
  background: #fff;
  border-radius: var(--border-radius);
  padding: 10px;
  font-size: var(--base-font-size);
  color: var(--body-font-color);
}
select {
  border-right: 16px solid transparent;
}
/* button style */
button {
  width: 100%;
  border-radius: var(--border-radius);
  /* color: var(--white-color); */
  display: flex;
  justify-content: center;
}
button a {
  width: 100%;
  /* height: 100%; */
  color: var(--white-color);
}
/* primary button */
.primary-btn {
  position: relative;
  background: #7e993a;
}
.primary-btn a {
  position: relative;
  z-index: 0;
  top: -2px;
}
.primary-btn:before {
  content: "";
  background: var(--secondary-color);
  position: absolute;
  top: -2px;
  right: 0;
  bottom: 4px;
  left: 0;
  border-radius: var(--border-radius);
  z-index: 0;
}
.primary-btn:hover:before {
  top: 0;
  bottom: 2px;
}
.primary-btn:hover a {
  top: 0px;
}
/* secondary button */
.secondary-btn {
  padding: 0 20px;
}
/* third button */
.third-btn {
  outline: 0.5px solid rgba(92, 67, 54, 0.3);
  border: none;
  box-shadow: 0px 2px 4px 0px rgba(92, 67, 54, 0.1);
  width: 100%;
  background: #fff;
  border-radius: var(--border-radius);
  padding: 10px;
  font-size: var(--base-font-size);
  color: var(--body-font-color);
}
.btn-wrapper {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.btn-wrapper button a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  padding: 4px 0;
}
.next-btn {
  background: #e47310;
}
.next-btn:before {
  background: var(--primary-color);
}
.prev-btn a {
  transform: translateX(-6px);
}
.next-btn a {
  transform: translateX(6px);
}
/* custom radio button */
/* Hide the default radio buttons */
input[type="radio"] {
  display: none;
}
input[type="radio"] + label {
  display: inline-block;
  border-radius: var(--border-radius);
  border: 1px solid transparent; /* Set the border size and make it transparent */
}

/* pop-up */
#layer-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.5);
}
#layer-popup.show {
  display: block;
}

.modal-dialog {
  width: 80%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--white-color);
  margin: 0 auto;
  border-radius: var(--border-radius);
}
#layer-popup header {
  text-align: center;
  padding: 20px;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}
#layer-popup .content {
  padding: 20px;
}
body.scroll-prevent {
  overflow: hidden;
}

/* pop-up2 */
#layer-popup2 {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.5);
}
#layer-popup2.show {
  display: block;
}
#layer-popup2 .modal-dialog {
  padding: 20px;
  width: 50%;
  box-sizing: border-box;
}
/* #layer-popup2 .content{
  padding: 20px;
} */
#layer-popup2 .content p {
  font-size: 16px;
  line-height: 1.4;
}
#layer-popup2 .popup-cancle {
  margin-left: auto;
  width: 36px;
  background: transparent;
}
#layer-popup2 .popup-cancle svg {
  width: 100%;
}

/* 임시 */
.owl_img {
  width: 120px;
}
.book-img,
.collection-img {
  width: 110px;
  height: 110px;
}
/* .quiz-img{
  width: 200px;
} */

/* alert */
#alert {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.8);
}
#alert.show {
  display: block;
}

.alert-con {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding-bottom: 65px;
  width: 80%;
  height: 300px;
  background-color: #fff;
  border-radius: 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  text-align: center;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.8);
}
.alert-con .alert-txt {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
  width: 70%;
  font-size: 20px;
  font-weight: 700;
  color: #222;
  line-height: 1.4;
}

.alert-con .confirm-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  height: 45px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--primary-color);
}
.alert-con .ico-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
}
