.history-page {
    box-sizing: border-box;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    background: url(../../img/global/history-bg.png);
    background-color: #222;
    background-position: center center;
    background-repeat: repeat;
}

.history-container {
    position: relative;
    padding-top: 80px;
    max-width: 1090px;
    width: 90%;
}

.history-container .history-item {
    display: flex;
    justify-content: space-between;
    position: relative;
    /* padding-top: 28px; */
    align-items: flex-start;
    flex-wrap: wrap;
}

.history-container .history-item:before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: #D2EADF;
    z-index: 1;
    border: none;
    border-right: 1px solid #D2EADF;
}

.history-container .history-item .year {
    position: absolute;
    top: -80px;
    color: #D2EADF;
    font-weight: 700;
    border-bottom: 2px solid #D2EADF;
    padding-bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    text-align: center;
    display: inline-block;
    font-family: "Gmarket Sans";
    font-size: 24px;
    line-height: 32px; /* 133.333% */
    letter-spacing: -0.6px;
}

.history-container .history-item .year:after {
    position: absolute;
    content: "";
    background: #D2EADF;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.history-container .history-item .left {
    width: 50%;
    padding-right: 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.history-container .history-item .right {
    width: 50%;
    padding-left: 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 80px;
}

.history-container .history-item .month {
    color: #FFF;
    text-align: right;
    font-family: "Noto Sans KR";
    font-size: 24px;
    font-weight: 600;
    line-height: 38px; /* 158.333% */
    letter-spacing: -0.6px;
}

.history-container .history-item .left .month-text {
    text-align: right;
}

.history-container .history-item .month-text {
    color: #FFF;
    font-family: "Noto Sans KR";
    font-size: 18px;
    font-weight: 300;
    line-height: 26px; /* 144.444% */
    letter-spacing: -0.45px;
    text-align: left;
    word-break: keep-all;
}

.history-container .history-item .history-img {
    max-width: 450px;
    width: 100%;
}

.history-container .history-item .flag {
    max-width: 274px;
    width: 55%;
}

.hello {
    width: 60%;
    margin-top: -30px;
}

.mt-130 {
    margin-top: -130px;
}

.mt-260 {
    margin-top: -260px;
}

.mt-160 {
    margin-top: -160px;
}


@media(min-width: 1700px) {
    .history-container .history-item .year {
        width: 92px;
        font-size: 32px;
        line-height: 40px;
        letter-spacing: -0.8px;
    }
    .history-container {
        max-width: 1290px;
    }
    .history-container .history-item .month {
        font-size: 28px;
        letter-spacing: -0.7px;
    }
    .history-container .history-item .month-text {
        font-size: 20px;
        line-height: 28px;
        letter-spacing: -0.5px;
    }
    .history-container .history-item .history-img {
        max-width: 500px;
    }
    .history-container .history-item .flag {
        max-width: 324px;
    }
}


@media(max-width:1280px) {
    .history-container .history-item .left{
        padding-right: 30px;
    }
    .history-container .history-item .right{
        padding-left: 30px;
        padding-top: 60px;
    }
    .history-container .history-item .month {
        font-size: 20px;
        line-height: 28px;
        letter-spacing: -0.5px;
    }
    .history-container .history-item .month-text {
        font-size: 16px;
        letter-spacing: -0.4px;
        line-height: 24px;
        margin-top: -7px;
    }
}

@media(max-width: 900px) {
    .history-page {
        padding: 60px 30px;
    }
    .history-container {
        width: 100%;
    }
    .history-container .history-item .month {
        font-size: 18px;
        letter-spacing: -0.45px;
    }
    .history-container .history-item .month-text {
        font-size: 14px;
        line-height: 20px;
        letter-spacing: -0.35px;
    }
}

@media(max-width:768px) {
    .history-page {
        padding: 30px 20px;
        gap: 0;
    }
    .history-container {
        padding: 40px 0 20px;
    }
    .history-item {
        display: flex;
        flex-direction: column;
        align-items: center !important;
        gap: 40px;
    }
    .history-container:first-child {
        padding-top: 0;
    }
    .history-container .history-item:before {
        display: none;
    }
    .history-container .history-item .year {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        margin-bottom: -40px;
    }
    .history-container .history-item .left {
        width: 100%;
        padding: 0;
        margin: 0 !important;
        text-align: left;
        align-items: flex-start;
    }
    .history-container .history-item .right {
        width: 100%;
        padding: 0;
    }
    .history-container .history-item .history-img {
        max-width: unset;
        width: 100%;
    }
    .hello {
        width: 40%;
        margin-bottom: -7%;
    }
}

@media(max-width: 650px) {
    .history-container .history-item .month {
        font-size: 16px;
        line-height: 24px;
        letter-spacing: -0.4px;
    }
}

@media(max-width: 480px) {
    .hello {
        width: 50%;
    }
    .history-container .history-item .flag {
        width: 35%;
    }
}


