@import url('https://fonts.googleapis.com/css2?family=Tomorrow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html, body {
    margin: 0;
}

html {
    scrollbar-gutter: stable both-edges;
    background-color: #0f172a;
}

/* Fondo global fijo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;

  background:
    radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.18), transparent 28%),
    radial-gradient(circle at 80% 30%, rgba(168, 85, 247, 0.16), transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(34, 197, 94, 0.10), transparent 32%),
    #0f172a;

  background-size: 140% 140%;
  animation: fondoSuave 16s ease-in-out infinite alternate;

  pointer-events: none;
}

/* Grid fijo encima del fondo */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 2px, transparent 1px);

  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%);

  pointer-events: none;
}

@keyframes fondoSuave {
  0% {
    background-position:
      0% 0%,
      100% 20%,
      50% 100%;
  }

  100% {
    background-position:
      30% 40%,
      70% 60%,
      60% 70%;
  }
}

body {
    margin: 0;
    padding-top: 10pt;
    padding-bottom: 40pt;
    color: white;

    font-family: "Tomorrow", sans-serif;
    font-size: 14pt;

    &::selection {
        background-color: #00b395;
        color: #0F172A;
    }

    display: flex;
    flex-direction: column;
    align-items: center;

}

body > section {
    width: 95%;
}

section {
    border: 2pt solid white;
    background-color: #050b1b6b;
    padding: 20pt;
    margin-top: 10pt;
    margin-bottom: 10pt;
    max-width: 700pt;
    box-sizing: border-box;

    & h1, h2 {
        text-align: center;
        margin-bottom: 30pt;
        margin-top: 10pt;
    }

    & .sections {
        margin-top: 30pt;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        flex-wrap: wrap;
        gap: 20pt;

        & a {
            color: #00b395;
            text-decoration: none;

            &:hover {
                text-decoration: underline;
            }
        }
    }
}


p.centered {
    text-align: center;
}

footer {
    position: fixed;
    bottom: 0;
    height: 40pt;
    background-color: #050b1b6b;
    width: 100%;
}

h1 > a {
    color: white;
    text-decoration: none;
}

section img {
    max-width: 100%;
}