<?php
/**
 * The template for displaying 404 pages (not found)
 *
 * @link https://codex.wordpress.org/Creating_an_Error_404_Page
 *
 * @package VR Games
 */

get_header(); ?>

<div id="primary" class="content-area">
    <main id="main" class="container site-main">
        <section class="error-404 not-found text-center">
            <div class="theme-area-headlines">
                <h2 class="theme-area-title mb-5">
                    <?php echo esc_html( get_theme_mod( 'vr_games_404_page_main_heading', __( 'Oops! Page Not Found', 'vr-games' ) ) ); ?>
                </h2>
            </div>
        </section>
        <section class="page-content text-center mb-5 pb-5">
            <div class="other-page-content">
                <div class="not-found-pagetext">
                    <h2><?php echo esc_html( get_theme_mod( 'vr_games_404_page_content_1', __( 'We can’t seem to find the page you’re looking for.', 'vr-games' ) ) ); ?></h2>
                    <p>
                        <?php echo esc_html( get_theme_mod( 'vr_games_404_page_text_1', __( 'It looks like nothing was found at this location.', 'vr-games' ) ) ); ?>
                        <a href="<?php echo esc_url( home_url() ); ?>">
                            <?php esc_html_e( 'Go back to Homepage', 'vr-games' ); ?>
                        </a>
                    </p>
                </div>
            </div>
            <div class="not-found-pagetext-main">
                <div class="not-found-pagetext">
                    <h2><?php echo esc_html( get_theme_mod( 'vr_games_404_page_content_2', __( 'Need Help?', 'vr-games' ) ) ); ?></h2>
                    <p><?php echo esc_html( get_theme_mod( 'vr_games_404_page_text_2', __( 'Try searching for what you need below.', 'vr-games' ) ) ); ?></p>
                    <?php get_search_form(); ?>
                </div>
            </div>
        </section>
    </main>
</div>

<?php get_footer(); ?>