/* RESET & GLOBAL */
div {
  box-sizing: border-box;
}

body {
  background: #167991;
  font-family: 'Oswald', sans-serif;
  margin: 0;
  padding: 0;
}

a {
  color: black;
  text-decoration: none;
}
a:hover {
  color: black;
}

img {
  display: block;
  margin: auto;
  max-width: 100%;
  height: auto;
}

.space {
  width: 100%;
  height: 10px;
}

/* CONTAINER */
.container {
  width: 50%;
  margin: auto;
}

/* HEADER */
.head {
  background-color: #167991;
  color: white;
  padding: 20px;
  text-align: center;
  font-size: 60px;
  font-weight: bold;
  border: 1px solid black;
  border-radius: 8px;
}

/* MENU */
.menu {
  display: block;
  width: 100%;
  text-align: center;
  background: #167991;
}

.menu a {
  display: inline-block;
  padding: 10px 20px;
  font-size: 18px;
  margin: 0;
  border-bottom: 1px solid #000;
}

/* CONTENT */
.content {
  width: 100%;
  border: 1px solid #000;
}

.content p {
  text-align: left;
  font-size: 16px;
  color: black;
  margin: 10px;
}

h1, h2, h3, h4 {
  text-align: center;
  margin: 20px 0;
}

h3 {
  margin: 30px 0;
  font-size: 26px;
  color: black;
}

h4 {
  margin: 25px 0;
  font-size: 20px;
  color: black;
}

.title-head {
  font-size: 24px;
  color: black;
}

.title-footer {
  font-size: 26px;
  color: black;
}

/* BANNER */
.banner, .banner1, .banner2, .banner-top, .headerbanner {
  text-align: center;
}

.banner img,
.banner1 img,
.banner2 img,
.headerbanner img,
.banner-top img {
  width: 49%;
  margin: 5px auto;
}

.banner-float {
  position: fixed;
  width: 100%;
  text-align: center;
  bottom: 0;
  z-index: 9999;
}
.banner-float img {
  width: 728px;
}

/* FLOATING */
.floating-top, .floating-bottom {
  position: fixed;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 1001;
}
.floating-top { top: 0; }
.floating-bottom { bottom: 0; }

.floating-top img,
.floating-bottom img {
  width: 32%;
}

/* TABLE */
.lassres {
  width: 70%;
  margin: auto;
}
.lassres table {
  width: 100%;
}
.t1, .t2, .t3 {
  padding: 5px 10px;
  border: 1px solid #989898;
  background: white;
  font-size: 16px;
}
.t1 { width: 40%; }
.t2, .t3 { width: 30%; }

.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%;
  margin-bottom: 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;
}

/* LINK LIST */
.out-link {
  list-style-type: square;
  margin: 0 35px;
  color: white;
}
.out-link a {
  color: white;
}

/* 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; }
}

/* POPUP */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  transition: opacity .5s;
  visibility: visible;
  opacity: 1;
  z-index: 999;
}
.overlay:target {
  visibility: hidden;
  opacity: 0;
}
.popup {
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  position: relative;
  width: 300px;
  padding: 15px;
  border-radius: 5px;
}
.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
  position: absolute;
  right: 5px;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  transition: .2s;
}
.popup .close:hover { color: #06d85f; }
.popup .content {
  max-height: 50%;
  overflow: auto;
  margin-top: 30px;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .container { width: 100%; }
  .menu a { display: block; font-size: 20px; }
  .banner1 img, .banner2 img, .banner img { width: 100%; }
  .lassres { width: 100%; }
  h3, .title-footer { font-size: 14px; }
  .banner-float, .banner-top { width: 98%; }
  .banner-float img, .banner-top img { width: 98%; }
}

@media (max-width: 550px) {
  .logo { width: 205px; margin: auto; }
  .banner1 img { width: 100%; }
}
