body {
    font-family: "Noto Sans KR", sans-serif;
}

.footer {
    background-color: #333;
    color: #f4f4f4;
    padding: 20px 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px 50px;
}

.footer-section {
    text-align: left;
    margin-bottom: 20px;
    flex: 1;
    min-width: 200px;
}

.footer-section.about {
    flex-basis: 40%;
    margin-right: 50px;  /* about 섹션에 추가적인 마진을 적용 */
}

.footer-sections {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-basis: 55%;
}

.footer-section.contact,
.footer-section.address,
.footer-section.number
.footer-section.links {
    flex: 1;
    margin-right: 20px;
}

.footer-section.contact:last-child,
.footer-section.address:last-child,
.footer-section.number:last-child,
.footer-section.links:last-child {
    margin-right: 0;
}

.footer-section h1,
.footer-section h2,
.footer-section h3 {
    color: #ffffff;
}

.footer-section p,
.footer-section span,
.footer-section a {
    color: #bbbbbb;
    font-size: 0.9em;
    text-decoration: none;
}

.footer-section a:hover {
    color: #ffffff;
}

.links span,
.contact span,
.number span,
.address span {
    display: block;
    margin-bottom: 10px;
}

.footer-section.links ul {
    list-style: none;
    padding: 0;
}

.footer-section.links ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding: 10px 0;
    font-size: 0.8em;
    padding-top: 40px;
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
    .footer-content {
        flex-direction: column;
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-section {
        margin-bottom: 5px;
    }

    .footer-section.about {
        margin-right: 0;
        margin-bottom: 5px
    }

    .footer-sections {
        flex-direction: column;
    }

    .footer-section.contact,
    .footer-section.address,
    .footer-section.links {
        margin-right: 0;
    }

    .footer-section h2,
    .footer-section h3 {
        font-size: 1.2em; /* h2, h3 요소의 폰트 크기 줄이기 */
    }

    .footer-section p,
    .footer-section span,
    .footer-section a {
        font-size: 0.8em; /* 텍스트 요소의 폰트 크기 줄이기 */
    }

    .footer-bottom {
        font-size: 0.7em; /* 바닥글의 폰트 크기 줄이기 */
    }
}