.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: calc(10px + 2vmin);
}
.static{
  position: absolute;
  right: 60px;
}
nav{
  position: sticky;
  top: 0;
  height: 80px;
  display: flex;
  align-items: center;
  transition: top 0.3s; /* Transition effect when sliding down (and up) */
  width: 100%;
  padding: 0 2rem;
  box-sizing: border-box;
  background-color: rgba(25, 167, 136, 0.692);
}
body{
  background-color: #282c34;
}



*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
}

.simulation{
  width: 100vw;
  max-width: 500px;
  height: 350px;
  position: relative;
}

.progress-bucket {
    position: relative;
    overflow: hidden;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 5px;
    background-color: #e5e9eb;
  }

  .progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    transition: height 1s ease-in-out, background 1s ease-in-out;
    border-radius: 5px;
    background-color: #0074d9;
  }

  .sendingPacket{
    background-color: #ff851b;
    width: 20px;
    height: 20px;
    border: 1px solid black;  
  }
  
  .text{
    position: absolute;
      top:10;
      font-size: 18px;
      font-weight: bold;
      left:50%;
      transform: translateX(-50%);
      z-index: 1000;
      color: #e5e9eb;
  }

  .sender-leaky-bucket{
    background-color: green;
    color: white;
    border: 2px solid black;
  }

  .reciever-leaky-bucket{
    background-color: orange;
    color: white;
    border: 2px solid black;
  }

  .leaky-bucket{
    display: flex;
    flex-direction: column;
    gap: 5rem;
  }
  .transmission-Info{
    background-color: wheat;
    padding: 1rem;
    margin: .5rem;
    color: black;
    width: 95vw;
    max-width: 450px;
  }

  .sender-canvas{
    background-color: transparent;
    position: absolute;
    width: 100%;
    height: 80px;
    top: 37px;
    left: 0;
  }

  .reciever-canvas{
    background-color: transparent;
    position: absolute;
    width: 100%;
    height: 80px;
    bottom: 37px;
    left: 0;
  }

  .text{
    z-index: 10000;
    color: black;
  }

  .buttons{
    display: flex;
    gap: 0.5rem;
    margin: 1rem;
  }
  label{
    font-size: 13px;
    left: 10px;
    top: 5px;
    position: absolute;
  }
  .input-bar{
    display: flex;
    align-items: center;
    color: white;
    background-color: #1bfff751;
    padding: .5rem;
    padding-top: 1.5rem;
    border-radius: 1rem;
    position: relative;
  }
  .input{
    background-color: #0074d9;
    border: 1px black solid;
    border-radius: 1rem;
    width: 100px;
    text-align: center;
    padding: .5rem;
    font-size: 1rem;
    margin: 5px;
  }
  #stop-wrapper{
    display: none;
  }