/* ================= RESET & GLOBAL ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #000;
  font-family: 'Oswald', sans-serif;
  padding-bottom: 60px; /* tinggi bottom bar */
}

a {
  color: white;
  text-decoration: none;
}
a:hover {
  color: white;
}

img {
  display: block;
  margin: auto;
  max-width: 100%;
  height: auto;
}

.space-bottom {
  width: 100%;
  height: 180px;
}

/* ================= CONTAINER ================= */
.container {
  width: 70%;
  margin: auto;
}

.head {
  width: 100%; 
  max-width: 100%; 
  height: auto;   
  padding: 20px 0; 
  background: linear-gradient(to bottom, #004aad, #111);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border: 2px solid;
  border-image: linear-gradient(to bottom, #004aad, #111) 1;
  box-sizing: border-box;
  overflow: hidden;
}

.head .logo img {
  max-width: 100%; 
  height: auto;   
  display: block;
  object-fit: contain;
}

@media (max-width:600px) {
  .container,
  .head {
    width: 100%;  
  }

  .head {
    height: auto;
    padding: 30px 0;
  }

  .head .logo img {
    max-width: 90%;    
    height: auto;
  }
}



/* ================= MENU ================= */
.menu {
  width: 100%;
  text-align: center;
  background: #efefef;
}
.menu a {
  display: inline-block;
  padding: 10px 20px;
  font-size: 18px;
  color: #000;
  border-bottom: 1px solid #000;
}

/* ================= CONTENT ================= */
.content {
  width: 100%;
  border: 1px solid #fff;
  border-radius: 10px;
}

.content p {
  font-size: 16px;
  color: white;
  margin: 5px;
}

/* ================= HEADINGS ================= */
h1 { text-align: center; margin: 20px 0; }
h2, h3 { text-align: center; margin: 30px 0; font-size: 26px; color: white; }
h4 { text-align: center; margin: 25px 0; font-size: 20px; color: white; }

.title-head { font-size: 24px; color: white; }
.title-footer { font-size: 26px; color: white; }

/* ================= TABLE ================= */
.lassres { width: 70%; margin: auto; }
.lassres table { width: 100%; }
.t1 { width: 40%; padding: 5px 10px; border: 1px solid #989898; background: white; font-size: 16px; }
.t2, .t3 { width: 30%; padding: 5px 10px; border: 1px solid #989898; background: white; font-size: 16px; }

.table-container { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }

.kepala { text-align: center; font-size: 20px; background: #de0000; color: white; }

/* ================= IKLAN ================= */
.iklan { width: 100%; border: 2px solid #ff6600; }
.iklan img { width: 100%; border: 2px solid #ff6600; }

/* ================= FOOTER ================= */
.footer_container { width: 100%; display: block; }
.inside_footer_container { width: 100%; display: flex; text-align: center; }
.footer_button {
  width: 22%;
  display: inline-block;
  margin: 1% 0 0 0;
  padding: 10px 0;
  background-color: #d3d3d3;
  box-shadow: 0 0 10px 1px #141414;
  font-size: 15px;
  font-weight: bold;
  color: black;
  letter-spacing: 0.2px;
}

/* ================= BOTTOM BAR ================= */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111;
  border-top: 2px solid #ffcc00;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  z-index: 9999;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.4);
}
.bottom-bar a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  flex: 1;
  text-align: center;
  padding: 6px 0;
  transition: all 0.3s ease;
}
.bottom-bar a:hover { background: #222; color: #ffcc00; }
.bottom-bar a.active { color: #ffcc00; font-weight: bold; border-top: 2px solid #ffcc00; }


/* ================= ANIMASI ================= */
.kotak-berkedip {
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
  animation: blink 1s infinite;
}
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.2; } 100% { opacity: 1; } }

/* ================= SCREEN READER ================= */
.sr-only {
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0);
  white-space:nowrap; border:0;
}

.table-container {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}


.contact-box {
  background-color: #fff;      
  color: #000;                 
  padding: 8px 12px;          
  border-radius: 8px;          
  max-width: 80%;            
  margin: 20px auto;           
  font-family: Arial, sans-serif;
  font-size: 16px;
  text-align: center;          
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); 
}
.contact-box p {
  color: #000;          
}
.related-links {
  margin: 20px auto;
  width: 100%;
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 16px;
  background: #111;
  border-radius: 10px;
}
.related-sites ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.related-sites li { margin: 0; }
.related-sites a {
  font-size: 14px;
  color: #f7f7f7;
  text-decoration: none;
  padding: 6px 12px;
  background: #222;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 1px solid #444;
}
.related-sites a:hover { color: #ffcc00; background: #333; text-decoration: underline; }
/* ======== UMUM ======== */
.tampil {
  display: block;
  width: 100%;
  max-width: 728px;
  margin: 0 auto;
  border: 2px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
  height: auto;
}

.tampil img {
  height: 110px;
  width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* ======== FLOATING ======== */
.floating-top,
.floating-bottom {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  text-align: center;
  background: transparent;
  z-index: 1001;
  padding: 0;
}

.floating-top { top: 10px; }
.floating-bottom { bottom: 10px; }

.floating-top img,
.floating-bottom img {
  width: 728px;
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  display: block;
}

/* ======== BANNER FLOAT BIASA ======== */
.banner-float {
  position: fixed;
  width: 100%;
  text-align: center;
  bottom: 0;
  z-index: 9999;
}

.banner-float img {
  width: 728px;
  max-width: 100%;
  height: auto;
}

/* ======== BANNER LAIN ======== */
.banner1 img {
  display: inline-block;
  width: 100%;
}

.headerbanner {
  text-align: center;
  background: #000;
}

.headerbanner img {
  width: 100%;
  height: auto;
}

.banner-top img {
  width: 728px;
  max-width: 100%;
  height: auto;
}

/* ======== RESPONSIVE UNTUK HP ======== */
@media (max-width: 768px) {
  /* floating full layar di HP */
  .floating-top,
  .floating-bottom {
    left: 0;
    transform: none;
    width: 100%;
  }

  .floating-top img,
  .floating-bottom img,
  .banner-float img,
  .banner-top img,
  .tampil img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .tampil {
    border-width: 1px;
  }

  .headerbanner {
    background: #333;
  }

  .banner-float {
    bottom: 5px;
  }

  .space {
    height: 90px;
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1000px) {
  .container { width: 100%; }
  .menu a { display: block; font-size: 20px; }
  

  .menu a { font-size: 16px; border: 1px solid black; }


  .lassres { width: 100%; margin: auto; }
  .lassres tableresult { width: 100%; border: 1px solid white; }
  .lassres img { width: 100%; height: auto; padding-top: 1px; }
}



