@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
:root {
  --bg-dark: oklch(0.1 0.025 264);
  --bg: oklch(0.15 0.025 264);
  --bg-light: oklch(0.2 0.025 264);
  --text: oklch(0.96 0.05 264);
  --text-muted: oklch(0.76 0.05 264);
  --highlight: oklch(0.5 0.05 264);
  --border: oklch(0.4 0.05 264);
  --border-muted: oklch(0.3 0.05 264);
  --primary: oklch(0.76 0.1 264);
  --secondary: oklch(0.7603 0.1006 55.07);
  --bolt: oklch(0.7 0.05 30);
  --exclamation: oklch(0.7 0.05 100);
  --check: oklch(0.7 0.05 160);
  --info: oklch(0.7 0.05 260);
  --text-fea: oklch(0.7623 0.0491 231.84);
}
/* body {
  background-color: var(--bg-dark);
}
* {
  font-family: "Inter", sans-serif;
  padding: 0;
  margin: 0;
  color: var(--text);
} */

/* Start Navbar Style */
header li,
header a {
  font-weight: 600;
  font-size: 1.25rem;
  text-decoration: none;
}
header button {
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
}
header {
  top: 0;
  display: flex;
  position: sticky;
  z-index: 100;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 4rem;
  background-color: var(--bg-light);
}
.home {
  cursor: pointer;
  font-size: 1.5rem;
  background-color: var(--bg-light);
}
.nav-links {
  list-style: none;
  background-color: var(--bg-light);
}
.nav-links li {
  display: inline-block;
  padding: 0rem 1.25rem;
  background-color: var(--bg-light);
}
.nav-links li a {
  transition: all 0.3s ease 0s;
  background-color: var(--bg-light);
}
.nav-links li a:hover {
  color: var(--text-muted);
}
header button {
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  background-color: var(--bg-light);
  border: 2px solid var(--info);
  color: var(--info);
}
/* End Bavbar Style */

/* Start Pomodoro definirion */
.pomodoro-definition {
  width: 98.8dvw;
  height: 70dvh;
  background-color: var(--bg);
  justify-content: center;
  padding-top: 2.5rem;
  display: block;
  flex-direction: row;
}
.pomodoro-definition > * {
  text-align: center;
}
h2 {
  font-size: 2rem;
}
.judul {
  font-size: 1.5rem;
  font-weight: 500;
}
.pomod-content {
  display: grid;
  grid-template-rows: 12.5rem;
  grid-template-columns: 18rem 18rem 18rem;
  gap: 3rem;
}
.pomod-content > * {
  background-color: var(--border-muted);
  border-radius: 1rem;
}
.pomod-container {
  margin-top: 5rem;
  display: flex;
  justify-self: center;
}
.inigrid {
  align-items: center;
  display: flex;
}
.text-grid-container {
  display: flex;
  height: auto;
  flex-direction: column;
}
.text-grid-container p {
  /* text-indent: 1.5rem; */
  margin: 0.5rem 1.5rem 0.5rem 1.25rem;
  text-align: left;
  line-height: 1.3rem;
  /* color: var(--info); */
}
/* Endet Pomodoro definirion */

/* Starts notificatin */
.notif-container {
  display: flex;
  justify-content: center;
  justify-items: center;
}
.notif-upper {
  display: flex;
  height: 30dvh;
  width: 47vw;
  position: fixed;
  z-index: 10;
  right: 0;
  overflow: hidden;
}
.notif-notif {
  display: flex;
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  overflow: hidden;
  border-radius: 0.75rem;
  transform: translateX(calc(100% + 2rem));
  transition: all 0.75s cubic-bezier(0.68, -0.55, 0.265, 1.35);
}
.notif-notif.active {
  transform: translateX(0%);
}
.notification {
  box-shadow: 0 0.25rem 0.6rem rgba(255, 255, 255, 0.7);
  border-radius: 0.75rem;
  background: #f2f2f2;
  padding: 1.25rem 2.25rem 1.25rem 1.5rem;
  border-left: 6px solid;
  border-color: var(--success);
}
/* .notification.active {
  transform: translateX(0%);
} */
.notification .close {
  color: black;
  position: absolute;
  top: 0.6rem;
  right: 1rem;
  padding: 0.25rem;
  cursor: pointer;
  opacity: 0.5;
  transition: 0.2s ease;
}
.notification .close:hover {
  opacity: 1;
}
.notification .notif-content {
  display: flex;
  align-items: center;
}
.notification .progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0.25rem;
  width: 100%;
  background: #ddd;
  /* border-bottom-right-radius: 0.75rem; */
}
.notification .progress::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background-color: var(--success);
  /* overflow: hidden; */
  /* border-bottom-right-radius: 0.75rem; */
}
.progress.active::before {
  animation: progress 5s linear forwards;
}
@keyframes progress {
  100% {
    right: 100%;
  }
}
.notif-content .check {
  height: 2.25rem;
  width: 2.25rem;
  background-color: var(--success);
  display: flex;
  color: #f2f2f2;
  border-radius: 50%;
  font-size: 1.25rem;
  align-items: center;
  justify-content: center;
}
#message-2 {
  max-width: 17.5rem;
}
.text {
  color: black;
}
.notification .notif-content .notif-message {
  display: flex;
  flex-direction: column;
  margin-left: 1.25rem;
  margin-right: 3.5rem;
}
/* Endss notificatin */

/* Starts Pomodoro timer */
.pomodoro-timer {
  margin-top: 4rem;
  width: 100%;
  height: 100dvh;
  background-color: var(--bg);
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.pomodoro-timer .line {
  height: 80%;
  width: 0.2dvw;
  background-color: var(--text-muted);
}
.pomodoro-timer .set-timer,
.pomodoro-timer .timer-countdown {
  height: 90%;
  width: 45dvw;
  /* border: 0.1rem solid antiquewhite; */
}
.pomodoro-timer .timer-countdown {
  height: 90%;
  width: 45dvw;
}

.set-timer .step-1,
.step-2 {
  width: 90%;
  height: 10rem;
  margin: 2rem;
}
.step-2 {
  margin-top: 3.5rem;
}
.step-1-teks {
  width: 20rem;
}
.step-2-teks {
  width: 25rem;
}
.step-1-teks p,
.step-2-teks p {
  padding-left: 1.2rem;
  padding-top: 0.25rem;
  color: var(--text-muted);
}

.time-setter-container {
  margin-top: 1.25rem;
  width: 100%;
  height: 8rem;
  /* background-color: aqua; */
  display: flex;
  align-items: center;
  flex-direction: column;
}
.time-setter {
  height: 4.25rem;
  width: 25%;
  background-color: var(--border-muted);
  border-radius: 0.75rem;
  display: flex;
}
/* .time-setter > * {
  height: 100%;
  width: 50%;
} */
.time-setter > * {
  height: 100%;
  width: 100%;
}
.time-picker-container {
  display: flex;
  width: 25%;
  height: 1.2rem;
  margin-top: 0.2rem;
  justify-content: center;
}
.time-picker-container > * {
  width: 25%;
  height: 100%;
  margin: 0 1%;
  border: none;
  border-radius: 0.25rem;
  background-color: var(--border-muted);
  cursor: pointer;
  transition: 0.2s ease;
  font-size: 0.8rem;
  font-weight: 700;
}
.time-picker-container > *:hover {
  background-color: var(--border);
}
.time-number {
  display: flex;
  align-items: center;
}
.time-number h1 {
  text-align: center;
  font-size: 3rem;
  width: 100%;
}
.learn-break-container {
  width: 50%;
  height: 6.2rem;
  display: flex;
  margin-top: 0.75rem;
  justify-self: center;
}
.lerbre-left,
.lerbre-right {
  height: 100%;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.lerbre-left .lerbre,
.lerbre-right .lerbre {
  height: 60%;
  width: 67%;
  background-color: var(--border-muted);
  border-radius: 0.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
#learn-time,
#break-time {
  height: 80%;
  width: 80%;
  border-radius: 0.5rem;
  background-color: var(--border);
  border: none;
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
}
.button-container {
  height: 3.25rem;
  width: 50%;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.button-container button {
  width: 40%;
  height: 85%;
  background-color: var(--border-muted);
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
}
.button-container button:nth-child(1) {
  background-color: var(--primary);
  transition: ease 0.2s;
}
.button-container button:nth-child(1):hover {
  background-color: var(--border);
}
.button-container button:nth-child(2) {
  background-color: transparent;
  border: 0.2rem solid var(--secondary);
  color: var(--secondary);
  transition: ease 0.3s;
}
.button-container button:nth-child(2):hover {
  color: var(--text);
  background-color: var(--secondary);
}

.countdown-content {
  margin: 2rem;
}
.cd-graph {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* align-items: center; */
}
.cd-graph .time-left {
  color: var(--text-muted);
}
.cd-container {
  display: flex;
  margin: 0.6rem 0;
}
.dot {
  margin: 0 0.75rem;
}
.cd-minutes,
.cd-seconds {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cd {
  background-color: var(--border-muted);
  /* padding: 0.3rem 1rem; */
  display: flex;
  width: 6rem;
  height: 3.6rem;
  border-radius: 0.5rem;
  justify-content: center;
  align-items: center;
}
.cd h1 {
  font-size: 2.45rem;
}
.dot {
  font-size: 3rem;
  transform: translateY(-0.5rem);
}
/* Ends Pomodoro timer */
