
body {
  margin: 0;
  font-family: sans-serif;

}



div.content {
  margin-left: 260px;
  margin-top: 10px;
  margin-right: 20px;
  padding: 1rem;
  height: auto;
  padding-top: 50px;
  font-size: 16px;
  line-height: 1.7;
  background-color: white;
  border-radius: 20px;
}

.subcontent {
  padding: 1rem;
  height: auto;
  font-size: 16px;
  background-color: white;
  border-radius: 20px;
  border: 2px solid #E0E7F6;
  
}


.content m1 {
	font-weight: bold;
	color: #00008B;
}

.content topik {
	font-size: 26px;
	top: 0px;
	font-family: "Sofia", sans-serif;
	text-shadow: 2px 2px 2px #ababab;
	border-bottom: 1px solid black;
	
}

.container {
    display: flex;
    flex-wrap: wrap; 
    align-items: flex-start; /* Align items at the top */
    gap: 1rem; /* Space between text and image */
  }

.text {
    flex: 1 1 300px; /* Grow, shrink, min-width */
  }

.image {
    flex: 0 0 auto; /* Prevent image from stretching */
  }


.sub {
	background-color: white;
}

.penting {
	background-color: #e6f2ff;
	padding: 10px 12px 12px 10px;
	margin: 12px 0px 12px 0px;
	border-radius: 8px;
	
	
}

.contoh {
   background-color: #ecf9f2;
   padding: 10px 12px 12px 10px;
   margin: 12px 0px 12px 0px;
   border-radius: 5px;
}
    .contoh h2 {
        font-family: "Times New Roman", Times, serif;
    }
 
  
.block {
	display: block;
	width: 60%;
	border: grey;
	background-color: #191970;
	color: white;
	font-weight: bold;
	padding: 14px 28px;
	font-size: 18px;
	cursor: pointer;
	text-align: center;
	border-radius: 25px;
	}
	

.box {
  float: right;
  width: 200px;
  height: 200px;  
}

.i {list-style-type: lower-roman;}

img {
  display: block;
  margin: auto;
  height: auto;
  max-width: 80%;
}

object {
  display: block;
  margin: auto;
  height: auto;
  border: 1px solid black;
 
}

blockquote{
    background-color: #e6f2ff;
	padding: 14px 14px;
	margin: 12px 0px 12px 0px;
	border-radius: 5px;
	border: 1px solid;
}


/* Inline math */
.Math {
    font-family: "Times New Roman", serif;
}

/* Display math (block equations) */
.Math_Display {
    text-align: center;
    margin: 1em 0;
}

/* Make fractions and scripts more readable */
.Math .mfrac {
    font-size: 0.95em;
}

.Math .msup,
.Math .msub {
    font-size: 0.85em;
}

/* Optional: highlight equations on hover */
.Math:hover {
    background-color: #eef6ff;
    transition: background-color 0.3s ease;
}





table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #dddddd;
}
@media screen and (max-width: 600px) {
  .leftnav {height: auto; width:auto;}
  .leftnav a:not(:first-child) {display: none;}
  .leftnav a.icon {
    float: left;  /* icon di sisi kanan layar */
    display: block;
	
  }
  div.content {
	  margin-left: 0;
      }
}

@media screen and (max-width: 600px) {
  .leftnav.responsive {position: relative;}
  .leftnav.responsive .icon {
    position: left;
    right: 0;
    top: 0;
	
  }
  .leftnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}
