.legal {
    position: relative;
    padding: 3em 20em;
}
@media screen and (max-width: 1024px) {
    .legal {
        padding: 3em 1.5em;
    }
}
.legal main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.legal header {
    margin-bottom: 2em;
}
.legal header,
.legal main section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.legal header {
    gap: 10px;
}
.legal main section {
    gap: 20px;
}
.legal section {
    box-sizing: border-box;
    padding: 2.5em 2em;
}
@media screen and (max-width: 1024px) {
    .legal section {
        padding: 2em 1.5em
    }
}
.legal section {
    background: linear-gradient(130deg, rgb(255 255 255) 0%, #eee 100%);
    border-radius: 15px;
    border: 1px solid #ddd;
    box-shadow: 0 10px 30px #eee;
}

/**** Text ****/
.legal header h2,
.legal header h5,
.legal header p  {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.legal h2,
.legal h3,
.legal h4,
.legal b,
.legal a {
    font-family: 'bold-font';
}
.legal h2 {
    font-size: 28px;
    font-weight: 400;
}
.legal header p  {
        font-size: 12px;
        line-height: 18px;
    }
@media screen and (max-width: 1024px) {
    .legal h2 {
        font-size: 24px;
    }
    .legal header p  {
        text-transform: none;
        line-height: 18px;
        letter-spacing: 0;
    }
}
.legal h3 {
    display: flex;
    align-items: center;
    gap: 8px;;
}
.legal h3 {
    font-size: 16px;
    font-weight: 400;
    text-align: left;
    text-transform: uppercase;
    line-height: 18px;
}
.legal h3::before {
    display: block;
    content: "";
}
.legal h3::before {
    width: 50px;
    height: 2px;
}
@media screen and (max-width: 1024px) {
    .legal h3::before {
        width: 30px;
    }
}
.legal h3::before {
    background-color: var(--color__2);
    border-radius: 20px;
}
.legal h4 {
    font-size: 14px;
    font-weight: 400;
    text-align: left;
}
.legal h5 {
    font-family: 'content-font';
    font-size: 12px;
    font-weight: 100;
}
.legal p, .legal ul {
    font-family: 'content-font';
    font-size: 14px;
    font-weight: 400;
    text-align: justify;
    line-height: 22px;
}
.legal h2,
.legal h5,
.legal h3,
.legal p, .legal ul {
    color: #111;
}
.legal ul {
    text-align: left;
}
.legal a {
    color: var(--color__2);
}
.legal a:hover {
    text-decoration: underline !important;
}

/**** Advanced ****/
.legal .advanced a {
    font-family: 'content-font';
    font-size: 14px;
    line-height: 25px;
    color: #3263ff;
}

/**** Tab ****/
.legal table {
    background-color: #00000020;
    border-radius: 5px;
    padding: 20px;
}
.legal table tr {
    background-color: var(--color__2);
}
.legal table tr th {
    padding: 10px;
}
.legal table tr th {
    font-family: 'content-font';
    font-size: 14px;
    font-weight: 400;
    text-align: justify;
    line-height: 23px;
    color: #111;
}