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

:root {
  --color-bg: #080808;
  --color-panel: #020202ec;
  --color-accent: #ff0050;
  --color-text-light: #f0f0f0;
  --transition: 0.5s ease;
  --radius: 8px;
  --font-main: 'Ubuntu', sans-serif;
}

/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-main);
  background-color: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* HEADER */
header {
  text-align: center;
  margin-top: 0;

}

.profile {
  margin-top: -5em;
  transition: transform var(--transition);
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile svg {
  width: 100%;
  max-width: 200px;
  height: auto;
}

/* CONTENEDOR PRINCIPAL */
.container {
  width: 100%;
  max-width: 600px;
  margin-top: 2em;
  padding: 0 1rem;
  box-sizing: border-box;
}

.container,
header {
  position: relative;
  z-index: 1;

}

/* LINKS */
.links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px;
  text-decoration: none;
  font-weight: 700;
  color: var(--color-text-light);
  background-color: var(--color-panel);
  border-radius: var(--radius);
  transition: background-color var(--transition), box-shadow var(--transition), color var(--transition);
  width: 100%;
  box-sizing: border-box;
}

.links a span {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

.links .iconify {
  font-size: 24px;
  height: 1em;
  vertical-align: middle;
  color: var(--color-accent);
  transition: color var(--transition);
}

.links a:hover {
  background: var(--color-accent);
  color: #000;
  animation: pulseGlow 1s ease-in-out infinite alternate;
}

.links a:hover .iconify {
  color: #000;
}

/* PROGRAMAS */
.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.program-grid .program {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: white;
  transition: background-color var(--transition), box-shadow var(--transition), color var(--transition);
  width: 100%;
  box-sizing: border-box;
}

.program-grid .iconify {
  font-size: 14px;
  height: 1em;
  vertical-align: middle;
  color: #fff;
  transition: color var(--transition);
}

.program .text {
  display: flex;
  align-items: center;
  gap: 6px;
}

.program .short {
  display: none;
}

.program .full {
  display: inline;
}

@media screen and (max-width: 768px) {
  .program .short {
    display: inline;
  }

  .program .full {
    display: none;
  }

  .profile svg {
    max-width: 160px;
  }

  .program-grid {
    gap: 10px;
  }

  .program-grid .program {
    font-size: 13px;
    padding: 12px;
  }

  .links a {
    font-size: 15px;
    padding: 13px;
  }

  .links .iconify {
    font-size: 20px;
  }

  .profile {
    margin-top: 0em;
  }
}

/* COLORES INDIVIDUALES + ANIMACIONES */
.program.blue {
  background-color: #0e5ec1;
}

.program.purple {
  background-color: #6546d5;
}

.program.dark {
  background-color: #150c24;
}

.program.orange {
  background-color: #ff823f;
}

.program.red {
  background-color: #FF2F2F;
}

.program.green {
  background-color: #22b573;
}

.program.blue:hover {
  animation: pulseGlowBlue 1s ease-in-out infinite alternate;
}

.program.purple:hover {
  animation: pulseGlowPurple 1s ease-in-out infinite alternate;
}

.program.dark:hover {
  animation: pulseGlowDark 1s ease-in-out infinite alternate;
}

.program.orange:hover {
  animation: pulseGlowOrange 1s ease-in-out infinite alternate;
}

/* SVG Background */
.svg-background {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 1000px;
  transform: translate(-50%, -50%);
  z-index: 0;
  filter: blur(20px);
  pointer-events: none;
  opacity: 0.7;
  /* le da presencia visual pero no molesta */
}

.svg-background svg {
  width: 100%;
  height: auto;
  display: block;
}


/* Animaciones Glow */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 8px rgba(255, 0, 80, 0.3);
  }

  100% {
    box-shadow: 0 0 20px rgba(255, 0, 80, 0.8);
  }
}

@keyframes pulseGlowBlue {
  0% {
    box-shadow: 0 0 6px rgba(14, 94, 193, 0.4);
  }

  100% {
    box-shadow: 0 0 16px rgba(14, 94, 193, 0.9);
  }
}

@keyframes pulseGlowPurple {
  0% {
    box-shadow: 0 0 6px rgba(101, 70, 213, 0.4);
  }

  100% {
    box-shadow: 0 0 16px rgba(101, 70, 213, 0.9);
  }
}

@keyframes pulseGlowDark {
  0% {
    box-shadow: 0 0 6px rgba(20, 11, 34, 0.4);
  }

  100% {
    box-shadow: 0 0 12px rgba(38, 21, 65, 0.9);
  }
}

@keyframes pulseGlowOrange {
  0% {
    box-shadow: 0 0 6px rgba(255, 130, 63, 0.4);
  }

  100% {
    box-shadow: 0 0 16px rgba(255, 130, 63, 0.9);
  }
}