html {
    scroll-behavior: smooth;
}
@font-face {
    font-family: 'Roboto Mono';
    src: url('/fonts/roboto-mono-v31-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Roboto Mono', monospace;
    background-color: #1f364c;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
}

a:link, a:visited {
  color: whitesmoke;
  text-decoration: none;
}

a:hover {
  color:gray;
  text-decoration: none;
}

a:active {
  text-decoration: none;
}

span:hover {
  transform: scale(1.5);
}

.footer {
  margin-top: 64px;
  padding-bottom: clamp(24px, 7vh, 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: whitesmoke;
}

.footer-addition {
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  color:#5a5858;
}

.card {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text {
    width: 100%;
    max-width: 760px;
    padding: 64px 16px 0;
    box-sizing: border-box;
    overflow-wrap: break-word;
    hyphens: auto;
}

.text h2 {
    color: whitesmoke;
    font-size: 20px;
    margin: 2em 0 .5em;
}

.text ul {
    padding-left: 1.5em;
}

.title h1 {
    display: inline-block;
    color: whitesmoke;
    font-size: clamp(1.25rem, 5.5vw, 2rem);
    margin: 0 0 .5em;
    text-align: start;
    font-family: Consolas, 'SF Mono', Menlo, Monaco, 'Courier New', monospace;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: .15em;
    animation: typing 3.5s steps(16, end), blink-caret .5s step-end infinite;
}

.normal-text {
    color: whitesmoke;
    font-size: 16px;
    line-height: 1.7;
    text-align: start;
    margin: 0 0 1em;
}

.footer-text {
    margin: 0;
}

.text a {
    text-decoration: underline;
    text-decoration-color: rgba(245, 245, 245, .5);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.text a:hover {
    text-decoration-color: gray;
}

@media (max-width: 600px) {
    body {
        min-height: 100dvh;
    }

    .title h1 {
        font-size: clamp(1rem, 5.5vw, 2rem);
    }

    .footer {
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
        text-align: center;
        font-size: 14px;
    }
}
