* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  color: #fff;
  font-size: 62.5%; /* 1rem = 10px */
}

body {
  height: 100vh;
  /* background-color: #3b4156;
   */
  background-image: linear-gradient(to right top, #051937,#ab3ad3);
  font-family: "Urbanist", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.6rem;
}

.container {
  width: 100%;
  max-width: 1400px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.clockHolder {
  width: 100%;
  max-width: 60rem;
  /* background-color: #1b252a; */
  backdrop-filter: blur(50px);
  padding: 2.4rem;
  border-radius: 1.5rem;
  border: 3px solid #f5ee62;
  box-shadow: rgba(222, 238, 42, 0.1) 0px 4px 6px;
  position: relative;
}

.clockHolder::after {
  content: " ";
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  width: 70%;
  height: 1.5rem;
  background-color: #f5ee62;
  transform: translate(-50%, 0);
  border-radius: 3px 3px 8px 8px;
}

.clockHolder::before {
  content: "";
  position: absolute;
  width: 110%;
  height: 1rem;
  background-color: #f5ea4b77;
  bottom: -2.5rem;
  left: -5%;
  border-radius: 100%;
  filter: blur(5px);
}

.timeHolder {
  display: flex;
  gap: 3.2rem;
  align-items: center;
  justify-content: center;
  /* flex-wrap: wrap; */
}

.timeOptions {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  color: aliceblue;
}

.mainDiv {
  margin: 2rem 0;
  width: 100%;
  text-align: center;
}

#clock {
  font-size: clamp(3rem, 10vw, 7rem); /* Responsive scaling */
}

h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin-top: 4.8rem;
}

hr {
  margin-bottom: 3.2rem;
}

p, li, button {
  font-size: 1.7rem;
  letter-spacing: 0.1rem;
  font-family: "Urbanist", sans-serif;
  line-height: 1.6;
}

button {
  background-color: #f5ee62;
  padding: 0.6rem 2.4rem;
  border-radius: 10rem;
  margin-right: 3.6rem;
  cursor: pointer;
  transition: all 0.3s linear;
  border: none;
}

button:hover {
  box-shadow: inset 0 0 0 0.2rem #f5ee62;
  background-color: transparent;
  color: #f5ee62;
}

section {
  width: 100%;
  max-width: 32rem;
  height: auto;
  min-height: 28rem;
  background-color: #21232e;
  text-align: center;
  padding: 2.4rem;
  border-radius: 1rem;
  margin-top: 2rem;
  box-shadow: 0 1px 0px #343650, 0 2px 0px #343650,
              0 3px 0px #343650, 0 4px 0px #343650,
              0 5px 0px #343650, 0 6px 0px #343650,
              0 7px 0px #343650, 0 8px 0px #343650,
              0 9px 0px #343650, 0 10px 0px #343650;
}

p {
  color: #fbee60;
  font-weight: bold;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 10vw, 7rem); /* Responsive */
}

.buttons {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 2.4rem;
  margin-top: 2rem;
}

button {
  background-color: #fff;
  margin: 0;
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.1);
}

.resetValue p {
  font-size: 1.8rem;
  margin-top: 0.6rem;
}

/* 📱 Mobile Adjustments */
@media (max-width: 768px) {
  .timeHolder {
    flex-direction:row;
    
  }

  .clockHolder {
    padding: 2rem;
  }

  .buttons {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  button {
    width: 100%;
  }
}
