Whats wrong in this code?

Can any 1 please tell me whats wrong in this code?
i cant see the title

      - cards:
          - card:
              title: on now
              theme: midnight-remake             
              entities:
                  - binary_sensor.door_window_sensor_158d0002ea11eb
                  - binary_sensor.motion_sensor_158d0002564031
                  - binary_sensor.smoke_sensor_158d000153bc62
                  - binary_sensor.switch_158d00027c8e63
                  - light.82868801bcddc2fa1508
                  - light.gateway_light_34ce00fb5475
                  - switch.1000549f32_1
                  - switch.1000549f32_2
                  - switch.1000549f32_3
                  - switch.1000549f32_4
                  - switch.10005b12d7_1
                  - switch.10005b12d7_2
                  - switch.10005b12d7_3
                  - switch.10005b205b_1
                  - switch.10005b205b_2
                  - switch.10005b205b_3
                  - switch.10005b2404_1
                  - switch.10005b2404_2
                  - switch.10005b2404_3
                  - switch.10005eaaba_1
                  - switch.10005eaaba_2
                  - switch.10005eaaba_3
                  - switch.1000629d0e_1
                  - switch.1000629d0e_2                      
              state_filter:
                - 'on'
              type: entity-filter 
            style:
              '--paper-card-background-color': 'rgba(100, 0, 0, 1)'
              '--paper-item-icon-color': white
              border-radius: 20px
              color: 'rgb(100, 100, 100)'
              font-size: 20px
            type: 'custom:card-modder'
        type: horizontal-stack

Thanks
Refael

That should be

      - cards:
          - card:
            title: on now
            theme: midnight-remake             

Thanks Tinkerer but that doesn’t work
here is the code for the all view
maybe something wrong in other part of the code…?

home view.yaml (12.2 KB)

Your indentation is wrong.
try this:

              - card:
                  title: on now
                  entities:
                    - binary_sensor.door_window_sensor_158d0002ea11eb
                    - binary_sensor.motion_sensor_158d0002564031
                    - binary_sensor.smoke_sensor_158d000153bc62
                    - binary_sensor.switch_158d00027c8e63
                    - light.82868801bcddc2fa1508
                    - light.gateway_light_34ce00fb5475
                    - switch.1000549f32_1
                    - switch.1000549f32_2
                    - switch.1000549f32_3
                    - switch.1000549f32_4
                    - switch.10005b12d7_1
                    - switch.10005b12d7_2
                    - switch.10005b12d7_3
                    - switch.10005b205b_1
                    - switch.10005b205b_2
                    - switch.10005b205b_3
                    - switch.10005b2404_1
                    - switch.10005b2404_2
                    - switch.10005b2404_3
                    - switch.10005eaaba_1
                    - switch.10005eaaba_2
                    - switch.10005eaaba_3
                    - switch.1000629d0e_1
                    - switch.1000629d0e_2
                state_filter:
                    - 'on'
                type: entity-filter