#nav{
  padding-top: 5px;
  width: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(64, 64, 64);
}

.navigation{
  width: 300px;
  height: 100%;
  padding-top: 5px;
  margin-top: 120px;
}

.navButton{
  display: inline-block;
  height: 30px;
  width: 30px;
  cursor: pointer;
  align-items: center;
}

#buttonbox{
  width: 80px;
  text-align: center;
}

#homeButton{
    position: relative;
}

#homeButton img{
  width: 100%;
  height: auto;
}

#translateButton{
    overflow: visible;
    position: relative;
    right: 40px;
}

#translate{
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.arrow {
  height: 12px;
  width: 12px;
  border: solid rgb(255, 255, 255);
  border-width: 0 8px 8px 0;
  display: inline-block;
  padding: 0px;
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

/* Slider container */
.slider {
  position: relative;
  display: flex;
  width: 60px;
  height: 30px;
  margin-bottom: 5px;
}

/* Hide the default checkbox */
.slider input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider background */
.slider-button {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e0e0e0; /* Default slider background */
  border: 1px solid #ccc; /* Match the style above */
  border-radius: 15px; /* Rounded edges for the slider */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* The toggle knob */
.slider-button::before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 2px;
  background-color: #fff; /* Knob color */
  border: 1px solid #ccc; /* Match styling */
  border-radius: 50%; /* Circular knob */
  transition: transform 0.3s ease;
}

/* Checked state styles */
.slider input:checked + .slider-button {
  background-color: #64a832; /* Green background for checked state */
}

/* Move the knob when checked */
.slider input:checked + .slider-button::before {
  transform: translateX(30px); /* Move the knob to the right */
}

#title{
  width: 100%;
  word-wrap: break-word;
}