<Window xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        x:Class="AquaCare.View.MainWindow"
        Title="AquaCare - Nasse Ärmel in Vertretung"
        Width="1280" Height="720"
        Icon="Ressourcen/Bilder/ProgrammIcon.ico">

    <Grid>
        
        <Grid.Background>
            <ImageBrush Source="avares://AquaCare.View/Ressourcen/Bilder/WillkommenHintergrund.png" Stretch="UniformToFill"/>
        </Grid.Background>

        <!-- Grid-Aufteilung -->
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>

        <!-- Button oben links (Einstellungen)-->
            <Button Classes="ImageButton" Click="buttonEinstellungenClick" Width="100" Height="100">
                <Image Source="avares://AquaCare.View/Ressourcen/Bilder/EinstellungenImage.png"
                    HorizontalAlignment="Center" VerticalAlignment="Center" Stretch="Fill"/>
            </Button>

        <!-- Zentrierter Inhalt -->
        <StackPanel Grid.Row="1" Grid.ColumnSpan="2"
                    HorizontalAlignment="Center"
                    VerticalAlignment="Center"
                    Spacing="30">

            <TextBlock Text="Willkommen bei AquaCare" HorizontalAlignment="Center" Classes="ÜberschriftText"/>


            <Button Classes="ImageButton" Click="buttonPflegeClick" Width="300" Height="100" HorizontalAlignment="Center">
                <Image Source="avares://AquaCare.View/Ressourcen/Bilder/pflegebutton.png"
                    HorizontalAlignment="Center" VerticalAlignment="Center" Stretch="Fill"/>
            </Button>
                

                    

            <Button Classes="ImageButton" Click="buttonWerteClick" Width="300" Height="100" HorizontalAlignment="Center">
                <Image Source="avares://AquaCare.View/Ressourcen/Bilder/wertebutton.png"
                    HorizontalAlignment="Center" VerticalAlignment="Center" Stretch="Fill"/>
            </Button>


            <Button Classes="ImageButton" Click="buttonTutorialsClick" Width="300" Height="100" HorizontalAlignment="Center">
                <Image Source="avares://AquaCare.View/Ressourcen/Bilder/tutorialsbutton.png"
                    HorizontalAlignment="Center" VerticalAlignment="Center" Stretch="Fill"/>
            </Button>

        </StackPanel>
    </Grid>
</Window>
