/*#region PAGE */

#legal-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--black);
}

/*#endregion*/

/*#region NAV */

#legal-nav {
    position: absolute;
    top: calc(2.5vh + 2vh);
    left: calc(2.5vh + 2vh);
    z-index: 100;
}

#legal-home-link {
    width: 4.5vh;
    height: 4.5vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: var(--white);
    color: var(--black);
    border: 0.1vh solid var(--thin-border);
    border-radius: 1vh;
    box-sizing: border-box;
}

#legal-home-link span {
    font-size: 2.5vh;
}

#legal-home-link:hover {
    cursor: pointer;
    background-color: var(--dark);
    color: var(--white);
}

#legal-home-link:active {
    transform: scale(0.95);
}

/*#endregion*/

/*#region BODY */

#legal-body {
    display: flex;
    flex-direction: column;
    max-width: 90vh;
    margin: 0 auto;
    padding: 18vh 7vw 15vh;
    row-gap: 6vh;
    flex: 1;
    box-sizing: border-box;
}

#legal-title {
    font-size: 5vh;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.1vh;
}

.legal-section {
    display: flex;
    flex-direction: column;
    row-gap: 1.5vh;
}

.legal-section-title {
    font-size: 2.4vh;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02vh;
}

.legal-text {
    font-size: 1.8vh;
    font-weight: 200;
    color: var(--white);
    opacity: 0.7;
    line-height: 1.85;
    letter-spacing: 0.02vh;
    margin: 0;
}

/*#endregion*/

/*#region RESPONSIVE */

@media screen and (max-width: 768px) {
    #legal-nav {
        top: 7.5vw;
        left: 7.5vw;
    }

    #legal-home-link {
        width: 10vw;
        height: 10vw;
        border-radius: 1.5vw;
    }

    #legal-home-link .material-symbols-rounded {
        font-size: 5vw;
    }

    #legal-body {
        max-width: none;
        padding: 28vw 6vw 18vw;
        row-gap: 10vw;
    }

    #legal-title {
        font-size: 8vw;
    }

    .legal-section-title {
        font-size: 4.5vw;
    }

    .legal-text {
        font-size: 3.6vw;
        line-height: 1.8;
        text-align: justify;
    }
}

/*#endregion*/
