* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: "Arial", sans-serif;
}

body {
  background: linear-gradient(
    to right,
    #6a11cb,
    #2575fc
  ); /* Gradient background */
  color: #fff; /* White text color */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Ensure space between header and footer */
}

.container {
  text-align: center;
  flex: 1; /* Allow the container to take up available space */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
  padding: 20px; /* Added padding for mobile spacing */
}

h1 {
  font-size: 3rem; /* Increased font size */
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow for better readability */
}

p {
  font-size: 1.5rem; /* Increased font size */
  margin-bottom: 2rem;
}

#countdown {
  display: flex;
  justify-content: center;
  gap: 1.5rem; /* Spacing between countdown boxes */
  margin-bottom: 2rem;
}

.time-box {
  background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent background */
  padding: 20px;
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow effect */
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.5rem; /* Increased font size */
  flex: 1; /* Allow the boxes to take equal space */
  min-width: 100px; /* Minimum width for countdown boxes */
}

.time-box span:first-child {
  font-size: 4rem; /* Increased font size for time numbers */
  font-weight: bold;
  color: #fff;
}

/* Footer styling */
footer {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
  padding: 20px 0;
  text-align: center;
}

.social-links {
  margin-top: 10px;
  font-size: 2rem; /* Increased font size for icons */
}

.social-links a {
  margin: 0 15px; /* Increased spacing between icons */
  color: #fff; /* White color for icons */
  transition: color 0.3s;
  text-decoration: none; /* Ensure no underline */
}

.social-links a:hover {
  color: #0073e6; /* General hover color */
}

.social-links a[href*="linkedin"]:hover {
  color: #0077b5; /* LinkedIn color */
}

.social-links a[href*="gitlab"]:hover {
  color: #dc7633; /* Gitlab color */
}

.social-links a[href*="instagram"]:hover {
  color: #e1306c; /* Instagram color */
}

/* Responsive Styles */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem; /* Smaller heading size on mobile */
  }

  p {
    font-size: 1.2rem; /* Smaller paragraph size on mobile */
  }

  #countdown {
    gap: 1rem; /* Reduced gap between countdown boxes on smaller screens */
  }

  .time-box {
    flex: 1; /* Ensure each box takes equal space */
    min-width: 80px; /* Adjusted min width for responsiveness */
  }

  .time-box span:first-child {
    font-size: 2.5rem; /* Decreased font size for timer on mobile */
  }

  .time-box span:last-child {
    font-size: 1rem; /* Smaller font size for time unit labels */
  }

  .social-links {
    font-size: 1.5rem; /* Slightly smaller icons on mobile */
  }

  .social-links a {
    margin: 0 10px; /* Adjusted spacing for icons */
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem; /* Even smaller heading size on very small screens */
  }

  p {
    font-size: 1rem; /* Even smaller paragraph size */
  }

  .time-box span:first-child {
    font-size: 2rem; /* Further decrease for the timer font size */
  }

  .time-box span:last-child {
    font-size: 0.9rem; /* Further decrease for the unit font size */
  }
}

