{% include 'header.twig' %}
<div style="padding-top:130px"></div>
<main id="notLogin">
    <style>
        /* Modern Styling */
        #single_blog_post {
            border: 1px solid #e0e0e0;
            padding: 25px;
            border-radius: 8px;
            background-color: #ffffff;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .post_content {
            border: 1px solid #dcdcdc;
            padding: 20px;
            border-radius: 6px;
            background-color: #fdfdfd;
            box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08);
        }

        .blog_img {
            border: 1px solid #e6e6e6;
            padding: 8px;
            border-radius: 6px;
            background-color: #fafafa;
            overflow: hidden;
            text-align: center;
        }

        .blog_img img {
            display: inline-block;
            max-width: 100%; /* Responsive width */
            max-height: 450px; /* Increased height */
            width: auto;
            height: auto;
            border-radius: 4px;
        }

        .signle_blog_title {
            font-size: 2rem;
            font-weight: 600;
            color: #333333;
            margin: 20px 0;
            padding-bottom: 10px;
            border-bottom: 2px solid #007bff;
        }

        .blog_content {
            border: 1px solid #f0f0f0;
            padding: 15px;
            border-radius: 5px;
            background-color: #ffffff;
        }

        .blog_content p {
            font-size: 1rem;
            line-height: 1.6;
            color: #555555;
        }

        .back_btn {
            display: inline-block;
            padding: 12px 25px;
            font-size: 1rem;
            color: #007bff;
            background-color: #ffffff;
            border: 2px solid #007bff;
            border-radius: 6px;
            text-decoration: none;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
        }

        .back_btn:hover {
            background-color: #007bff;
            color: #ffffff;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
        }

        .back_btn_container {
            text-align: center;
            margin-top: 20px;
        }
    </style>

        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <div class="post_content">
                        <div class="blog_img">
                            <img src="{{blogimage}}" alt="{{ blogtitle }}" class="img-fluid">
                        </div>
                        <h1 class="signle_blog_title">{{ blogtitle }}</h1>
                        <div class="blog_content">
                            <p>{{ blogcontent }}</p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-12">
                    <div class="back_btn_container">
                        <a href="/blog" class="back_btn">Back</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</main>
<br><br>
{% include 'footer.twig' %}
