body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: url("/assets/images/bg/bac22.gif") center fixed;

}

.web {
    position: relative;
    z-index: 1;
}

.web {
    width: 800px;
    max-width: 100%;
    margin: 20px auto;
    background: #14172A;
    border: 2px solid #9D00FF;
    box-sizing: border-box;
}

.atas {
    background: #000;
    color: #00FFC6;
    text-align: center;
}

.atas img{
    width: 100%;
}


#button-img {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 8px;
    justify-items: center;
    margin: auto;
}

#button-img img {
    width: 88px;
    height: 31px;
    image-rendering: pixelated;
}

.menu {
    background: #1A1E33; 
    padding-top: 15px;
    padding-bottom: 10px;
    text-align: center;
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    gap: 25px;
}

.menu li a {
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    color: #00E5FF; /* WARNA BERANDA */
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
}

.menu li img {
    height: 20px;              
    width: auto;
    display: block;
}

.menu li a:hover{
    color: #ff00ff;
    text-decoration: underline;
}

.menu ul li a.active {
    color: #ff00ff;
    text-shadow: 0 0 3px #ff00ff;
}

.blog-container {
    padding: 25px;
    color: #d7d7ff;
}

.judul-blog {
    color: #FF00FF;
    margin-bottom: 20px;
    text-align: center;
}

.isi-blog {
    line-height: 1.6;
    margin-bottom: 20px;
}

.isi-blog img {
    display: block;
    margin: 20px auto;
    width: 300px;
}

.isi-blog a{
    text-decoration: none;
    color:#c972ff;
}

.isi-blog a:hover{
    text-decoration: underline;
    color: #c972ff;
}

.isi-blog a:active{
    color: #ff00ff;
}

.blog-reaction {
    text-align: center;
    margin: 40px 0;
}

.reaction-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.reaction-buttons button {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #d7d7ff;
    font-size: 14px;
}

.reaction-buttons img {
    display: block;
    margin: auto;
}

.share-box {
    font-size: 13px;
    color: #00E5FF;
}

.share-box a {
    margin: 0 6px;
    color: #c972ff;
    text-decoration: none;
}

.share-box a:hover {
    text-decoration: underline;
}

.blog-info {
    margin-top: 25px;
    padding-top: 10px;
    font-size: 12px;
    color: #00E5FF;
    border-top: 1px dashed #9D00FF;
    text-align: left;
}

.blog-nav {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

.blog-nav a {
    padding: 10px 15px;
    border: 2px solid #9D00FF;
    color: #00E5FF;
    text-decoration: none;
    font-weight: bold;
    background: #1A1E33;
    transition: 0.2s;
}

.blog-nav a:hover {
    color: #ff00ff;
    border-color: #ff00ff;
}

.footer {
    background: #26013c;
    padding: 10px 0;
    margin-top: 10px;
    text-align: center;
}

.footer p{
    color: #c972ff;
    margin: auto;
    padding-top: 5px;
    font-size: 12px;
}

#neocities{
    width: 80px;
    margin-top: 10px;
}

#tombolKeAtas {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #333;
    color: white;
    border: none;
    padding: 10px 14px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    display: none;
}

.code-block {
    text-align: left;
    padding-left: 20px;
    margin: 0;
    background: #0b0f1a;
    color: #fff;
    padding: 15px;
    border: 1px solid #7f00ff;
    font-family: "Courier New", monospace;
    font-size: 14px;
    overflow-x: auto;
    white-space: pre;
    margin: 15px 0;
}

/* =========================
   RESPONSIVE BLOG (MOBILE)
========================= */
@media (max-width: 768px) {

    /* BODY */
    body {
        overflow-x: hidden;
        background-attachment: scroll;
    }

    /* CONTAINER */
    .web {
        width: 100%;
        margin: 0;
        border-left: none;
        border-right: none;
    }

    /* MENU */
    .menu ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .menu li a {
        font-size: 16px;
    }

    /* BLOG CONTENT */
    .blog-container {
        padding: 15px;
    }

    .judul-blog {
        font-size: 22px;
    }

    .isi-blog {
        font-size: 14px;
        line-height: 1.7;
    }

    /* GAMBAR DI BLOG */
    .isi-blog img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    /* CODE BLOCK */
    .code-block {
        font-size: 13px;
        overflow-x: auto;
    }

    /* REACTION */
    .reaction-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }

    /* SHARE */
    .share-box {
        font-size: 12px;
        text-align: center;
    }

    /* BLOG NAV */
    .blog-nav {
        flex-direction: column;
        gap: 10px;
    }

    .blog-nav a {
        width: 100%;
        text-align: center;
    }
    
    #tombolKeAtas {
        bottom: 15px;
        right: 15px;
        padding: 8px 10px;
        font-size: 14px;
        z-index: 9999;
      
      }

    /* FOOTER */
    .footer p {
        font-size: 11px;
    }

    /* GLOBAL SAFETY */
    img {
        max-width: 100%;
        height: auto;
    }

    * {
        box-sizing: border-box;
    }
}

