body {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: sans-serif;

    background-image: url("bg img.png");
    width: 100%;
    height: auto;
}

ul {
    list-style-type: none ;
    display: flex ;
    justify-content: start;
    gap: 30px;
    padding-left: 40px;
}
a {
    text-decoration: none;
    color: black;
}

a:hover {color: rgb(240, 240, 247);}
ul 
{
 font-size: 0.5cm;
}




#cir {

    width: 390px;
    height: 180px;
    border: 2px solid rgb(255, 255, 255);
    background-color: white;

}

img {
    height: 50px;
    width: 80px;
    border-radius: 4px;
}

.note {
    border: 5px double red;
    margin: 10px;
    border-radius: 15px;
    background-color: pink;
}

p {
    font-size: large;
}

.result {
    border: 5px double green;
    border-radius: 15px;
    background-color: greenyellow;
}

.def {
    margin-left: 25px;
    color: white;
}



.circuit #obj {
    position: relative;
    top: 138px;
    left: 160px;
    border: 0px solid black;
    visibility: hidden;
}

.row button {
    border-radius: 5px;
}

.items p {
    font-size: small;
}

#bulb {
    width: 185px;
    position: relative;
    top: 80px;
    left: 20px;
    right: 60px;
}

#cover {
    width: 30px;
    height: 30px;
    position: relative;
    top: 150px;
    left: 230px;
    visibility: hidden;
}



.items button:hover {
    color: #2b1d63;
    position: relative;
    right: 20px;
    bottom: 20px;
    border:none;
    width: 150px;
    height: 60px;
    line-height: 40px;
    -webkit-perspective: 230px;
    perspective: 230px;
  }
  .items button span {
    display: block;
    position: absolute;
    width: 130px;
    height: 40px;
    border: 1px solid #372f6e;
    box-shadow: 0 0 5px #332a60, 0 0 5px #433c7e inset;
    margin:0;
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .3s;
    transition: all .3s;
  }
  .items button span:nth-child(1) {
    box-shadow: 0 0 5px #42337c, 0 0 5px #3a2670 inset;
    -webkit-transform: rotateX(90deg);
    -moz-transform: rotateX(90deg);
    transform: rotateX(90deg);
    -webkit-transform-origin: 50% 50% -20px;
    -moz-transform-origin: 50% 50% -20px;
    transform-origin: 50% 50% -20px;
  }
  .items button span:nth-child(2) {
    -webkit-transform: rotateX(0deg);
    -moz-transform: rotateX(0deg);
    transform: rotateX(0deg);
    -webkit-transform-origin: 50% 50% -20px;
    -moz-transform-origin: 50% 50% -20px;
    transform-origin: 50% 50% -20px;
  }
  .items button:hover span:nth-child(1) {
    -webkit-transform: rotateX(0deg);
    -moz-transform: rotateX(0deg);
    transform: rotateX(0deg);
  }
  .items button:hover span:nth-child(2) {
    background: #000;
    color: #000;
    box-shadow: 0 0 5px #33366c, 0 0 5px #3a4980 inset;
    -webkit-transform: rotateX(-90deg);
    -moz-transform: rotateX(-90deg);
    transform: rotateX(-90deg);
  }

#but{
    border: none;
    background-color: #c8b71f;
    box-shadow: 0 0 5px #fbff00;
  }
  
#but:hover {
     box-shadow: 0 0 10px #fffb00, 0 0 20px #fbff00, 0 0 20px rgb(234, 255, 0) inset;
  }
