@font-face {
    font-family: "Inconsolata";
    src: url("../fonts/Inconsolata-VariableFont_wdth,wght.ttf") format("opentype")
}

body {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgb(28, 28, 28);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1em;
}

#main-view {
    padding: 5em;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.divider {
    height: 100%;
    width: 1px;
    background-color: gray;
    margin: 0 2em;
}

.red {
    color: red;
}

h1 {
    font-size: 3em;
}

h1, p, a, span {
    color: rgb(177, 177, 177);
    font-family: 'Inconsolata', monospace;
    font-weight: 300;
}

b {
    font-weight: 500;
}

.description {
    font-size: .75em;
}

.frame {
    border: 1px solid gray;
    margin: 0 0 1em 0;
    padding: 1em;
}

#title-container {
    display: flex;
    height: 4.5em;
}

#links-container {
    overflow-y: auto;
    height: 100%;
    align-content: center;
}

#links-container:first-child {
    margin-top: 0;
}

#logo {
    margin: 0 1.5em 0 0;
    max-height: 100%;
    height: auto;
    width: auto
}

.typewriter {
    overflow: hidden;
    white-space: nowrap;
    border-right: .1em solid rgb(177, 177, 177);
    margin: 0 auto 0 0;
    letter-spacing: 0.1em;
    animation:
            typing 1.5s steps(13, end),
            blink-caret 1s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: rgb(177, 177, 177); }
}


@media (max-width: 940px) {
    #main-view {
        padding: 1em;
        flex-direction: column;
    }
    .divider {
        height: 1px;
        width: 100%;
        margin: 1em 0;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2em;
    }
    #title-container {
        height: 3em;
    }
    #links-container {
        width: 100%;
    }
}

@media (max-height: 700px) {
    #main-view {
        padding: 1em;
    }
    #links-container {
        align-content: start;
    }
}
