/* Color variables for easy maintenance */
:root {
  --primary-color: #000;
  --secondary-color: #888;
  --background-color: #fff;
  --accent-color: red;
}

/* Global styles */
body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: var(--background-color);
  color: var(--primary-color);
}

/* Centered container for the time display */
.container {
  text-align: center;
  padding: 2rem;
}

/* Main heading styling */
h1 {
  font-size: 1.8rem;
  margin-bottom: 0.625rem; /* 10px equivalent in rem for consistency */
  font-weight: normal;
}

.container h1 {
  text-transform: lowercase;
}
		
/* Beat time display styling */
#beatTime {
  font-size: 2.5rem;
  margin: 0;
  padding-bottom: 1rem;
}

/* Red line separator */
.redLine {
  width: 100px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 0.625rem auto; /* 10px in rem for consistency */
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}
			
.red-dot {
  color: red;
}

/* Local time display styling */
#localTime {
  font-size: 1.5rem;
  color: var(--secondary-color); /* Use a color variable */
  margin: 0;
  padding-top: 1rem;
}

/* Responsive styles for smaller screens */
@media (max-width: 600px) {
  h1 {
    font-size: 1.5rem;
  }
  
  #beatTime {
    font-size: 2rem;
  }
  
  #localTime {
    font-size: 1.3rem;
  }
  
  .redLine {
    width: 80px;
  }

  .container {
    padding: 1rem; /* Reduce padding on smaller screens */
  }
}
