

html, body {
    overflow-x: hidden; /* Nonaktifkan scroll horizontal */
  }
  
      /* Reset styles */
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
       max-width: 100vw; /* Batasi lebar elemen maksimum ke lebar layar */
      }
  
      body {
        font-family: Arial, sans-serif;
        color: #000000;
        background-color: #b3e0f2;
      }
  
      .btn-primary {
        padding: 0.7rem 1.5rem;
        background-color: #00aaff;
        border: none;
        border-radius: 5px;
        color: #fff;
        font-size: 1rem;
        cursor: pointer;
        text-transform: uppercase;
      }
  
      .btn-primary:hover {
        background-color: #008ecc;
      }

h1{
    background-color: #b3e0f2;
	margin : 10px 5px 5px;
	font-size: 40px;
	color: #333;
	text-align: center;
    font-family: "Montserrat", sans-serif;    

}

h2 {
    margin-bottom: 1rem;
    font-family: "Montserrat", sans-serif;
	margin : 20px 10px 10px;
     top: 20%;

}

p{
      font-family: "Montserrat", sans-serif;
     top: 20%;
     margin : 20px 10px 10px;

}







/* Scroll ke Atas */
#myBtn {
    display: none; /* Awalnya disembunyikan */
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    background-color: #0082e6;
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
    transition: 0.3s;
}

#myBtn:hover {
    background-color: #555;
}



/* Sidebar dengan Menu Garis Tiga */
/* Navigasi Utama */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.c{
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;

}

.banner {
    text-align: center;
}

  


.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 1rem;
}

.card, .article {
    border: 1px solid #ccc;
    padding: 1rem;
	
}

.card img, .article img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

 .card .description {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            color: white;
            background-color: rgba(0, 0, 0, 0.7);
            padding: 5px 10px;
            border-radius: 8px;
            opacity: 0;
            transition: opacity 0.3s ease, bottom 0.3s ease;
            font-size: 14px;
        }

      
*{
	padding: 0;
	margin: 0;
	text-decoration: none;
	list-style: border-box;
	box-sizing: border-box;
}


header {
 position: relative;
 left: 0;
 top: 0;
 width: 1005;
 height: 80px;
}

header h4{
 position : absolute;
 left: 10%;
 bottom: 1rem;
 font-size: 1.6rem;
}


select{
	padding: 10px;
	margin: 0 20px;
}

li{
   font-family: "Montserrat", sans-serif;
	margin : 50px 20px 10px;
}
/*top button*/
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 4;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: red;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
  rotate: 180deg;
}

#myBtn:hover {
  background-color: #555;
  rotate: 180deg;
}

html {
	scroll-behavior: smooth;
}

button {
  border: none;
  background: none;
  padding: 0;
  font-size: 24px;
  cursor: pointer;
}

button:before {
  display: inline-block;
  text-align: left;
}
/*animation slide*/

    .nav-button:hover {
      background-color: #0056b3;
    }
   
   	 .nav-button.disabled {
  		background-color: #999; /* Warna lebih redup */
 		 cursor: not-allowed;
  		opacity: 0.5;
  		pointer-events: none; /* Menghilangkan efek hover */
}


    .back-button {
      top: 10px;
      left: 10px;
      background-color: #FF6347;
      padding: 10px 20px;
      z-index: 3;
    }
   
 img {
	   		max-width: 100%;
            height: auto;
            border-radius: 8px;
        }


h3{
	text-align: center;
    font-family: "Montserrat", sans-serif;

}



/*responsive*/
@media(max-width: 767px){
  .footer-col{
    width: 50%;
    margin-bottom: 30px;
}
}
@media(max-width: 574px){
  .footer-col{
    width: 100%;
}
}

.audio-controls {
    bottom: 1px;
    display: flex;
    top: 1px;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    max-width: 200px;
    width: 100%;
}

button, select, input[type="number"] {
    font-size: 16px;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

button {
    background-color: #007acc;
    color: #fff;
}

button:hover {
    background-color: #005f99;
}

/* Style for the audio toggle button */
#audioControlButton {
    background-color: #ff5757;
}

#audioControlButton:hover {
    background-color: #d94545;
}

/* Input styling for seeking and speed control */


input[type="number"], select {
    width: 100%;
    box-sizing: border-box;
}

input[type="number"]:focus, select:focus {
    outline: none;
    border: 2px solid #007acc;
}

/* Responsive adjustments */
@media (max-width: 500px) {
    .audio-controls {
        padding: 15px;
    }

    button, select, input[type="number"] {
        font-size: 14px;
        padding: 8px;
    }
}

/* Center the table content on the page */
        .centered-table {
            height: 50vh; /* Full viewport height to center vertically */
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            border-collapse: collapse; /* Removes extra spacing between cells */
        }

 .long-text {
      height: 100%;
      padding: 20px;
      background-color: rgba(0, 0, 0, 0.5);
      border-radius: 10px;
      margin-top: 20px;
      position: relative;
      z-index: 0;
      width: 80%;
      margin-left: auto;
      margin-right: auto;
    }
  .long-text p, h2 {
    color: #fff
  }

table {
    table-layout: fixed;
    width: 100%;
}

td {
    max-width: 300px;
    padding: 5px;
    box-sizing: border-box;
    white-space: normal;
}

td p {
    max-width: 100%;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    margin: 0;
    display: block;
}

/* button link*/
.button-link {

display: inline-block;
padding: 10px 20px;
background-color: #007BFF; color: #ffffff;
text-decoration: none;
font-size: 16px;
border-radius: 5px;
transition: background-color 0.3s;}
.button-link:hover {

background-color: #0056b3;}

/*content*/

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.container {
    width: 100%; /* Lebar penuh */
    padding: 20px;
}

.content {
    background: rgba(255, 255, 255, 0.9); /* Warna latar belakang putih dengan transparansi */
    margin: 20px 0;
    padding: 20px;
    border-radius: 8px; /* Sudut melengkung */
    box-shadow: none; /* Tidak ada bayangan */
    opacity: 0; /* Awalnya tidak terlihat */
    transform: translateY(20px); /* Pindahkan sedikit ke bawah */
    transition: opacity 0.7s ease, transform 0.7s ease; /* Transisi untuk efek animasi */
}

.content.show {
    opacity: 1; /* Menjadi terlihat */
    transform: translateY(0); /* Kembali ke posisi semula */
}

.article:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* type*/
.typewriter {
            text-align: center; /* Menyelaraskan teks ke tengah */
	    justify-content: center;
            align-items: center;
            
		
        }

.typewriter h1 {
            border-right: 2px solid #ffffff; /* Simulate cursor */
            white-space: nowrap;
            overflow: hidden; /* Hide overflow */
            width: 0; /* Start with width 0 */
            animation: typing 4s steps(30, end) forwards; /* Typing effect */
	    position: relative;
             display: inline-block;
   	 width: fit-content;
        }
.typewriter h3 {
            border-right: 2px solid #ffffff; /* Simulate cursor */
            white-space: nowrap;
            overflow: hidden; /* Hide overflow */
            width: 0; /* Start with width 0 */
            animation: typing 4s steps(30, end) forwards; /* Typing effect */
	    position: relative;
             display: inline-block;
   	 width: fit-content;
        }


        @keyframes typing {
            from { width: 0; }
            to { width: 100%; }
        }

.custom-select {
  position: relative;
}

.custom-select select {
  display: none; /*hide original SELECT element:*/
}

.select-selected {
  background-color: DodgerBlue;
}

/*style the arrow inside the select element:*/
.select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 3px solid transparent;
  border-color: #fff transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}

/*style the items (options), including the selected item:*/
.select-items div,.select-selected {
  color: #ffffff;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
  user-select: none;
}

/*style items (options):*/
.select-items {
  position: absolute;
  background-color: DodgerBlue;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}

/* RESPONSIVE DESIGN */

@media (max-width: 991px) {
  .container, .c {
    padding: 1rem;
  }

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }

  .audio-controls {
    max-width: 100%;
    padding: 8px;
  }

  .about-img img,
  .home-img img {
    width: 80vw;
    margin-top: 2rem;
  }

  .long-text {
    width: 95%;
    padding: 1rem;
  }

  .content {
    padding: 1.5rem;
  }

  .navbar a {
    font-size: 1.5rem;
    margin-left: 2rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  p, li {
    font-size: 1.4rem;
  }

  .btn,
  .nav-btn,
  .btn-primary,
  button {
    font-size: 1.4rem;
    padding: 0.6rem 1.2rem;
  }

  .video-card {
    width: 80%;
  }
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .navbar a {
    margin: 1rem 0;
  }

  .footer-col {
    width: 50%;
    margin-bottom: 20px;
  }

  .audio-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .feature,
  .feature-2,
  .feature-3 {
    width: 100% !important;
  }

  .typewriter h1,
  .typewriter h3 {
    font-size: 2rem;
  }

  .card,
  .article {
    padding: 0.8rem;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 60%;
  }

  .footer-col {
    width: 100%;
  }

  .container {
    padding: 1rem;
  }

  .btn,
  .btn-primary,
  .nav-btn,
  button {
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
  }

  .card img,
  .article img {
    height: auto;
  }

  .scroll-btn,
  .scroll-btn-feature,
  .scroll-btn-video {
    font-size: 1.5rem;
    padding: 8px;
  }

  .long-text {
    width: 95%;
    padding: 10px;
  }

  .audio-controls {
    padding: 10px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .typewriter h1,
  .typewriter h3 {
    font-size: 1.6rem;
  }
}
