@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');

:root {
  --background-color: #000000; /* Darker gray */
  --text-color: #e0e0e0;
  --primary-color: #cccccc; /* Lighter gray for accents */
  --secondary-color: #f5f5f5; /* Off-white for heading */
  --hover-color: #ffffff;
  --hover-bg-color: rgba(255, 255, 255, 0.15); /* Slightly more visible hover */
  --noise-opacity: 0.04; /* Opacity for the noise overlay */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: 'Poppins', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  overflow: hidden; /* Hide scrollbars caused by background animation */
  line-height: 1.6;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
}

.content {
  z-index: 1;
  padding: 2rem;
  max-width: 800px;
  width: 90%;
}

h1 {
  font-size: 2.5rem; /* Responsive font size */
  margin-bottom: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--secondary-color);
}

h2 {
  font-size: 1.2rem; /* Responsive font size */
  margin-bottom: 2rem;
  font-weight: 300;
  color: var(--text-color);
}

h2 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  font-weight: 400;
  color: var(--hover-color);
}

h2 a:hover {
  text-decoration: underline;
}

.social-links {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem; /* Spacing between links */
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.social-links a {
  color: var(--text-color);
  text-decoration: none;
  display: inline-flex; /* Align icon and text */
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out,
    transform 0.3s ease-in-out;
  background: rgba(0, 0, 0, 0.6);
}

.social-links a i {
  margin-right: 0.7rem;
  font-size: 1.4rem;
  width: 25px;
  text-align: center;
}

.social-links a:hover {
  background-color: #000000;
  color: var(--hover-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1rem;
  }
  .social-links {
    gap: 1rem;
  }
  .social-links a {
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 0.9rem;
  }
  .content {
    padding: 1rem;
  }
  .social-links {
    flex-direction: column; /* Stack links vertically */
    align-items: center;
    gap: 0.8rem;
  }
  .social-links a {
    width: 150px; /* Give buttons a consistent width when stacked */
    justify-content: center;
  }
}
