@charset "UTF-8";
/*!
* Start Bootstrap - Grayscale v7.0.6 (https://startbootstrap.com/theme/grayscale)
* Copyright 2013-2023 Start Bootstrap
* Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-grayscale/blob/master/LICENSE)
*/
/*!
 * Bootstrap  v5.2.3 (https://getbootstrap.com/)
 * Copyright 2011-2022 The Bootstrap Authors
 * Copyright 2011-2022 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@700&display=swap');
html, body {
  overflow-x: hidden; /* 수평 스크롤 숨기기 */
}
.han-font {
  font-family: 'Noto sans KR', sans-serif;
  font-weight: 700;
}
.eng-font {
  font-family: 'Times New Roman', sans-serif;
  font-weight: 700;
}
.arial-font {
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  color: rgb(211, 169, 28);
}
.custom-hr {
  border: 0;
  height: 2.5px;
  background: #f7f4e3; /* 흰색 선 */
  opacity: 1;
  margin: 40px 0; /* 위아래 여백 */
  width: 70%; /* 전체 너비 */
  margin-left: 15%; /* 가운데 정렬 */
}
.file-input-container {
  vertical-align: middle;
}
a {
  text-decoration: none;
}
.gallery {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.item {
  box-sizing: border-box;
  padding: 10px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  position: relative;
}
.item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}
.item p {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
}
.card-body-footer {
  position: absolute;
  margin-top: 15px;
  margin-bottom: 6px;
  bottom: 0;
  width: 314px;
  font-size: 14px;
  color: #9FA5A8;
  padding: 0 15px;
}
.book-summary {
  display: -webkit-box;
  -webkit-line-clamp: 5; /* Show only 5 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.book-summary:hover {
  cursor: pointer;
}
.tooltip {
  position: absolute;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  display: none;
  z-index: 1000;
  max-width: 300px;
}
/* styles.css */
.pagination .page-item.active .page-link {
  background-color: rgb(58, 58, 58) !important; /* 회색 배경 */
  color: white !important; /* 흰색 텍스트 */
  border-color: grey !important; /* 테두리 색상 */
}

.pagination .page-item .page-link {
  background-color: rgb(137, 137, 137) !important; /* 회색 배경 */
  color: white !important; /* 흰색 텍스트 */
  border-color: rgb(165, 165, 165) !important; /* 테두리 색상 */
}

.pagination .page-item.disabled .page-link {
  background-color: lightgrey !important; /* 연한 회색 배경 */
  color: #6c757d !important; /* Bootstrap 기본 비활성화 텍스트 색상 */
  border-color: lightgrey !important; /* 테두리 색상 */
}

.alert-error {
  background-color: #f8d7da; /* 연한 빨간색 배경 */
  color: #721c24; /* 진한 빨간색 텍스트 */
  border: 1px solid #f5c6cb; /* 빨간색 테두리 */
  padding: 10px;
  border-radius: 5px;
}
.nav-item {
    margin-right: 12px;
}
.navbar-nav .nav-item .nav-link,
.navbar .nav-item .nav-link a {
    position: relative;
    z-index: 9998;         /* 글자가 GIF보다 위에 나오도록 */
}
.navbar-nav .nav-item .nav-link {
    color: black;
    font-size: 1.1rem;
}
.navbar .nav-item .nav-link a{
    color: rgb(211, 169, 28);
}

.ip-top-right {
    position: fixed;
    top: 1px;
    right: 10px;
    z-index: 9999;
    color: #888;
    font-size: 0.7rem;
    background: rgba(255,255,255,0.85);
    padding: 4px 10px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
:root {
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #7464a1;
  --bs-pink: #d63384;
  --bs-red: #a16468;
  --bs-orange: #fd7e14;
  --bs-yellow: #e4c662;
  --bs-green: #67c29c;
  --bs-teal: #64a19d;
  --bs-cyan: #1cabc4;
  --bs-black: #000;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #212529;
  --bs-primary: #0d6efd;
  --bs-secondary: #7464a1;
  --bs-success: #67c29c;
  --bs-info: #1cabc4;
  --bs-warning: #e4c662;
  --bs-danger: #a16468;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-black: #000;
  --bs-white: #fff;
  --bs-primary-rgb: 10, 110, 253;
  --bs-secondary-rgb: 116, 100, 161;
  --bs-success-rgb: 103, 194, 156;
  --bs-info-rgb: 28, 171, 196;
  --bs-warning-rgb: 228, 198, 98;
  --bs-danger-rgb: 161, 100, 104;
  --bs-light-rgb: 248, 249, 250;
  --bs-dark-rgb: 33, 37, 41;
  --bs-black-rgb: 0, 0, 0;
  --bs-white-rgb: 255, 255, 255;
  --bs-white-rgb: 255, 255, 255;
  --bs-black-rgb: 0, 0, 0;
  --bs-body-color-rgb: 33, 37, 41;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  --bs-body-font-family: Nunito, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #212529;
  --bs-body-bg: #fff;
  --bs-border-width: 1px;
  --bs-border-style: solid;
  --bs-border-color: #dee2e6;
  --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
  --bs-border-radius: 0.375rem;
  --bs-border-radius-sm: 0.25rem;
  --bs-border-radius-lg: 0.5rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-2xl: 2rem;
  --bs-border-radius-pill: 50rem;
  --bs-link-color: #64a19d;
  --bs-link-hover-color: #50817e;
  --bs-code-color: #d63384;
  --bs-highlight-bg: #faf4e0;
}

.projects-section {
  padding: 10rem 0;
}
.projects-section .featured-text {
  padding: 2rem;
}

.projects-section .project-text {
  padding: 1rem;
  font-size: 90%;
}

/* 추가된 스타일 */
.btn-sm {
  font-size: 0.7rem;
  padding: 0.1rem 0.2rem;
}

.badge {
  font-size: 0.8rem;
}

.responsive-text {
  font-size: 0.82rem; /* 모바일 기본: 더 작게 */
  line-height: 1.5;
}

@media (min-width: 576px) {   /* 작은 태블릿 */
  .responsive-text { font-size: 0.95rem; }
}
@media (min-width: 768px) {   /* 태블릿 */
  .responsive-text { font-size: 1.00rem; }
}
@media (min-width: 992px) {   /* 데스크탑 */
  .responsive-text { font-size: 1.08rem; }
}
@media (min-width: 1200px) {  /* 대형 데스크탑 */
  .responsive-text { font-size: 1.10rem; }
}
