body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #333;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

.header {
    position: relative;
    height: 100vh;
    background-image: url('images/eb2.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background-repeat: no-repeat;
}


.header-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
}

main {
    padding: 20px;
}

.blog-post h2 {
    text-align: center;
    margin-top: 40px;
}

.blog-post section {
    margin-bottom: 40px;
}

.blog-post img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.ad-container {
    margin: 20px 0;
    text-align: center;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer a {
    color: #FFD700;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px;
}

.footer-content p {
    margin: 10px;
}

@media (max-width: 768px) {
    .header-content {
        padding: 10px;
    }

    .blog-post img {
        border-radius: 0;
    }}
    .header {
        background-size: 320%; /* Covers the header area, may crop edges */
        background-position: 30% 80%; /* Adjust the focal point of the image */
    }
 @media only screen and (orientation: landscape) {
    .header {
        background-size: 100%; /* Covers the header area, may crop edges */
        background-position: 20% 20%; /* Adjust the focal point of the image */
    }

    /* Adjust other styles for landscape mode if necessary */
}
