.header_content.legal_header {
    height: 404px;
}

.legal_header h1.header_text_h1 {
    color: #FFF;
    font-family: Tungsten, Oswald;
    font-size: 82px;
    font-weight: 700;
    white-space: nowrap;
}

.legal_header .header_top_content_main {
    max-width: none;
    justify-items: center;
    gap: 11px;
}

.legal_header p.header_text_p.legal_p_header {
    max-width: 671px;
    color: #FFF;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    line-height: 24px;
    opacity: 0.8;
}

img.header_content_absolute {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.legal_header {
    -webkit-user-select: none;
    user-select: none;
}

.content.legal_content {
    background: #111;
    display: flex;
    justify-content: center;
    padding: 0 0 120px;
}

.legal_border {
    display: flex;
    justify-content: center;
}

.legal_card {
    width: 100%;
    max-width: 960px;
    margin-top: 31px;
    border-radius: 24px;
    border: 1px solid #303337;
    background: rgba(36, 36, 36, 0.20);
    padding: 27px 49px;
}

.legal_text {
    min-height: 200px;
    color: #858C95;
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
}

.legal_text .lunar-legal {
    color: #858C95;
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
}

.legal_text .lunar-legal__section {
    margin-bottom: 30px;
}

.legal_text .lunar-legal__section:last-child {
    margin-bottom: 0;
}

.legal_text[data-legal="tos"] .lunar-legal__section:nth-of-type(2) {
    display: none;
}

.legal_text .lunar-legal h2 {
    margin: 0 0 16px;
    color: #FFF;
    font-family: Tungsten, Oswald;
    font-size: 28px;
    font-weight: 700;
    line-height: 26px;
    -webkit-user-select: none;
    user-select: none;
}

.legal_text .lunar-legal p {
    margin: 0 0 18px;
}

.legal_text .lunar-legal p:last-child {
    margin-bottom: 0;
}

.legal_text .lunar-legal ul {
    margin: 0 0 18px;
    padding-left: 22px;
}

.legal_text .lunar-legal li {
    margin-bottom: 10px;
    padding-left: 4px;
}

.legal_text .lunar-legal li::marker {
    color: #377DFF;
}

.legal_text .lunar-legal strong {
    color: #FFF;
    font-weight: 700;
}

.legal_text .lunar-legal a {
    color: #377DFF;
    text-decoration: none;
}

.legal_text .lunar-legal a:hover {
    color: #4D8BFF;
}

.legal_text .lunar-legal__notice {
    border-left: 3px solid #377DFF;
    padding: 13px 16px;
    border-radius: 0 12px 12px 0;
    background: rgba(55, 125, 255, 0.08);
    color: #C9D6EA;
}

.legal_text .lunar-legal__foot {
    margin-top: 35px;
    padding-top: 28px;
    border-top: 1px solid #303337;
}

@media (max-width: 1175px) {
    .legal_border {
        width: 100%;
        padding: 0 20px;
    }

    .legal_header h1.header_text_h1 {
        font-size: 45px;
    }

    .legal_header p.header_text_p.legal_p_header {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .legal_header h1.header_text_h1 {
        white-space: normal;
        text-align: center;
    }

    .legal_card {
        padding: 22px 20px;
    }
}
