Reducing the width of children in a tree

You should only place here the code necessary for your question, personal information and code that does not relate to your problem should not be placed in the question.

Here, it is enough to adjust the distance between the children with the level 1 and level 2 style.

level 1/.style={sibling distance=10em},
level 2/.style={sibling distance=5em},

screenshot

\documentclass[border=5mm]{standalone}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{trees}


\begin{document}
        \begin{tikzpicture}[%sibling distance=10em,
        level 1/.style={sibling distance=10em},
        level 2/.style={sibling distance=5em},
                            every node/.style = {
                                shape=rectangle,
                                rounded corners,
                                draw,
                                align=center,
                                top color=white,
                                bottom color=blue!5}]]
                    \node {$\varnothing$}
                        child{node {F}
                            child{node {$\lnot$p}
                                    child{node {$\lnot$p$\lor$ q}}
                                    child{node {$\lnot$q}}
                                }
                            child{node {p}}
                            }
                        child{node {$\lnot$r}
                                child{node {$\lnot$r$\lor$ s}}
                                child{node {$\lnot$s}}
                            }
                        child{node {r}};
        \end{tikzpicture}
\end{document}