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

/* Full screen, mobile first */
html, body {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #0a2e57;
  background: radial-gradient(circle, #4c6a92 0%, #000 70%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  user-select: none;
  padding: 1rem; /* Padding for the entire page */
}

/* Container central */
.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 480px;
  padding: 1rem; /* Padding inside the container */
  margin: 0 auto; /* Center the container */
}

/* Logo */
.logo-container {
  position: relative;
  margin-bottom: 1rem; /* Space below the logo */
  padding: 0.5rem; /* Padding around the logo */
}

.logo {
  width: 150px;
  height: auto;
  filter: drop-shadow(0 0 30px #00fff7);
  animation: haloPulse 3s ease-in-out infinite alternate;
}

@keyframes haloPulse {
  0% { filter: drop-shadow(0 0 8px #00fff7); }
  100% { filter: drop-shadow(0 0 50px #00fff7); }
}

/* Progress bar */
.progress-bar-container {
  width: 80%;
  height: 20px;
  background: rgba(11, 34, 63, 0.2);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 0 6px #00fff7aa inset;
  margin: 1rem auto; /* Center and add space around the progress bar */
  padding: 0.5rem; /* Padding inside the progress bar container */
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #00fff7, #00c4ff);
  border-radius: 5px;
  box-shadow: 0 0 10px #00fff7;
  transition: width 0.3s ease-out;
}

.progress-text {
  margin-top: 0.5rem;
  color: #c5c5c5;
  text-shadow: 0 0 6px #00fff7;
  font-weight: 600;
}

/* m4sk */
.m4sk-container {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 1rem auto; /* Center and add space around the mask */
  padding: 0.1rem; /* Padding inside the mask container */
  animation: psychedelicShadow 1s infinite alternate ease-in-out; /* Apply the psychedelic effect to the shadow */
}

@keyframes psychedelicShadow {
  0% {
    box-shadow: 0 0 30px 6px rgba(0, 255, 247, 0.7);
  }
  50% {
    box-shadow: 0 0 30px 6px rgba(255, 0, 247, 0.7);
  }
  100% {
    box-shadow: 0 0 30px 6px rgba(247, 0, 255, 0.7);
  }
}

.m4sk {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: saturate(1.3) contrast(1.2) brightness(1.1);
  mix-blend-mode: screen;
  animation: psychedelic 1s infinite alternate ease-in-out;
}

@keyframes psychedelic {
  0% {
    filter: hue-rotate(0deg) saturate(1.4);
  }
  50% {
    filter: hue-rotate(180deg) saturate(2);
  }
  100% {
    filter: hue-rotate(360deg) saturate(1.4);
  }
}


/* Footer */
footer {
  width: 100%;
  padding: 0.5rem; /* Padding inside the footer */
  margin-top: 1rem; /* Space above the footer */
}

/* Footer Link */
.footer-link {
  color: #0a2e57;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 0 20px #00fff7;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  font-size: 2rem;
  padding: 0.5rem; /* Padding around the footer link */
}

.footer-link:hover,
.footer-link:focus {
  color: #00fff7;
  text-shadow: 0 0 30px #00fff7;
  outline: none;
}

/* Social Icons */
.social-icons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 1rem auto; /* Center and add space around the social icons */
  padding: 0.5rem; /* Padding inside the social icons container */
}

.social-icons-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.5rem; /* Padding inside each row */
}

.social-link {
  color: #00fff7;
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
  padding: 0.3rem; /* Padding around each social link */
}

.social-link:hover {
  color: #00c4ff;
  transform: scale(1.1);
}

/* Section Title and Separator */
.section-title {
  color: #00fff7;
  font-size: 1.2rem;
  margin: 0.5rem auto; /* Center and add space around the section title */
  text-align: center;
  padding: 0.2rem; /* Padding around the section title */
}

.separator {
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, #000, #0f96d4, #000);
  margin: 0.3rem auto; /* Center and add space around the separator */
}
