#challenge {
    padding-top: 130px;
    padding-bottom: 130px;
    background-color: #111;
    text-align: center;
}
#challenge .container h1 {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 80px;
    word-break: keep-all;
}
#challenge .container p {
    font-size: 18px;
    color: #ccc;
    line-height: 1.5;
    word-break: keep-all;
}
#challenge .container p strong{
    font-weight: 700;
    font-size: 28px;
    color: var(--white);
}
#history {
    background-color: #222;
    padding-top: 130px;
    padding-bottom: 130px;
    text-align: center;
}
#history h1 {
    font-size: 50px;
    font-weight: 700;
    font-family: 'Montserrat', 'NanumSquare', sans-serif;
    margin-bottom: 80px;
}
#history p {
    font-size: 18px;
    color: #ccc;
    line-height: 1.5;
    word-break: keep-all;
}
#history .history-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    row-gap: 65px;
    margin-top: 50px;
    padding-top: 70px;
    padding-bottom: 70px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}
#history .history-list::after {
    position: absolute;
    content: '';
    width: 1px;
    height: 100%;
    top: 0;
    left: 50%;
    translate: -50% 0;
    background-color: #5C5C5C;
    z-index: -1;
    opacity: 0;
    transition: 0.3s opacity;
}
#history .history-list:has(.aos-animate)::after {
    opacity: 1;
}
#history .history-list li {
    display: flex;
    align-items: flex-start;
    column-gap: 54px;
    line-height: 1;
}
#history .history-list li:nth-child(odd) {
    grid-column: 2 / -1;
    translate: -55px 0;
    text-align: left;
}
#history .history-list li:nth-child(even) {
    flex-direction: row-reverse;
    grid-column: 1 / -1;
    translate: calc(-50% + 55px) 0;
    text-align: right;
}
#history .history-list li .icon {
    border-radius: 9999px;
    width: 110px;
    height: 110px;
    display: grid;
    place-items: center;
}
#history .history-list li .icon img {
    width: 55px;
    aspect-ratio: 1/1;
    object-fit: contain;
    object-position: center;
}
#history .history-list li:nth-child(odd) .icon{
    background-color: #2E2E2E;
}
#history .history-list li:nth-child(even) .icon {
    background-color: #3F3F3F;
}
#history .history-list li p {
    display: grid;
    row-gap: 15px;
    color: var(--white);
    line-height: normal;
    margin-top: 20px;
}
#history .history-list li:nth-child(odd) p{
    justify-items: flex-start;
}
#history .history-list li:nth-child(even) p{
    justify-items: flex-end;
}
#history .history-list li p .date {
    font-family: 'Montserrat', 'NanumSquare', sans-serif;
    font-size: 24px;
    font-weight: 300;
    width: max-content;
}
#history .history-list li p strong {
    font-size: 30px;
    font-weight: 700;
    height: 1em;
}
#contact {
    padding-top: 130px;
    padding-bottom: 130px;
    background-image: url('../images/about/bg-contact.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}
#contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #111;
    opacity: 0.85;
    z-index: -1;
}
#contact .container {
    display: grid;
    row-gap: 40px;
    text-align: center;
}
#contact .container h1 {
    font-size: 50px;
    font-weight: 700;
    font-family: 'Montserrat', 'NanumSquare', sans-serif;
}
#contact .container p {
    font-size: 28px;
    line-height: 2;
    text-align: center;
    word-break: keep-all;
}
#contact .container article {
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.30);
    height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#contact .container article span {
    font-size: 28px;
    line-height: 2;
    color: #ccc;
}
#contact .container article a {
    font-size: 32px;
    font-weight: 700;
    margin-top: 52px;
    position: relative;
}
#contact .container article a::before {
    position: absolute;
    top: -33px;
    left: 50%;
    translate: -50% 0;
    content: '';
    width: 13px;
    height: 13px;
    background-image: url('../images/common/icon-swiper-pagination.svg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}
/* mobile 모바일 */
/* container 크기보다 작으면 모바일 화면 */
@media screen and (max-width: 1409px) {
    #challenge .container h1 {
        font-size: 30px;
        line-height: 1.5;
        text-wrap: balance;
    }
    #challenge .container p strong {
        font-size: 20px;
    }
    #challenge .container p {
        font-size: 16px;
    }
    #history h1 {
        font-size: 30px;
    }
    #history .history-list {
        grid-template-columns: auto;
        max-width: max-content;
        margin: 0 auto;
        justify-content: flex-start;
        padding-top: 70px;
        margin-top: 70px;
        padding-inline: 20px;
    }
    #history .history-list li {
        column-gap: 16px;
    }
    #history .history-list li .icon {
        min-width: 64px;
        min-height: 64px;
        width: 64px;
        height: 64px;
    }
    #history .history-list li .icon img {
        width: 32px;
        height: 32px;
    }
    #history .history-list li p .date {
        font-size: 14px;
    }
    #history .history-list li p strong {
        font-size: 16px;
        word-break: keep-all;
    }
    #history .history-list li:nth-child(odd),
    #history .history-list li:nth-child(even) {
        grid-column: 1 / -1;
        translate: 0 0;
    }
    #history .history-list li:nth-child(even) p {
        justify-items: flex-start;
        text-align: left;
    }
    #history .history-list li:nth-child(even) {
        flex-direction: row;
    }
    #history .history-list::after{
        /* display: none; */
        left: 52px;
    }
    #contact .container h1 {
        font-size: 30px;
    }
    #contact .container p {
        font-size: 16px;
    }
    #contact .container article span{
        font-size: 22px;
    }
    #contact .container article a{
        font-size: 20px;
        margin-top: 40px;
    }
}