@import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);

@import url('https://fonts.googleapis.com/css?family=Inconsolata:400,700');
@import url('https://fonts.googleapis.com/css?family=Open+Sans');

/* ============================================
   Light Theme (Default)
   ============================================ */

/* Fonts! Sizes! And a bit of color. */
.remark-slide-content {
  font-family: 'Droid Serif';
  font-size: 25px !important;
  background-color: #fff;
  color: #333;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Droid Serif';
  font-weight: bold;
  font-size: 45px !important;
  margin-top: 0.5em;
  margin-bottom: 0.75em;
  color: #333;
}

code {
  font-family: 'Inconsolata';
  font-size: 110%;
  background-color: #f5f5f5;
  color: #333;
}
code.remark-code {
  font-size: 100%;
}
.lab ul li code.remark-code.hljs.bash {
  padding: 0;
}

/* For print! */
@page {
  size: 1210px 681px;
  margin: 0;
}

@media print {
  .remark-slide-scaler {
    width: 100% !important;
    height: 100% !important;
    transform: scale(1) !important;
    top: 0 !important;
    left: 0 !important;
  }
}

/* Slide number position */
div.remark-slide-number {
  top: 6px;
  left: unset;
  bottom: unset;
  right: 6px;
  color: #666;
}

.debug {
  font-family: monospace;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  color: white;
  background-color: black;
  opacity: 0;
}
.debug a {
  color: white;
}
.debug:hover {
  opacity: 1;
}

a {
  text-decoration: none;
  color: #0066cc;
}
a:hover {
  text-decoration: underline;
}

.remark-slide-content { 
  padding: 1em 2.5em 1em 2.5em; 
}

.footnote {
  position: absolute;
  bottom: 1em;
  color: #666;
}
span.footnote {
  bottom: 2em;
}

/* Utility classes */
.red { color: #fa0000; }
.gray { color: #666; }
.small { font-size: 70%; }
.big { font-size: 140%; }
.underline { text-decoration: underline; }
.strike { text-decoration: line-through; }

/* Picture slides */
div.pic {
  padding: 0;
  vertical-align: middle;
}
div.pic p {
  margin: 0;
}
div.pic img {
  display: block;
  margin: auto;
  max-width: 1210px;
  max-height: 550px;
}
div.pic p:first-child img {
  max-width: 1210px;
  max-height: 681px;
}
div.pic h1, div.pic h2, div.title h1, div.title h2 {
  text-align: center;
}

/* Title slides */
div.title img {
  display: block;
  margin: auto;
  max-width: 1210px;
  max-height: 420px;
}
div.title {
  vertical-align: middle; 
}
div.title > p:first-child {
  text-align: center;
  font-size: 300%;
}

div.pic span.interstitial img {
  width: 100%;
  max-height: unset;
  max-width: unset;
}

/* Normal images */
div img {
  max-width: 1210px;
  max-height: 250px;
}

.nav {
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 25px;
  font-size: 150%;
}

.lab {
  background-color: #eee;
  border: 2px dotted #333;
  padding: 0.5em;
  margin: 0.5em 0;
}

li p { 
  line-height: 1.25em; 
}

div.extra-details {
  /* Icon untuk extra details bisa ditambahkan nanti */
}

/* Tables */
td {
  padding: 0.3em 0.5em;
  background: #f5f5f5;
  border: 1px solid #ddd;
}
th {
  background: #e0e0e0;
  font-weight: bold;
  padding: 0.3em 0.5em;
  border: 1px solid #ddd;
}

/* Two column layout */
.column-half {
  float: left;
  width: 50%;
}

.hide {
  display: none;
}

/* Hide Remark.js toolbar (grey bar at the top) */
.remark-toolbar,
.remark-top-area {
  display: none !important;
}

/* ============================================
   Dark Mode Theme
   ============================================ */

body.dark-mode .remark-slide-content {
  background-color: #1e1e1e;
  color: #e0e0e0;
}

body.dark-mode h1, 
body.dark-mode h2, 
body.dark-mode h3, 
body.dark-mode h4, 
body.dark-mode h5, 
body.dark-mode h6 {
  color: #fff;
}

body.dark-mode code {
  background-color: #2d2d2d;
  color: #e0e0e0;
}

body.dark-mode div.remark-slide-number {
  color: #888;
}

body.dark-mode a {
  color: #4da6ff;
}

body.dark-mode .footnote {
  color: #888;
}

body.dark-mode .gray {
  color: #888;
}

body.dark-mode .lab {
  background-color: #2d2d2d;
  border-color: #555;
  color: #e0e0e0;
}

body.dark-mode td {
  background: #2d2d2d;
  border-color: #555;
  color: #e0e0e0;
}

body.dark-mode th {
  background: #333;
  border-color: #555;
  color: #fff;
}

/* Dark mode untuk title slides - bisa dikustom lebih lanjut */
body.dark-mode div.title {
  background-color: #1e1e1e;
  color: #fff;
}
