@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --primary-color: #f6f7fb;
  --white-color: #fff;
  --black-color: #18191a;
  --red-color: #e74c3c;
}

body {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
}

body.dark {
  --primary-color: #242526;
  --white-color: #18191a;
  --black-color: #fff;
  --red-color: #e74c3c;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.container .clock {
  display: flex;
  height: 400px;
  width: 400px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--white-color);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1), 0 25px 45px rgba(0, 0, 0, 0.1);
  position: relative;
}

.clock label {
  position: absolute;
  inset: 20px;
  text-align: center;
  transform: rotate(calc(var(--i) * (360deg / 12)));
}

.clock label span {
  display: inline-block;
  font-size: 30px;
  font-weight: 600;
  color: var(--black-color);
  transform: rotate(calc(var(--i) * (-360deg / 12)));
}

.container .indicator {
  position: absolute;
  height: 10px;
  width: 10px;
  display: flex;
  justify-content: center;
}

.indicator::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  z-index: 100;
  background: var(--black-color);
  border: 4px solid var(--red-color);
}

.indicator .hand {
  position: absolute;
  height: 130px;
  width: 4px;
  bottom: 0;
  border-radius: 25px;
  transform-origin: bottom;
  background: var(--red-color);
}

.hand.minute {
  height: 120px;
  width: 5px;
  background: var(--black-color);
}

.hand.hour {
  height: 100px;
  width: 8px;
  background: var(--black-color);
}

.mode-switch {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 22px;
  font-weight: 400;
  display: inline-block;
  color: var(--white-color);
  background: var(--black-color);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.mode-switch:active {
  transform: scale (0.98);
}
#loginbox {
  width: 320px;
  height: 500px;
  background: linear-gradient(to right, #16A085 0%, #F4D03F  51%, #16A085  100%);
  color: whitesmoke;
  top: 8%;
  left: 40%;
  position: absolute;
box-sizing: border-box;
font-weight: bold;
padding: 70px 30px;
background: transparent;
}
h1 {
   margin: 0px;
  padding: 0px 0px 20px;
  text-align: center;
  font-size: 25px;
  background: fixed;
  left: 50%;
}
#loginbox p {
  margin: 0px;
  padding: 0px;
  font-weight: bold;
  font-size: 15px;
}
#loginbox input {
  width: 80%;
  margin-bottom: 20px;
  border: none;
  border-bottom: 1px solid black;
  background: transparent;
  outline: none;
  height: 15px;
  color: #fff;
  font-size: 12px;
}
#forgot {
  margin: 0px;
  font-size: 12px;
  text-align: right;
}
#text {
  margin: 0px;
  text-align: center;
}
.roh {
  padding-left: 8px;
  padding: 8px;
}
 
button {
  width: 200px;
  height: 30px;
  font-size: 15px;
  box-shadow: 0px 0px 5px cyan , 0px 0px 25px;
  border-radius: 0.5rem;
  background-image: white;
  display: block;
}
 
 button:hover {
  box-shadow: 0px 0px 5px cyan , 0px 0px 25px cyan, 0px 0px 50px ;
 }
 .then {
  padding-right: 45px;
 }