:root {
  /* --main-bg-color: #f9f9f9;
  --main-text-color: #ccc;
  
  --main-bg-color: #fff;
  --main-text-color: #888888;*/
  --main-text-color: #666;
  --main-bg-color: rgba(255, 255, 255, 0.4)
}

[data-theme="dark"] {
  --main-bg-color: #1e1f26;
  --main-text-color: #ccc;
}



.clock{position:relative;width:155px;height:155px;display:flex;justify-content:center;align-items:center;background-color:var(--main-bg-color);background-image:url("../images/clock.png");background-position:center center;background-size:cover;border-radius:35%;border:0 solid var(--main-bg-color);transition:all ease .2s}

.timer-view[hidden],.clock-view[hidden]{display:none!important}

.clock:before {
  content: "";
  height: 0.75rem;
  width: 0.75rem;
  background-color: var(--main-text-color);
  border: 2px solid var(--main-bg-color);
  position: absolute;
  border-radius: 50%;
  z-index: 1000;
  transition: all ease 0.2s;
}
.hour,
.min,
.sec {
  position: absolute;
  display: flex;
  justify-content: center;
  border-radius: 50%;
}
.hour {
  height: 6em;
  width: 6em;
}
.hour:before {
  content: "";
  position: absolute;
  height: 50%;
  width: 6px;
  background-color: var(--main-text-color);
  border-radius: 6px;
}
.min {
  height: 8em;
  width: 8em;
}
.min:before {
  content: "";
  height: 50%;
  width: 4px;
  background-color: var(--main-text-color);
  border-radius: 4px;
}
.sec {
  height: 9em;
  width: 9em;
}
.sec:before {
  content: "";
  height: 60%;
  width: 2px;
  background-color: #f00;
  border-radius: 2px;
}

/* Style for theme switch btn */
.switch-cont {
  margin: 2em auto;
  /* position: absolute; */
  bottom: 0;
}
.switch-cont .switch-btn {
  font-family: monospace;
  text-transform: uppercase;
  outline: none;
  padding: 0.5rem 1rem;
  background-color: var(--main-bg-color);
  color: var(--main-text-color);
  border: 1px solid var(--main-text-color);
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all ease 0.3s;
}
#clock-view[hidden],#timer-view[hidden]{display:none!important}


