* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    overflow: hidden;
  }
  
  nav {
    background: #d2cca1;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    font-size: 1.1rem;
    position: relative;
  }
  
  nav ul {
    list-style-type: none;
  }
  
  nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    height: var(--navHeight);
    padding: 0 10px;
  }
  
  nav ul li {
    padding: 12px 10px;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 4px;
    position: relative;
  }
  
  nav ul li:hover {
    background-color: #dedaba;
  }
  
  a {
    background-color: rgb(231, 81, 81);
    font-size: 23px;
    text-decoration: none;
    color: whitesmoke;
    padding: 5px;
    border-radius: 10px;
  }
  main {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: #e5c687;
    height: calc(100vh - var(--navHeight));
  }
  :root {
    --navHeight: 70px;
    --sage: #d2cca1;
    --paleSpringBud: #dedaba;
    --goldCrayola: #ffffff;
    --richBlackForeground: #0f1a20;
    --white: #fff7f7;
    --black: #222;
    --msuGreen: #2d4739;
    --gray: #eee;
  }
  
  .light-theme {
    --themeDropDownBg: var(--goldCrayola);
    --themeIconBorderColor: var(--sage);
    --navBg: var(--richBlackForeground);
    /* --navLinkHoverBg: var(--paleSpringBud); */
    --mainBg: var(--goldCrayola);
    --fontColor: var(--white);
  }
  
  .dark-theme {
    --themeDropDownBg: var(--msuGreen);
    --themeIconBorderColor: var(--richBlackForeground);
    --navBg: var(--richBlackForeground);
    --navLinkHoverBg: var(--msuGreen);
    --mainBg: var(--msuGreen);
    --fontColor: var(--white);
  }
  nav {
    color: var(--fontColor);
  }
  
  nav {
    background: var(--navBg);
  }
  
  nav ul li:hover {
    background-color: var(--navLinkHoverBg);
  }
  
  main {
    background: var(--mainBg);
  }
  /*  */
  .container {
    width: 100vw;
    height: 100vh;
    background-color: #f1f3f4;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #canvas {
    /* height: 100vh;
    width: 100vw; */
    background-color: #ffffff;
    background: transparent;
    border: 2px solid #dadce0;
  }
  
  .vartbar {
    height: 70vh;
    width: 8vh;
    text-align: center;
    padding: 10px;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    flex-wrap: nowrap;
  
    border-radius: 10px;
    left: 1em;
    background-color: #ffffff;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.25);
  }
  #yellow {
    color: orange;
  }
  #red {
    color: red;
  }
  #blue {
    color: blue;
  }
  #green {
    color: green;
  }
  
  .color {
    display: none;
  }
  .color1 {
    display: block;
    width: 400%;
    top: 0;
    height: 30%;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    cursor: pointer;
    left: 3em;
    box-shadow: 12px 2px 20px -1px rgba(0, 0, 0, 0.75);
    position: absolute;
    background-color: #ffffff;
  }
  .color > p {
    margin: 6%;
  }
  .space {
    margin-top: 150%;
    cursor: pointer;
  }
  #fis {
    margin-top: 0;
  }
  .size {
    display: none;
  }
  .size1 {
    display: block;
    width: 400%;
    height: fit-content;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    cursor: pointer;
    left: 3em;
    box-shadow: 12px 2px 20px -1px rgba(0, 0, 0, 0.75);
    position: absolute;
    background-color: #ffffff;
    bottom: 280px;
  }
  .size > p {
    margin: 6%;
  }
  .shapes {
    display: none;
  }
  .shapes1 {
    display: block;
    width: 200%;
    height: fit-content;
    bottom: 5px;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    cursor: pointer;
    left: 3.2em;
    box-shadow: 12px 2px 10px 1px rgba(0, 0, 0, 0.75);
    position: absolute;
    background-color: #ffffff;
  }
  .shapes > p {
    margin: 6%;
  }
  .btn-click {
    padding: 10px;
    background-color: black;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: white;
  }
  
  :root {
    --background-color: #fff;
    --text-color: #000;
  }
  body {
    background-color: var(--background-color);
    color: var(--text-color);
  }
  [data-theme="dark"] {
    filter: invert(100%);
  }
  
  #theme-switcher {
    padding: 5px;
    font-family: sans-serif;
    font-weight: 800;
  }
  .image_box {
    position: absolute;
    max-width: 15rem;
    top: 2rem;
    left: 15rem;
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.034),
      0 6.7px 5.3px rgba(0, 0, 0, 0.048), 0 12.5px 10px rgba(0, 0, 0, 0.06),
      0 22.3px 17.9px rgba(0, 0, 0, 0.072), 0 41.8px 33.4px rgba(0, 0, 0, 0.086);
    animation: animateImg 2s ease-in forwards;
  }
  .imgArea {
    display: flex;
  }
  .image_container {
    width: 13rem;
  }
  .image_container img {
    max-height: 100%;
    max-width: 100%;
    border-radius: 0.5rem;
  }
  .imgNavBar {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: grab;
  }
  .imgIcon {
    height: 30px;
    width: 25px;
    font-size: 1.3rem;
    border-radius: 20%;
    margin-left: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
    color: rgb(238, 242, 247);
    cursor: pointer;
  }
  .imgIcon:hover {
    background-color: rgba(230, 222, 222, 0.527);
  }
  
  .imgText {
    height: 10rem;
    width: 100%;
    display: none;
    outline: none;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background-color: rgba(230, 222, 222, 0.527);
    overflow: auto;
    text-align: center;
  }
  .imgText::-webkit-scrollbar {
    display: none;
  }
  