h1{
  background-color: beige;
  margin: none;
}
  
header{
  height: 8vh;
  border-bottom:4px solid cadetblue ;
}
  
header h2{
  color: cadetblue;
  display: inline-block;
}
  
body{
  height: 100vh;
  width: 100vw;
  margin: 0;
  overflow: hidden;
}
 
.p-head {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  margin-left: 4px;
}
 
.exp-changer {
  display: flex;
  justify-content: center;
  
}

.exp-changer-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  color: grey;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  outline: none;
  position: relative;
  top: 1.6vh;
}

.navbar {
  display: flex;
  justify-content: space-between;
}

.navbar1{
  width: 6%;
  height: 35px;
  color: #ffffff;
  background-color: rgba(4, 59, 79, 0.5);
  font-size: 1.4rem;
  border-radius: 0 0 0px 0;
  font-family: "Raleway",sans-serif;
  }

  .navbar1 a{
  margin-left: 10px;
  color: #fff;
  text-decoration: none;
  }

  .navbar1 a:hover{
  text-decoration: none;
  }

.navbar-heading{
  width: 15%;
  height: 35px;
  display: flex;
  justify-content: center;
  color: #ffffff;
  background-color: rgba(4, 59, 79, 0.5);
  font-size: 1.4rem;
  border-radius: 0 0 20px 20px;
  font-family: "Raleway",sans-serif;
  }

.navbar2{
  width: 7%;
    height: 35px;
    color: #ffffff;
    background-color: rgba(4, 59, 79, 0.5);
    font-size: 1.4rem;
    border-radius: 0 0 0 20px;
    font-family: "Raleway",sans-serif;
}
  
.navbar2 a{
  margin-left: 10px;
  color: #fff;
  text-decoration: none;
}
  
.navbar2 a:hover{
  text-decoration: none;
}

.container {
  height: 100%;
  width: 100%;
  margin-top: 0px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  background-color: #F4F5F7;
}

.separator {
  border-radius: 20px;
  height: 70%;
  width: 5px;margin-top: 32px;
  background-color: rgba(4, 59, 79, 0.5);
  transition: all 0.4s ease-in;
  transform: scale(1.1);
  margin-left: 10px;
   
  
}

.if-vid {
  width: 50%;
  height: 100%;
  padding: 3px;
  /* background-color: red; */
  
  /* border: 3px solid rgba(4, 59, 79, 0.3); */
  border-radius: 10px;
  overflow: hidden;
  /* margin-right: 180px; */
}

.interfacing2 {
  position: relative;
}

.interfacing2 img {
  transition: all 0.4s ease;
  width: 650px;
  height: auto;
  margin-left: 50px;
  object-fit: contain; /* Maintain aspect ratio */
  object-position: center; /* Center the image */
}

#buzzerpushbutton {
  display: none; /* Hide the buzzer button */
}

#potClickButton {
  background-color: transparent;
  position: absolute;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: none;
  cursor: pointer;
  left: 400px;
  top: 91px;
}

#potNotification {
  display: none;
  position: absolute;
  background: #ffecb3;
  border: 2px solid #ff9800;
  color: #222;
  font-weight: bold;
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: 0 4px 16px #0004;
  z-index: 1000;
  margin-top: 99px;
  margin-left: -650px;
}

/* Potentiometer slider styles */
#potSlider {
  display: none;
  position: absolute;
  left: 390px;
  top: 70px;
  width: 80px;
  z-index: 1001;
}

/* Potentiometer LED indicator */
#potLed {
  display: none;
  position: absolute;
  left: 513px;
  top: 118px;
  width: 18px;
  height: 24px;
  border: none;
  box-shadow: 1px 0 10px  red;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  background: red;
  opacity: 0;
}

.code {
  width: 48vw;
  height: 80vh;
  padding: 3px;
  /* border: 3px solid rgba(4, 59, 79, 0.3); */
  border-radius: 10px;
  /* background-color: rgba(4, 59, 79, 0.1); */
}

.startStop h2{
  background-color: #009C4E;
  color: #fff;
  /* text-transform: uppercase; */
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  padding: 5px 30px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 12px;
}

.code-head {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

#codeInput {
  width: 700px;
  height: 60vh;
  border-radius: 10px;
  border: 1px solid rgba(4, 59, 79, 0.2);
}
#arduinoCode {
  padding: 20px;
  width: 40vw;
  height: 60vh;
  resize: none;
}

@media screen and (max-width: 1000px) {
  .navbar1 {
    width: 14vw;
    height: 27px;
    font-size: 1.1rem;
    }

  .navbar2 {
    width: 17vw;
    height: 27px;
    font-size: 1.1rem;
    }
  .navbar-heading {
      width: 0;
      height: 0;
    }
}

#pagechanger {
  border: none;
  color: cadetblue;
  font-size: 20px;
  outline: none;
  position: relative;
  top: 2.5vh; 
}

#pagechanger:hover{
  cursor: pointer;
}

.CodeMirror {
  height: 485px; /* Set the height to 500px */
  border: 1px solid #ddd;
  font-family: monospace;
  font-size: 16px;
  background-color: #f5f5f5;
}