/* 폰트 불러오기 */

@font-face {
  font-family: 'SUIT';
  src: url('/static/fonts/SUIT-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url('/static/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url('/static/fonts/Pretendard-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url('/static/fonts/Pretendard-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'GUMI';
  src: url('/static/fonts/GUMI-Industry.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* 헤더 */
header {
  padding: 22px 0;
  border-bottom: 1px solid #dfe1e4;
  width: 100%;
}

.header__container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 120px;
  display: flex;
  justify-content: space-between;
}

.header__left {
  display: flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
}

.header__left span {
  font-size: 10px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.4);
  margin-top: 10px;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__right ul {
  display: flex;
}

.header__right ul li {
  padding: 0 20px;
}

.header__right ul li a {
  font-size: 18px;
  font-weight: 500;
  /* color: #231815; */
  color: #989898;
}

.header__right__loginBtn {
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid #dededf;
  font-size: 14px;
  font-weight: 500;
  color: #5e5e5e;
  background: #fff;
}

/* 메인 */
.main__container {
  display: flex;
  gap: 48px;
  padding: 30px 120px 60px 120px;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

main {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.main__top {
  display: flex;
  gap: 44px;
}

.main__top__left {
  padding-top: 18px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #959595;
}

.main__top__left h1 {
  font-size: 40px;
  font-weight: 700;
  font-family: 'SUIT', sans-serif;
  line-height: 140%;
}

.main__top__left__lists {
  counter-reset: item;
  list-style-type: none;
}

.main__top__left__lists li {
  padding: 16px 0;
  color: #989898;
  font-size: 16px;
  font-weight: 500;
  counter-increment: item;
}

.main__top__left__lists li::before {
  content: "0" counter(item) " ";
  font-weight: 500;
  font-size: 16px;
  color: #2cd691;
  margin-right: 10px;
}

.main__top__right {
  filter: opacity(0.5) drop-shadow(0 0 0 #201b1b);
}

.main__bottom {
  display: flex;
  gap: 25px;
}

.main__bottom__card {
  padding: 30px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 73px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  width: 256px;
}

.main__bottom__card--green {
  background: #38d9a6;
}

.main__bottom__card--blue {
  background: #c593f6;
}

.main__bottom__card--yellow {
  background: #5ebcfe;
}

.main__bottom__card--disabled {
  background: #959595;
}

.main__bottom__card__top {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.main__bottom__card__top__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
}

.main__bottom__card__top__title {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.main__bottom__card__top__title h2 {
  font-family: 'SUIT', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.main__bottom__card__top__title p {
  font-size: 14px;
  font-weight: 500;
  line-height: 140%;
  color: #fefefe;
  word-break: keep-all;
}

.main__bottom__card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.main__bottom__card__bottom span {
  font-family: 'GUMI', sans-serif;
  font-size: 14px;
  color: #fff;
}

/* 사이드 */
aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.aside__card {
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #dededf;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 21px;
}

.aside__card img {
  padding: 24px;
}

.aside__card__title {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.aside__card__title h3 {
  font-family: 'Pretendard', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 130%;
  text-align: center;
}

.aside__card__title p {
  font-size: 13px;
  font-weight: 400;
  line-height: 140%;
  text-align: center;
  color: #989898;
  letter-spacing: 0.039em;
}

.aside__card__btn {
  width: 100%;
  padding: 16px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
}

.aside__card__btn--green {
  border: 1px solid #99ecd1;
  background: #99ecd1;
}

.aside__card__btn--blue {
  border: 1px solid #acdcfe;
  background: #ceeafe;
}

.aside__middle {
  position: relative;
  cursor: pointer;

}

.aside__middle__index {
  position: absolute;
  right: 16px;
  bottom: 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 6px 6px 6px;
}

.aside__middle__index__current {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  line-height: 100%;
}

.aside__middle__index__total {
  font-size: 10px;
  font-weight: 400;
  color: #fff;
  line-height: 100%;
}

/* 푸터 */
footer {
  padding: 20px 0;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  padding: 20px 120px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer__divder {
  width: 100%;
  height: 1px;
  border-bottom: 1px solid #dededf;
}

.footer__top nav {
  display: flex;
  gap: 40px;
}

.footer__top nav a {
  font-size: 18px;
  font-weight: 500;
  color: #43443e;
}

.footer__middle {
  padding: 20px 120px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer__middle p {
  font-size: 16px;
  font-weight: 500;
  color: #989898;
}

.footer__bottom {
  padding: 0 120px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer__bottom__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 500;
  color: #43443e;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #dededf;
  background: #fbfbfb;
  cursor: pointer;
}

/* 버튼 hover 효과 */
.header__right__loginBtn:hover {
  background: #dededf;
  color: #231815;
  transition: background 0.3s ease, color 0.3s ease;
}

.main__bottom__card__bottom:hover {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.aside__card__btn--green:hover {
  background: #2cd691;
  border-color: #2cd691;
  color: white;
  transition: background 0.3s ease, color 0.3s ease;
}

.aside__card__btn--blue:hover {
  background: #5ebcfe;
  border-color: #5ebcfe;
  color: white;
  transition: background 0.3s ease, color 0.3s ease;
}

.aside__card__btn span {
  color: red;
  font-weight: 1500;
}

.footer__bottom__btn:hover {
  background: #dededf;
  transition: background 0.3s ease;
}

/* 메인 카드 hover 효과 (위로 올라가는 느낌) */
.main__bottom__card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main__bottom__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* 모달 */
.modal_top {
  position: absolute;
  left: 40%;
  top: 20%;
  transform: translateX(-50%);
  background: rgb(221, 242, 255);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  width: 600px;
  z-index: 1000;
}

.modal_top h1 {
  font-size: 30px;
  font-weight: 500;
  font-family: 'SUIT', sans-serif;
  line-height: 140%;
}

.modal_top b {
  color: #fa0000;
  font-weight: 600;
}

.modal-button {
  width: 100%;
  padding: 16px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid #acdcfe;
  background: #84ccff;
}

.modal-button:hover {
  background: #5ebcfe;
  border-color: #5ebcfe;
  color: white;
  transition: background 0.3s ease, color 0.3s ease;
}

.modal_top__lists li {
  padding: 16px 0;
  color: #282828;
  font-size: 16px;
  font-weight: 500;
  counter-increment: item;
}

.modal_top__lists b {
  color: #56a3f6;
  font-weight: 500;
}

.modal_top__lists li::before {
  content: "0" counter(item) " ";
  font-weight: 500;
  font-size: 16px;
  color: #56a3f6;
  margin-right: 10px;
}

.disabled {
  pointer-events: none;
}
