@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@200..900&display=swap');
/* 폰트 설정 (구글폰트, 본명조) */

:root {
    --main-color: black;
    --text-color: black;
    --second-color: #858585;
    --bg-color: white;
    --border-syle: var(--main-color) solid 1px;
}

body    {
    font-family: "Noto Serif KR", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 2.0rem;
    font-weight: 400;
    line-height: 180%;

    word-break: keep-all;
    word-wrap: normal;


    margin: 0px 0px 1.8rem;
    padding: 0px;

    overflow-x: hidden;
    -ms-overflow-style: none;
}

::-webkit-scrollbar {
    display: none;
}

/* 제목용 폰트 설정 */
h1, h2  {
    font-size: 4.8rem;
    font-weight: 700; 
    margin: 0px;
    width: calc(50vw - 2.4rem);
    white-space: normal;
    line-height: 130%;
}

h3  {
    font-size: 2.0rem;
    font-weight: 400;
    margin: 0px;
    width: 10vw;
    white-space: normal;
}

p       {
    font-weight: 400;
    margin: 0px;
    width: calc(50vw - 2.4rem);
    white-space: normal;
}

/* css 초기화 */
html    {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-size: 62.5%;
}

button  {
    background: none;
    color: inherit;
    border: none;
    cursor: pointer;
    outline: inherit;
}

ul  {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

ol  {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

li  {
    list-style: none;
}

a       {
    display: inline-block;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    padding: 0;
}

/* header(로고, 메뉴) 설정 */
header  {
    position: fixed;
    display: flex;
    justify-content: space-between;
    width: 100vw;
    top: 0px;
    background-color: white;
}

main    {
    margin: 16rem 2.4rem 0rem;
    gap: 16rem;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
}

section {
    gap: 16rem;
    display: flex;
    flex-direction: column;
}

.logo   {
    margin-left: 2.4rem;
    background-color: var(--bg-color);
}

.logoImg    {
    width: 111px;
}

.menu   {
    margin-top: 1.8rem;
    margin-right: 2.4rem;
    width: calc(50vw - 2.4rem);
}

.pageMenu{
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.8rem;
}

.back   {
    display: none;
}

.selectedPage   {
    font-weight: 700;
}

.unselectedPage {
    display: inline-flex;
    gap: 2.6rem;
}

.hambugerMenu, .close, .mobilePageMenu   {
    display: none;
}

.line   {
    position: fixed;
    top: 0;
    height: 9.6rem;
    width: calc(50vw - 2.4rem);
    background-color: var(--bg-color);
    border-bottom: var(--border-syle);
    z-index: -1;
}

.listMenu   {
    display: inline-flex;
    align-items: center;
    gap: 24px;
}

.radioButton {
    display: flex;
    height: 4.2rem;
    padding: 0rem 3rem;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    box-sizing: border-box;
    border-style: solid;
    border-radius: 2.1rem;
    border-width: 1px;
    background: var(--bg-color);
    white-space: nowrap;
}

.selected   {
    background: var(--main-color);
    font-weight: 700;
    color: var(--bg-color);
    border: var(--main-color);
}

.articleText    {
    margin: 0px;
    display: flex;
    justify-content: flex-start;
}

.articleTextInner   {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.worksList   {
    display: flex;
    gap: 2.4rem;
    overflow-x: auto;  /* 가로 스크롤 활성화 */
    scroll-snap-type: x mandatory; /* 가로 스냅 적용 */
    -webkit-overflow-scrolling: touch; /* 모바일에서 부드러운 스크롤 */
    scroll-padding: 1rem;
}


.workImg    {
    width: calc(25vw - 3.4rem);
    transform-origin: left bottom; /* 기본 상태에서도 좌측 하단을 기준 */
    transition: width 0.3s ease-in-out, transform-origin 0s;
}

.workImg.enlarged {
    width: calc(50vw - 4.8rem);
}

.work p {
    width: calc(25vw - 3.4rem);
}

.innerText  {
    display: flex;
}

.innerText p   {
    width: calc(40vw - 2.4rem)
}

.articleImg     {
    object-fit: cover;
    margin-top: 4.2rem;
    width: calc(100vw - 4.8rem);
    height: 70rem;
    background-color: gray;
}

.nameList   {
    display: flex;
    p {
        width: 8vw;
        max-width: calc(20vw - 1.4rem);
    }
}

.project    {
    min-height: calc(100vh - 18.6rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.projectDepth   {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.flowerNight    {
    min-height: calc(100vh - 18.6rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.flowerNightDepth   {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 1.8rem;
}

.flowerNightDepth >.img   {
    width: calc(50vw - 2.4rem);
    max-height: 50vh;
    object-fit: contain;
}

.flowerNightExplanation    {
    margin: 0px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6rem;
}

.flowerNightText    {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 6rem;
}

.scroll-x {
    max-width: 100%;
    height: 60vh;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
}

.items {
    display: flex;
    height: 100%;
    gap: 3.5rem;
}

.items img {
    height: 60vh;
    display: block;
    box-sizing: border-box;
}

.slider-container   {
    position: relative;
    width: calc(100vw - 4.8rem);
    margin: 16rem 0 2.4rem;
    overflow: hidden;
}

.slider {
    display: flex;
}

.exhib  {
    width: 100%;
    object-fit: cover;
}

.dot {
    position: relative;
    display: flex;
    width: 10px;
    height: 10px;
    transform: translate(-50%);
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
}

.dots{
    display: flex;
    justify-content: center;
    position: relative;
    top: -2.5rem;
    gap: 1.6rem;
    height: 0;
}

.dot.active {
    background-color: #717171;
}

/* 이전/다음 버튼 설정 */
.prev, .next {
    position: absolute;
    top: 50%;
    background-color: rgba(0, 0, 0, 0);
    color: var(--bg-color);
    padding: 10px;
    font-size: 24px;
    z-index: 2;  /* 이미지 위에 버튼이 보이도록 설정 */
}

.prev {
    left: 0; /* 왼쪽 끝에 위치 */
}

.next {
    right: 0; /* 오른쪽 끝에 위치 */
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
    color: var(--bg-color);
}

.content-left   {
    width: calc(50vw - 4.8rem);
    padding-top: 1.8rem;
}

.notice-item, .notice-exp    {
    display: flex;
    justify-content: space-between;
    border-bottom: var(--border-syle);
    gap: 2.4rem;
    padding: 1.8rem;
}

.notice-title   {
    display: inline-block;
    width: 40vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-date    {
    width: 10vw;
    color: var(--second-color);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.notice-date-right    {
    color: var(--second-color);
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-bottom: 1.8rem;
    border-bottom: var(--border-syle);
    margin-top: 7.2rem;
    text-align: right;
}

.allimContainer {
    height: calc(100vh - 26.8rem);
    overflow-y: scroll;
    border-bottom: var(--border-syle);
}

.allim  {
    display: flex;
    justify-content: space-between;
}

.content-right  {
    display: flex;
    flex-direction: column;
    width: calc(50vw - 2.4rem);
}

.notice-contents    {
    height: calc(100vh - 17.6rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.notice-contents-inner  {
    height: calc(100vh - 12.6rem);
    overflow-y: scroll;
}

.content-right h2{
    padding: 0 0 1.8rem;
    line-height: 150%;
    border-bottom: var(--border-syle);
    margin-bottom: 7.2rem;
}

.border{
    border: 1px solid;
}
