body {
  background-image: radial-gradient(rgb(239, 177, 188), rgb(171, 74, 155));
  background-repeat: no-repeat;
  height: 100%;
}

html {
  scroll-behavior: smooth;
}
.header-container {
  display: flex;
  align-items: center;
  flex-direction: column;
}

header h1 {
  font-size: 50px;
}
#escape-button {
  font-size: 20px;
  cursor: pointer;
  position: absolute;
  top: 4px;
  right: 13px;
}

#header-button {
  color: black;
  background-color: rgba(171, 74, 155, 0.4);
  border: none;
  cursor: pointer;
  font-size: 30px;
  border-radius: 10px;
  width: 30%;
  border: none;
  color: white;
  padding: 15px 32px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 5px;
}

button a {
  all: unset;
}

header button:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.timer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 6em;
}
div p {
  margin-bottom: 0.5em;
}
div button {
  background-color: #4caf50; /* Green */
  border: none;
  color: white;
  padding: 15px 32px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}

div button:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.4);
}

.timer-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  margin-top: -1em;
}

#about-section {
  display: flex;
  font-size: 21px;
  flex-direction: column;
  align-items: center;
  margin: 7%;
  margin-top: 3%;
  margin-bottom: 140px;
}

.buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px;
}

button {
  margin: 5px;
  margin-bottom: 20px;
}

#settings-container {
  display: flex;
  justify-content: center;
  margin-bottom: 200px;
}

#form-container {
  display: flex;
  justify-content: center;

  z-index: 100;
  border-radius: 5px;
  padding: 20px;
}

form {
  background-color: #f2f2f2;
  position: absolute;
  border-radius: 1%;
  padding: 50px;
  display: none;
  width: 40%;
  height: 15.5em;
  padding: 36px;
}

input[type="number"],
select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type="submit"] {
  width: 100%;
  background-color: #4caf50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #45a049;
}

.dark-mode {
  background-image: none;
  color: white;
  background-color: black;
  transition: 0.9s ease;
}
#scroll-up-button {
  all: unset;
  color: white;
  font-size: 16px;
  padding: 1px 10px;
  padding-bottom: 15px;
  cursor: pointer;
  /* position: relative; */
}
