:root {
  --primary: #e6e7ee;
  --secondary: #2d4cc8;
  --success: #18634b;
  --info: #0056b3;
  --warning: #f0b400;
  --danger: #a91e2c;
  --light: #d1d9e6;
  --dark: #31344b;
  --default: #27ae60;
  --white: #ecf0f3;
  --gray: #44476a;
  --neutral: #ecf0f3;
  --soft: #e6e7ee;
  --black: #444;
  --purple: #6f42c1;
  --light-color: #777;
  --colordefault: #777;
  --bg-color: #e6e7ee;
  --border: 0.5px solid #d1d9e6;
  --border-danger: 0.03rem solid #a91e2c;
  --border-warning: 0.03rem solid #f0b400;
  --border-info: 0.03rem solid #0056b3;
  --box-shadow: 3px 3px 6px #b8b9be, -3px -3px 6px #fff;
  --box-shadow-click: 3px 3px 6px #c5c6ca, -3px -3px 6px #fff;
  --box-shadow-inset: 3px 3px 6px #b8b9be inset, -3px -3px 6px #fff inset;
  --box-shadow-inset-click: 3px 3px 6px #c5c6ca inset, -3px -3px 6px #fff inset;

  --tr: #d5dae4;
}

body.active {
  --primary: #e6e7ee;
  --secondary: #2d4cc8;
  --success: #18634b;
  --info: #0056b3;
  --warning: #f0b400;
  --danger: #a91e2c;
  --light: #d1d9e6;
  --dark: #31344b;
  --default: aqua;
  --white: #ecf0f3;
  --gray: #44476a;
  --neutral: #ecf0f3;
  --soft: #e6e7ee;
  --black: #fff;
  --purple: #6f42c1;
  --black: #444;
  --light-color: #ddd;
  --colordefault: #777;
  --bg-color: #222;
  --border: 0.5px solid rgba(119, 119, 119, 0.13);
  --border-danger: 0.5px solid #a91e2c;
  --border-warning: 0.5px solid #f0b400;
  --border-info: 0.5px solid #0056b3;
  --box-shadow: 3px 3px 6px #111, -3px -3px 6px #333;
  --box-shadow-inset: 3px 3px 6px #111 inset, -3px -3px 6px #333 inset;

  --box-shadow-click: 3px 3px 6px rgba(17, 17, 17, 0.432), -3px -3px 6px #333;
  --box-shadow-inset-click: 3px 3px 6px rgba(17, 17, 17, 0.432) inset, -3px -3px 6px #333 inset;
  --tr: rgba(44, 46, 46, 0.63);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  /*  align-items: center; */
  background: var(--bg-color);
  /* overflow: hidden; */
}
.container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  /* min-height: 500px; */
  padding: 60px;
  border-radius: 10px;
  color: var(--colordefault);
  background: var(--bg-color);
  height: 210px;
  margin-top: 21px;
}
p,
i {
  font-size: 10px;
  font-weight: 500;
  color: var(--colordefault);
  text-transform: uppercase;
}
.content h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 25px;
}

input {
  padding: 5px 0;
  margin-top: 7px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease;
  height: 42px;
  width: 100%;
}

.searchInput {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
  justify-content: flex-end;
  margin-top: 7px;
  margin-bottom: 13px;
  padding: 0px 4px;
}

.searchInput input {
  /* search ketika menulis */
  border-radius: 50px;
  height: 34px;
  width: 100%;
  padding: 0px 25px 0px 10px;
  transition: all 0.6s ease;
  color: black;
  font-weight: bold;
}

.searchInput button {
  padding: 7px;
  padding-left: 21px;
  padding-right: 21px;
  margin-top: 7px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease;
  border-radius: 50px;
  color: var(--colordefault);
  font-weight: bold;
}

.searchInput button:hover {
  background: white;
  color: black;
}

.wrapper {
  border-radius: 10px;
  margin-top: 7px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease;
  padding: 13px;
}
.wrapper:hover {
  box-shadow: none;
}
.main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.main div {
  width: 20%;
  text-align: center;
}
.main .number {
  position: relative;
  font-size: 60px;
  font-weight: 400;
  line-height: 1;
  color: var(--colordefault);
}
.main .colon {
  font-size: 20px;
}
.btns {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.btn {
  padding: 10px 20px;
  border-radius: 5px;
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn:active {
  box-shadow: none;
}
.hidden {
  display: none;
}
.laps {
  position: relative;
  max-height: 100px;
  overflow-y: auto;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  margin: 0 auto;
  margin-top: 20px;
}
.laps::-webkit-scrollbar {
  width: 5px;
}
.laps::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}
.laps::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}
.lap {
  width: 50%;
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.lap:last-child {
  border-bottom: none;
}
.lap.active p {
  color: #fff;
}

.bg-elem {
  position: absolute;
  top: 60%;
  left: 10%;
  width: 80px;
  height: 80px;
  transform: rotate(45deg);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  animation: bg-elem 10s linear infinite;
  transition: all 0.3s ease;
}
.bg-elem:hover {
  animation-play-state: paused;
  box-shadow: none;
}
.bg-elem:nth-child(2) {
  top: 20%;
  left: 80%;
  width: 100px;
  height: 100px;
  animation-duration: 30s;
}
.bg-elem:nth-child(3) {
  top: 15%;
  left: 10%;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  animation-duration: 20s;
}

/*   */

.bg-elem:nth-child(4) {
  top: 21%;
  left: 40%;
  width: 65px;
  height: 65px;
  animation-duration: 20s;
}

.bg-elem:nth-child(5) {
  top: 70%;
  left: 68%;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  animation-duration: 20s;
}

@keyframes bg-elem {
  0% {
    transform: rotate(45deg) translate(0, 0);
  }
  50% {
    transform: rotate(45deg) translate(20px, 20px);
  }
  100% {
    transform: rotate(45deg) translate(0, 0);
  }
}

/* responsive */
@media (max-width: 600px) {
  .container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0;
    padding: 0 20px;
  }
  .content h3 {
    font-size: 16px;
  }
  .main-wrapper {
    padding: 20px 0;
  }
  .main div {
    width: 15%;
  }
  .main .number {
    font-size: 50px;
  }
  .main .colon {
    font-size: 16px;
  }

  .bg-elem {
    display: none;
  }
}

@media (max-width: 400px) {
  .container {
    padding: 0 10px;
  }
  .content h3 {
    font-size: 14px;
  }
  .main-wrapper {
    padding: 10px 0;
  }
  .main-wrapper .head {
    padding: 0 20px;
  }
  .main .number {
    font-size: 40px;
  }
  .main .colon {
    font-size: 12px;
  }
}

/* Credits */
.credits a {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 14px;
  color: #333;
}
.credits span {
  color: #f55f08;
}
