<?php
/**
 * The template for displaying 404 pages (not found)
 *
 */

get_header(); ?>

<div class="wrap" style="min-height:80vh;">
	<div id="primary" class="content-area">
		<main id="main" class="site-main">
			<section class="error-404 not-found mt-5 text-center">
				<header class="page-header">
					<h1 class="page-title"><?php _e( 'Oops! That page can&rsquo;t be found.', 'maximgym' ); ?></h1>
				</header><!-- .page-header -->
				<div class="page-content">
					<p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'maximgym' ); ?></p>

					<?php get_search_form(); ?>

				</div><!-- .page-content -->

				<div class="back-home p-5">
					<a href="<?php echo esc_url( home_url( '/' ) );?>"><i class="bi bi-houses-fill"></i> &nbsp;<?php _e('Go Back Home','maximgym');?></a>
				</div>

			</section><!-- .error-404 -->
		</main><!-- #main -->
	</div><!-- #primary -->
</div><!-- .wrap -->

<?php get_footer();?>