<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
	x:Class="GeoTitle.MainWindow"
	x:Name="UserControl"
	
	Width="1920" Height="1080">
    <UserControl.Resources>
        <SolidColorBrush x:Key="Game_MainColor" Color="black"/>
		<SolidColorBrush x:Key="Team_1_MainColor" Color="black" />
        <SolidColorBrush x:Key="Team_2_MainColor" Color="black" />
        <SolidColorBrush x:Key="Game_AddColor" Color="black"/>
        <Storyboard x:Key="AppearanceStoryboard" Duration="0:0:0.4">
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Geo">
        		<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="1"/>
        	</DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="IdleStoryboard" Duration="0:0:0.01">
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Geo">
        		<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
        	</DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="DisappearanceStoryboard" Duration="0:0:0.44">
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Geo">
        		<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="0"/>
        	</DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="GameStatus+Default" Duration="0:0:0.01"/>
        <Storyboard x:Key="GameStatus+Yes" Duration="0:0:0.01"/>
        <Storyboard x:Key="PeriodNum+Default" Duration="0:0:0.01"/>
        <Storyboard x:Key="PeriodNum+[2]" Duration="0:0:0.01"/>
        <Storyboard x:Key="PeriodNum+[3]" Duration="0:0:0.01"/>
        <Storyboard x:Key="PeriodNum+[4]" Duration="0:0:0.01"/>
        <Storyboard x:Key="PeriodNum+[5-9]" Duration="0:0:0.01"/>
        
    </UserControl.Resources>
    <UserControl.Triggers>
        <EventTrigger RoutedEvent="FrameworkElement.Loaded">
            <BeginStoryboard Storyboard="{StaticResource AppearanceStoryboard}"/>
            <BeginStoryboard Storyboard="{StaticResource IdleStoryboard}"/>
        </EventTrigger>
    </UserControl.Triggers>

    <Canvas x:Name="mainCanvas"><TextBlock x:Name="GameStatus" Text="No" Opacity="0" Canvas.Top="0"/>
    	<TextBlock x:Name="PeriodNum" Text=" " Opacity="0" Canvas.Top="0" />
    	<Canvas x:Name="Geo" ClipToBounds="True" HorizontalAlignment="Left" Height="1080" UseLayoutRounding="False" VerticalAlignment="Top" Width="1920" Opacity="0">
    		<Rectangle x:Name="Fon_Name" Fill="#FF121212" Height="200" Width="600" Canvas.Top="489" Canvas.Left="660"/>
    		<Rectangle x:Name="Fon_Up" Fill="{DynamicResource Game_MainColor}" Height="100" Width="600" Canvas.Top="389" Canvas.Left="660"/>
    		<Rectangle x:Name="Team_1_Color" Fill="{DynamicResource Team_1_MainColor}" Height="200" Width="10" Canvas.Top="489" Canvas.Left="1260"/>
    		<Rectangle x:Name="Team_2_Color" Fill="{DynamicResource Team_2_MainColor}" Height="200" Width="10" Canvas.Top="489" Canvas.Left="650"/>
    		<TextBlock x:Name="S" Foreground="{DynamicResource Game_AddColor}" FontWeight="Bold" FontSize="144" FontFamily="OCRF-BoldC" IsHyphenationEnabled="True" LineStackingStrategy="BlockLineHeight" Canvas.Left="947" LineHeight="144" TextAlignment="Left" TextWrapping="Wrap" Text="S" Canvas.Top="491" Width="93" Height="144"/>
    		<TextBlock x:Name="V" Foreground="{DynamicResource Game_AddColor}" FontWeight="Bold" FontSize="144" FontFamily="OCRF-BoldC" IsHyphenationEnabled="True" LineStackingStrategy="BlockLineHeight" Canvas.Left="883" LineHeight="144" TextAlignment="Left" TextWrapping="Wrap" Text="V" Canvas.Top="491" Width="90" Height="144"/>
    		<Image x:Name="Team_1_Logo" Height="121" Canvas.Left="677" Source="Geo_Images\Team_1_Logo.png" Canvas.Top="502" Width="121"/>
    		<Image x:Name="Team_2_Logo" Height="121" Canvas.Left="1117" Source="Geo_Images\Team_2_Logo.png" Canvas.Top="502" Width="121"/>
    		<TextBlock x:Name="Game_BackTimer" Foreground="White" FontSize="36" FontFamily="OCRF-RegularC" IsHyphenationEnabled="True" LineStackingStrategy="BlockLineHeight" Canvas.Left="861" LineHeight="36" TextAlignment="Center" TextWrapping="Wrap" Text=" " Canvas.Top="635" Width="200" Height="36"/>
    		<Viewbox x:Name="VB_Team_1_Name" Canvas.Left="684" Canvas.Top="635" Height="18" Width="160" Stretch="Fill" StretchDirection="DownOnly" HorizontalAlignment="Left">
    			<TextBlock x:Name="Team_1_Name" Foreground="White" FontSize="18" FontFamily="OCRF-BoldC" IsHyphenationEnabled="True" LineStackingStrategy="BlockLineHeight" LineHeight="18" TextAlignment="Left" TextWrapping="Wrap" Text=" "/>
    		</Viewbox>
    		<Viewbox x:Name="VB_Team_1_City" Canvas.Left="684" Canvas.Top="654" Height="18" Width="160" Stretch="Fill" StretchDirection="DownOnly" HorizontalAlignment="Left">
    			<TextBlock x:Name="Team_1_City" Foreground="White" FontSize="18" FontFamily="OCRF-RegularC" IsHyphenationEnabled="True" LineStackingStrategy="BlockLineHeight" LineHeight="18" TextAlignment="Left" TextWrapping="Wrap" Text=" "/>
    		</Viewbox>
    		<Viewbox x:Name="VB_Team_2_Name" Canvas.Left="1072" Canvas.Top="635" Height="18" Width="160" Stretch="Fill" StretchDirection="DownOnly" HorizontalAlignment="Right">
    			<TextBlock x:Name="Team_2_Name" Foreground="White" FontSize="18" FontFamily="OCRF-BoldC" IsHyphenationEnabled="True" LineStackingStrategy="BlockLineHeight" LineHeight="18" TextAlignment="Left" TextWrapping="Wrap" Text=" "/>
    		</Viewbox>
    		<Viewbox x:Name="VB_Team_2_City" Canvas.Left="1072" Canvas.Top="654" Height="18" Width="160" Stretch="Fill" StretchDirection="DownOnly" HorizontalAlignment="Right">
    			<TextBlock x:Name="Team_2_City" Foreground="White" FontSize="18" FontFamily="OCRF-RegularC" IsHyphenationEnabled="True" LineStackingStrategy="BlockLineHeight" LineHeight="18" TextAlignment="Left" TextWrapping="Wrap" Text=" "/>
    		</Viewbox>
    		<Viewbox x:Name="VB_Game_CompetitionName" Canvas.Left="684" Canvas.Top="412" Width="268" Height="18" Stretch="Fill" StretchDirection="DownOnly" HorizontalAlignment="Left">
    			<TextBlock x:Name="Game_CompetitionName" Foreground="White" FontSize="18" FontFamily="OCRF-BoldC" IsHyphenationEnabled="True" LineStackingStrategy="BlockLineHeight" LineHeight="18" TextAlignment="Left" TextWrapping="Wrap" Text="СУПЕРКУБОК РОССИИ"/>
    		</Viewbox>
    		<Viewbox x:Name="VB_Game_CompetitionName2" Canvas.Left="684" Canvas.Top="431" Width="268" Height="18" Stretch="Fill" StretchDirection="DownOnly" HorizontalAlignment="Left">
    			<TextBlock x:Name="Game_CompetitionName2" Foreground="White" FontSize="18" FontFamily="OCRF-RegularC" IsHyphenationEnabled="True" LineStackingStrategy="BlockLineHeight" LineHeight="18" TextAlignment="Left" TextWrapping="Wrap" Text="ПО БАСКЕТБОЛУ"/>
    		</Viewbox>
    		<Viewbox x:Name="VB_Game_CompetitionName3" Canvas.Left="684" Canvas.Top="451" Width="268" Height="18" Stretch="Fill" StretchDirection="DownOnly" HorizontalAlignment="Left">
    			<TextBlock x:Name="Game_CompetitionName3" Foreground="White" FontSize="18" FontFamily="OCRF-RegularC" IsHyphenationEnabled="True" LineStackingStrategy="BlockLineHeight" LineHeight="18" TextAlignment="Left" TextWrapping="Wrap" Text="СРЕДИ ЖЕНСКИХ КОМАНД"/>
    		</Viewbox>
    		<Viewbox x:Name="VB_Game_Date" Canvas.Left="967" Canvas.Top="412" Width="268" Height="18" Stretch="Fill" StretchDirection="DownOnly" HorizontalAlignment="Right">
    			<TextBlock x:Name="Game_Date" Foreground="White" FontSize="18" FontFamily="OCRF-BoldC" IsHyphenationEnabled="True" LineStackingStrategy="BlockLineHeight" LineHeight="18" TextAlignment="Right" TextWrapping="Wrap" Text=" "/>
    		</Viewbox>
    		<Viewbox x:Name="VB_Game_Place" Canvas.Left="967" Canvas.Top="431" Width="268" Height="18" Stretch="Fill" StretchDirection="DownOnly" HorizontalAlignment="Right">
    			<TextBlock x:Name="Game_Place" Foreground="White" FontSize="18" FontFamily="OCRF-RegularC" IsHyphenationEnabled="True" LineStackingStrategy="BlockLineHeight" LineHeight="18" TextAlignment="Right" TextWrapping="Wrap" Text=" "/>
    		</Viewbox>
    		<Viewbox x:Name="VB_Game_City" Canvas.Left="967" Canvas.Top="451" Width="268" Height="18" Stretch="Fill" StretchDirection="DownOnly" HorizontalAlignment="Right">
    			<TextBlock x:Name="Game_City" Foreground="White" FontSize="18" FontFamily="OCRF-RegularC" IsHyphenationEnabled="True" LineStackingStrategy="BlockLineHeight" LineHeight="18" TextAlignment="Right" TextWrapping="Wrap" Text=" "/>
    		</Viewbox>
    	</Canvas>
    </Canvas>
</UserControl>