/*   PC Device   */
/*  타이틀 영역  */
.title_container {
    width: 100%;
    height: 12rem;
    margin-top: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../img/bg-sub-title.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.title_container > h1 {
    width: 97.5rem;
    font-size: 5.625rem;
    font-weight: 700;
    color: #4D144A;
}
/*  메인  */
.history_container {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6.25rem 0rem;
}
.history_wrapper {
    width: 75rem;
    display: flex;
    flex-direction: column;
    gap: 6.25rem;
}
.history_button_wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}
.history_button_wrapper > button {
    width: 50%;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border: 1px solid #B8252E;
    border-radius: 0.625rem;
    font-size: 1.75rem;
    font-weight: 500;
    color: #B8252E;
    cursor: pointer;
}
.history_contents_wrapper {
    display: flex;
    flex-direction: column;
}
.history_youtube {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
    grid-column: 1 / 3;
}
.history_youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*   Tablet Device   */
@media all and (min-width: 960px) and (max-width: 1730px) {
    /*  타이틀 영역  */
    .title_container {
        padding: 0rem 6.25rem;
    }
    .title_wrapper {
        width: 100%;
    }
    .title_container > h1 {
        width: 100%;
        font-size: 5rem;
    }
    /*  메인  */
    .history_container {
        padding: 6.25rem;
    }
    .history_wrapper {
        width: 100%;
        gap: 6.25rem;
    }
    .history_button_wrapper > button {
        height: 4.375rem;
        font-size: 1.5rem;
    }
}

/*   Mobile Device   */
@media all and (min-width: 320px) and (max-width: 959px) {
    /*  타이틀 영역  */
    .title_container {
        width: 100%;
        height: 8rem;
        margin-top: 4rem;
        padding: 0rem 4vw ;
    }
    .title_container > h1 {
        font-size: 3rem;
    }
    /*  메인  */
    .history_container {
        padding: 5rem 4vw;
        gap: 4rem;
    }
    .history_wrapper {
        width: 100%;
        gap: 2.5rem;
    }
    .history_button_wrapper {
        gap: 1rem;
    }
    .history_button_wrapper > button {
        height: auto;
        padding: 4vw;
        font-size: 1rem;
        word-break: keep-all;
    }
}