body {
    position: relative;
    color: #000000
}

nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
    align-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
}

.ads {
    display: none;
    flex-direction: row;
}



a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    font-size: 20px;
}

.ads {
    clear:both;
    text-align: center;
    padding: 20px 0;
}

.ads img {
    width: 60px;
    height: auto;
    margin: 0 5px;
    display: inline-block;
}



.mainarticle {
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.mainarticle img {
    float: left;
    margin-right: 20px;
    width: 100px;
    display: none;
    margin-bottom: 20px;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: 150px;
    height: auto;
}

.article {
    clear: both;
    position: relative;
    margin-bottom: 20px;
}

.article img {
    display: none;
    margin-bottom: 20px;
}

.fullview {
    display: none;
}

.minview {
    display: block;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    clear: both;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-content p {
    margin: 8px 0;
    font-size: 14px;
}

footer a {
    color: #fff;
    text-decoration: underline;
}

footer a:hover {
    color: #ddd;
}

@media (min-width: 576px) {
    .mainarticle img {
        display: block;
    }
    
    .ads img {
        width: 100px;
    }

    .ads {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
}



@media (min-width: 720px) {

    .mainarticle img {
        min-width: 100px;
        width: 50%;
        max-width: 400px;
    }

    .logo img {
        width: 300px;
    }

    .ads img {
        width: 200px;
    }   

    .article img {
        display: block;
        width: 25%;
        float: left;
        margin-right: 20px;
    }
}

@media (min-width: 992px) {
    .logo img {
        width: 400px;
    }

    .article img {
        width: 150px;
    }

    .ads img {
        width: 250px;
    }

    .minview {
        display: none;
    }

    .fullview {
        display: block;
    }
}