html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3, p, ul, blockquote, figure {
    margin: 0;
    padding: 0;
}

/* 공통 요소 스타일 */
.container {
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.text-center {
    text-align: center;
}

.text-justify {
    text-align: justify;
}

/* 헤더 스타일 */
.header {
    background-color: #00264d;
    color: white;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* 홈 로고 */
.home-logo img {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s;
}

.home-logo img:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

.header h1 {
    font-size: 2.5em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.header nav {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-size: 1.2em;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

.nav-link:hover {
    color: #b3cce6;
    background-color: rgba(255, 255, 255, 0.2);
}

/* 메인 콘텐츠 */
main {
    padding: 20px;
    max-width: 1200px;
    margin: 20px auto;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    margin-bottom: 40px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    border: 1px solid #ddd;
    transition: transform 0.3s ease, box-shadow 0.3s;
}

section:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

section h2, section h3 {
    margin-bottom: 20px;
    color: #00264d;
    font-weight: bold;
    text-transform: uppercase;
}

section ul {
    list-style-type: disc;
    padding-left: 20px;
}

section li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #333;
}

section blockquote {
    font-style: italic;
    border-left: 5px solid #004080;
    padding: 10px;
    margin: 20px 0;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 버튼 스타일 */
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #004080;
    color: white;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
    background-color: #00264d;
    transform: translateY(-3px);
}

/* 카드 스타일 */
.card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin-bottom: 10px;
    color: #00264d;
    font-weight: bold;
}

.card-content p {
    font-size: 1em;
    color: #555;
    line-height: 1.5;
}

/* 아트워크 */
.art-works {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.art-gallery {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.art-gallery figure {
    width: 45%;
    text-align: center;
}

.art-gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s;
}

.art-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.art-gallery figcaption {
    font-size: 1em;
    color: #555;
    margin-top: 10px;
}

/* 푸터 */
footer {
    background-color: #00264d;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    margin-top: 30px;
    border-top: 4px solid #b3cce6;
    animation: slideIn 0.5s ease-in-out;
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}
@media (max-width: 768px) {
    .art-gallery {
        flex-direction: column;
    }

    .art-gallery figure {
        width: 100%;
    }

    .video-container video {
        width: 90%;
    }

    section {
        padding: 20px;
    }

    .nav-link {
        font-size: 1em;
    }
}
@media (max-width: 480px) {
    .nav-link {
        font-size: 0.9em;
    }

    .home-logo img {
        width: 50px;
        height: 50px;
    }
    .art-gallery img,
    .video-container video {
        width: 100%;
    }
}
