@media (max-width: 1024px) {
    header {
        align-items: center;
        display: flex;
        height: 55px;
        justify-content: space-between;
        padding: 0 20px;
        width: 100%;
    }

    .main-header {
        background-color: #000000;
        border-bottom: 1px solid #ffffff;
        position: fixed;
        z-index: 2;
    }

    .language-toggle {
        display: none;
    }

    .home-prompt {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: calc(100% - 120px);
    }

    nav {
        background-color: #000000;
        display: none;
        height: calc(100vh - 55px);
        position: absolute;
        top: 55px;
        width: 100%;
        z-index: 4;
    }

    .menu-open main {
        height: 100vh;
        overflow: hidden;
    }

    .menu-open footer {
        display: none;
    }

    .menu-open nav {
        display: block;
    }

    nav button {
        border-bottom: 1px solid #ffffff;
        display: block;
        height: 100px;
        padding-left: 20px;
        width: 100%;
        text-align: inherit;
    }

    nav .number {
        margin-right: 30px;
    }

    section {
        background-color: #000000;
        border-top: 1px solid #ffffff;
        color: #ffffff;
        display: none;
        padding-top: 55px;
    }

    section.active {
        border-top: none;
        display: block;
    }

    .logo {
        height: 24px;
        width: 24px;
    }

    .logo img {
        height: 100%;
        width: 100%;
    }

    section .number {
        margin-right: 5px;
    }

    section:not(.home) .animation {
    }

    #fifth .animation {
    }

    section:not(.home) .animation svg {
        display: block;
        padding: 40px 0 60px;
        width: 65%;
        height: auto;
        margin: auto;
    }

    #fourth .animation svg {
        width: 45%;
        padding: 0 0 30px;
    }

    #fifth .animation svg {
        width: 100%;
        height: 110vw;
        padding: 0;
        margin-top: -55px;
    }

    .home .container {
        flex-direction: column;
    }

    .home .top {
        display: flex;
        flex: 1;
        min-height: 350px;
        background: #000;
        position: relative;
        overflow: hidden;
    }

    /* Terminal on tablet */
    .terminal-log {
        position: absolute;
        inset: 0;
        padding: 32px 28px;
        overflow: hidden;
    }

    .terminal-vignette {
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 1;
        background: linear-gradient(
            to bottom,
            rgba(0,0,0,0.5) 0%,
            transparent 15%,
            transparent 60%,
            rgba(0,0,0,0.94) 100%
        );
    }

    .hero-title {
        position: absolute;
        bottom: 32px;
        left: 28px;
        z-index: 2;
    }

    .top h1 {
        font-size: 58px;
        font-weight: 700;
        color: #fff;
        letter-spacing: -2.5px;
        line-height: 0.92;
    }

    .hero-video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 0.8s ease;
    }

    #hero-terminal.has-video .hero-video { opacity: 1; }

    .home .details {
        display: none;
    }

    .home .animation {
        align-items: center;
        align-content: center;
        border-bottom: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        overflow: hidden;
        padding: 30px;
    }

    .home .animation svg path {
        transform-origin: center;
        opacity: 0;
    }

    .home .animation.left svg {
        flex: 1;
    }

    .home .animation.right svg {
        flex: 0 50%;
        margin: -1px;
    }

    section .animation {
        border-bottom: 1px solid #ffffff;
    }

    section .animation canvas {
        display: block;
    }

    section .introduction {
        border-bottom: 1px solid #ffffff;
        padding: 100px 28px;
    }

    #fifth .introduction {
        padding: 125px 28px 30px;
    }

    #fifth .introduction p {
        width: 90px;
    }

    section .section-body {
        display: flex;
        flex: 1;
    }

    section .static-image-container {
        border-right: 1px solid #ffffff;
        padding: 160px 20px 0;
    }

    section .static-image-container svg {
        width: 50px;
    }

    section .section-body-copy {
        padding: 50px 40px;
    }

    section .section-body-copy p:first-child {
        position: relative;
        text-indent: 55px;
    }

    section .section-body-copy p:first-child:before {
        background-color: #ffffff;
        border-radius: 8px;
        content: '';
        height: 8px;
        left: 0;
        position: absolute;
        top: 7px;
        width: 8px;
    }

    section .email,
    section .links {
        align-items: center;
        display: flex;
        height: 80px;
    }

    section .email {
        border-bottom: 1px solid #ffffff;
        padding-left: 28px;
    }

    section .links a {
        display: block;
        flex: 1;
        height: 100%;
        line-height: 80px;
        padding-left: 28px;
    }

    section .links a:first-child {
        border-right: 1px solid #ffffff;
    }

    section .point {
        position: relative;
        display: flex;
        border-top: 1px solid #fff;
    }
    section .point-number {
        width: 25%;
        padding: 45px 0;
        text-align: center;
        flex-shrink: 0;
        border-right: 1px solid;
    }
    section .point-content {
        padding-left: 45px;
        flex-grow: 1;
    }
    section .point-content .point-title {
        position: relative;
        padding: 45px 0;
        padding-right: 70px;
    }
    section .point-content ul {
        margin-left: 18px;
        padding-bottom: 45px;
        display: none;
    }
    section .point-content li {
        margin-bottom: 15px;
    }
    section .point-toggle {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        cursor: pointer;
    }
    section .point-toggle .icon {
        position: absolute;
        top: 50%;
        right: 40px;
        padding: 30px;
        margin: -30px;
    }
    section .point-toggle .line1,
    section .point-toggle .line2 {
        background: #fff;
        position: absolute;
        transform: translate(-50%, -50%);
    }
    section .point-toggle .line1 {
        width: 24px;
        height: 1px;
    }
    section .point-toggle .line2 {
        width: 1px;
        height: 24px;
    }

    section .point.is-active {
    }
    section .point.is-active .point-content ul {
        display: block;
    }
    section .point.is-active .point-toggle .line2 {
        display: none;
    }

    #third .introduction {
        border: 0;
    }
    #third .section-body {
        display: block;
    }

    .project-list,
    .experience-list {
        width: 100%;
    }

    .project-entry,
    .experience-entry {
        display: flex;
        border-bottom: 1px solid #fff;
    }

    .project-type {
        display: block;
        opacity: 0.5;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        margin-bottom: 12px;
    }

    .project-stack {
        margin-bottom: 12px;
        opacity: 0.4;
        font-size: 11px;
        line-height: 1.6;
    }

    .project-desc,
    .exp-desc {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 12px;
    }

    .project-link {
        display: inline-block;
        font-size: 11px;
        letter-spacing: 0.8px;
        text-transform: uppercase;
        border-bottom: 1px solid rgba(255,255,255,0.35);
        padding-bottom: 2px;
    }

    .exp-company {
        display: block;
        opacity: 0.5;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        margin-bottom: 14px;
    }

    footer {
        border-top: 1px solid #ffffff;
        padding: 56px 28px;
    }

    footer p {
        margin-bottom: 28px;
    }

    /*
 * Hamburger menu adapted from https://github.com/jonsuh/hamburgers
 */
    .hamburger {
        color: #ffffff;
        display: inline-block;
        cursor: pointer;
        transition-property: opacity, filter;
        transition-duration: 0.15s;
        transition-timing-function: linear;
        text-transform: none;
        background-color: transparent;
        border: 0;
        margin: 0;
        overflow: visible;
        padding: 18px;
        margin: -18px;
    }

    .hamburger.is-active .hamburger-inner,
    .hamburger.is-active .hamburger-inner::after {
        background-color: #ffffff;
    }

    .hamburger label {
        cursor: pointer;
        margin-right: 18px;
    }

    .hamburger.is-active label {
        display: none;
    }

    .hamburger-box {
        width: 14px;
        height: 14px;
        display: inline-block;
        position: relative;
    }

    .hamburger-inner {
        display: block;
        top: 50%;
    }

    .hamburger-inner,
    .hamburger-inner::after {
        width: 14px;
        height: 1px;
        background-color: #ffffff;
        position: absolute;
        transition-property: transform;
        transition-duration: 0.15s;
        transition-timing-function: ease;
    }

    .hamburger-inner::after {
        content: '';
        display: block;
    }

    .hamburger--slider .hamburger-inner {
        top: 5px;
    }

    .hamburger--slider .hamburger-inner::after {
        top: 7px;
    }

    .hamburger--slider.is-active .hamburger-inner {
        transform: translate3d(0, 4px, 0) rotate(45deg);
    }

    .hamburger--slider.is-active .hamburger-inner::after {
        transform: translate3d(0, -7px, 0) rotate(-90deg);
    }
    #media {
        width: 350px;
        height: 700px;
    }
    .lds-spinner,
    .lds-spinner div,
    .lds-spinner div:after
     {
     box-sizing: border-box;
     }
    .lds-spinner {
    color: currentColor;
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    }
    .lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
    }
    .lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3.2px;
    left: 36.8px;
    width: 6.4px;
    height: 17.6px;
    border-radius: 20%;
    background: currentColor;
    }
    .lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
    }
    .lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
    }
    .lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
    }
    .lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
    }
    .lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
    }
    .lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
    }
    .lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
    }
    .lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
    }
    .lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
    }
    .lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
    }
    .lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
    }
    .lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
    }
    @keyframes lds-spinner {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
    }
    .lds-spinner {
        padding: 200px
    }
    @media (max-width: 768px) {
        .container .top {
            width: 100vw;
            min-height: 52vh;
            height: auto;
            background-color: #000;
        }

        .top h1 {
            font-size: 52px;
            color: #fff;
            font-weight: 700;
            letter-spacing: -2.5px;
            line-height: 0.9;
        }

        .top h1:hover {
            -webkit-text-stroke: 2px #fff;
            color: transparent;
            transition: 0.5s;
        }

        /* On small screens: hide timestamps and module names */
        .log-ts,
        .log-mod {
            display: none;
        }

        .log-line {
            font-size: 10px;
            gap: 8px;
        }

        .log-level {
            width: 44px;
        }

        .hero-title {
            bottom: 22px;
            left: 22px;
        }

        #media {
            display: none;
        }

        #second .section-body {
            display: block;
        }

        .project-entry {
            flex-direction: column;
            padding: 32px 0;
        }

        .project-index {
            width: 100%;
            border-right: none;
            border-bottom: 1px solid rgba(255,255,255,0.2);
            text-align: left;
            padding: 0 28px 12px;
            font-size: 12px;
            opacity: 0.5;
        }

        .project-info {
            padding: 20px 28px 0;
        }

        .project-info h2 {
            font-size: 20px;
            font-weight: 600;
            letter-spacing: -0.3px;
            margin-bottom: 5px;
        }

        .experience-entry {
            flex-direction: column;
            padding: 32px 0;
        }

        .exp-period {
            width: 100%;
            border-right: none;
            border-bottom: 1px solid rgba(255,255,255,0.2);
            text-align: left;
            padding: 0 28px 12px;
            font-size: 11px;
            opacity: 0.5;
            letter-spacing: 1px;
            text-transform: uppercase;
            line-height: 1.6;
        }

        .exp-content {
            padding: 20px 28px 0;
        }

        .exp-role {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 5px;
        }
      
    }
}
