.scroll-container {
  width: 100%;
  height: 100vh;
  overflow: auto; /* Scroll hanya muncul jika konten melampaui area */
}

/* Header Style */
header {
  background-color: #1b2838; 
  padding: 1px;
  text-align: center;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.sticky-header {
  position: sticky;
  top: 0;
  max-width: 100%;
  background-color:  #1b2838;
  padding: 10px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  height: 50px;
}


.sticky-header .logo img {
  height: 40px;
}

.sticky-header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  transition: all 0.3s ease;
}


.sticky-header nav ul li {
  position: relative; 
  display: flex;
  justify-content: space-between;
  list-style: none;
  transition: color 0.3s ease;
}

.sticky-header nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}

.sticky-header nav ul li:hover a {
  color: #66c0f4;
}

.burger-menu img {
  display: none;
  flex-direction: column;
  cursor: pointer;
  height: auto;
  width: 3rem;
}


.logo-name {
  justify-content: center;
  display: flex;
  color: #f4f4f4;
}
/* Responsive burger menu */
@media (max-width: 768px) {
  .sticky-header nav ul {
    display: none;
    flex-direction: column;
    background-color:  #1b2838;
    position: absolute;
    top: 50px;
    right: 0;
    width: 100%;
    padding: 10px 0;
    align-items: center;
  }

  .sticky-header nav ul.show {
    display: flex;
  }

  .burger-menu img{
    display: flex;
  }
}
  /* Global Styles */
  body {
    font-family: 'Arial', sans-serif;
    background-color:#2a475e;
    margin: 0;
    padding: 0;
    color: #f4f4f4;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  /* Hero Section */
  .hero {
    height: 90vh; /* Tinggi memenuhi layar */
    background-color: #00dcfe;
    background-image: url("images/Homebg.jpg");
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
  }
  
  .hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
  }
  
  .hero-content p {
    font-size: 1.5em;
  }
  
  .cta-button {
    background-color: #F4D44D;
    color: #333;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 1.2em;
    margin-top: 20px;
  }
  
  .cta-button:hover {
    background-color: #e5c22e;
  }
  
  /* Logout Button */
  #logoutBtn {
    background-color: #e74c3c;
    color: #ecf0f1;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
  }
  
  #logoutBtn:hover {
    background-color: #c0392b;
  }

  /* dashboard Button */
  #dashboardBtn {
    background-color: #2a475e;
    color: #ecf0f1;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
  }
  
  #dashboardBtn:hover {
    background-color: #2a475e;
  }
  /* login Button */
  #loginBtn {
    background-color: #4CAF50;
    color: #ecf0f1;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
  }
  
  #loginBtn:hover {
    background-color: #45a049;
  }

  main {
    padding: 20px
  }

  
  textarea {
    width: 98%;
    padding: 10px;
    font-size: 16px;
  }
  
  #run-code-btn, #check-code-btn-ifelse, #check-code-btn-penjumlahan, button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius:20px;
    cursor: pointer;
    margin-top: 10px;
  }
  
  #run-code-btn:hover, #check-code-btn-ifelse:hover , #check-code-btn-penjumlahan:hover,button:hover {
    background-color: #45a049;
  }
  
  .drag-drop {
    display: flex;
    gap: 20px;
  }
  
  .draggable {
    background-color: #1b2838;
    padding: 10px;
    margin: 5px 0;
    cursor: grab;
    border-radius: 7px; 
  }
  
  #dropzone-penjumlahan, #dropzone-ifelse {
    border: 2px dashed #ccc;
    align-content: center;
    padding:20px;
    min-width: 150px;
    min-height: 100px;
    background-color: #293c55;
    color: #f4f4f4;
  }
  
  footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px 0;
    width: 100%;
    margin-top: auto;
  }
  
  @media (max-width: 600px) {
    .drag-drop {
      flex-direction: column;
    }
  }