@import url("https://db.onlinewebfonts.com/c/220eece2861e0a892f3bc87ad8029d0a?family=TSTAR+Mono+Round+W00+Regular");

html, body {
    margin: 0;
}

body {
    background-color: #f5f5f5;
    font-family: "TSTAR Mono Round W00 Regular", sans-serif;
}

main {
    padding-bottom: 120px;
}


.link-container {
    margin-top: 10px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.header-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-container {
    flex: 1;
}

.center-block {
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.name {
    color: #e16f03;
}

a:link,
a:visited,
a:hover,
a:active {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: #a9682b;
}

a.name {
    color: #8e4909;
}

a.name:hover {
    color: #a9682b;
}

.typewriter h1 {
    overflow: hidden;
    border-right: 0.10em solid rgb(0, 0, 0);
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 0.10em;
    animation:
        typing 3s steps(30, end),
        blink-caret 0.5s step-end infinite;
}

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

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

.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;

    padding: 28px 56px;
    border-top: 1px solid #ddd;
    background-color: #f5f5f5;

    display: flex;
    justify-content: space-between;
    align-items: center;

    box-sizing: border-box;

    box-shadow:
        0 -1px 0 rgba(0,0,0,0.15),
        0 -3px 18px rgba(0,0,0,0.12),
        0 -6px 40px rgba(0,0,0,0.10);

    z-index: 1000; /* keeps it above everything */
}

.bottom-left {
    display: flex;
    gap: 20px;
    font-size: 22px;
}

.bottom-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

.bottom-right input {
    padding: 8px 12px;
    border: 1px solid #999;
    background: white;
    font: inherit;
}

.bottom-right button {
    padding: 8px 14px;
    border: 1px solid #111;
    background: #111;
    color: white;
    cursor: pointer;
    font: inherit;
}

.hero-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}

.page-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-layout main {
    flex: 1;
}

.page-layout header {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
}

.title {
    margin-top: 7%;
    margin-left: 25%;
    text-align: left;
}
.paragraphs {
    font-size: 18px;
    width: 50%;
    margin-left: 25%;
}

.underline {
    text-decoration: none;
    border-bottom: 2px solid orange;
    padding-bottom: 2px;
}

.contact-item {
    margin-bottom: 24px;
}

.contact-label {
    margin-bottom: 6px;
    font-weight: bold;
}

.projects-container {
    width: 50%;
    margin-left: 25%;
    margin-top: 40px;
}

.project-card {
    margin-bottom: 40px;
}

.project-name {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 8px;
}

.project-description {
    font-size: 16px;
    color: #444;
    margin-bottom: 10px;
}

.project-link {
    display: inline-block;
    margin-bottom: 12px;
    color: #8e4909;
    text-decoration: none;
}

.project-link:hover {
    color: #a9682b;
}

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

.tag {
    font-size: 14px;
    padding: 4px 10px;
    border: 1px solid #ddd;
}

@media (max-width: 600px) {
    .bottom-bar {
        padding: 16px 20px;   /* smaller padding */
    }

    .bottom-left {
        font-size: 16px;      /* smaller text */
        gap: 12px;            /* tighter spacing */
        flex-wrap: wrap;      /* prevents overflow */
    }
}