@import url('base.css');

/* Hero section layout */
.hero {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 1.5rem;
    width: 100%;
}

/* Neofetch Terminal Textbox */
.hero .textbox {
    flex: 1;
    min-width: 0;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Neofetch terminal header decoration */
.hero .textbox p {
    font-family: var(--font-mono);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.hero .textbox p:last-child {
    margin-bottom: 0;
}

/* Headshot container & image */
.hero .headshot {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero .headshot img {
    height: 100%;
    max-height: 273px;
    width: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--palette-green);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 300ms ease-in-out, border-color 300ms ease-in-out;
}


/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;
        align-items: center;
    }

    .hero .textbox {
        width: 100%;
    }

    .hero .headshot img {
        height: 160px;
        width: 160px;
        max-height: none;
    }
}






