Don't use `setTimeout()`. Instead, put the 400ms delay in the transition declaration:

```
    transition: opacity 1.2s 400ms;
```