/* Basic styles */
body, h1, p {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-image: url("bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #0f0;
    line-height: 1.6;
    padding: 20px;
}

header {
    width: 100%;
    margin: 0 auto; /* Centers the header */
    padding: 0;
    background-color: #000;
    text-align: center;
}

header img {
    width: 100%;
    height: auto;
    display: block;
}

main {
    text-align: center;
    padding: 20px 0;
}

footer {
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        padding: 10px;
        font-size: 14px; /* Reducing the base font size for mobile */
    }

    header img {
        max-height: 150px; /* Adjusting the logo height for smaller screens */
    }

    main p {
        line-height: 1.4; /* Enhancing readability on small screens */
    }

    h1 {
        font-size: 24px; /* Smaller heading on mobile */
    }
}

/* Further adjustments for very small screens */
@media (max-width: 480px) {
    header img {
        max-height: 100px; /* Further reducing logo height on very small devices */
    }

    body {
        padding: 5px;
        font-size: 12px; /* Even smaller font size for tiny screens */
    }

    h1 {
        font-size: 20px; /* Smaller headings for very small screens */
    }
}
