@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
@font-face {
    font-family: 'ARCHISCULPTURE_v355';
    src: url('./fonts/ARCHISCULPTURE_v355.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    margin: 0;
    padding: 0;
    overflow: hidden; /* 세로 스크롤바 숨기기 */
    background: #e7e7e7;
    font-family: "ARCHISCULPTURE_v355", sans-serif;
}

h1, h2 {
    font-family: "ARCHISCULPTURE_v355", sans-serif;
}

.txt {
    font-size: 2rem;
    line-height: 2em;
    display: block;
    margin-bottom: 20px; /* 텍스트 아래에 마진 추가 */
    text-align: left; /* 텍스트 왼쪽 정렬 */
}

.background, .background2 {
    flex: 0 0 auto;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    color: white;
    display: flex;
    flex-direction: column; /* 요소를 세로로 배치 */
    align-items: flex-start; /* 왼쪽 정렬 */
    padding: 45px;
    justify-content: center; /* 수직 중앙 정렬 */
    box-sizing: border-box; /* 패딩 포함한 크기 계산 */
}

.background2 {
    color: rgb(0, 0, 0);
}

.img-container {
    display: flex;
    justify-content: center; /* 가로 중앙 정렬 */
    gap: 20px; /* 이미지 간의 간격 */
    flex-wrap: wrap; /* 이미지를 여러 줄로 배치 */
    width: 100%; /* 부모 요소의 너비에 맞추기 */
    margin-bottom: 20px; /* 이미지와 캡션 사이의 간격 추가 */
}

.img-container img {
    max-width: 450px; /* 이미지 최대 너비 설정 */
    height: auto; /* 높이는 자동으로 설정 */
    object-fit: contain; /* 이미지의 비율을 유지하면서 세로 길이에 맞추기 */
}

.img-caption {
    width: 100%; /* 부모 요소의 너비에 맞추기 */
    display: flex;
    justify-content: center; /* 가로 중앙 정렬 */
    font-family: "ARCHISCULPTURE_v355", sans-serif;
    font-size: 1.5rem;
    text-align: center;
}
