/* common start */
.ex {
  background-color: #f8f9fa;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.ex:hover {
  transform: translateY(-5px);
}

.btn {
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}
/* common end */

/* header start here */
.list-group-item {
  border-left: 5px solid #343a40;
  margin-bottom: 10px;
  border-radius: 8px !important;
  font-weight: 500;
  transition: all 0.2s;
}

.list-group-item:hover {
  background-color: #e9ecef;
  padding-left: 25px;
}


/* header end here */

/* banner start here */
/* ex2 */
#ex2_draggable{
  width: 150px;
  height: 150px;
  padding: 0.5em;
}

/* ex3 */
#ex3_resizable {
  width: 150px;
  height: 150px;
  padding: 0.5em;
}

#ex3_resizable h3 {
  text-align: center;
  margin: 0;
}
/* ex4 */
 .items {
   display: flex;
   justify-content: center;
 }
 #ex4_sortable1,
 #ex4_sortable2 {
  text-align: center;
   border: 1px solid #eee;
   width: 200px;
   min-height: 50px;
   list-style-type: none;
   margin: 10px;
   padding: 5px;
 }

 #ex4_sortable1 li,
 #ex4_sortable2 li {
   margin: 0 5px 5px 5px;
   padding: 5px;
   font-size: 1.2em;
   width: 120px;
 }
/* ex7 */
.toggler {
  width: 100%;
  max-width: 500px;
  height: auto;
  min-height: 200px;
  margin: 0 auto;
  position: relative;
}

#button {
  padding: .5em 1em;
  text-decoration: none;
}

#effect {
  width: 240px;
  /* height: 170px; */
  padding: 0.4em;
  position: relative;
  background: #fff;
}

#effect h3 {
  margin: 0;
  padding: 0.4em;
  text-align: center;
}
/* ex8 */
 .ui-menu {
   width: 150px;
 }


/* .ex2_draggable{} */
/* banner end here */

/* feature starts here */
/* feature end here */

/* service start here */
/* service end here */

/* footer starts here */
/* footer end here */

/* dark mode start */
body.dark-theme {
  background-color: #121212;
  color: #e0e0e0;
}

.dark-theme .ex {
  background-color: #1e1e1e;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #333;
}

.dark-theme .cm_h2 {
  color: #bb86fc;
  border-bottom-color: #bb86fc;
}

.dark-theme .list-group-item {
  background-color: #2c2c2c;
  color: white;
  border-left-color: #bb86fc;
}

.dark-theme .form-control {
  background-color: #333;
  color: white;
  border-color: #444;
}

/* dark mode end */