@font-face {
  font-family: 'legalFontRegular'; /* A name you choose for your font */
  src: url("../font/lm/lmroman12-regular-0f38cb4bed6804f92b03f1d39c7fa27f.otf") format('opentype'); /* Path to your font file */

  font-weight: normal; /* Define font weight (e.g., normal, bold, 400, 700) */
  font-style: normal; /* Define font style (e.g., normal, italic) */
  font-display: swap; /* Controls how the font is displayed while loading */
}

@font-face {
  font-family: 'legalFontBold'; /* A name you choose for your font */
  src: url("../font/lm/lmroman12-bold-77074106509881288b3cfa2e86f7abd2.otf") format('opentype'); /* Path to your font file */

  font-weight: bold; /* Define font weight (e.g., normal, bold, 400, 700) */
  font-style: normal; /* Define font style (e.g., normal, italic) */
  font-display: swap; /* Controls how the font is displayed while loading */
}


body {
    font-family: "legalFontRegular", sans-serif;
    font-size: 1.2rem;
}

h1, h2, h3, h4, h5, b, strong {
    font-family: "legalFontBold", sans-serif;
}

.navbar {
        position: fixed;
        top: 0;
        width: 100%;
}

section#content {
    position: relative;
    max-width: 70%;
    margin: 7rem auto;
    padding-bottom: 2rem;
}

h1 {
    all: revert;
    font-size: 3rem;
    text-align: center;
}

header + p {
    text-align: right;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.7rem;
}

p {
    text-align: justify;
}

a {
    color: var(--glow-color);
    cursor: pointer;
    display: inline-block;
    transition: color 0.5s ease;
}

a:hover {
    color: var(--glow-color);
    text-shadow:
    0 0 8px var(--glow-color),
    0 0 16px var(--glow-color),
    0 0 24px var(--glow-color);
    animation: glowpulse 1s infinite alternate ease-in-out;
}

@keyframes glowpulse {
  0% {
    text-shadow: 0 0 5px var(--glow-color), 0 0 10px var(--glow-color);
  }
  100% {
    text-shadow: 0 0 15px var(--glow-color), 0 0 30px var(--glow-color);
  }
}

@media only screen and (max-width: 600px) {
        section#content {
                position: relative;
                max-width: 95% !important;
                margin: 7rem auto;
        }


        h1, h2, h3, h4, h5 {
                all: revert;
        }

        h1 {
                width: 100%;
                text-align: center;
        }

        header + p {
                text-align: left;
        }
}
