@inherits ParallaxImageBase

<div @ref="WindowRef"
     class="parallax-window @(FullWidth ? "full-width" : "") @Class"
     role="@(Alt1 != null ? "img" : "presentation")"
     aria-label="@Alt1"
     aria-hidden="@(Alt1 == null ? "true" : null)"
     style="@WindowStyle">

    <div class="layer layer-1"
         style="background-image: url('@Image1'); background-size: @ImageWidth @ImageHeight;">
    </div>

    @if (Image2 != null)
    {
        <div class="layer layer-2"
             style="background-image: url('@Image2'); background-size: @ImageWidth @ImageHeight;">
        </div>
    }
</div>
