/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Body Styling */
body { 
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

/* Header Styling */
header {
    background-color: #A41034; /* Dark red color */
    padding: 10px 22px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 27px;
    color: #ffffff;
}

header .home-link {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
}

header .home-link:hover {
    text-decoration: underline;
}

/* Navigation Styling */
nav {
    background-color: #002147; /* Blue color */
    padding: 10px;
    display: flex;
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center the navigation bar content */
}

.logo-link {
    margin-left: 10px;
}

.logo {
    height: 100px; /* Adjust the height as needed */
    width: auto; /* Maintain aspect ratio */
}

.breadcrumb {
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center; /* Center breadcrumb items vertically */
}

.breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Main Content Styling */
main {
    padding: 20px;
}

section {
    margin-bottom: 40px;
}

h2 {
    margin-top: 0;
    color: #333;
}

p {
    line-height: 1.6;
    margin-top: 10px;
}

.image-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.text-overlay {
    position: absolute;
    top: 10px;
    right: 10px; /* Position the container on the rightmost side */
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    padding: 10px;
    border-radius: 5px;
}

.download-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.download-btn:hover {
    background-color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 22px;
    }

    header .home-link {
        font-size: 14px;
    }

    .breadcrumb a {
        display: block;
        margin: 5px 0;
    }

    .image-container {
        flex-direction: column;
    }

    .text-overlay {
        top: 10px;
        left: 10px; /* Adjust position for smaller screens */
    }
}

header {
    position: relative; 
}

header .home-link {
    position: absolute;
    top: 10px; 
    right: 20px; 
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
}

header .home-link:hover {
    text-decoration: underline;
}