body {
  background: linear-gradient(270deg, #ff416c, #ff4b2b, #1fa2ff, #12d8fa);
  background-size: 800% 800%;
  animation: gradientBG 20s ease infinite;

  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "Poppins", sans-serif;
  color: #e9eef5;
  margin: 0;
}
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

#container {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 40px 60px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  text-align: center;
  transition: all 0.3s ease;
}
#container:hover {
  transform: translateY(-4px);
}

#footer-container {
  position: absolute;
  bottom: 10%;
}

/* Footer Styles - Standardized */
.hov {
  width: max(4.5vw, 3rem);
  height: max(4.5vw, 3rem);
  transition: all 0.3s ease;
  position: relative;
}

.hov:hover {
  transform: translateY(-5px) scale(1.1);
  filter: brightness(1.1);
}

.hov:hover .link {
  background: linear-gradient(135deg, #ffd166 0%, #ffc107 100%);
  border-color: rgba(255, 209, 102, 0.8);
  box-shadow: 0 8px 25px rgba(255, 209, 102, 0.4);
  color: #333;
}

.social-links {
  display: flex !important;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  gap: 20px;
}

li {
  width: max(4.5vw, 3rem);
  height: max(4.5vw, 3rem);
  list-style: none;
  margin: 8px;
}

.link {
  width: 100%;
  height: 100%;
  display: flex !important;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  color: #333;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 209, 102, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.textfooter {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 10px 0;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Style for red heart */
.textfooter .heart {
  color: #ff4757 !important;
  font-size: 1.3rem;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Additional container-fluid styling for footer */
footer {
  margin-top: auto;
  padding-left: 0;
  padding-right: 0;
  color: white !important;
  background: transparent !important;
}

.my-class {
  /* Background color will be set by theme functions */
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-top: 2px solid gray !important; /* Separation border */
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2) !important;
  min-width: 100%;
  padding: 1rem 2rem;
  margin: 0 auto;
  /* max-width: 1400px; */
}

.digit {
  font-size: 90px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 5px;
}

.txt {
  font-size: 22px;
  font-weight: 400;
  color: #b0c4de;
}
.social-txt {
  font-size: 20px;
  color: white;
}

#btn-container {
  text-align: center;
  margin-top: 40px;
}

.btn {
  padding: 12px 28px;
  font-size: 16px;
  margin: 10px;
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
}

#start {
  background: linear-gradient(45deg, #00b09b, #96c93d);
}
#stop {
  background: linear-gradient(45deg, #ff416c, #ff4b2b);
}
#reset {
  background: linear-gradient(45deg, #1d2671, #c33764);
}
#lap {
  background: linear-gradient(45deg, #8e2de2, #4a00e0);
}
#clearLap {
  background: linear-gradient(45deg, #ff6a00, #ee0979);
}

@media screen and (max-width: 800px) {
  #time span {
    font-size: 4rem;
  }
  #time {
    display: flex;
    flex-direction: column;
  }
  #container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

#lap {
  background-color: rgb(166, 17, 211);
}

#clearLap {
  background-color: #ee42a6;
}

#laps {
  margin-top: 100px;
  text-align: center;
  font-size: 25px;
}

.tick-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fefefe;
  font-size: 16px;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid white;
  border-radius: 50px;
  padding: 10px 20px;
  margin: 10px;
  cursor: pointer;
  font-family: "Roboto", sans-serif;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
}

.tick-label:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.03);
}

.tick-label input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid white;
  border-radius: 5px;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.tick-label input[type="checkbox"]:checked {
  background-color: #4caf50;
  border-color: #4caf50;
  box-shadow: 0 0 10px #4caf50;
}

.tick-label input[type="checkbox"]:checked::after {
  content: "✔";
  position: absolute;
  top: 0;
  left: 4px;
  font-size: 14px;
  color: white;
}
