.main-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

.blog-container {
    flex: 3; /* Main content takes most space */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.sidebar {
    flex: 1; /* Sidebar takes up smaller space */
    width: 250px;
    background-color: #f4f4f4;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
/*    .blog-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding: 20px;
    }
*/
    .blog-article {
        width: 300px;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
        text-align: center;
    }

    .blog-article img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .article-content {
        padding: 15px;
    }
    .article-content h2 {
        font-size: 20px;
        margin: 10px 0;
    }

    .article-content h3 {
        font-size: 20px;
        margin: 10px 0;
    }
    .article-content h4 {
        font-size: 18px;
        margin: 10px 0;
    }
    .article-content h5 {
        font-size: 14px;
        margin: 10px 0;
    }
    .article-content h6 {
        font-size: 12px;
        margin: 10px 0;
    }



    .article-content p {
        font-size: 14px;
        color: #555;
        margin: 10px 0;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }

    .article-content button {
        padding: 10px 20px;
        background: #53025C;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        transition: background 0.3s ease, transform 0.3s ease;
    }

    .article-content button:hover {
        background: #53025C;
    }



/* Add a black background color to the top navigation */
.topnav {
    background-color: #000000;
    overflow: hidden;
    text-align: center; /* Center the content inside the navigation bar */
    padding: 10px 0; /* Add some padding */
}

/* Style the links inside the navigation bar */
.topnav a {
    display: inline-block; /* Change to inline-block to make it center-align */
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
    background-color: #333;
    color: white;
}

/* Add an active class to highlight the current page */
.topnav a.active {
    background-color: #000;
    color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}
        /* Add a black background color to the footer */
        .footer {
            background-color: #000;
            color: #ffffff;
            text-align: center;
            padding: 14px 16px;
            font-size: 17px;
        }

        /* Style the links inside the footer */
        .footer a {
            color: #8E17A3;
            text-decoration: none;
        }

        /* Change the color of links on hover */
        .footer a:hover {
            color: #ffffff;
        }

        /* Responsive navigation menu */
        @media screen and (max-width: 600px) {
            .topnav a:not(:first-child) {display: none;}
            .topnav a.icon {
                float: right;
                display: block;
            }
        }

        @media screen and (max-width: 600px) {
            .topnav.responsive {position: relative;}
            .topnav.responsive .icon {
                position: absolute;
                right: 0;
                top: 0;
            }
            .topnav.responsive a {
                float: none;
                display: block;
                text-align: left;
            }
            .footer {
                font-size: 14px;
                padding: 10px 12px;
            }
        }

        /* Popup container - full screen with centered content */
        .popup {
            display: none; /* Hidden by default */
            position: fixed; /* Stay in place */
            z-index: 1; /* Sit on top */
            left: 0;
            top: 0;
            width: 100vw; /* Full width */
            height: 100vh; /* Full height */
            overflow: hidden; /* Prevent scrolling */
            background-color: rgba(0,0,0,1); /* Black w/ opacity */
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Popup content */
        .popup-content {
            background-color: #fff;
            color: #000;
            border-radius: 10px;
            padding: 0px;
            text-align: center;
            max-width: 100vw; /* Adjust max width to 90% of viewport width */
            max-height: 90%; /* Adjust max height to 90% of viewport height */
    overflow-y: auto; /* Allow vertical scrolling */
    overflow-x: hidden; /* Prevent horizontal scrolling */
        }

        .countdown {
            border: 2px solid red;
            padding: 10px;
            font-size: 20px;
            margin: 20px 0;
        }

        .hidden {
            display: none;
        }
        table {
            width: 100%;
        }

        td {
            padding: 10px;
            text-align: center;
        }

        .ad-728x90 {
            width: 728px;
            height: 90px;
            background-color: #ddd; /* Placeholder background color */
            margin: 0 auto;
        }

        .ad-300x250 {
            width: 300px;
            height: 250px;
            background-color: #ccc; /* Placeholder background color */
        }
        .ad-300x600 {
            width: 300px;
            height: 600px;
            background-color: #ccc; /* Placeholder background color */
        }
        .ad-970x300 {
            width: 970px;
            height: 300px;
            background-color: #ccc; /* Placeholder background color */
        }

        /* Place the CSS directly here for simplicity */
        .ad-728x902 {
            width: 728px;
            height: 90px;
            background-color: #ddd; /* Placeholder background color */
            margin: 0 auto;
        }

        .ad-300x2502 {
            width: 300px;
            height: 250px;
            background-color: #ccc; /* Placeholder background color */
        }
        .ad-300x6002 {
            width: 300px;
            height: 600px;
            background-color: #ccc; /* Placeholder background color */
        }
        .ad-970x3002 {
            width: 970px;
            height: 300px;
            background-color: #ccc; /* Placeholder background color */
        }