<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
{% if page_title is defined %}
{{ page_title }}
{% else %}
HealthyDiet
{% endif %}
</title>
<!-- Favicon -->
<link
rel="shortcut icon" href="{{ asset('images/favicon.ico') }}"/>
<!-- Font -->
<link
rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:200,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900">
<!-- css -->
<link rel="stylesheet" type="text/css" href="{{ asset('css/style.min.css') }}"/>
<style>
body,
html {
height: 100%;
margin: 0;
padding: 0;
}
.background-image-fill {
background-size: cover;
background-position: center;
height: 100%;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.centered-content {
/* background-color: rgba(255, 255, 255, 0.8); */
/* Add opacity to make content readable */
padding: 20px;
border-radius: 10px;
max-width: 100%;
text-align: center;
display: flex;
flex-direction: column;
z-index: 3;
}
</style>
</head>
<body>
<div class="background-image-fill" style="background-image: url({{ asset('images/login-page-wp.jpg') }})">
<div class="bg-dark">
<div class="content centered-content">
<h2 style="font-size: 50px" class="text-white mb-20">Healthy<span style="color:#F26B23">Diet</span>
</h2>
<div> </div>
{% block center_content %}{% endblock %}
<div> </div>
</div>
</div>
{# offset main content slightly above center by adding empty content below #}
<div style="height: 15%"> </div>
</div>
</body>
</html>