Currently my code looks like this:

```
\documentclass[12pt, a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[a4paper,top=1.5cm,bottom=1.5cm,left=2cm,right=2cm]{geometry}

\begin{document}

\begin{minipage}{\linewidth}
\subsubsection*{Finish Private Chat Success}
\centering
\begin{tabular}{|p{0.3\linewidth}|p{0.3\linewidth}|p{0.1\linewidth}|p{0.1\linewidth}|p{0.2\linewidth}|}
\hline
First & Second & Third & Fourth & Fifth\\
\hline
Some text here & And some long text here that is supposed to have automatic line breaks in this cell & & Date & Word Word\\
\hline
Some text here & And some long text here that is supposed to have automatic line breaks in this cell & Something & Date & Word Word\\
\hline
\end{tabular}
\end{minipage}

\end{document}

```

[![as you can see in this picture the width of the table does not line up to be 100% of the linewidth](https://i.stack.imgur.com/CBMR3.png)](https://i.stack.imgur.com/CBMR3.png)

[![when I make the last column to be 0.1\linewidth it looks like this](https://i.stack.imgur.com/t2aJ1.png)](https://i.stack.imgur.com/t2aJ1.png)

My problem is, that the table does not fit the width of the page, I supposed the linewidth to be the space between `left` and `right` defined by geometry. But this does not seem to be the case, I already tried to do this with the tablex package but that was not successful either. This solution with minipage is what seems to fit my needs most. I would like to know how I have to calculate the width of each column to actually fit the width of the text area.

Thank you for your help in advance.