/* Common styles for all devices */

body {
  font-family: "LCD", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #f5f5f5;
}

.black-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.countdown-container {
  background-color: #000;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  z-index: 10000;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 196px;
  color: #0f0;
  letter-spacing: 5px;
  margin-bottom: 20px;
}

.countdown-timer span:not(:last-child) {
  margin-right: 10px;
}

.input-value {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.form-input {
  margin-bottom: 10px;
  padding: 5px 10px;
  font-size: 18px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: #0f0;
}

.button-container {
  display: flex;
  justify-content: center;
}

.start-btn,
.reset-btn {
  margin: 0 5px;
  padding: 10px 20px;
  font-size: 18px;
  background-color: #0f0;
  color: #000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.start-btn:focus,
.reset-btn:focus {
  outline: none;
}

.start-btn:hover,
.reset-btn:hover {
  background-color: #0a0;
}

/* Media Queries for different devices */

/* Small devices (up to 576px) */
@media only screen and (max-width: 576px) {
  .countdown-timer {
    font-size: 44px;
  }

  .form-input {
    font-size: 16px;
  }
}

/* Medium devices (577px to 991px) */
@media only screen and (min-width: 577px) and (max-width: 991px) {
  .countdown-timer {
    font-size: 128px;
  }
}

/* Large devices (992px and above) */
@media only screen and (min-width: 992px) {
  .countdown-timer {
    font-size: 196px;
  }
}
