html, body {
    margin: 0;
    min-height: 100vh;
    background: #000000;
    /*background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 1) 0%, rgba(31, 2, 2, 1) 100%);*/

}

/* header */
header {
    height: 100px;
    flex-shrink: 0;
    background: var(--headColor);
    border-bottom: 1px solid var(--lineGrayColor);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

#runeword-main-container,
#set-main-container,
#normal-main-container,
#unique-main-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-sizing: border-box;
}

.nav-list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.logo {
    width: 120px;
    height: 70%;
}

a {
    text-decoration: none;
    color: var(--textColor);
    font-size: 12px;
    transition: color 0.4s ease;
}

/*.nav-container:hover a {*/
/*    color: var(--textColorHover);*/
/*    font-size: 15px;*/
/*}*/

.nav-container {
    font-size: 12px;
    position: relative;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 80px;
    box-sizing: border-box;
    white-space: nowrap;
}

.nav-container::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    height: 3px;
    background: transparent;
    transition: background 0.7s ease;
}

.nav-container:hover {
    cursor: pointer;
}

.nav-container:hover::after {
    background: var(--solidColor);
    border-radius: 5px;
}

#menu-container {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.unique-item-container, .set-item-container, .normal-item-container {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: auto;
    background: var(--headColor);
    z-index: 1001;
    padding: 20px 0;

    justify-content: center;
    align-items: center;
    text-align: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.normal-item-container.is-open, .set-item-container.is-open, .unique-item-container.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.big-title-container {
    color: var(--bigTitleColor);
    font-weight: 800;
    margin-right: 10px;
}

.sub-item-dot-line {
    display: inline-block;
    margin: 0 10px;
    height: 8px; /* 세로 점선 길이 */
    border-right: 1px dashed var(--solidDotColor);
}

.sub-item-name {
    cursor: pointer;
}

.item-container {
    display: flex;
    flex-direction: row;
    margin-bottom: 5px;
}

/* header end */

main {
    display: flex;
    justify-content: center;
    align-items: center;
    /*background: var(--backgroundColor);*/
    /*background: rgb(255 255 255 / 0);*/
    flex: 1;
    width: 1200px;
    margin: 0 auto;
}

.content {
    display: flex;
    justify-content: center;
    height: 140px;
    border-radius: 5px;
    background-image: url("/images/bg_sorceress.webp");
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    width: 1200px;
    margin: 10px auto;
}

.content-view {
    display: flex;
    width: 100%;
    padding-left: 20px;
    padding-top: 20px;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
}

.content-title {
    font-size: 18px;
    color: #b0afaf;
}

.content-main {
    font-size: 12px;
    color: #656565;
    margin-top: 5px;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
    flex-shrink: 0;
    background: var(--footColor);
    border-top: 1px solid var(--lineDarkGrayColor);
}

@media (max-width: 599px) {
    #menu-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: var(--headColor);
    }

    body {
        padding-top: 101px; /* header 100px + 아래 테두리 1px */
    }
}