@font-face {
    font-family: 'Ownglyph_ParkDaHyun';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2411-3@1.0/Ownglyph_ParkDaHyun.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'Cafe24Lovingu';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2405-3@1.1/Cafe24Lovingu.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}


body {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  background: #fafafa;
  color: #222;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
  font-weight: 700;
  font-size: 1.2rem;
}

.menu-toggle {
  font-size: 1.5rem;
  cursor: pointer;
}

.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 20%;
  height: 60vh;
  background-color: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 999;
  border-radius: 50px;
  
}

.side-menu.show {
  transform: translateX(0);
}

.menu-header {
  text-align: right;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.side-menu ul {
  list-style: none;
  padding: 0;
}

.side-menu ul li {
  margin: 1rem 0;
  font-size: 1.1rem;
}

.side-menu ul li a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.main-content {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  color: #444;
  font-family: 'Cafe24Lovingu';
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  padding: 1rem 0;
}

.image-grid img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.image-grid img:hover {
  transform: scale(1.03);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.pagination button {
  padding: 0.5rem 0.9rem;
  border: none;
  background-color: #eee;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
}

.pagination button:hover {
  background-color: #ccc;
}


/* 추가된 스타일 */
.fullscreen-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 2000;
}

.fullscreen-overlay img {
  max-width: 95%;
  width: 77%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}


.fullscreen-description {
  color: #fff;
  margin-top: 1rem;
  font-size: 1.1rem;
  text-align: center;
  max-width: 80%;
}

.fullscreen-overlay .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.menu-toggle {
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: inline-block;
}

.menu-toggle.rotate {
  transform: rotate(90deg);
}


.side-menu ul li {
  margin: 0;
  border-bottom: 1px solid #eee;
  text-align: left;
  padding: 0.5rem 0.5rem;
  transition: background-color 0.2s;
}

.side-menu ul li a {
  text-decoration: none;
  color: #333;
  display: block;
  text-align: center;
}

.side-menu ul li:hover {
  background-color: #f5f5f5;
}

.menu {
  width: 180px;
  padding: 16px;
  background-color: #fff;
  box-shadow: 2px 0 4px rgba(0,0,0,0.05);
  border-right: 1px solid #eee;
}

.menu-item {
  padding: 12px 8px;
  font-size: 16px;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s, color 0.2s;
}

.menu-item:hover {
  background-color: #f9f9f9;
  color: #007aff;
  cursor: pointer;
}

.menu-item:last-child {
  border-bottom: none;
}

a {
  color: inherit;             /* 부모 요소의 글자 색을 따라감 */
  text-decoration: none;      /* 밑줄 제거 */
}


.profile-text h2 {
font-family: 'Ownglyph_ParkDaHyun';
}

.profile-text p {
  font-family: 'Ownglyph_ParkDaHyun';
}