<Page x:Class="ForzaUI.Scenes.Anthem.A_FestivalSite_Upgrade"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:local="clr-namespace:ForzaUI"
      mc:Ignorable="d"
      Style="{StaticResource A_Style_Page_Generic}">

    <Page.Resources>
        <Style x:Key="A_Style_FZTextBlock_Normal" TargetType="{x:Type local:FZTextBlock}" BasedOn="{StaticResource A_Style_FZTextBlock_HorizonB}">
            <Setter Property="Color" Value="{StaticResource A_Color_White}"/>
            <Setter Property="TrackingAdjust" Value="0.05" />
        </Style>
        
        <Style x:Key="A_Style_FZRun_Bold" TargetType="{x:Type local:FZRun}">
            <Setter Property="FontFamily" Value="Horizon_A"/>
        </Style>

        <Style x:Key="A_Style_FZTextBlock_LargeBold" TargetType="{x:Type local:FZTextBlock}" BasedOn="{StaticResource A_Style_FZTextBlock_HorizonA}">
            <Setter Property="Color" Value="{StaticResource A_Color_White}"/>
            <Setter Property="FontSize" Value="180" />
        </Style>

        <Style x:Key="A_Style_FZMaterial_Line" TargetType="{x:Type local:FZMaterial}">
            <Setter Property="Height" Value="4" />
            <Setter Property="GreedyMeasure" Value="True" />
            <Setter Property="Color" Value="{StaticResource A_Color_White}" />
        </Style>
    </Page.Resources>
    
    <Grid Width="{StaticResource A_Double_SceneWidth}" HorizontalAlignment="Center" VerticalAlignment="Center" >

        <Viewbox StretchDirection="DownOnly">
            <DockPanel HorizontalAlignment="Center" VerticalAlignment="Center">
                <Grid DockPanel.Dock="Top" Margin="0,0,0,33" >
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="1*" />
                        <ColumnDefinition Width="10" />
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="10" />
                        <ColumnDefinition Width="1*" />
                    </Grid.ColumnDefinitions>
                    <local:FZMaterial Grid.Column="0" VerticalAlignment="Bottom" Style="{StaticResource A_Style_FZMaterial_Line}" />
                    <local:FZTextBlock Grid.Column="2" VerticalAlignment="Bottom" Style="{StaticResource A_Style_FZTextBlock_Normal}" FontSize="72"
                                       local:TextBlockInlineMarkup.ResourceBaseName="A_Style_FZRun_"
                                       local:TextBlockInlineMarkup.Markup="{Binding PlayerPresentsText}"/>
                    <local:FZMaterial Grid.Column="4" VerticalAlignment="Bottom" Style="{StaticResource A_Style_FZMaterial_Line}" />
                </Grid>
                <Grid DockPanel.Dock="Top" HorizontalAlignment="Center">
                    <local:FZTextBlock Grid.Column="0" Text="{Binding FestivalName}" Style="{StaticResource A_Style_FZTextBlock_LargeBold}" />
                </Grid>
                <Grid Margin="0,33,0,0" >
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="1*" />
                        <ColumnDefinition Width="30" />
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="30" />
                        <ColumnDefinition Width="1*" />
                    </Grid.ColumnDefinitions>
                    <local:FZMaterial Grid.Column="0" VerticalAlignment="Top" Style="{StaticResource A_Style_FZMaterial_Line}" />
                    <local:FZTextBlock Grid.Column="2" VerticalAlignment="Top" Text="{Binding LevelText}" Style="{StaticResource A_Style_FZTextBlock_Normal}" FontSize="90" />
                    <local:FZMaterial Grid.Column="4" VerticalAlignment="Top" Style="{StaticResource A_Style_FZMaterial_Line}" />
                </Grid>            
            </DockPanel>
        </Viewbox>
    </Grid>
</Page>
