.PolicyLightbox {
    font-family: $custom-font;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2147483648;
    background-color: rgba(0,0,0,0.6);
    color: #5a5a5a;
    font-size: 16px;
    display: none;
    align-items: center;
    justify-content: center;

    &.is-active {
        display: flex;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        margin: 1rem 0;
        color: #2a2a2a;
    }

    .h1 {
        font-size: 2.441rem;
    }
    
    h2 {
        font-size: 1.953rem;
    }
    
    h3 {
        font-size: 1.563rem;
    }
    
    h4 {
        font-size: 1.25rem;
    }
    
    h5,
    p {
        font-size: 1rem;
    }
    
    h6,
    &__Version {
        font-size: 0.8rem;
    }

    &__Wrapper {
        width: 90%;
        height: 90%;
        background-color: white;
        border-radius: 20px;
        position: relative;
        padding: 3rem 1rem 1rem 1rem;
        display: flex;
        flex-direction: column;

    }

    &__Close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        transform: translate(50%, -50%);
        @extend %reset-button;
        background-color: transparent;
        display: flex;
        align-items: center;
        justify-content: center;

        &:focus {
            box-shadow: none;
        }
        &:active {
            transform: translate(50%,-50%);
        }

        &:hover {
            background: none;
            outline: none;
        }

        span {
            width: 1.2rem;
            height: 2px;
            background-color: black;
            transform: rotate(45deg);
            position: relative;

            &::after {
                content: '';
                position: absolute;
                width: 1.2rem;
                height: 2px;
                background-color: black;
                top: 0;
                left: 0;
                transform: rotate(90deg);
            }
        }

    }

    &__Content {
        height: 100%;
        width: 100%;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        padding-right: 1rem;
    }

    &__Version {
        align-self: flex-end;
        padding: 1rem 0;
    }
    
    @media screen and (min-width: 1024px) {
        &__Wrapper {
            width: 60%;
            height: 80%;
            padding: 3rem 3rem 1rem 3rem;
    
        }

        &__Close {
            top: 2rem;
            right: 2rem;
            transform: translate(50%, -50%);
        }
    }
}