* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* mobile Version 375px */
body {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background-image: linear-gradient(to right, #111, #333, #111);

  box-shadow: inset 0 0 20px rgba(238, 237, 226, 0.746);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;

  color: whitesmoke;
  text-shadow: 0 0 5px grey;
  margin: auto;
}

.wrapper,
#ouput {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 375px;
  max-width: 500px;
}

.wrapper {
  justify-content: flex-start;
  padding: 1rem;
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
}

button {
  width: 120px;
  background-color: lime;
  margin: 0.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5em 0.2em;
  border-radius: 5px;
  border-color: gold;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
}

#help,
#settings {
  display: inline;
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  font-size: 1.4rem;
  color: white;
  text-shadow: 0 0 5px black;
  cursor: help;
}

#settings {
  cursor: pointer;
}

#stopCountdown {
  background-color: red;
  border: none;
  font-size: 1rem;
  margin-left: 10px;
  color: white;
}

h1 {
  font-size: 1.8rem;
  margin-top: 0.5em;
}

#output {
  width: 100%;
  color: rgb(233, 31, 31);
  text-align: center;
  line-height: 1.8em;
}

#output h2 {
  font-size: 1.4rem;
  text-align: center;
  color: gold;
}

#output h2 .counter {
  color: bisque;
  font-size: 1.2em;
}

#countdownHeader {
  font-size: 0.8rem;
}

#display {
  font-size: 8rem;
  width: 350px;
  aspect-ratio: 1;
  border-radius: 50%;

  font-weight: bold;
  box-shadow: 0 0 30px gold inset;
  padding: 20px;
  margin: 2rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  color: bisque;
}

#mainCountdown {
  font-size: 1rem;
  text-shadow: none;
  text-align: center;
  padding: 5px;
}

#checkbox {
  display: none;
  justify-content: space-around;
  align-items: center;
  padding: 5px;
  width: 100%;
}

#checkbox label {
  width: 100%;
  font-size: 1.8em;
  text-align: center;
}

#checkbox #seconds {
  font-size: 0.8rem;
  margin-right: 5px;
}

#enableCountdown {
  width: 30px;
  height: 60px;
  cursor: pointer;
}

#countdownTime {
  width: 40%;
  height: 30px;
  padding: 10px;
  text-shadow: none;
}

@media screen and (min-width: 1000px) {
  #enableCountdown {
    width: 100px;
  }

  h1 {
    font-size: 2.5rem;
  }

  #wrapper {
    justify-content: space-around;
    height: 100vh;
  }

  #display {
    font-size: 12rem;
  }
}
