.trivia_title {
    font-size: clamp(1.1rem,4.5vw,2rem);
    font-weight: bold;
    width: fit-content;
    padding: 0.5rem 0;
}
.wrap {
    width: 94%;
    margin: auto;
}
.table_of_contents_area {
    display: flex;
    flex-wrap: nowrap;
    /* align-items: center; */
    justify-content: center;
    width: 100%;
    gap: 1em;
}
.table_of_contents_img {
    width: 350px;
    min-width: 250px;
}
.table_of_contents_img img{
    width: 100%;
}
.preface {
    padding-top: 2em;
    /* font-weight: bold; */
}
.table_of_contents {
    padding: 1em 1.5em;
    background-color: #D4F3EC;
}
.contents_list {
    width: 10em;
}
.contents_item {
    text-decoration: none;
}
.contents_item:hover {
    text-decoration: underline;
}
.contents_item:visited {
    color: #E17449 !important;
}
.trivia {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1em;
}
.trivia_item {
    display: flex;
    flex-direction: column;
    gap: 1em;
}
.trivia_heading {
    font-size: 1.5rem;
}
.trivia_heading.winter {
    color: #0070C0 !important;
    border-bottom: 3px solid #B9EDFF;
}
.trivia_heading.mourning {
    color: #7052BA !important;
    border-bottom: 3px solid #C9C1F7;
}
.winter_list {
    display: flex;
    flex-direction: column;
}
.winter_item {
    color: #0070C0 !important;
}
.mourning_card_item {
    color: #7052BA !important;
}
.item_left {
    display: flex;
    flex-direction: column;
    width: 80%;
    gap: 1em;

}
.item_right {
    width: 250px;
}
.mourning_container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1em;
}
.relatives_img {
    width: 40%;
}
.relatives_text {
    width: calc(60% - 1em);
}
.relatives_type {
    width: 6em;
}
.relatives_info {
    width: calc(100% - 6em);
}
.table_item {
    width: 3em;
    border-top: none !important;
    border-left: none !important;
}
.table_type {
    width: calc(calc(100% / 3) - 3em);
}
.table_type.mourning {
    background-color: #C9C1F7;
}
.table_type.new_year {
    background-color: #ffaaaa;
}
.table_type.winter {
    background-color: #B9EDFF;
}
.summary th,
.summary td {
    padding: 0.5em;
    font-size: clamp(0.8rem,3vw,1rem);
}
.vertical_writing {
    writing-mode: vertical-rl;
}
    @media (max-width:800px) {
        .table_of_contents_img,
        .item_right {
            display: none;
        }
        .item_left {
            width: 100%;
        }
        .mourning_container {
            flex-direction: column;
        }
        .relatives_img {
            width: 90%;
            max-width: 300px;
        }
        .relatives_text {
            width: 100%;
        }
    }
        @media (max-width:480px) {
            .table_of_contents_area {
                flex-direction: column;
            }
            .preface {
                padding-top: 1em;
                /* font-weight: bold; */
            }
        }