/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

/* Body styling */
body {
  background-color: #f7f9fc; /* Light background for the page */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-size: 16px;
  margin: 0;
}

/* Navigation styling */
nav {
margin-top: 150px;
position: absolute;
top: 20px;
left: 50%;
transform: translateX(-50%);
font-size: 16px; 
}

nav a {
color: #333;
margin: 0 15px;
text-decoration: none;
font-weight: bold;
padding: 10px;
border-radius: 5px;
transition: background-color 0.3s ease;
}

nav a:hover {
background-color: #007bff;
color: white;
}

/* Main container */
#firstraw, #secondraw {
  display: flex;
  justify-content: space-between; /* Space out the elements */
  max-width: 900px;
  padding: 20px;
  margin-bottom: 30px; /* Space between the first and second row */
}

/* Styling for each individual block (e.g., Date, Month, Year, etc.) */
#firstraw div, #secondraw div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1; /* Ensure equal width distribution */
  margin: 5px;
}

/* Hover effect for individual blocks */
#firstraw div:hover, #secondraw div:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Heading styles (h3 for labels) */
h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Time value (h6) styles */
h6 {
  font-size: 24px;
  font-weight: 700;
  color: #2d98f0;
  text-align: center;
  background-color: #f0f7ff;
  border-radius: 8px;
  padding: 12px 16px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Hover effect for time values (h6) */
h6:hover {
  background-color: #e1f3ff;
  transform: scale(1.05);
}

/* Optional: Gradient background for the body */
body {
  background: linear-gradient(to top right, #e3f2fd, #ffffff);
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
  #firstraw, #secondraw {
    flex-direction: column; /* Stack elements vertically on smaller screens */
    align-items: center; /* Center the blocks */
  }

  #firstraw div, #secondraw div {
    max-width: 300px; /* Limit the width of each block */
    margin: 10px 0; /* Add vertical spacing between blocks */
  }
}

#shawampm{
  color: #2d98f0;
}