:root {
    --text: #FFFFFF;
    --bg: #003153;
    --bg-mid: #004170;
    --yellow: #ffd620;
    --green: #B6E7DF;
    --blue: #8DECF7;
    --page-width: 70ch
}

* {
    font-size: 1em
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "JetBrains Mono", liberation mono, monospace;
    margin: 0 auto;
    padding: 1rem;
    line-height: 1.6;
    max-width: 70ch
}

.terminal-prompt {
    font-size: 1.8rem;
}

h1,
h2 {
    color: var(--yellow);
    font-size: 1.05em
}

h3 {
    color: var(--green);
    font-size: 1.1em
}

a {
    color: var(--blue);
    text-decoration: none
}

ul {
    padding: 0 1rem
}

.ul-info li {
    height: 3.0rem;
}

.contact {
    font-size: 1.0rem;
}

.contact-info span {
    display: flex;
    height: 15px;
}

header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center
}

header a {
    padding: 0 .5rem
}

footer,
header {
    background-color: var(--bg-mid);
    border-radius: 8px;
    padding: .5rem
}

.bigContainer {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly
}

.posts {
    flex: 1
}

.info {
    min-width: 300px;
    overflow-wrap: break-word;
    flex: 2
}

.info,
.posts {
    padding: 1rem
}

.posts div {
    margin: 1rem 0
}

a:hover {
    color: var(--green);
    text-decoration: underline
}

#summary {
    display: inline-block;
    text-decoration: underline;
    text-decoration-style: dotted
}

#detail {
    display: none;
    max-width: 25rem;
    padding: 1rem;
    border-radius: 17px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bg-mid)
}

@media only screen and (max-width:650px) {
    #detail {
        top: auto;
        left: auto;
        bottom: 0;
        right: 0;
        transform: none
    }

    .ul-info li {
        height: 3.5rem;
    }
}

#summary:hover+#detail {
    display: grid
}

.grid-container {
    width: 100%;
    position: relative;
    bottom: 0;
    left: 0;
    overflow-x: hidden
}

.logo terminal-prompt {}

.job-title {
    font-size: 1.5rem;
}

.grid-container:after {
    -webkit-mask-image: -webkit-gradient(linear, left 90%, left top, from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0)));
    mask-image: gradient(linear, left 90%, left top, from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0)));
    transform: perspective(200px) rotateX(40deg) scale(2, 1) translateZ(0);
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    padding: 1px;
    -webkit-background-clip: content-box;
    -webkit-backface-visibility: hidden;
    outline: 1px solid transparent;
    transform-origin: bottom center;
    will-change: transform
}

.grid-container:after {
    opacity: .3;
    pointer-events: none;
    background-position: center bottom;
    background-size: 40px 40px;
    background-image: linear-gradient(to right, #b6e7df 2px, transparent 2px), linear-gradient(to bottom, #8decf7 1px, transparent 2px)
}

@media (max-width:450px) {
    .terminal-timeline::before {
        left: 15px
    }

    .terminal-timeline .terminal-card::before {
        left: 7px
    }

    .terminal-timeline {
        padding-left: 32px
    }
}