.container {
  background-color: var(--clr-container-clr);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  max-height: 100vh;
}
.title-div-container {
  width: 100%;
  height: 100%;
  background-color: var(--clr-container-clr);
  z-index: 105;
  position: relative;
  padding: 0.25rem;
  grid-column: 1/-1;
}

.title-div {
  display: flex;
  gap: 5rem;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  border-radius: 1rem;
  z-index: 105;
  position: relative;
  text-align: center;
}
.logo-div {
  /* align-self: flex-start; */
  display: inline-block;
  margin-left: 2rem;
}

h1 {
  flex: 0 0 1;
  display: inline-block;
  align-self: center;
  margin: auto;
  /* vertical-align: middle; */
}
#grad1 {
  position: absolute;
  background-image: linear-gradient(yellow, yellow);
  /* width: 300px; */
  /* transform: rotate(90deg);  */
}

.cont1 {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* bolts */
.round {
  display: inline-block;
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: linear-gradient(
    to bottom,
    rgba(248, 242, 242, 0.855),
    rgba(247, 237, 237, 0.855),
    rgba(192, 190, 190, 0.855)
  );
  box-shadow: 0 0 0 0.3rem rgba(255, 255, 255, 0.55);
}
.box {
  cursor: pointer;
}
.left-top {
  left: 1rem;
  top: 1rem;
}
.left-bottom {
  left: 1rem;
  bottom: 1rem;
}
.right-top {
  right: 1rem;
  top: 1rem;
}
.right-bottom {
  right: 1rem;
  bottom: 1rem;
}
.title-div h1 {
  justify-self: center;
  font-size: 2.8rem;
  color: var(--clr-text-clr);
  text-transform: uppercase;
}

/* ********************** */
/* *******SIDEBAR******* */
/* ********************** */
.sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background-color: #fffcfc;
  box-shadow: 0 1rem 1rem 0 rgba(177, 176, 176, 0.855);
  padding: 1.2rem 1.6rem;
  margin: 0.25rem;
  border-radius: 0.9rem;
  left: 0;
  cursor: pointer;
}
.logo-div {
  padding: 0.8rem 0;
  width: 8rem;
}

.logo {
  width: 100%;
}

.tool-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  font-size: 2rem;
}

.tool-link:link,
.tool-link:visited {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #333;
}
.tool-link[title="Variables"] {
  color: var(--clr-title-background);
}

.tool-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
.tool-list span {
  display: inline-block;
  font-size: 1.6rem;
}

.icons {
  width: 4rem;
  height: 4rem;
  color: var(--clr-title-background);
  /* box-shadow: 0 0 0.5rem 0 rgba(255, 255, 255, 0.5); */
}

/* ****************** */
/* *****MAIN******* */
/* ****************** */
.main {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: scroll;
  overflow-x: hidden;
  margin: 0.25rem;
  margin-bottom: 0;
  border-radius: 0.9rem;
}

.task-title {
  font-size: 1.8rem;
  padding: 0.2rem 1.6rem;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;

  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
  letter-spacing: 0.15rem;
}

.task-variable {
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background3),
    var(--clr-side-background2)
  );
}

.main-section {
  display: grid;
  /* grid-template-columns: repeat(2, 1fr); */
  grid-template-columns: 1fr;
  gap: 0.5rem;
  overflow-y: auto;
  scroll-behavior: smooth;
  padding: 0 0.25rem 0 0;
}

.main__task-div {
  width: 100%;
  background-color: #ffffffc9;
  border-radius: 0.9rem;
  /* padding: 1.5rem; */
  max-height: 100%;
  font-size: 1.6rem;
  border: 0.5rem solid var(--clr-text-clr);
}

.main__task-div:nth-child(1) {
  position: relative;
  grid-column: 1/-1;
  min-height: auto;

  /* grid-row: 1/4; */
  /* overflow-y: hidden; */
}

.main__task-div:nth-child(2) {
  grid-column: 1/-1;
  /* grid-row: 1/4; */
  /* overflow-y: hidden; */
}

.title-control-div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background3),
    var(--clr-side-background2)
  );
}

.footer {
  font-size: 1.2rem;
  /* padding: 0 1rem; */
  grid-column: 1/-1;
  text-align: center;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background3),
    var(--clr-side-background2)
  );
  color: var(--clr-text-clr);
  margin-bottom: 0;
}

.div__control {
  /* position: absolute;
  top: 1.6rem;
  right: 2.2rem; */
  margin-top: 0.35rem;
  margin-right: 1rem;
}

.div__control img {
  width: 3rem;
  height: 3rem;
  cursor: pointer;
}

.ctrl-icons {
  cursor: pointer;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background-color: var(--clr-title-background);
  color: var(--clr-text-clr);
}

/* ************simulation*********** */

/* canvas */
.canvas__div {
  width: 100%;
  border: 1px solid var(--clr-title-background);
  background-color: #fff;
  display: grid;

  grid-template-columns: 1fr;
  overflow-x: hidden;
}

.help,
.practice {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  /* padding: 5rem; */
  position: relative;
}
.apparatus {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 5rem;
  position: relative;
}
.objective {
  height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.objective__title,
.apparatus__title {
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  background-clip: text;
  color: transparent;
  font-size: 2rem;
  font-weight: 700;
}

.objective__sub {
  font-size: 1.8rem;
  font-weight: 700;
}
.objective__main {
  border: 2px solid var(--clr-title-background);
  font-size: 1.8rem;
  padding: 2rem;
  border-radius: 2rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.05);
  text-align: justify;
}

.objective__list {
  padding-left: 2rem;
}
.apparatus-screen {
  display: grid;
  grid-template-columns: 1fr;
  align-items: baseline;
  justify-items: center;
}
.apparatus-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
  /* visibility: hidden; */
}
.tool-img {
  width: 100%;
  visibility: hidden;
}
.components {
  text-align: left;
  align-items: flex-start;
}

.practice {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
}

#note1 {
  position: absolute;
  padding: 10px;
  border: 1px solid black;
  /* background-color: black; */
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background2)
  );
  border-radius: 5px;
  left: 166px;
  top: 50px;
  width: 303px;
  display: block;
}

#Vgraph {
  display: none;
  /* height: 450px;
  width: 700px; */
  position: absolute;
  background-color: white;
  /* top: 60px;
  left: 45px; */
  border: black solid;
  border-width: 3px;
  z-index: 7;
}
/* #Vgraph button {
  width: 38px;
  height: 36px;
  border-radius: 20px;
  cursor: pointer;
  float: right;
  margin-right: 14px;
  position: relative;
  margin-top: -451px;
} */
#Vgraphbutton {
  display: none;
  border: 0;
  cursor: pointer;
  float: right;
  margin-right: 20px;
  width: 90px;
  height: 30px;
  border-radius: 20px;
  border: 2px solid black;
}

#calculate {
  display: none;
  height: 380px;
  width: 581px;
  position: fixed;
  background-color: white;
  top: -12px;
  left: 2px;
  border: black solid;
  border-width: 3px;
  z-index: 7;
}

#calculatebutton {
  display: none;
  border: 0;
  cursor: pointer;
  float: right;
  margin-right: 20px;
  width: 90px;
  height: 30px;
  border-radius: 20px;
  border: 2px solid black;
}
#calculate button {
  width: 30px;
  height: 31px;
  border-radius: 20px;
  cursor: pointer;
  float: right;
  margin-right: 8px;
  position: relative;
  margin-top: -60px;
}

#field {
  width: 35px;
  height: 20px;
  position: absolute;
  margin-top: 612px;
  margin-left: 779px;
  border: 1px solid black;
  font-size: 12.5px;
  text-align: center;
  background-color: white;
  transform: rotate(355deg);
}

#fieldvalue {
  width: 36px;
  height: 23px;
  position: absolute;
  margin-top: 379px;
  margin-left: 85px;
  border-style: solid;
  font-size: 14px;
  text-align: center;
  background-color: #fff;
  transform: rotate(350deg);
}

.model {
  width: 120%;
  max-width: 500px;
  height: auto;
}

#mainsimulation {
  height: 330px;
  width: auto;
}

#circuit1 {
  position: absolute;
  left: 125px;
  width: 455px;
  height: 40px;
  top: 242px;
}

#circuit2 {
  position: absolute;
  left: 2px;
  width: 113px;
  height: 114px;
  top: 150px;
}
#circuit3 {
  position: absolute;
  left: 333px;
  width: 45px;
  height: 133px;
  top: 119px;
}
#circuit4 {
  position: absolute;
  left: 203px;
  width: 45px;
  height: 139px;
  top: 109px;
}
#circuit5 {
  position: absolute;
  left: 101px;
  width: 75px;
  height: 143px;
  top: 113px;
}

#circuit6 {
  position: absolute;
  left: 265px;
  width: 43px;
  height: 145px;
  top: 107px;
}
#circuit10 {
  position: absolute;
  left: 132px;
  width: 156px;
  height: 68px;
  top: 52px;
}
#circuit12 {
  position: absolute;
  left: 383px;
  width: 119px;
  height: 206px;
  top: 119px;
}
#circuit8 {
  position: absolute;
  left: 385px;
  width: 51px;
  height: 136px;
  top: 119px;
}
#circuit7 {
  position: absolute;
  left: 352px;
  width: 85px;
  height: 69px;
  top: 292px;
  transform: rotate(352deg);
}
#circuit9 {
  position: absolute;
  left: 465px;
  width: 109px;
  height: 92px;
  top: 236px;
}

#circuit11 {
  position: absolute;
  left: 382px;
  width: 154px;
  height: 48px;
  top: 311px;
  transform: rotate(353deg);
}

#sim1 {
  display: none;
  left: 281px;
  top: 129px;
  width: 458px;
  height: 302px;
}

.note1Input {
  cursor: pointer;
  border-radius: 5px;
  margin: 0auto;
  margin-left: 125px;
  margin-top: 0px;
}

#divii {
  color: white;
  font-size: 15px;
  padding: 5px;
  margin-top: 0px;
}

#note2 {
  position: absolute;
  padding: 10px;
  border: 1px solid black;
  /* border: 1px solid black;
  background-color: black; */
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background2)
  );
  border-radius: 5px;
  left: 132px;
  top: 45px;
  width: 303px;
  display: none;
}

#divi2 {
  color: white;
  font-size: 15px;
  padding: 5px;
  margin-top: 0px;
}

.note2Input {
  cursor: pointer;
  border-radius: 5px;
  margin: 0auto;
  margin-left: 125px;
  margin-top: 0px;
}

#note3 {
  position: absolute;
  padding: 10px;
  border: 1px solid black;
  /* border: 1px solid black;
  background-color: black; */
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background2)
  );
  border-radius: 5px;
  left: 135px;
  top: 52px;
  width: 303px;
  display: none;
}

#divi3 {
  color: white;
  font-size: 15px;
  padding: 5px;
  margin-top: 0px;
}

.note3Input {
  cursor: pointer;
  border-radius: 5px;
  margin: 0auto;
  margin-left: 125px;
  margin-top: 0px;
}

#note4 {
  position: absolute;
  padding: 10px;
  border: 1px solid black;
  /* border: 1px solid black;
  background-color: black; */
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background2)
  );
  border-radius: 5px;
  left: 130px;
  top: 52px;
  width: 303px;
  display: none;
}

#divi4 {
  color: white;
  font-size: 15px;
  padding: 5px;
  margin-top: 0px;
}

.note4Input {
  cursor: pointer;
  border-radius: 5px;
  margin: 0auto;
  margin-left: 125px;
  margin-top: 0px;
}

#note5 {
  position: absolute;
  padding: 10px;
  border: 1px solid black;
  /* border: 1px solid black;
  background-color: black; */
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background2)
  );
  border-radius: 5px;
  left: 144px;
  top: 52px;
  width: 303px;
  display: none;
}

#divi5 {
  color: white;
  font-size: 15px;
  padding: 5px;
  margin-top: 0px;
}

.note5Input {
  cursor: pointer;
  border-radius: 5px;
  margin: 0auto;
  margin-left: 125px;
  margin-top: 0px;
}

#grad1 {
  height: 133px;
  width: 0px;
  left: 500px;
  top: 145px;
  transform: rotate(73deg);
}

#eq5 {
  margin-left: 116px;
  margin-top: 31px;
  position: absolute;
  display: none;
}

#eq2 {
  margin-left: 116px;
  margin-top: 106px;
  position: absolute;
  display: none;
}

#eq3 {
  margin-left: 116px;
  margin-top: 158px;
  position: absolute;
  display: none;
}

#eq6 {
  margin-left: 106px;
  margin-top: 225px;
  position: absolute;
  display: none;
  width: 206px;
  height: 47px;
}
#eq4 {
  margin-left: 116px;
  margin-top: 231px;
  position: absolute;
  display: none;
}

#arrow15 {
  position: absolute;
  visibility: hidden;
  margin-left: -266px;
  margin-top: -174px;
}

#x1 {
  position: absolute;
  font-family: Verdana;
  font-size: 14pz;
  left: 285px;
  top: 20px;
  visibility: hidden;
}

#x2 {
  position: absolute;
  font-family: Verdana;
  font-size: 14pz;
  left: 285px;
  top: 42px;
  visibility: hidden;
}

#x3 {
  position: absolute;
  font-family: Verdana;
  font-size: 14pz;
  left: 285px;
  top: 65px;
  visibility: hidden;
}

#y1 {
  position: absolute;
  font-family: Verdana;
  font-size: 14pz;
  left: 285px;
  top: 20px;
  visibility: hidden;
}

#y2 {
  position: absolute;
  font-family: Verdana;
  font-size: 14pz;
  left: 285px;
  top: 42px;
  visibility: hidden;
}

#y3 {
  position: absolute;
  font-family: Verdana;
  font-size: 14pz;
  left: 285px;
  top: 65px;
  visibility: hidden;
}

#z1 {
  position: absolute;
  font-family: Verdana;
  font-size: 14pz;
  left: 285px;
  top: 20px;
  visibility: hidden;
}

#z2 {
  position: absolute;
  font-family: Verdana;
  font-size: 14pz;
  left: 285px;
  top: 42px;
  visibility: hidden;
}

#z3 {
  position: absolute;
  font-family: Verdana;
  font-size: 14pz;
  left: 285px;
  top: 65px;
  visibility: hidden;
}

#s1 {
  position: absolute;
  font-family: Verdana;
  font-size: 14pz;
  left: 285px;
  top: 20px;
  visibility: hidden;
}
#s2 {
  position: absolute;
  font-family: Verdana;
  font-size: 14pz;
  left: 285px;
  top: 42px;
  visibility: hidden;
}
#s3 {
  position: absolute;
  font-family: Verdana;
  font-size: 14pz;
  left: 285px;
  top: 65px;
  visibility: hidden;
}

#arrow18 {
  position: absolute;
  visibility: hidden;
  margin-left: -77px;
  margin-top: -151px;
}

#arrow20 {
  position: absolute;
  visibility: hidden;
  margin-left: -58px;
  margin-top: -165px;
}
#arrowB {
  position: absolute;
  visibility: hidden;
  margin-left: 102px;
  margin-top: -149px;
}
#arrowB1 {
  position: absolute;
  visibility: hidden;
  margin-left: -266px;
  margin-top: -148px;
}

#sim2 {
  position: absolute;
  left: 256px;
  width: 106px;
  height: 185px;
  top: 104px;
}

#sim3 {
  position: absolute;
  left: 50px;
  width: 470px;
  height: 350px;
  top: 18px;
}
#sim4 {
  position: absolute;
  left: 60px;
  width: 438px;
  height: 302px;
  top: 23px;
}

#sim5 {
  position: absolute;
  left: 280px;
  width: 20px;
  height: 20px;
  top: 129px;
  transform: rotateY(180deg);
}

#sim6 {
  /* position:absolute;
  left: 280px;
  width: 70px;
  height: 50px;
  top: 130px;
  transform: rotateY(180deg); */
  position: absolute;
  left: 102px;
  width: 70px;
  height: 50px;
  top: 84px;
  transform: rotateY(180deg);
}
#sim7 {
  /* position: absolute;
  left: 61px;
  width: 438px;
  height: 302px;
  top: 92px; */
  position: absolute;
  left: 60px;
  width: 438px;
  height: 302px;
  top: 40px;
}
#sim8 {
  position: absolute;
  left: 465px;
  width: 79px;
  height: 170px;
  top: 202px;
}
#sim9 {
  /* position:absolute;
  left: 465px;
  width: 89px;
  height: 244px;
  top: 175px; */
  position: absolute;
  left: 273px;
  width: 89px;
  height: 244px;
  top: 107px;
}
#sim10 {
  position: absolute;
  left: 280px;
  width: 70px;
  height: 50px;
  top: 129px;
}
#sim11 {
  /* position:absolute;
  left: 495px;
  width: 81px;
  height: 66px;
  top: 133px;
   transform: rotate(3deg);  */
  position: absolute;
  left: 308px;
  width: 81px;
  height: 66px;
  top: 68px;
  transform: rotate(3deg);
}
#sim12 {
  position: absolute;
  left: 276px;
  width: 92px;
  height: 244px;
  top: 107px;
}
#sim13 {
  position: absolute;
  left: 334px;
  width: 45px;
  height: 141px;
  top: 112px;
}

#sim14 {
  position: absolute;
  left: 344px;
  width: 45px;
  height: 138px;
  top: 111px;
}
#sim18 {
  /* position: absolute;
  left: 286px;
  width: 102px;
  height: 28px;
    top: 170px; */
  position: absolute;
  left: 329px;
  width: 102px;
  height: 28px;
  top: 160px;
}
#sim15 {
  position: absolute;
  left: 352px;
  width: 70px;
  height: 50px;
  top: 75px;
}

#sim16 {
  position: absolute;
  left: 333px;
  width: 45px;
  height: 133px;
  top: 119px;
}
#sim17 {
  position: absolute;
  left: 325px;
  width: 70px;
  height: 56px;
  top: 60px;
  transform: rotate(317deg);
}
#circuit13 {
  position: absolute;
  left: 334px;
  width: 45px;
  height: 141px;
  top: 112px;
}
#circuit14 {
  /* position:absolute;
  left: 424px;
  width: 45px;
  height: 144px;
  top: 169px; */
  position: absolute;
  left: 205px;
  width: 45px;
  height: 144px;
  top: 104px;
}

#notee {
  position: absolute;
  padding: 10px;
  border: 1px solid black;
  /* background-color: black; */
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background2)
  );
  border-radius: 5px;
  left: 151px;
  top: 317px;
  width: 303px;
  display: block;
  animation: 2s ease 0s 1 normal forwards running moveAngle;
}

#add {
  position: absolute;
  left: 232px;
  top: 7px;
  width: 166px;
  font-weight: bold;
  display: none;
}

.practice-steps {
  font-style: 1.8rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}
.practice-step-no {
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
  padding: 1rem;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 100%;
  text-align: center;
  font-style: 1.8rem;
  font-weight: 700;
}

.practice-steps-additional {
  grid-column: 1/-1;
  justify-self: center;
  align-items: center;
  justify-content: center;
  display: flex;
  gap: 2rem;
}
.btn {
  padding: 1rem;
  font-weight: 700;
  border: none;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  justify-self: center;
}
.btn:hover {
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  background-clip: text;
  color: transparent;
  border: 0.3rem solid var(--clr-title-background);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}
.draw-btn {
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
  position: absolute;
  left: 35%;
  top: 69%;
}
.question-btn {
  padding: 1rem;
  font-weight: 700;
  border: none;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
  border-radius: 1rem;
  cursor: pointer;
  transition: display 0.3s;
  justify-self: center;
  grid-column: 1/-1;
  letter-spacing: 0.2rem;
}
.btn:disabled {
  background-image: linear-gradient(
    to bottom,
    var(--clr-body-clr),
    var(--clr-body-clr)
  );
  color: var(--clr-side-background3);
  cursor: not-allowed;
}
.btn-next:not(:disabled) {
  animation: highlight 1s infinite;
}

.btn-group {
  display: flex;
  gap: 0.5rem;
  grid-column: 3/4;
}

.btn-next,
.btn-reset {
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
  padding: 1rem;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 100%;
  text-align: center;
  font-style: 1.8rem;
  font-weight: 700;
  justify-self: end;
  position: relative;
}

.quiz-div {
  grid-column: 1/-1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 2px solid var(--clr-title-background);
  font-size: 1.8rem;
  padding: 2rem;
  border-radius: 2rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.05);
  width: 80%;
  align-self: center;
}
.question {
  /* background-color: var(--clr-title-background); */
  /* color: var(--clr-side-background4); */
  border-bottom: 0.3rem solid var(--clr-title-background);
  padding: 0.5rem;
  /* box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.05); */
  border-radius: 0.5rem;
}
.answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.final-statement {
  grid-column: 1/-1;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  background-clip: text;
  color: transparent;
  font-size: 2rem;
  font-weight: 700;
  align-self: center;
}
canvas {
  width: 80%;
  height: 100%;
  margin: 0 auto;
}

.tooltip {
  font-weight: 500;
  position: absolute;
  top: -2rem;
  left: 0;
  background-color: rgba(247, 247, 247, 0.5);
  padding: 0.5rem;
  font-size: 1.1rem;
  /* right: -10rem; */
  display: none;
}
.circuit-dia:hover span,
.cross-img:hover span {
  display: block;
}
.canvas {
  position: relative;
  display: block;
  /* width: 100%;
  height: 100%; */
}

/* **********VARIABLES**************** */
#variables {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}
.settings-sections {
  display: flex;
  flex-direction: column;
  /* border: 0.1rem solid #777; */
  /* padding: 0 1rem; */
  /* gap: 1rem; */
}

.variables-sections,
.control-sections {
  padding: 1rem 1rem 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1rem;
}

.quadrant-img {
  align-self: center;
}

.var-div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-content: center;
  justify-items: center;
  row-gap: 1rem;
  width: 80%;
}

.input-container {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 80fr 20fr;
  gap: 2rem;
}

.var-spinner {
  justify-self: center;
}

.var-slider {
  grid-column: 1/-1;
  /* width: 50%; */
  justify-self: end;
}

#comments {
  color: #1b1b1b;
  align-self: stretch;
}

.control-sections {
  height: 100%;
}

.hide {
  display: none;
}

.planes {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.option {
  color: blue;
}

.correct {
  color: green;
}
.wrong {
  color: red;
}
.validate {
  grid-column: 1/-1;
  justify-self: center;
  font-size: 1.6rem;
}

.btn-top {
  grid-column: 1/-1;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
  padding: 1rem;
  width: 4rem;
  height: 4rem;
  align-self: end;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 100%;
  text-align: center;
  font-style: 1.8rem;
  font-weight: 900;
}

.blink {
  animation: highlight 1s infinite;
}
.btn-next:enabled::after {
  content: "Next Step";
  width: 100%;
  display: inline-block;
  position: absolute;
  bottom: -100%;
  color: #000;
}
.simscreen1 {
  position: relative;
}
.btn-A {
  padding: 1rem;
  font-weight: 700;
  border: none;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-A:disabled {
  background-image: linear-gradient(
    to bottom,
    var(--clr-body-clr),
    var(--clr-body-clr)
  );
  color: var(--clr-side-background3);
  cursor: not-allowed;
}
.btn-B {
  padding: 1rem;
  font-weight: 700;
  border: none;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-B:disabled {
  background-image: linear-gradient(
    to bottom,
    var(--clr-body-clr),
    var(--clr-body-clr)
  );
  color: var(--clr-side-background3);
  cursor: not-allowed;
}
.btn-B1 {
  padding: 1rem;
  font-weight: 700;
  border: none;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-B1:disabled {
  background-image: linear-gradient(
    to bottom,
    var(--clr-body-clr),
    var(--clr-body-clr)
  );
  color: var(--clr-side-background3);
  cursor: not-allowed;
}
.btn-c {
  padding: 1rem;
  font-weight: 700;
  border: none;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-c:disabled {
  background-image: linear-gradient(
    to bottom,
    var(--clr-body-clr),
    var(--clr-body-clr)
  );
  color: var(--clr-side-background3);
  cursor: not-allowed;
}
#image1 {
  transform-origin: bottom right;
  transform: rotate(30deg);
  position: absolute;
  left: 59%;
  top: 15%;
  width: 12%;
  height: 33%;
  opacity: 1;
  display: none;
}
#image {
  transform-origin: bottom left;
  transform: rotate(-30deg);
  position: absolute;
  left: 32%;
  top: 15%;
  width: 12%;
  height: 33%;
  opacity: 1;
  display: none;
}
#image3 {
  z-index: 3;
  display: inline-block;
  transform-origin: bottom left;
  -webkit-transform: rotate(-20deg);
  -moz-transform: rotate(-20deg);
  -o-transform: rotate(-20deg);
  transform: rotate(-20deg);
  position: absolute;
  /* left: 37.5%;
  top: 35.2%; */
  width: 15%;
  height: 33%;
  opacity: 1;
  display: none;
}
input[type="radio"] {
  cursor: pointer;
}
/* #A{
        position: absolute;
        left: 23px;
        border: none;
        z-index: 5;
        background: none;
        top: 245px;
    } */
/* #B1{
        position: absolute;
        left: 410px;
            border: none;
        background: none;
        z-index: 5;

        top: 375px;
    }
    #A1{
        position: absolute;
        left: 385px;
            border: none;
        background: none;
        z-index: 5;
        top: 90px;
    } */
/* #B{
        position: absolute;
        left: 325px;
        border: none;
        background: none;
        top: 245px;
        z-index: 5;

    } */
.practice-step-button {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.radioGroup {
  display: flex;
  align-items: center;
}
#shapeDropdown {
  border: 2px solid var(--clr-title-background);
  border-radius: 8%;
  padding: 3%;
}
#shapeDropdown option {
  background-color: var(
    --clr-title-background
  ); /* Background color for options */
  color: #fff; /* Text color for options */
}
.shapeDrop {
  margin-left: 2%;
}
@keyframes highlight {
  0% {
    transform: scale(1);
    box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.5);
  }
  100% {
    transform: scale(1.02);
    box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.8);
  }
}
@-webkit-keyframes highlight {
  0% {
    transform: scale(1);
    box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.5);
  }
  100% {
    transform: scale(1.02);
    box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.8);
  }
}
#instructions {
  display: none;
  height: 70%;
  width: 100%;
  position: relative;
  background-color: white;
  /* top: 0px; */
  justify-self: center;
  /* left: 45px; */
  /* border: black solid; */

  border-width: 3px;
  z-index: 7;
}

#instructions button {
  width: 60px;
  height: 31px;
  border-radius: 20px;
  cursor: pointer;
  position: absolute;
  bottom: 0;
  right: 0;
  margin-right: 5px;
  margin-bottom: 5px;
}
.icontent {
  margin-left: 35px;
  line-height: 3rem;
}
.insert-reset-observation {
  display: flex;
  justify-content: center;

  margin: 10px;
}

.insert-reset-observation button {
  width: 120px;
  height: 30px;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
  /* border-radius: 1rem; */
  border-radius: 20px;
  cursor: pointer;
}

/* .circuit {
  position: relative;
  width: 50%;
  height: 50%;

} */
.circuitb {
  transform: scale(0.9);
  width: 100%;
}

.values button {
  width: 30px;
  height: 20px;
  border-radius: 10%;
  border: 1px solid black;
}
.values {
  /* margin: 10px; */
  display: flex;
  align-items: center;
  justify-content: center;
}
#exp {
  height: 35px;
  width: 180px;
  box-shadow: 0px 8px 16px 0px rgba(65, 62, 62, 0.219);
  cursor: pointer;
}
#exp1 {
  height: 35px;
  width: 180px;
  box-shadow: 0px 8px 16px 0px rgba(65, 62, 62, 0.219);
  cursor: pointer;
}
#exp2 {
  height: 35px;
  width: 180px;
  box-shadow: 0px 8px 16px 0px rgba(65, 62, 62, 0.219);
  cursor: pointer;
}
#exp1a {
  height: 35px;
  width: 180px;
  box-shadow: 0px 8px 16px 0px rgba(65, 62, 62, 0.219);
  cursor: pointer;
}

.observation {
  display: none;
  margin: 20px;
  padding: 10px;
  justify-self: center;
  align-items: center;
  height: 75%;
  /* width:85%; */

  position: absolute;
  background-color: rgb(174, 215, 232);
  border: black solid;
  border-width: 3px;
  z-index: 7;
}

.observationTable {
  display: grid;
  justify-content: center;
  align-items: center;
  border-collapse: collapse;
}
.observationTable tbody {
  background-color: white;
}
.observation td,
th {
  border: 2px solid #000000;
  text-align: center;
  padding: 8px;
}
.tablediv {
  max-height: 87%;
  overflow-x: auto;
  overflow-y: scroll;
  scroll-behavior: smooth; /* Smooth scrolling effect */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling for touch devices */
}

.tableObservation {
  display: flex;
  height: 40px;
  width: 100%-10px;
  align-items: center;
  justify-content: space-between;
  padding-right: 5px;
  padding-left: 5px;
  margin: 10px;
}

.tableObservation button {
  width: 60px;
  height: 31px;
  border-radius: 20px;
  cursor: pointer;
}

#grid1 {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Creates two equal columns */
  grid-gap: 10px; /* Adds space between buttons */
  max-width: 300px; /* Set a max width for the grid */
  margin: auto; /* Center the grid horizontally */
}

.reset-btn {
  grid-column: span 2;
  display: flex;
  justify-content: center;
}

.grid2 {
  padding: 2rem 0rem 2rem 0.5rem;
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  align-items: center;
}
/* label {
  font-weight: bold;
  margin-bottom: 5px;
  align-self: center;
  justify-self: end;
} */
.var-div {
  display: grid;
  grid-template-columns: 20fr 20fr;
  row-gap: 1rem;
  column-gap: 1rem;
}
#kerConst {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: justify;
  /* font-weight: bold; */
}
#coefficientvalue {
  /* font-weight: bold; */
  position: relative;
  left: 5px;
}

#IBgraphbutton {
  display: none;
  border: 0;
  cursor: pointer;
  float: right;
  margin-right: 20px;
  width: 90px;
  height: 30px;
  border-radius: 20px;
  border: 2px solid black;
}

/* #IBgraph {
  display: none;
  height: 400px;
  width: 700px;
  position: absolute;
  background-color: white;
  top: 82px;
  left: 45px;
  border: black solid;
  border-width: 3px;
  z-index: 7;
} */

#my_chart {
  width: 100%;
  height: 100%;
  position: absolute;
}

/* #IBgraph {
  display: none;
  height: 450px; 
  width: 600px; 
  position: absolute;
  background-color: white;
  top: 18.2%; 
  left: 6.5%;  
  border-width: 3px;
  z-index: 7;
} */

#IBgraph {
  display: none;
  width: 20%; /* Relative width for responsiveness */
  height: 120%; /* Relative height */
  position: absolute;
  background-color: white;
  top: 18%; /* Adjusted positioning */
  left: 10%;
  border: black solid;
  border-width: 3px;
  z-index: 7;
  overflow: hidden; /* Prevent overflow */
}

/* #IBgraph button {
  width: 38px;
  height: 36px;
  border-radius: 20px;
  cursor: pointer;
  float: right;
  margin-right: 14.5px;
  position: relative;
  margin-top: -441px;
} */
#lineargraph {
  width: 60px;
  height: 31px;
  border-radius: 20px;
  cursor: pointer;
  float: right;
  margin-right: 10px;
  position: relative;
  margin-top: -17px;
}

.tableObservation {
  display: flex;
  height: 30px;
  width: 100%-10px;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  /* padding-right: 5px;
  padding-left: 5px; */
}

.tableObservation button {
  /* width: 60px;
  height: 36px;
  border-radius: 20px;
  cursor: pointer;
  background-image: linear-gradient(to bottom, var(--clr-side-background2), 
  var(--clr-side-background3));
  color: #fff; */
  width: 120px;
  height: 30px;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
}

#content3 {
  width: 800px;
  height: 500px;
}

#graph {
  width: 800px;
  height: 500px;
}

/* #IBgraph {
    visibility: hidden;
    
    width: 95%;
    top: 20%;
  
    position: absolute;
    background-color: white;
  
    border: black solid;
    border-width: 3px;
    z-index: 7;
  } */
#myChart {
  display: flex;
  justify-content: center;
  align-items: center;
}
#view {
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
  border-radius: 5px;
}
#view1 {
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
  border-radius: 5px;
}
#view2 {
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
  border-radius: 5px;
}
#view3 {
  background-image: linear-gradient(
    IBgraph to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
  border-radius: 5px;
}
#close1 {
  position: absolute;
  top: -0.7%;
  right: -0.45%;
  width: 3rem;
  height: auto;
  aspect-ratio: 1;
  display: inline-block;
  border-radius: 100%;
  font-size: 2.4rem;
  font-weight: bold;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
  cursor: pointer;
}

#close2 {
  position: absolute;
  top: -0.7%;
  right: -0.45%;
  width: 3rem;
  height: auto;
  aspect-ratio: 1;
  display: inline-block;
  border-radius: 100%;
  font-size: 2.4rem;
  font-weight: bold;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
  cursor: pointer;
}

#close3 {
  position: absolute;
  top: -1%;
  right: -2%;
  width: 3rem;
  height: auto;
  aspect-ratio: 1;
  display: inline-block;
  border-radius: 100%;
  font-size: 2.4rem;
  font-weight: bold;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
}

#unit {
  width: 5px;
  height: 14px;
  position: absolute;
  margin-top: 599px;
  margin-left: 819px;
  font-size: 11px;
  text-align: center;
  background-color: white;
  transform: rotate(2deg);
}

@keyframes moveSq {
  0% {
    left: 50px;
    top: 18px;
    transform: scale(0);
  }

  100% {
    left: 50px;
    top: 18px;
    transform: scale(1);
  }
}

@keyframes moveHand {
  0% {
    left: 77px;
    top: 49px;
  }
  100% {
    left: 114px;
    top: 107px;
  }
}
@keyframes move_Hand {
  0% {
    left: 542px;
    top: 75px;

    top: 75px;
  }

  100% {
    left: 350px;
    top: 70px;
  }
}
@keyframes moveBg {
  0% {
    left: 281px;
    height: 458px;
    width: 302px;
    transform: scale(0);
  }

  100% {
    left: 281px;
    top: 458px;
    height: 302px;
    transform: scale(1);
  }
}
@-webkit-keyframes moveBg {
  0% {
    left: 485px;
    top: 160px;
    width: 0px;
    transform: scale(0);
  }

  100% {
    left: 650px;
    top: 20px;
    width: 95px;
    height: 154px;
    transform: scale(1);
  }
}

@keyframes moveBgMount {
  0% {
    left: 256px;
    width: 106px;
    top: 60px;
    transform: scale(0);
  }

  100% {
    left: 256px;
    width: 106px;
    top: 60px;

    transform: scale(1);
  }
}
@-webkit-keyframes moveBgMount {
  0% {
    left: 285px;
    top: 150px;
    width: 0px;
    transform: scale(0);
  }

  100% {
    left: 285px;
    top: 10px;
    width: 90px;
    height: 154px;
    transform: scale(1);
  }
}
@keyframes moveAngle {
  0% {
    left: 151px;
    top: 244px;
    transform: scale(0);
  }

  100% {
    left: 151px;
    top: 250px;
    transform: scale(1);
  }
}

@keyframes moveArrow {
  0% {
    left: 339px;
    top: 100px;
    transform: scale(0);
  }

  100% {
    left: 339px;
    top: 100px;
    transform: scale(1);
  }
}

@keyframes hallprobeslideup {
  from {
    top: -255px;
  }

  to {
    top: -365px;
  }
}

@keyframes hallwireslideup {
  from {
    top: -290px;
  }

  to {
    top: -400px;
  }
}

@keyframes moveAnn {
  0% {
    left: 465px;
    width: 79px;
    height: 165px;
    transform: scale(0);
  }

  100% {
    left: 277px;
    top: 109px;
    width: 79px;
    height: 239px;
    transform: scale(1);
  }
}

@keyframes moveApp {
  0% {
    left: 60px;
    top: 23px;
    transform: scale(0);
  }

  100% {
    left: 60px;
    top: 40px;
    transform: scale(1);
  }
}
@keyframes moveAnalyser {
  0% {
    left: 446px;
    top: 147px;
  }

  100% {
    left: 311px;
    top: 62px;
  }
}
@keyframes moveGd {
  0% {
    left: 298px;
    width: 4px;
    top: 36px;
  }
  100% {
    left: 298px;
    height: 133px;
    width: 4px;
    top: 36px;
  }
}
@keyframes move_Pin {
  0% {
    left: 318px;
    top: 70px;
    transform: rotate(317deg);
  }
  100% {
    left: 344px;
    top: 73px;
    transform: rotate(358deg);
  }
}
@keyframes movePin {
  0% {
    left: 311px;
    top: 70px;
    transform: rotate(0deg);
  }
  25% {
    left: 338px;
    top: 87px;
    transform: rotate(23deg);
  }
  50% {
    left: 342px;
    top: 120px;
    transform: rotate(53deg);
  }
  100% {
    left: 325px;
    top: 164px;
    transform: rotate(94deg);
  }
}

.voltage {
  width: 100%;
  max-width: 200px; /* Ensure the container size is fixed */
}

.voltage input[type="range"] {
  width: 100%; /* or a fixed value like 300px */
  max-width: 300px; /* Set the maximum width you want the slider to have */
  margin: 10px 0;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 5px;
  background: black;
  outline: none;
  opacity: 0.5;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}

.slider:hover {
  opacity: 1;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border: 2px solid red;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}

.slider::-webkit-slider-thumb:hover {
  width: 20px;
  height: 20px;
}

.slider:disabled {
  opacity: 0.2; /* Makes it visually appear disabled */
  cursor: not-allowed; /* Changes the cursor to 'not-allowed' */
}

#addbutton:disabled {
  opacity: 0.5; /* Makes it visually appear disabled */
  cursor: not-allowed; /* Changes the cursor to 'not-allowed' */
}

#observationbutton:disabled {
  opacity: 0.5; /* Makes it visually appear disabled */
  cursor: not-allowed; /* Changes the cursor to 'not-allowed' */
}

#slopebutton:disabled {
  opacity: 0.5; /* Makes it visually appear disabled */
  cursor: not-allowed; /* Changes the cursor to 'not-allowed' */
}

#finalresult:disabled {
  opacity: 0.5; /* Makes it visually appear disabled */
  cursor: not-allowed; /* Changes the cursor to 'not-allowed' */
}

#insert:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
