:root {
  --text: #e9e9e9;
  --light-color-green: #599667;
  --color-green: #50875c;
  --dark-color-green: #497c54;
  --light-color-red: #c15c5c;
  --color-red: #ba4949;
  --dark-color-red: #a74242;
  --light-color-blue: #58799c;
  --color-blue: #506e8e;
  --dark-color-blue: #496683;
}
body {
  transition: 0.6s ease-in;

  overflow: hidden;
  margin: 20px 0px;
  height: max(475px, 100%);
  width: max(320px, 100%);
  display: flex;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  background-color: var(--color-green);
  color: var(--text);

  user-select: none;
}

/* ///////////////////////////////////////////////////////////////////////// Progress bar */

.progress-container {
  transition: 0.6s ease-in;

  width: 100%;
  height: 10px;
  background-color: var(--dark-color-green);
  border-radius: 10px;
  overflow: hidden;
  margin: 10px 0;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background-color: var(--text);
  transition: width 1s linear;
}

/* /////////////////////////////////////////////////////////////////////////////// Main */
main {
  transition: 0.6s ease-in;
  margin-top: 30px;
  background-color: var(--light-color-green);
  width: min(300px, 100%);
  border-radius: 10px;
  padding: 15px 50px;

  box-shadow: 0px 0px 10px -5px rgba(0, 0, 0, 0.37);
  -webkit-box-shadow: 0px 0px 10px -5px rgba(0, 0, 0, 0.37);
  -moz-box-shadow: 0px 0px 10px -5px rgba(0, 0, 0, 0.37);
}
/* //////////////////////////////////////////////// Timer */
.break-type-container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
.break-type {
  padding: 5px 10px;
  transition: 0.6s ease-in;

  &:hover {
    cursor: pointer;
  }
  &:focus {
    background-color: var(--color-blue);
  }
}
.timer {
  justify-self: center;
  font-size: 8em;
}
.pauseSkip-container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pause-start {
  transition: 0.6s ease-in;

  margin: 0px 1em;
  font-size: 2em;
  display: flex;
  align-self: center;
  justify-self: center;
  border-radius: 5px;
  padding: 5px 20px;
  color: var(--light-color-green);
  background-color: var(--text);

  &:hover {
    cursor: pointer;
  }
}
.skip {
  width: 2em;
  height: 2em;
  font-size: 1em;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  color: var(--light-color-green);
  background-color: var(--text);
  &:hover {
    cursor: pointer;
  }
}
/* //////////////////////////////////////////////// Tasks */
section {
  width: min(320px, 100%);
}
.tasks-title {
  margin-top: 40px;
}
.tasks-container {
  display: flex;
  flex-direction: column;
}
.task {
  width: 100%;
  height: 30px;
  display: grid;
  grid-template-columns: 15px auto 20px 15px;
  gap: 5px;
}
#taskText{
  text-overflow: ellipsis;
 overflow: hidden;
}
.add-task-button {
  transition: 0.6s ease-in;

  display: flex;
  justify-content: center;
  background-color: var(--dark-color-green);
  padding: 10px;
  border-radius: 10px;
  border: rgba(187, 187, 187, 0.469) dashed 2px;
}
.settings {
  display: none;
}
