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

get_header();
?>

	<main id="primary" class="site-main">

		<section class="error-404 not-found">
			<header class="page-header">
                <span class="page-subtitle"><?php esc_html_e( '404 Error', 'vite-nera' ); ?></span>
				<h1 class="page-title"><?php esc_html_e( 'Page Not Found', 'vite-nera' ); ?></h1>
			</header><!-- .page-header -->

			<div class="page-content">
				<p><?php esc_html_e( 'Unfortunately the page you were looking for could not be found.', 'vite-nera' ); ?></p>
					<?php
					get_search_form();
					?>
                <a href="<?php echo esc_url(home_url()); ?>" class="button">
                    <?php esc_html_e( 'go to homepage', 'vite-nera' ); ?>
                </a>
			</div><!-- .page-content -->
		</section><!-- .error-404 -->

	</main><!-- #main -->

<?php
get_footer();
