body {
  font-family: 'Times New Roman', serif;
  background-color: #f9f9f9;
  margin: 0;
  padding: 2px;
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
  color: #2c3e50;
}
.container {
  background-color: #ffffff;
  padding: 2px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  margin-bottom: 20px;
  width: 100%;
}
.section {
  margin-bottom: 20px;
}
.task {
  padding: 2px;
  border-radius: 5px;
  margin-top: 10px;
}
.btn {
  display: inline-block;
  padding: 10px 15px;
  background-color: #3498db;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  text-align: center;
}
.btn:hover {
  background-color: #2980b9;
}
.title {
  text-align: center;
  font-size: 2em;
  color: #2a7b6c;
  margin-bottom: 20px;
}
.species-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background-color: rgb(200, 216, 248);
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(27, 27, 27, 0.2);
  margin: 10px 0;
  padding: 10px;
  transition: transform 0.3s ease;
}
.species-card:hover {
  transform: scale(1.03);
}
.species-card img {
  width: 100%;
  max-width: 150px;
  height: auto;
  border-radius: 8px;
  margin: 0 auto 3px;
}
.species-info {
  flex: 1;
  padding: 15px;
}
.species-info h3 {
  margin: 0;
  font-size: 1.5em;
  color: #2a7b6c;
}
.species-info p {
  margin: 5px 0;
  font-size: 1em;
  color: #555;
}
.form-section {
  margin-bottom: 20px;
}
.form-section label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  color: #2c3e50;
}
.form-section input[type="text"],
.form-section textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.form-section textarea {
  resize: vertical;
  min-height: 100px;
}
.form-section .question {
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  .species-card {
      flex-direction: row;
      text-align: left;
  }
  .species-info h3 {
      font-size: 1.3em;
  }
  .species-info p {
      font-size: 0.9em;
  }
}
@media (max-width: 480px) {
  .title {
      font-size: 1.5em;
  }
  .species-info h3 {
      font-size: 1.2em;
  }
  .species-info p {
      font-size: 0.8em;
  }
}
table {
      width: 100%;
      border-collapse: collapse;
  }
  th, td {
      border: 0px solid #000;
      padding: 8px;
      text-align: left;
  }
  th {
      background-color: hsla(0, 82%, 7%, 0.055);
      color: #100000;
  }
  td {
    background-color: #f0f4f500;
    color: #0c0c0c;
  }
  .scale {
      margin-top: 20px;
  }

/* Gaya untuk form login */
form {
  max-width: 600px;
  margin: 0 auto;
  padding: 3px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#myParaghrap {
  text-indent: 1cm;
}

form h2 {
  text-align: center;
}

form label {
  display: block;
  margin-bottom: 10px;
}

form input[type="text"],
form input[type="password"] {
  width: 100%;
  padding: 3px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form .text-center {
  text-align: center;
}

form button {
  padding: 3px 3px;
  background-color: #003D79;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

form button:hover {
  background-color: #ffb75a;
}

/* Gaya untuk header */
header {
  color: #fff;
  padding: 15px;
  text-align: center;
}

header h1 {
  font-size: 28px;
  margin-bottom: 5px;
}

header h6 {
  font-size: 16px;
  font-style: italic;
}


/* Media query untuk layar dengan lebar maksimal 768px (misalnya perangkat seluler) */
@media screen and (max-width: 768px) {
  header h1 {
    font-size: 24px;
  }

  header h6 {
    font-size: 14px;
  }

  /* Gaya tambahan untuk responsif */
  form {
    max-width: 100%;
    padding: 10px;
  }
  
  form input[type="text"],
  form input[type="password"] {
    padding: 3px;
  }

  form button {
    padding: 3px 6px;
  }

  #content {
    padding-top: 0;
  }
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  padding: 0.5px;
}

.sidebar a:hover {
  font-weight: bold;
}

.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 3px;
  background-color: #fff;
}

.sidebar a {
  padding: 3px 3px 3px 32px;
  text-decoration: none;
  color: #003D79;
  display: block;
  transition: 0.3s;
}

.sidebar a:hover {
  color: #ffb75a;
}

.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  margin-left: 50px;
}

.openbtn {
  cursor: pointer;
  background-color: #003D79;
  color: white;
  padding: 3px 3px;
  border: none;
}

.openbtn:hover {
  background-color: #ffb75a;
}

#main {
  transition: margin-left .5s;
  padding: 3px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidebar {padding-top: 5px;}
  .sidebar a {font-size: 12px;}
}

.dropdown-menu li {
position: relative;
}
.dropdown-menu .dropdown-submenu {
display: none;
position: absolute;
left: 100%;
top: -7px;
}
.dropdown-menu .dropdown-submenu-left {
right: 100%;
left: auto;
}
.dropdown-menu > li:hover > .dropdown-submenu {
display: block;
}


#btn {
  all: unset;
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  background: rgb(0, 122, 255);
  color: white;
  border-radius: 15px;
  padding: 3px;
  cursor: pointer;
}
#btn:active {
  background-color: rgb(88, 86, 214);
}
#myButton {
  all: unset;
  position: absolute;
  top: 0;
  left: 0;
  padding: 3px 3px;
  z-index: 1;
}
#isilkpd {
  all: unset;
  position: absolute;
  top: 0;
  left: 0;
  padding: 3px 3px;
}
.mt-0 {
  margin-top: 0 !important;
}
img.polaroid {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
/* General styling for biodiversity levels */
.biodiversity-levels {
  font-family: 'Times New Roman', Times, serif;
  padding: 10px;
  margin: 5px auto;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: #f0f8ff;
  width: 90%;
}

/* Specific styles for genetic diversity */
.biodiversity-genetic {
  border-left: 6px solid #2a9d8f;
  background-color: #e8f8f5;
  padding: 10px;
  margin: 5px 0;
}

.biodiversity-genetic h3 {
  color: #2a9d8f;
  font-size: 1.4em;
  margin-bottom: 5px;
}

.biodiversity-genetic p {
  color: #264653;
  font-size: 1em;
  line-height: 1.5;
}

/* Specific styles for species diversity */
.biodiversity-species {
  border-left: 6px solid #f4a261;
  background-color: #fff4e6;
  padding: 10px;
  margin: 5px 0;
}

.biodiversity-species h3 {
  color: #e76f51;
  font-size: 1.4em;
  margin-bottom: 5px;
}

.biodiversity-species p {
  color: #6d4c41;
  font-size: 1em;
  line-height: 1.5;
}

/* Specific styles for ecosystem diversity */
.biodiversity-ecosystem {
  border-left: 6px solid #457b9d;
  background-color: #e8f0ff;
  padding: 10px;
  margin: 5px 0;
}

.biodiversity-ecosystem h3 {
  color: #1d3557;
  font-size: 1.4em;
  margin-bottom: 5px;
}

.biodiversity-ecosystem p {
  color: #34495e;
  font-size: 1em;
  line-height: 1.5;
}

/* Add hover effect to emphasize sections */
.biodiversity-levels:hover, 
.biodiversity-genetic:hover, 
.biodiversity-species:hover, 
.biodiversity-ecosystem:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
/* Container */
.learning-objectives, .trigger-questions {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2px 3px;
  margin-bottom: 20px;
  border: 1px solid rgb(137, 137, 142);
}

/* Gaya untuk Elemen HTML yang Diarahkan */
strong {
  color: #161617;
}

/* Border dan Pembatas */
.learning-objectives ul,
.trigger-questions ul {
  border-left: 3px solid #bdc3c7;
  padding-left: 5px;
}
.dot {
  height: 25px;
  width: 25px;
  background-color: #000000;
  border-radius: 50%;
  display: inline-block;
  font-size: 1em;
  color: #ffffff;
}
.dot:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2);
}
.highlight {
  font-style: italic;
  color: #e74c3c;
}