/* Reset and basic styling */
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  display: flex; 
  flex-direction: column; 
  height: 100vh;
  overflow: hidden; 
}
.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: 30px;
  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;
 }
 #btn-login{
  color: black;
 }

/* Header styling */
header {
  height: 60px; 
  background-color: orange;
  color: black;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%; 
  z-index: 1000; 
  box-shadow: 0px 2px 5px rgba(250, 235, 215, 0.849);
}

/* Container for sidebar and main content */
#container {
  display: flex; 
  flex: 1; 
  height: calc(100vh - 60px); 
  margin-top: 50px; 
}

/* Sidebar styling */
#sidebar {
  width: 250px; 
  background-color: orange;
  padding: 20px;
  height: 100%; 
  overflow-y: auto; 
  margin-top: 10px;
}

/* Sidebar list styles */
#sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#sidebar a {
  display: block;
  color: antiquewhite;
  text-decoration: none;
  padding: 10px;
  border-radius: 4px;
  
}

#module-list a:hover {
  background-color: antiquewhite;
  border-radius: 10px;
 color: orange; 
 transition: 3s ease-in-out;
}

/* Main content styling */
#main-content {
  flex: 1; 
  padding: 20px;
  background-color: rgba(250, 235, 215, 0.795);
  overflow-y: auto; 
  height: 100%;
  
}
#main-content h1{
padding-top: 5px;
}

/* Module section */
#module {
  margin-bottom: 20px;
}

#module h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* Workspace for live preview and editor */
#workspace {
  margin-top: 20px;
}

#editor {
  width: 100%;
  height: 300px;
  background-color: #2e2e2e;
}

/* Buttons */
button {
  padding: 10px 20px;
  margin-top: 20px;
  cursor: pointer;
  border: none;
  background-color: orange;
  color: antiquewhite;
  font-size: 16px;
  border-radius: 5px;
}

button:hover {
  background-color: antiquewhite;
  color: orange;
}

/* Navigation buttons */
#module-controls {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

/* Live preview area */
#preview-area {
  margin-top: 20px;
  padding-top: 10px;
}

#preview-frame {
  width: 100%;
  height: 300px;
  border: 1px solid orange;
}
