* {
  margin: 0;
  padding: 0;
}
        body {
            font-family: 'Impact', 'Arial Black', sans-serif;
            line-height: 1.4;
            font-weight: 900;
            color: #000;
            background: #f5f5f5;
            min-height: 100vh;
            position: relative;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                #f5f5f5;
            pointer-events: none;
            z-index: -1;
        }
      

       
       .container { max-width: 980px; margin: 0 auto; padding-top: 0; background: #f5f5f5; padding-bottom: 0 auto; border: none; }

        /* Header Image */
        .header-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 1px;
  padding-bottom: 0;
}

.header-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border: none;
}

     /* Navigation Menu */
        .menu {
            background: #fff;
            padding: 5px 0;
            box-shadow: none;
            position: relative;
            
        }

        .menu-container {
            max-width: 980px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 0;
            padding: 0 0px;
        }

        .menu a {
            color: #FFFFFF;
            text-decoration: none;
            padding: 10px 20px;
            border-radius: 0px;
            background: Red;
            transition: all 0.3s ease;
            font-weight: 900;
            border: 1px solid #B8860B;
            font-family: 'Oswald', 'Arial Black', sans-serif;
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
            overflow: hidden;
            text-align: center;
        }

        .menu a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: red;
            transition: left 0.5s ease;
        }

        .menu a:hover {
            background: red;
            color: #FFD700;
            transform: translateY(-2px);
            border-color: red;
            box-shadow: 
               none;
            text-shadow: none;
        }

        .menu a:hover::before {
            left: 100%;
        }

        /* Content */
        .content { 
            padding: 10px; 
            max-width: 980px; 
            margin: 0 auto; 
            background: white; 
            border: 1px solid; 
            border-image: blue; 
            border-radius: 0px; 
            position: relative; 
        }

        .content::before { 
            content: ''; 
            position: absolute; 
            top: 0; 
            left: 0; 
            right: 0; 
            height: 1px; 
            background: #f5f5f5; 
            border-radius: 10px 10px 0 0; 
        }
        .content h1 {
            color: black;
            text-align: center;
            margin: 20px 0;
        }

        .content p {
            color: black;
            line-height: 1.6;
            margin: 15px 0;
        }
        h1 {
            font-size: 1rem;
            color: black;
            margin-bottom: 15px;
            text-align: center;
            line-height: 1;
            font-family: 'Oswald', 'Arial Black', sans-serif;
            font-weight: 200;
            letter-spacing: 1px;
        }

        h2 { font-size: 1.3rem; color: #000; margin: 30px 0 15px 0; padding-bottom: 8px; position: relative; font-family: 'Arial', 'Helvetica', sans-serif; font-weight: 500; letter-spacing: 0.5px; }

        h2 { font-size: 1.3rem; color: #000; margin: 30px 0 15px 0; padding-bottom: 8px; position: relative; font-family: 'Arial', 'Helvetica', sans-serif; font-weight: 500; letter-spacing: 0.5px; text-align: center; }

        /* Accent sparkle animation removed */

        p {
            margin-bottom: 16px;
            font-size: 0.95rem;
            text-align: justify;
            color: #F5F5F5;
            font-family: 'Arial', 'Helvetica', sans-serif;
            font-weight: 400;
            line-height: 1.6;
            text-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
        }

        .title-head {
            color: darkgreen;
            text-decoration: none;
            transition: all 0.3s ease;
            font-weight: bold;
        }

        .title-head:hover {
            color: green;
            text-shadow: 0 0 1px #DAA520;
        }

        /* Special styling for yellow link */
        a[style*="color:darkgreen"] {
            color: darkgreen !important;
            background: none !important;
            -webkit-background-clip: unset !important;
            -webkit-text-fill-color: unset !important;
            background-clip: unset !important;
            font-weight: bold !important;
            text-shadow: 0 0 1px #B8860B !important;
            transition: all 0.3s ease;
        }

        a[style*="color:darkgreen"]:hover {
            color: darkgreen !important;
            text-shadow: 0 0 1px #DAA520 !important;
        }
        .t1 {
  width: 40%;
  padding: 5px 0px 5px 10px;
  border: 1px solid #989898;
  background: white;
  font-size: 16px;
}

.t2 {
  width: 30%;
  padding: 5px 0px 5px 10px;
  border: 1px solid #989898;
  background: white;
  font-size: 16px;
}

.t3 {
  width: 30%;
  padding: 5px 0px 5px 10px;
  border: 1px solid #989898;
  background: white;
  font-size: 16px;
}

.out-link {
  list-style-type: square;
  margin: 0px 35px;
  color: white;
}

.out-link a {
  text-decoration: none;
  color: white;
}

a:hover {
  color: #ffffff;
}

.table-container {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.cb,
.asu {
  color: #000 !important;
}

table td[colspan] {
  color: #000 !important;
  font-weight: bold;
}

tr.headd {
  background-color: #fff;
  color: #000; 
  font-weight: bold;
  text-align: center;
}

.asu {
  font-weight: 100;
}

.e1,
.e2,
.e3,
.e4,
.e5,
.e6,
.e7,
.e8,
.e9,
.e0 {
  background-color: #ff4d4d;
  border-radius: 0;
  color: #000;
}

.k1,
.k2,
.k3,
.k4,
.k5,
.k6,
.k7,
.k8,
.k9,
.k0 {
  background-color: green;
  border-radius: 0;
  color: #fff;
}

.c1,
.c2,
.c3,
.c4,
.c5,
.c6,
.c7,
.c8,
.c9,
.c0 {
  background-color: blue;
  border-radius: 0;
  color: #fff;
}

.a1,
.a2,
.a3,
.a4,
.a5,
.a6,
.a7,
.a8,
.a9,
.a0 {
  background-color: orange;
  border-radius: 0;
  color: #000;
}

.highlight {
  padding: 1px 4px;
  margin: 0 -4px;
}

input.cari {
  width: 50px;
  text-align: center;
  color: #333;
  font-weight: 700;
  background: #f0f7f2;
}

#rb {
  background: #20a53a;
}

#myForm {
  padding: 5px;
}

fieldset {
  border: none;
  margin: 0;
  padding: 0;
  list-style: none;
  vertical-align: baseline;
}

.head th {
  background: #20a53a;
  color: #fff;
  border: 1px solid #ddd;
  font-weight: normal;
  height: 20px;
}

.entry-content th,
.entry-content td,
.comment-content th,
.comment-content td {
  padding: 0 !important;
}

textarea {
  width: 100%;
}

.asux {
  background: none repeat scroll 0 0 #fff;
  color: #d7d1d1;
  font-weight: 400;
}

tr:nth-last-child(5n+1) {
  background: none repeat scroll 0 0 #e8e4e7 !important;
}

.colormenu {
  background: #022142;
  width: 738px;
  height: 30px;
  center: unset;
  z-index: 99999;
  padding: 0;
  max-width: 100%;
  margin-bottom: 10px;
}

.colormenu.fixed {
  position: fixed;
  height: 30px;
  center: unset;
  width: 738px !important;
  top: 0;
  left: 0 !important;
  margin: auto;
  right: 0;
}

.intro td {
  background: none repeat scroll 0 0 #ffffff !important;
}

table {
  background: #fff none repeat scroll 0 0;
  margin: 1px;
  min-width: 500px;
}

#drawing-table thead td {
  background: #dd9933 !important;
  width: 100%;
  background: #0000f4 !important;
  margin-top: 10px;
}

#drawing-table td {
  border: 1px solid #d9d9d9;
  text-align: center;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: bold;
  padding: 3px 0 3px 0;
}

#color-selector .color {
  float: left;
  height: 35px;
  position: relative;
  width: 11%;
  margin-top: 15px;
  cursor: pointer;
}

#color-selector .color.eraser {
  background: none repeat scroll 0 0 #fff;
}

#color-selector .color.Blue {
  background: #43a2ff;
}

#color-selector .color.Aqua {
  background: #00F5FF;
}

#color-selector .color.Teal {
  background: #43CD80;
}

#color-selector .color.Lime {
  background: #01FF70;
}

#color-selector .color.Yellow {
  background: #FFDC00;
}

#color-selector .color.Orange {
  background: #FF851B;
}

#color-selector .color.Red {
  background: #FF4136;
}

#color-selector .color.Pink {
  background: #F012BE;
}

#color-selector .color.Purple {
  background: #A23BEC;
}

#color-selector .color.Silver {
  background: #a9a9a9;
}

#color-selector .selected {
  box-shadow: inset 0 0 0 2px #000;
}

#btnSubmit {
  float: left;
  margin-top: 15px;
  font-size: 9px;
  background: #333;
  color: #FFF;
  font-weight: 600;
  border: none;
  height: 35px;
  line-height: 25px;
  width: 10%;
  cursor: pointer;
  text-transform: uppercase;
}

#table-wrap {
  font-weight: 700;
  position: relative;
}

#table-wrap table {
  position: relative;
  z-index: 10;
}

#toggle-tracing-mode {
  display: none;
}

#html-wrap textarea {
  height: 50px;
  margin: 0 0 10px;
  overflow: auto;
  width: 100%;
}
.nav-wrapper {
    max-width: 550px;
    margin: 30px auto;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.nav-title {
    font-size: 20px;
    font-weight: 700;
    color: #f4c542; /* gold */
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.nav-item {
    background: #121212;
    border: 1px solid rgba(244, 197, 66, 0.25); /* lebih tipis */
    padding: 12px;
    border-radius: 6px; /* sebelumnya 10px */
    transition: 0.25s ease-in-out;
    box-shadow: 0 0 5px rgba(244, 197, 66, 0.10); /* glow lebih kecil */
}

.nav-item:hover {
    background: #1a1a1a;
    border-color: #f4c542;
    box-shadow: 0 0 8px rgba(244, 197, 66, 0.25);
    transform: translateY(-2px);
}

.nav-item a {
    color: #f9d76f; /* gold bright */
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.nav-item a:hover {
    color: #fff;
}
@media (max-width:767px) {
  #drawing-table {
    min-width: 100%;
    margin-right: -10px;
    margin-left: -10px;
  }
}

@media (max-width:370px) {
  #drawing-table td {
    font-size: 10px;
  }
  .nav-wrapper {
        max-width: 90%;
        margin: 20px auto;
    }

    .nav-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .nav-grid {
        grid-template-columns: repeat(2, 1fr); /* tetap 2 kolom */
        gap: 8px;
    }

     .nav-item {
        padding: 6px;
        border-radius: 4px; /* sudut lebih kecil di mobile */
        border-width: 0.8px; /* ekstra tipis */
    }

    .nav-item a {
        font-size: 12.5px;
    }
  
}
 /* Footer Bottom */
        .footer-bottom {
            background: red;
            color: white;
            padding: 15px;
            text-align: center;
            font-size: 1rem;
            font-weight: 20;
            margin-top: 5px;
        }
      #histats_counter {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 20px auto;
  width: 100%;
}
        /* Responsive Design */
        @media (max-width: 768px) {
            .header-image {
                width: 98%;
                height: 100%;
            }


           .menu {
                padding: 3px 0;
                margin: 0 0px;
            }
            
            .menu-container {
                padding: 0 5px;
                gap: 0;
            }
            
            .menu a {
                padding: 12px 15px;
                font-size: 0.9rem;
                letter-spacing: 0.5px;
            }
            
            .content {
                margin: 5px;
                padding: 20px;
                border-radius: 0px;
            }
            
            .content h1 {
                font-size: 1.5rem;
                margin: 15px 0;
            }
           .content h2 {
                font-size: 1.1rem;}
            .content p {
                font-size: 0.95rem;
                margin: 10px 0;
            }
       
 #drawing-table {
    min-width: 100%;
    margin-right: -10px;
    margin-left: -10px;
  }
            .footer-content {
                   
                    gap: 25px;
                }
                
                .footer-container {
                    padding: 0 15px;
                }
                
                .footer-bottom {
                font-size: 1rem;
                padding: 15px;
            }
             .nav-wrapper {
        max-width: 90%;
        margin: 20px auto;
    }

    .nav-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .nav-grid {
        grid-template-columns: repeat(2, 1fr); /* tetap 2 kolom */
        gap: 8px;
    }

     .nav-item {
        padding: 6px;
        border-radius: 4px; /* sudut lebih kecil di mobile */
        border-width: 0.8px; /* ekstra tipis */
    }

    .nav-item a {
        font-size: 12.5px;
    }
        }


