body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}
h1{
  color: #548235;
}
#timertext1{
  color: #000;
display: none;
  font-size: 9rem;
}
#timertext2{
  display: none;
  font-size: 9rem;
  color: #0c0;
   
}
#touch-me {
  width: 100%; /* Full width on mobile devices */
 
 
  height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;

  background-color: #e2f0d9;
  text-align: center;
  color: #333;
  margin: 0 auto;
}

#touch-me.alertnow{
  background-color: #c00;
}

button{
  border-radius: 6px;
  margin: 4px;
  background-color: #4472c4;
  border: 2px solid #4472c4;
  color: #fff;
}
#start-button{
  background-color: #00b050;
  border: 2px solid #00b050;
  color: #fff;
}

#stop-button:hover,
#start-button:hover,
#settings-button:hover{
  background-color: #f7b500;
  border: 2px solid #b05000;
}

#settings-button{

}

#touch-me img {
  width: 50px;
  height: 50px;
}

#touchtext{
  border: 1px solid #fff;
  padding: 48px;
  text-align: center;
  color: #000;
  font-size: 1.8rem;
font-weight: bold;
display: none;
cursor: pointer;
}
h1 {
  font-size: 3em;
  margin: 10px;
}

.buttons {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

button {
  padding: 10px 20px;
  border: 1px solid #ddd;
  cursor: pointer;
}

#settings {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  display: none; /* initially hidden */

  overflow: scroll;
max-height: 80vh;

}

#settings.popup {
  display: block; /* show on click */
}

#close-settings {
  float: right;

}

.setting-group {
  margin-bottom: 15px;
}

.setting-group label {
 
  margin-bottom: 5px;
}

select {
  padding: 5px;
  border: 1px solid #ddd;
  width: 100%;
}

textarea {
  padding: 5px;
  border: 1px solid #ddd;
  width: 100%;
  height: 100px;
}

#settings {
  width: 96%; /* Full width on mobile devices */
  margin: 0 auto;
  padding: 20px;
}

.setting-group {
  margin-bottom: 15px;
}

.setting-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.setting-item {
  flex-basis: calc(50% - 10px);
  margin-bottom: 10px;
}

 
@media (min-width: 768px) { /* Adjust breakpoint as needed */
  #touch-me {
    width: 50vw; /* Force 50% width on larger screens */
  }

  #settings {
    width: 50vw; /* Force 50% width on larger screens */
  }
}