/* General Reset */
*body{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

header {
  background-color: orange;
}

.logo1 {
  width: auto;
  height: 40px;
  margin: 10px 15px;
  border: 10px;
  border: 20px;
}

.logo2 {
  width: auto;
  height: 30px;
  margin: 10px 0px;
}

nav {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 20px 0;
}

.but2 {
  width: 100px;
  height: 30px;
  margin: 10px 10px;
  background-color: rgba(255, 166, 0, 0);
  font-size: 15px;
  border: 2px orange;
}

.div1 {
  margin-left: 50%;
}

a {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.986);
}

a:hover {
  color: antiquewhite;
}

/* Hamburger menu */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  margin: 0 15px;
  color: antiquewhite;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links.hidden {
  display: none; /* Hidden by default for small screens */
}

/* Responsive styles for smaller screens */
@media (max-width: 768px) {
  .hamburger {
    display: block; /* Show hamburger icon */
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 50px;
    right: 0;
    width: 50%;
    background-color: orange;
    padding: 5px;
    z-index: 10;
  }

  .nav-links button {
    width: 100%;
    margin: 5px 0;
  }

  .nav-links.show {
    display: flex; 
  }
}

/* Container Layout */
.container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 25%;
  background-color: orange;
  color: antiquewhite;
  padding: 20px;
}

.sidebar h2 {
  margin-bottom: 20px;
  font-size: 20px;
}

.sidebar ul {
  list-style-type: none;
}

.sidebar li {
  margin: 10px 0;
}

.sidebar a {
  text-decoration: none;
  color: antiquewhite;
  font-size: 16px;
  padding: 8px 10px;
  border-radius: 4px;
  transition: background-color 0.3s;
}
#moduleList a:hover {
  background-color: antiquewhite;
  border-radius: 10px;
 color: orange; 
 transition: 3s ease-in-out;
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 20px;
  background-color: antiquewhite;
}

.main-content h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #2c3e50;
}
.main-content h3{
  padding: 10px 0;
  font-size: 20px;
}
.main-content p{
  margin-bottom: 10px;
  font-size: 17px;
  
}
.main-content li{
  font-size: 17px;
  
}

.workspace h3 {
  margin: 20px 0 10px;
  font-size: 20px;
}

/* Textarea */
textarea {
  width: 100%;
  height: 120px;
  padding: 10px;
  font-size: 14px;
  border: 1px solid orange;
  border-radius: 4px;
  resize: vertical;
  background-color: #f9f9f9;
  color: #333;
}

/* Buttons */
button {
  cursor: pointer;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 4px;
}

button#runBtn {
  background-color: orange;
  color: antiquewhite;
  margin-top: 10px;
  transition: background-color 0.3s;
}

button#runBtn:hover {
  background-color: orange;
}

.navigation-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.nav-btn {
  background-color: orange;
  color: antiquewhite;
}

.nav-btn:disabled {
  background-color: orange;
}

.nav-btn:hover:not(:disabled) {
  background-color: orange;
}

/* Output */
#output {
  background-color: rgba(250, 235, 215, 0.212);
  padding: 10px;
  border: 1px solid orange;
  border-radius: 4px;
  margin-top: 10px;
  min-height: 100px;
}

.testBox {
  padding: 20px;
  text-align: center;
  background-color: #ffffff;
  border: 1px solid orange;
}

.testText {
  font-size: 16px;
}