body{
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    color: white;
}

.pomodoro-container{
  position: relative;
  width: 40%;
  height: 40%;
  margin: 30px auto;
  background: rgba(255, 255, 255, .1);
  box-shadow: 0  25px 45px rgba(0,0,0, .1);
  border: 1px solid rgba(255, 255, 255, .5);
  backdrop-filter: blur(25px);
  padding-bottom: 5px;
  border-radius: 3px;
}

.pomodoro-container .pomodoro-phases{
  display: flex;
  justify-content: space-evenly;
  width: 90%;
  margin: 0 auto;
}

.pomodoro-container .pomodoro-phases h5{
  font-size: .8em;
  cursor: pointer;
  margin-top: 10px;
  padding: 3px 5px;
}

.pomodoro-container .pomodoro-phases .chosen{
  height: fit-content;
  background-color: rgba(168, 168, 168, 0.6);
  border-radius: 10px;
}

.pomodoro-container .pomodoro-timer{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 60px 0;
}

.pomodoro-container .pomodoro-timer .pomodoro-minutes, .pomodoro-container .pomodoro-timer .pomodoro-seconds, .pomodoro-container .pomodoro-timer span{
    font-size: 50px;
}

.pomodoro-container .pomodoro-timer span{
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  margin: 20px 3px;
}

.pomodoro-container .start-stop-btn p{
    padding: 10px;
    font-weight: 600;
    /* letter-spacing: 2px; */
}

.pomodoro-container .start-stop-btn{
  position: absolute;
  bottom: 20px;
  left: 30%;
  width: 40%;
  height: 40px;
  background-color: rgb(255 255 255 / 14%);
  border-radius: 3px;
  text-align: center;
  cursor: pointer;
  opacity: .9;
  border-bottom: #ffffff8f solid 4px;
}

.pomodoro-container .start-stop-btn:hover{
  opacity: 1;
}

/* --- Scrollbar styling --- */

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
    color: transparent;
    margin: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(165, 165, 165, 0.7);
    border-radius: 10px;
}

/* Design the pomodoro tasks */

button, input{
    all: unset;
    cursor: pointer;
}


.tasks-container{
    display: flex;
    width: 70%;
    flex-direction: column;
    height: 50%;
  }
  
  .tasks-container .pomodoro-session p{
    text-align: center;
    font-size: 16px;
  }
  
  .tasks-container .pomodoro-session{
    margin-bottom: 10px;
  }
  
  .tasks-container h5{
    font-size: 16px;
    margin: 5px 0;
    font-weight: 500;
  }
  
  .tasks-container hr{
    /* background-color: white; */
    margin-bottom: 15px;
  }
  
  .tasks-container .add-task{
    background: rgba(255, 255, 255, .1);
    box-shadow: 0  25px 45px rgba(0,0,0, .1);
    backdrop-filter: blur(25px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    border: 1px dashed rgba(255, 255, 255, .8);
    padding: 5px 10px;
    width: 90%;
    min-height: 30px;
    cursor: pointer;
    border-radius: 2px;
    opacity: .8;
    transition: .5s;
  }
  
  .tasks-container .add-task:hover{
    opacity: 1;
  }
  
  .tasks-container .add-task:active{
    background-color: rgba(168, 168, 168, 0.6);
  }
  
  .tasks-container button{
    cursor: pointer;
    opacity: .8;
    font-weight: 300;
    font-size: 14px;
  }
  
  .tasks-container button i{
    margin-right: 5px;
  }

  .tasks-container .tasks{
      overflow: auto;
      max-height: 60%;
  }
  
  .tasks-container .tasks .task{
    background-color: rgba(150, 150, 150, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    border: 1px solid rgba(255, 255, 255, .8);
    padding: 5px 10px;
    width: 90%;
    height: 30px;
    border-radius: 2px;
    opacity: .8;
    cursor: pointer;
  }
  
  input:not(:read-only)::selection{
    background: rgba(233, 233, 233, 0.3);
  }
  
  input:not(:read-only)::-moz-selection {
    background: rgba(233, 233, 233, 0.3);
  }
  
  input:read-only::-moz-selection { /* Code for Firefox */
    background: transparent;
  }
  
  input:read-only::selection {
    background: transparent;
  }
  
  .tasks-container .tasks .task input{
    flex: 1 1 0%;
    cursor: default;
    width: 97%;
  }
  
  .tasks-container .tasks .task input:not(:read-only){
    color: rgb(220, 220, 220);
    cursor: text;
    width: 97%;
  }
  
  
  .tasks-container .tasks .task i{
    margin: 0 3px;
    transition: .5s;
    opacity: .8;
    cursor: pointer;
  }
  
  .tasks-container .tasks .task .task-btn-clicked{
    color: rgb(50, 50, 193);
  }
  
  .tasks-container .tasks .task .check-btn-clicked{
    color: rgb(48, 155, 48);  
  }
  
  .tasks-container .tasks .task .fa-trash:hover{
    color: rgb(185, 51, 51);
  }
  
  .tasks-container .tasks .task .fa-circle-check:hover{
    opacity: 1;
  }
  
  .tasks-container .tasks .task .fa-pen-to-square:hover{
    opacity: 1;
  }

@media(max-width:730px) {
    .pomodoro-container{
        width: 80%;
        margin: 50px 0;
    }

    .logo{
        width: 80%;
    }

    .pomodoro-container .pomodoro-phases h5{
      padding: 2px;
    }
}

.pomodoro-settings-card {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18);
  padding: 18px 18px 12px 18px;
  max-width: 420px;
  margin: 5% auto 0 auto;
}

.pomodoro-settings-card h3 {
  color: #fff;
  font-size: 1.1em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.pomodoro-settings-card .settings-row-horizontal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 7px;
  padding: 6px 10px;
  transition: background 0.2s;
}

.pomodoro-settings-card .settings-row-horizontal:hover {
  background: rgba(255,255,255,0.13);
}

.pomodoro-settings-card .settings-row-horizontal i {
  color: #fff;
  font-size: 1em;
  margin-right: 6px;
}

.pomodoro-settings-card .settings-row-horizontal label {
  color: #fff;
  font-size: 0.98em;
  font-weight: 500;
  margin-right: 8px;
  min-width: 80px;
}

.pomodoro-settings-card .settings-row-horizontal input[type="number"] {
  width: 48px;
  padding: 3px 6px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  background: rgba(255,255,255,0.13);
  color: #fff;
  text-align: center;
  font-size: 1em;
  transition: border 0.2s;
}

.pomodoro-settings-card .settings-row-horizontal input[type="number"]:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255,255,255,0.18);
}

.pomodoro-settings-card .settings-row-horizontal span {
  color: #eee;
  font-size: 0.95em;
  margin-left: 6px;
}

/* Chrome, Edge, Safari */
.pomodoro-settings-card .settings-row-horizontal input[type="number"]::-webkit-inner-spin-button,
.pomodoro-settings-card .settings-row-horizontal input[type="number"]::-webkit-outer-spin-button {
  /* -webkit-appearance: none; */
  background: transparent;
  margin: 0;
}

/* Firefox */
.pomodoro-settings-card .settings-row-horizontal input[type="number"]::-moz-inner-spin-button,
.pomodoro-settings-card .settings-row-horizontal input[type="number"]::-moz-outer-spin-button {
  /* -moz-appearance: none; */
  background: transparent;
  margin: 0;
}
