/* rem and em don not depend on html font size in media queries, Instead 1rem = 1em = 16px
rem: root font size
em:current font size
*/

/* *************only screen******* */
@media (max-width: 1400em) {
  .main-container2{
    transform: scale(0.7);
    display: flex;
      align-items: center;
      justify-content: center;
      margin-left: -10px;
    }
  #displayExpValues{
    transform: scale(1);
  }
  #observations{
    transform: scale(0.7);
  }
  .title-div h1 {
    font-size: 2.5rem;
    align-items: center;
    text-align: center;
  }
}


/* **************************** */
/* Below 1344px (Smaller Desktops) */
/* **************************** */

@media (max-width: 1244px) {
  .main-container2{
    transform: scale(0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -68px;
  }
  #displayExpValues{
    transform: scale(1);
  }
  #observations{
    transform: scale(0.85);
  }
  #overflow{
    transform: scale(0.7);
  }
  #labelImage {
    max-width: 84% !important;/* Ensures the image doesn't exceed its container */
    max-height: 100%!important;/* Ensures the image doesn't exceed its container */
}
.title-div h1 {
  font-size: 2.5rem;
}

}

/* **************************** */
/* Below 1200px (Lanscape Tablets) */
/* **************************** */

@media (max-width: 75em) {
  body {
    width: 100%;
    margin: unset;
  }
  .main-container2{
  transform: scale(0.9);
  display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 40px;

  }
  #displayExpValues{
    transform: scale(1);
  }
  #observations{
    transform: scale(0.8);
  }
  .title-div h1 {
    font-size: 2.5rem;
  }
  .task-title {
    font-size: 2rem;
  }
  .tool-menu {
    font-size: 2rem;
    gap: 2rem;
  }
  .icons {
    width: 3rem;
    height: 3rem;
  }
  .ctrl-icons {
    width: 3rem;
    height: 3rem;
  }

  .tool-list span {
    font-size: 1.6rem;
  }
  .canvas {
    display: block;
    width: 100%;
    height: 100%;
    /* background-color: red; */
  }
  .div__control img {
    width: 3rem;
    height: 2.8rem;
  }
  #overflow{
    transform: scale(0.9);
  }
  #labelImage {
    max-width: 61% !important;/* Ensures the image doesn't exceed its container */
    max-height: 100%!important;/* Ensures the image doesn't exceed its container */
}
  /* .copyright{
    margin-bottom: 40px;
  } */
}

/* **************************** */
/* Below 944px ( Tablets) */
/* **************************** */

@media (max-width: 59em) {
  .tool-link:link,
  .tool-link:visited {
    gap: 0.5rem;
    font-size: 1.4rem;
    flex-direction: column;
  }
  .main-container2{
           transform: scale(0.8);
        height: 550px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 5px;
  }
  #displayExpValues{
    transform: scale(1);
  }
  #observations{
    transform: scale(0.78);
  }
  .title-div h1 {
    font-size: 2rem;
  }

  .main__task-div {
    height: auto;
  }

  .sidebar {
    position: fixed;
    padding: 0;
    bottom: 0;
    left: 0;
    flex-direction: row;
    width: 100%;
    backdrop-filter: blur(10rem);
    z-index: 101;
    justify-content: space-evenly;
    border-radius: 0;
    scroll-behavior: auto;
  }
  .tool-menu {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 4rem;
    width: 100%;
    font-size: 2.4rem;
    justify-content: space-evenly;
    padding: 1rem;
  }
  .main-section {
    grid-template-columns: 1fr;
  }
  .logo-div {
    width: 6.5rem;
  }
  .icons {
    width: 3rem;
    height: 3rem;
  }
  .tool-list span {
    font-size: 1.5rem;
  }
  .main__task-div:nth-child(4) {
    margin-bottom: 6rem;
  }
  .canvas {
    display: block;
    width: 100%;
    height: 100%;
    /* background-color: red; */
  }
  .main-section {
    grid-template-columns: 1fr;
  }
  .canvas__div {
    grid-template-columns: 1fr;
  }
  .canvas {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    border-top: 1px solid rgba(177, 176, 176, 0.855);
  }
  .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: 65px;
  }
  #overflow{
    transform: scale(0.8);
  }
  /* .button-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
} */
  /* .copyright{
    margin-bottom: 40px;
  } */
}

/* **************************** */
/* Below 820px (Smaller Tablets) */
/* **************************** */
@media (max-width: 48em) {
  .main-section {
    grid-template-columns: 1fr;
  }
  .main-container2{
    transform: scale(0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -50px;
  }
  #displayExpValues{
    transform: scale(0.9);
  }
  #observations{
    transform: scale(0.75);
  }
  .canvas__div {
    grid-template-columns: 1fr;
  }
  .canvas {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    border-top: 1px solid rgba(177, 176, 176, 0.855);
  }
  .tool-list span {
    font-size: 1.5rem;
  }
  .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: 72px;
  }
  #overflow{
    transform: scale(0.75);
  }
  #labelImage {
    max-width: 84% !important;/* Ensures the image doesn't exceed its container */
    max-height: 100%!important;/* Ensures the image doesn't exceed its container */
}
  /* .button-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
} */
  /* .copyright{
    margin-bottom: 64px;
  } */
}

/* **************************** */
/* Below 704px (Smaller Tablets) */
/* **************************** */
@media (max-width: 44em) {
  .canvas__div {
    grid-template-columns: 1fr;
  }
  .main-container2{
    transform: scale(0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -70px;
  }
  #expdiv{
    transform: scale(0.85);
  }
  #displayExpValues{
    transform: scale(0.7);
  }
    #observations{
    transform: scale(0.7);
  }
  .img-div {
    flex-direction: column;
  }
  .tool-list span {
    font-size: 1.5rem;
  }
  .title-div {
    gap: 0rem;
    text-align: center;
  }
  .round {
    width: 0.6rem;
    height: 0.6rem;
  }
  .logo-div {
    width: 6.5rem;
  }
  .main__task-div:nth-child(4) {
    margin-bottom: 6rem;
  }
  .circuit-dia {
    width: 40%;
  }
  .cross-img {
    width: 60%;
  }
  .canvas {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    border-top: 1px solid rgba(177, 176, 176, 0.855);
  }

#overflow{
  transform: scale(0.59);
  /* margin-left: -134px; */
}
  /* .button-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
} */
  /* .copyright{
    margin-bottom: 47px;
  } */
}
@media (max-width: 35.25em) {
  .main-container2{
    transform: scale(0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -102px;
   
  }
  #displayExpValues{
    transform: scale(0.55);
  }
  #overflow{
    transform: scale(0.59);
    /* margin-left: -134px; */
  }
  #observations{
    transform: scale(0.7);
  }
}


/* **************************** */
/* Below 540px (Smaller Tablets) */
/* **************************** */
@media (max-width: 34em) {
  .container {
    padding: 0.5rem;
    gap: 1rem;
  }
  #displayExpValues{
    transform: scale(0.55);
  }
  #dataId{
    transform: scale(0.75);
  }
  .main-container2{
    transform: scale(0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -141px;
   
  }
  #overflow{
    transform: scale(0.4);
   

  }
  #observations{
    transform: scale(0.45);
  }
  .title-div h1 {
    /* padding: 0.2rem; */

    font-size: 1.6rem;
    /* text-align: center; */
  }

  .logo-div {
    width: 4.5rem;
  }
  .div__control {
    gap: 2rem;
    /* top: 1.8rem;
    right: 1.5rem; */
  }
  .ctrl-icons {
    width: 2.5rem;
    height: 2.5rem;
  }
  .tool-menu {
    gap: 1.5rem;
  }
  .tool-list span {
    font-size: 1.3rem;
  }
  .task-title {
    font-size: 1.7rem;
  }
  label,
  select,
  input,
  p {
    display: inline-block;
    font-size: 1.5rem;
  }
  #labelImage {
    max-width: 100% !important; /* Ensures the image doesn't exceed its container */
    max-height: 100% !important;; /* Ensures the image doesn't exceed its container */
}
  /* #start1{
   
    top: 150px; 
    left: 126px; 
    color: white; 
    font-size:x-large;
    text-align: center;
  } */
  .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: 68px;
  }
  /* .copyright{
    margin-bottom: 40px;
  } */
  .main {
    gap: 0.5rem;
  }
  .main-section {
    gap: 0.5rem;
  }
  .sidebar {
    border-radius: 0;
  }
  .canvas {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    border-top: 1px solid rgba(177, 176, 176, 0.855);
    /* background-color: red; */
  }
  .div__control img {
    width: 2.7rem;
    height: 2.5rem;
  }
  .tooltip {
    font-size: 1rem;
  }
  #expdiv{
    transform: scale(0.75);
  }

  /* td{
    font-size: 20px;
  } */
  /* my css */

  /* .button-container {
    display: flex !important; 
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 247px !important;
} */
}
@media (max-width: 20em){
  #expdiv{
    transform: scale(0.7);
  }

  #displayExpValues{
    transform: scale(0.4);
  }
  .main-container2{
    transform: scale(0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -140px;
   
  }
  #overflow{
    transform: scale(0.4);
   
  }
  #observations{
    transform: scale(0.4);
  }
}
/* 

- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

 */
