.item-container {
    display: grid;
    grid-template-columns: 1.5fr 10fr ;
    /*grid-template-columns: 1.5fr 5fr 5fr ;*/
    width: 100%;
    height: 100%;
    flex-direction: row;
    margin-bottom: 10px;
    background: #270606;
    border-radius: 5px;
    padding: 10px;
    align-items: stretch;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
    scroll-margin-top: 80px;
}

.rune-word {
    grid-template-columns: 1.5fr 5fr 5fr ;
}

.item-menu-list {
    display: flex;
    grid-template-columns: 1.5fr 10fr;
    width: 100%;
    height: 100%;
    flex-direction: row;
    margin-bottom: 5px;
    border-radius: 5px;
    align-items: stretch;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

.set-item-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: fit-content;
    text-align: center;
}

.set-item-1 {
    color: white;
    font-weight: bold;
}

.set-item-2 {
    color: var(--itemSetGreen);
    font-weight: bold;
}

.over-event {
    background: #4f0c0c;
}

.img-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.item-img {
    max-width: 100px;
    max-height: 150px;
    width: auto;
    height: auto;
}

.menu-list {
    gap: 50px;
}

.kor-name {
    font-weight: bold;
    font-size: 12px;
    color: var(--korNameColor);
    width: 100%;
    text-align: center;
    word-break: keep-all;
    line-height: 1.4;
    margin-top: 5px;
}

.eng-name {
    font-weight: bold;
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;
    font-size: 11px;
    color: var(--engNameColor);
}

.option-container {
    display: flex;
    flex-direction: column;
    width: fit-content;
    margin-left: 20px;
}

.info {
    display: flex;
    flex-direction: row;
    gap: 5px;
}


.version {
    color: white;
    width: fit-content;
    justify-content: center;
    display: flex;
    border-radius: 5px;
    font-size: 12px;
    padding: 5px;
    background: #D9820C;
    margin-bottom: 5px;
}

.rating-on, .unique-on, .set-on {
    color: #ffffff;
    width: fit-content;
    justify-content: center;
    display: flex;
    border-radius: 5px;
    font-size: 12px;
    padding: 5px;
    background: #9a0000;
    margin-bottom: 5px;
}

.set-off, .unique-off, .rating-off {
    color: white;
    width: fit-content;
    justify-content: center;
    display: flex;
    border-radius: 5px;
    font-size: 12px;
    padding: 5px;
    background: #0a3561;
    margin-bottom: 5px;
}

.item-shared {
    width: 18px;
    height: 18px;
    margin-top: 10px;
    cursor: pointer;
}

.span-button {
    color: white;
    width: fit-content;
    justify-content: center;
    display: flex;
    border-radius: 5px;
    font-size: 12px;
    padding: 5px;
    background: #2d8606;
    margin-top: 5px;
    cursor: pointer;
}

.option {
    font-size: 12px;
    display: flex;
    justify-items: center;
    color: white;
}

.option.blue {
    color: var(--itemOptionBlue);
}

.option.green {
    color: var(--itemSetGreen);
}

.option.effect {
    color: var(--itemSetEffectTitle);
}

.kor-name.green {
    color: var(--itemSetGreen);
}

.character {
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dlc {
    border-radius: 2px;
    width: 100%;
    height: 100%;
    padding: 3px;
    margin-right: 5px;
    color: white;
    font-size: 9px;
    background: #1e5903;
}

.set-menu-group {
    display: flex;
    flex-direction: column;
}

.set-menu-row {
    margin-bottom: 5px;
}

.set-menu-row:first-child {
    margin-top: 0;
}

.runeword-rune-img {
    width: 40px;
    height: 40px;
}

.rune-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.rune-container-list {
    display: flex;
}

.item-img-runeword {
    display: block;
    max-width: 100px;
    max-height: 150px;
    width: auto;
    height: auto;
}

.item-img-wrapper {
    position: relative;
    display: inline-block;
}

.item-img-runeword {
    display: block;
    max-width: 100px;
    max-height: 150px;
    width: auto;
    height: auto;
    filter: brightness(0.6);
}

.rune-word-hole {
    width: 40px;
    height: 40px;
}

.rune-list-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.rune-list-span {
    border-radius: 5px;
    background: #1e5903;
    padding: 2px 5px 2px 5px;
    color: white;
    margin-top: 3px;
}

.hole-2,
.hole-3-1-1-1,
.hole-4-1-1-1-1,
.hole-3-2-1,
.hole-5-2-1-2,
.hole-4-2-2,
.hole-6-2-2-2 {
    position: absolute;
    top: -5%;
    left: -10%;
    z-index: 10;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    justify-content: center;
    align-content: center;
}

/* 2h vertical 1/1 */
.hole-2 {
    display: grid;
    grid-template-columns: 24px;
    grid-template-rows: repeat(2, 24px);
    gap: 20px;
}

/* 3h vertical 1/1/1 */
.hole-3-1-1-1 {
    display: grid;
    grid-template-columns: 24px;
    grid-template-rows: repeat(3, 24px);
    gap: 20px;
}

/* 4h vertical 1/1/1/1 */
.hole-4-1-1-1-1 {
    display: grid;
    grid-template-columns: 24px;
    grid-template-rows: repeat(4, 24px);
    gap: 20px;
}

/* 3h vertical 2/1 */
.hole-3-2-1 {
    display: grid;
    grid-template-columns: repeat(2, 24px);
    grid-template-areas:
        "a b"
        "c c";
    gap: 10px;
    row-gap: 5px;
    column-gap: 15px;
    top: 0;
    left: -10%;
}

.hole-3-2-1 .rune-word-hole:nth-child(1) {
    grid-area: a;
}

.hole-3-2-1 .rune-word-hole:nth-child(2) {
    grid-area: b;
}

.hole-3-2-1 .rune-word-hole:nth-child(3) {
    grid-area: c;
    justify-self: center;
    transform: translateX(8px);

}

/* 5h vertical 2/1/2 */
.hole-5-2-1-2 {
    display: grid;
    grid-template-columns: repeat(2, 24px);
    grid-template-areas:
        "a b"
        "c c"
        "d e";
    gap: 20px;
    row-gap: 5px;
}

.hole-5-2-1-2 .rune-word-hole:nth-child(1) {
    grid-area: a;
}

.hole-5-2-1-2 .rune-word-hole:nth-child(2) {
    grid-area: b;
}

.hole-5-2-1-2 .rune-word-hole:nth-child(3) {
    grid-area: c;
    justify-self: center;
    transform: translateX(8px);
}

.hole-5-2-1-2 .rune-word-hole:nth-child(4) {
    grid-area: d;
}

.hole-5-2-1-2 .rune-word-hole:nth-child(5) {
    grid-area: e;
}

/* 4h vertical 2/2 */
.hole-4-2-2 {
    display: grid;
    grid-template-columns: repeat(2, 24px);
    grid-template-rows: repeat(2, 24px);
    column-gap: 15px;
    row-gap: 20px;
}

/* 6h vertical 2/2/2 */
.hole-6-2-2-2 {
    display: grid;
    grid-template-columns: repeat(2, 24px);
    grid-template-rows: repeat(3, 24px);
    gap: 20px;
    column-gap: 15px;
}
