* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #000;
  font-family: 'Roboto', sans-serif;
}

a {
  color: black;
  text-decoration: none;
}
a:hover {
  color: black;
}

img {
  display: block;
  margin: auto;
  max-width: 100%;
  height: auto;
}
.space-top{
  width: 100%;
  height: 70px;
}
.space-bottom{
  width: 100%;
  height: 70px;
}

/* ================= CONTAINER ================= */
.container {
  width: 70%;
  margin: auto;
}

.head {
  width: 100%; 
  max-width: 100%; 
  height: auto;   
  padding: 20px 0; 
  background-color: #af0000;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border: 2px solid;
  border-image: #af0000 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: #af0000;
}
.menu a {
  display: inline-block;
  padding: 10px 20px;
  font-size: 18px;
  color: #fff;
  border-bottom: 2px solid #000000;
}

/* ================= CONTENT ================= */
.content {
  width: 100%;
  background: #ffffff;
  border-top: 2px solid #000000;
  border-radius: 0px;
}

.content p {
  font-size: 16px;
  color: black;
  margin: 10px;
}

section {
  margin-bottom: 40px;
}

/* ================= HEADINGS ================= */
h1 { text-align: center; margin: 20px 0; color: black; }
h2, h3 { text-align: center; margin: 30px 0; font-size: 26px; color: black; }
h4 { text-align: center; margin: 25px 0; font-size: 20px; color: black; }

.title-head { font-size: 24px; color: black; }
.title-footer { font-size: 26px; color: black; }

/* ================= TABLE ================= */
.lassres { width: 70%; margin: auto; }
.lassres table { width: 100%; }
.t1 { width: 40%; padding: 5px 10px; border: 1px solid #989898; background: black; font-size: 16px; }
.t2, .t3 { width: 30%; padding: 5px 10px; border: 1px solid #989898; background: black; 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; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1000px) {
  .container { width: 100%; }
  .menu a { display: block; font-size: 20px; }


  h3, .title-footer { font-size: 14px; }
}
.result {
	width: 100%;
	text-align: center;
}
.result td{
    border: 1px solid #fff;
    padding: 2px 4px;
    font-size: 16px;
}
.headresult {
	color: black;
	text-align: center;
	background-color: #15028d;
        font-weight: bold;
}/* ======== 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;
  }
}