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;
    min-height: 100dvh;
    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 {
  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;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;;
}

.card {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title h1 {
    color: whitesmoke;
    margin: 0 0 1.25em;
    text-align: start;
    font-family: Consolas, 'SF Mono', Menlo, Monaco, 'Courier New', monospace;
    overflow: hidden;
    border-right: .15em solid orange;
    white-space: nowrap;
    letter-spacing: .15em;
    width: calc(24 * (1ch + .15em));
    animation: typing 3.5s steps(24, end), blink-caret .5s step-end infinite;
}

@keyframes typing {
    from {
        width: 0
    }
}

@keyframes blink-caret {
    from,
    to {
        border-color: transparent
    }
    50% {
        border-color: orange
    }
}

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

.footer-text {
    margin: 0;
}
@media (max-width: 600px) {
    .card {
        width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .title h1 {
        font-size: 4.8vw;
    }

    .normal-text {
        font-size: 16px;
    }

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