* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    margin: 0;
    font-family: "Noto Sans KR", sans-serif;
}

/* 흐릿한 배경 이미지 설정 */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.08);
    background-size: cover;
    filter: blur(2px) brightness(50%);
    /* 흐림 효과 */
}

#contents {
    min-height: calc(100vh - 10rem);
}

.logo {
    margin: 20px 0 20px 20px;
    padding: 20px;
    max-width: 400px;
}

a {
    text-decoration-line: none;
}

.button {
    display: flex;
    align-items: center;
    /* 수직 정렬 */
    gap: 10px;
    /* 간격 조정 */
    height: 100px;
    width: 350px;
    margin: 1em;
    padding: 16px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, filter 0.3s ease;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.02),
        0 2px 2px rgba(0, 0, 0, 0.12),
        0 4px 4px rgba(0, 0, 0, 0.16),
        0 8px 8px rgba(0, 0, 0, 0.20);
}


.button .button_background {
    height: 100%;
    width: 100%;
    transition: filter 0.3s ease;
    filter: brightness(50%);
}

.button:hover {
    transform: translateY(-5px);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail {
    flex-shrink: 0;
    /* 크기 고정 */
    width: 25%;
    height: 100%;
    overflow: hidden;
    border: 2px solid rgba(0, 0, 0, 0.2);
}

.overlay-text {
    flex-grow: 1;
    /* 나머지 공간 차지 */
    height: 100%;
    color: white;
    text-align: left;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.overlay-text .title {
    font-size: 18px;
    font-weight: bold;
}

.overlay-text .subtitle {
    font-size: 14px;
    margin-top: 5px;
}

footer {
    height: 10rem;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ddd;
    font-size: 14px;
}

.section {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin: 0 20px 40px 20px;
    padding: 0 1em 1em 1em;
    background-color: rgba(255, 255, 255);
}
.section-title {
    margin: 0 20px 0 20px;
    padding: 1em;
    background-color: rgba(255, 255, 255);
}