@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body, html {
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
}


.container {
  text-align: center;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: calc(100vw - 200px); /* Full viewport width minus 200px for the margins */
  margin: 0 100px; /* 100px margins on the left and right */
  position: relative; /* Ensure it's positioned relative normally */
}

.fullscreen {
  width: 100vw; /* Full viewport width */
  height: 100vh; /* Full viewport height */
  margin: 0; /* No margins */
  position: fixed; /* Fixed position to stay in place */
  top: 0; /* Align top to the top edge */
  left: 0; /* Align left to the left edge */
  right: 0; /* Align right to the right edge */
  bottom: 0; /* Align bottom to the bottom edge */
  display: flex; /* Use flexbox for centering */
  flex-direction: column; /* Stack elements vertically */
  align-items: center; /* Center elements horizontally */
  justify-content: center; /* Center elements vertically */
  padding: 0; /* No padding */
  border-radius: 0; /* No border radius */
  box-shadow: none; /* No box shadow */
}

.button-container {
  display: flex; /* Use flexbox to layout buttons */
  flex-direction: row; /* Lay out the buttons in a row */
  justify-content: center; /* Center buttons horizontally */
  margin-top: 20px; /* Provide some spacing from the content above */
}

.display {
    font-size: 2em; /* Adjusted for more consistency */
    margin-bottom: 20px;
}

div#timerDisplay {
    font-size: 3em;
}

div#priceDisplay {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: italic;
	font-size: 14em;
}

button {
  padding: 10px 20px;
  font-size: 1em;
  margin: 5px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background-color: #007bff;
  color: white;
}

button:hover {
  background-color: #0056b3;
}

.price-input-container {
    margin-top: 20px;
}

#priceInput {
    padding: 10px;
    margin-right: 10px;
    width: 300px; /* Adjust width as needed */
    font-size: 1em;
}

button#saveBtn {
    padding: 10px 20px;
    font-size: 1em;
    margin: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
}

button#saveBtn:hover {
    background-color: #0056b3;
}


@media (max-width: 768px) {
  .container {
    width: 95%; /* Adjusted for better mobile viewing */
    margin: 0; /* No margins for better use of space */
    padding: 20px; /* Sufficient padding for touch interaction */
  }

  .display {
    font-size: 1.5em; /* Adjusted size for mobile readability */
  }

  div#timerDisplay, div#priceDisplay {
    font-size: 5.5em; /* Larger font for better visibility on mobile */
  }
  div#timerDisplay {
    font-size: 2em;
}
}
