
body {
  margin: 0;
  padding: 0;
  font-family: "Arial MT Medium", sans-serif;
}

@font-face {
    font-family: "Arial MT Medium";
    src: url("Arial MT Medium.ttf") format("truetype"),
         url("Arial MT Medium.woff") format("woff"),
         url("Arial-MT-Medium.woff2") format("woff2");
}

#timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 90vh;
}

#display {
  font-size: calc(66vh * 0.8);
  font-weight: regular;
  text-align: center;
  font-family: monospace;
  font-family: Arial MT Medium;
  color: white;
}

.wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.wrapper + .wrapper {
  margin-top: 5px;
}

#time-buttons, #control-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

#button-container {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  background-color: #f1f1f1;
  padding: 30px 0;
  background-color: black;
}

#time-control {
  margin-top: 0px;
}

button {
  font-size: 0.7em;
  font-weight: bold;
  padding: 0px;
  margin: 0 3px;
  width: 50px;
  height: 50px;
  font-family: ARIAL;
  background-color: black;
  border-color: darkgreen ;
  border-style: solid;
  color: darkgray;
}


p {
  position: fixed;
  bottom: 00px;
  font-size: 0.65em;
  color: #707070;
  font-family: Arial;
  text-align: left;
}

.myInput {
  width: 100px;
  font-size: 1rem; 
  font-weight: bold;
  padding: 0.5rem; 
  border-radius: 5px;
  border: 2px solid darkgreen; 
  outline: none; 
  background-color : black; 
  color:white;
}


#bottom-text {
  position: fixed;
  bottom: 0;
  font-size: 0.65em;
  color: #707070;
  font-family: Arial;
  text-align: left;
  opacity: 1; /* Stellen Sie den Anfangswert auf 1 ein */
}

#control-buttons #end-of-speech {
    margin-left: 20px;
}

@media screen and (min-width : 1600px) {
  #button-container {
    display: none;
  }
  #bottom-text {
    opacity: 0;
  }
}



@media screen and (max-width: 1600px) {
  #button-container {
    display: block; /* Hinzufügen, um sicherzustellen, dass der Button-Container wieder angezeigt wird */
  }
  #bottom-text {
    opacity: 1;
  }
}

/* Media query for small screens */
@media screen and (max-width: 600px) {
  #time-buttons {
    flex-direction: column;
    align-items: center;
  }
}

#control-buttons #end-of-speech:hover {
  color: white;
  background-color: darkgreen;
  border-color: darkgreen;
}

// Optional: Adjust button container height dynamically based on screen height
function adjustButtonContainerHeight() {
  var buttonContainer = document.getElementById('button-container');
  buttonContainer.style.height = window.innerHeight + 'px';
}

window.addEventListener('resize', adjustButtonContainerHeight);