/*--------------------------------------------------------------
# About Page Fonts
--------------------------------------------------------------*/
h3 {
  font-family: "Nanum Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/*--------------------------------------------------------------
# About Page mobile text-size-adjust
--------------------------------------------------------------*/
html, body {
    -webkit-text-size-adjust: none; /* 크롬, 사파리, 오페라 신버전 */
    -ms-text-size-adjust: none;    /* IE */
    -moz-text-size-adjust: none;   /* 파이어폭스 */
    -o-text-size-adjust: none;     /* 오페라 구버전 */
}



/*--------------------------------------------------------------
# About introduce Section
--------------------------------------------------------------*/
.About-introduce {
  padding: 100px 0;
  position: relative;
  clip-path: inset(0);
  min-height: 200px;
}

.About-introduce img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.About-introduce:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 35%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.About-introduce .container {
  position: relative;
  z-index: 3;
  width: 60%;
  max-width: 1200px;
  margin: 0 auto;
}

.About-introduce h3 {
  color: var(--default-color);
  font-size: 35px;
  font-weight: 700;

}

.About-introduce p {
  color: var(--default-color);

}

.About-introduce a {
    position: relative;
    top: 55px;
    left: 35px;
    font-family: "Audiowide", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-optical-sizing: auto;
    font-variation-settings:
            "wdth" 100;
}

.About-introduce .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--contrast-color);
  color: var(--contrast-color);
}

.About-introduce .cta-btn:hover {
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
}



/*--------------------------------------------------------------
# (소개글, 학습/행사) Button section
--------------------------------------------------------------*/

.body {
    background-color: #111111;

}



.containers {
    max-width: 1180px;
    display: flex;
    justify-content: center;
    margin: 50px auto 0 auto;
}

.btn-container:not(:first-child) {
    border-left: 1px solid rgba(240, 240, 240, 0.3);
}

.btn {
    opacity: 80%;
    font-size: 21px;
    font-weight: 600;
    padding: 0 20px;
    transition: all 0.3s;
    position: relative;
    left: 35px;
    border: none;
}

.btn:hover {
    opacity: 100%;
    cursor: pointer;
}

.btn:active {
    border-color: white;
}



/*--------------------------------------------------------------
# 둘러보기 section
--------------------------------------------------------------*/

.bg-gallery {
    background-color: #d9dad7;
    padding: 20px; /* 내부 여백 */
    border-radius: 20px; /* 둥근 모서리 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* 그림자 효과 */
    width: 80%; /* 부모 요소의 80%를 차지 */
    max-width: 900px; /* 최대 크기 제한 */
    height: 330px;
    margin: 0 auto; /* 가운데 정렬 */
}

.gallery-box {
    max-width: 900px; /* 최대 너비는 유지 */
    width: 100%; /* 부모 요소에 맞게 조절 */
    height: auto;
    padding: 30px;
    position: relative; /* 배치 기준 */
    box-sizing: border-box; /* 패딩 포함 크기 계산 */
    overflow: hidden; /* 내용 잘리지 않게 설정 */
    padding-top: 60px;
}

.gallery-box2 {
    width: 900px;
    height: 280px;
    padding: 20px;
    position: relative; /* 배치 기준 */
    box-sizing: border-box; /* 패딩 포함 크기 계산 */
    overflow: visible; /* 내용 잘리지 않게 설정 */
    padding-right: 60px;
    padding-top: 40px;
}

.gallery-box h2 {
    position: absolute; /* 부모(.gallery-box)를 기준으로 배치 */
    top: 0.1px; /* 상단 간격 */
    left: 5px; /* 왼쪽 간격 */
    z-index: 10; /* 다른 요소보다 위에 표시 */
    margin: 0;
    font-size: 21px;
    font-weight: bold;
    font-family: "Noto Sans KR", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.gallery-type {
    display: flex;
    flex-wrap: nowrap; /* 자동 줄바꿈 */
    justify-content: center;
    gap: 10px; /* 갤러리 아이템 간 간격 */
    flex-direction: row;
}

.gallery-item {
    text-align: center; /* 텍스트 가운데 정렬 */
    flex: 1 1 auto; /* 3열로 배치 */
    max-width: 35%; /* 최대 너비 */
    cursor: pointer;
}

.gallery-item img.equal-image {
    width: 235px;
    height: 190px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 20px;
    padding: 5px;
    background-color: #fff; /* 테두리 안쪽 배경 (하얀색) */
    border: 2px solid #e0e0e0; /* 액자 스타일 테두리 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 약간의 그림자 효과 */
}

.gallery-item p {
    font-size: 16px;
    color: #555;
    margin: 0;
    font-family: "Noto Sans KR", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}


@media (max-width: 768px) {
    .gallery-item {
        width: 100%;
    }
}

@media (max-width: 550px) {
    body {
        width: 90%;
        margin: 0 auto; /* 가운데 정렬 */
    }

    .bg-gallery {
        background-color: #d9dad7;
        padding: 20px; /* 내부 여백 */
        border-radius: 20px; /* 둥근 모서리 */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* 그림자 효과 */
        width: 80%; /* 부모 요소의 80%를 차지 */
        max-width: 900px; /* 최대 크기 제한 */
        height: auto;
        margin: 0 auto; /* 가운데 정렬 */
    }

    .gallery-item img.equal-image {
        width: 230px;
        height: 190px;
        object-fit: cover;
        border-radius: 20px;
        margin-bottom: 20px;
        padding: 5px;
        background-color: #fff;
        border: 2px solid #e0e0e0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 약간의 그림자 효과 */
    }
    .container3 {
        width: 1160px;
        padding: 0 20px;
        margin: 0 auto;
        padding-right: 210px;
        padding-left: 210px;

    }

    .artineer-contenttext2 {
        font-size: 20px;
        line-height: 2;
        font-family: "Noto Sans KR", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
        padding-bottom: 30px;
        padding-left: 200px;
        padding-right: 200px;

        text-indent: 1em; /* 들여쓰기 크기 설정 */

    }
}

/* 모달 배경 스타일 */
.modal {
    display: none; /* 초기에는 보이지 않음 */
    position: fixed;
    z-index: 9999; /* 다른 요소 위에 표시 */
    left: 0;
    top: 0;
    width: 100%;
    height: 300px;
    overflow: auto; /* 스크롤이 필요한 경우 */
    background-color: rgba(0, 0, 0, 0.8); /* 반투명 검은 배경 */
}

/* 모달 이미지 스타일 */
.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    border: 2px solid white;
    border-radius: 8px;
}

/* 닫기 버튼 스타일 */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: white;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    font-weight: bold;
}

.close:hover {
    color: red;
}


/*--------------------------------------------------------------
# 학습 section
--------------------------------------------------------------*/
* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #000;
}

img {
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
}

/* common */
.container3 {
    width: 1160px;
    padding: 0 20px;
    margin: 0 auto;
    padding-right: 210px;
    padding-left: 210px;
}

.section {
    padding: 60px 0;
}

.section>h2 {
    font-size: 50px;
    line-height: 1;
    text-align: center;
    margin-bottom: 20px;
}

.section>p {
    font-size: 22px;
    font-weight: 300;
    color: #666;
    text-align: center;
    margin-bottom: 70px;
}

/* cardType */
.card__inner {
    display: flex;
    justify-content: space-between;
}

.card {
    width: 32%;
    background-color: #f5f5f5;
}

.card__body {
    padding: 16px;
}

.card__body .tit {
    font-size: 24px;
    margin-bottom: 10px;
    font-family: "Jua", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.card__body .desc {
    font-size: 18px;
    line-height: 1.6;
    color: #000000;
    margin-bottom: 20px;
    font-weight: 350;
    font-family: "Noto Sans KR", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}





/*--------------------------------------------------------------
# greeting section
--------------------------------------------------------------*/

.artineer-text {
    font-size: 55px;
    position: relative;
    font-family: "Knewave", system-ui;
    font-weight: 400;
    font-style: normal;
    color: #3D507A;


}

.artineer-text1 {
    font-size: 50px;
    position: relative;
    font-family: "Jua", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #3D507A;


}

.artineer-contenttext {
    font-size: 20px;
    line-height: 2;
    font-family: "Noto Sans KR", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;

    padding-left: 150px;
    padding-right: 150px;

    text-indent: 1em; /* 들여쓰기 크기 설정 */

}

.artineer-contenttext2 {
    font-size: 20px;
    line-height: 2;
    font-family: "Noto Sans KR", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    padding-bottom: 30px;
    padding-left: 220px;
    padding-right: 220px;

    text-indent: 1em; /* 들여쓰기 크기 설정 */

}

.artineer-img {
    width: 960px;
    height: 400px;
    margin: 20px 0;
    padding-left: 50px;
    padding-right: 50px;
    object-fit: cover; /* 이미지의 잘림 방지 또는 원하는 크기로 조정 */
}





