* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Fonts used (Ubuntu & Monospace Static) were gotten from Google Fonts  */

.space-mono-regular {
  font-family: "Space Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

.space-mono-bold {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-style: normal;
}

.space-mono-regular-italic {
  font-family: "Space Mono", monospace;
  font-weight: 400;
  font-style: italic;
}

.ubuntu-bold {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* Imported Fonts above */

html {
    min-height: 100vh;
    overscroll-behavior: none;
}

body {
    font-family: "Space Mono", monospace;
    font-weight: 400;
    font-style: normal;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 100vw;
    min-height: 100vh;
    margin: 0 auto;
    overscroll-behavior: none;
}

img {
    max-width: 100%;
}

header {
    display: flex;
    justify-content: space-between;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    color: black;
    align-items: center;
    gap:10px;
}

.logo-text a {
    font-size: 1.2rem;
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-style: normal;
    text-decoration: none;
    color: black;
}

.nav-bar ul {
    list-style-type: none;
    display: flex;
    gap: 5px;
}

.nav-bar ul li {
    padding: 5px;
}

.nav-bar ul li a {
    font-size: 1.15rem;
    color: #3c3c3c;
    text-decoration: none;
}

main {
    max-width: 1040px;
    width: 90%;
    margin: 40px auto 0;
    min-height: 70vh;
}

.about-avatar {
    display: none;
}

.about-name {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    color: #000;
    font-size: clamp(2.2rem, 9vw, 5.5rem);
    letter-spacing: -1px;
    text-transform: lowercase;
    line-height: 1.05;
}

.about-sub {
    font-size: 1rem;
    color: #3c3c3c;
    margin: 8px 0 30px;
    padding-bottom: 24px;
    border-bottom: 3px solid #000;
}

.sub-short {
    display: none;
}

.about-body {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 44px;
    align-items: center;
}

.about-bio p {
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 14px;
}

.about-portrait {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center;
    border: 3px solid #000;
    border-radius: 12px;
    background: #eee;
}

.about-strip {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.sec-label {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    color: #000;
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    border: 2px solid #000;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.85rem;
    color: #000;
    white-space: nowrap;
}

.about-contact {
    margin-top: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #000;
    color: #fff;
    border: 3px solid #000;
    border-radius: 12px;
    padding: 20px 26px;
    text-decoration: none;
    font-size: 1.05rem;
    transition: 0.2s ease;
}

.about-contact:hover {
    background: #fff;
    color: #000;
}

.about-contact-arrow {
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .about-avatar {
        display: block;
        width: 128px;
        height: 128px;
        border-radius: 50%;
        object-fit: cover;
        object-position: center;
        border: 3px solid #000;
        background: #eee;
        margin: 0 auto 16px;
    }

    .about-name {
        text-align: center;
    }

    .about-sub {
        text-align: center;
    }

    .sub-full {
        display: none;
    }

    .sub-short {
        display: inline;
    }

    .about-portrait {
        display: none;
    }

    .about-body {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-strip {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .about-contact {
        font-size: 0.95rem;
        padding: 18px 20px;
    }
}

@media (max-width: 576px) {
    .logo-text a {
        font-size: 0.9rem;
    }

    .nav-bar ul li a {
        font-size: 0.9rem;
    }

    main {
        margin-top: 5vh;
        width: 100%;
        padding-left: 26px;
        padding-right: 26px;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .logo-text a {
        font-size: 0.9rem;
    }

    .nav-bar ul li a {
        font-size: 0.9rem;
    }

    main {
        margin-top: 5vh;
    }
}

footer {
    width: 100%;
    margin-top: 3vh;
    background-color: #ffffff;
    border-top: 2px solid black;
    color: black;
    font-family: "Space Mono", monospace;
}

.footer-inner {
    max-width: none;
    margin: 0 auto;
    padding: 34px 48px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    text-align: left;
}

.footer-path {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.footer-path a {
    color: black;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}

.footer-path a:hover {
    border-bottom-color: #303841;
}

.footer-path a:focus-visible {
    outline: 2px solid #303841;
    outline-offset: 3px;
}

.footer-path .sep {
    color: #3c3c3c;
}

.footer-legal {
    font-size: 16px;
    color: #3c3c3c;
    line-height: 1.7;
    white-space: nowrap;
}

.copy {
    font-family: 'Courier New', Courier, monospace;
}

.attr-short {
    display: none;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-path {
        justify-content: center;
    }

    .footer-legal {
        white-space: normal;
    }

    .attr-full {
        display: none;
    }

    .attr-short {
        display: inline;
    }
}

@media (max-width: 576px) {
    .footer-inner {
        padding-left: 23px;
        padding-right: 23px;
    }

    .footer-path {
        font-size: 14px;
    }

    .footer-legal {
        font-size: 14px;
    }
}

header {
    position: relative;
}

.nav-toggle {
    display: none;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 42px;
        height: 42px;
        padding: 8px;
        border: none;
        background: transparent;
        cursor: pointer;
    }

    .nav-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: #303841;
        border-radius: 2px;
        transition: transform 0.25s ease, opacity 0.2s ease;
    }

    header.nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    header.nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    header.nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-bar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #e0e0e0;
        border-bottom: 1px solid #303841;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.28s ease;
        z-index: 40;
    }

    header.nav-open .nav-bar {
        max-height: 260px;
    }

    .nav-bar ul {
        flex-direction: column;
        gap: 0;
    }

    .nav-bar ul li {
        padding: 0;
    }

    .nav-bar ul li a {
        display: block;
        padding: 15px 22px;
        border-top: 1px solid #ececec;
        font-size: 1.05rem;
    }

    .nav-bar ul li:first-child a {
        border-top: none;
    }
}
