:root {
    /* Brand & Primary Colors */
    --primaryColor: #cca3f5;
    /* Mauve */
    --secondaryColor: #7f40bf;
    /* Blue-Violet */
    --tertiaryColor: #5e2b97;
    /* Darker shade of Blue-Violet */

    /* Text Colors */
    --textPrimary: #2b1c47;
    /* Dark purple for readability */
    --textSecondary: #6b4a8b;
    /* Softer mauve for subtitles */
    --textAlternate: #b43eb2;
    --textMuted: #9475b5;
    /* Muted mauve-gray for less emphasis */
    --textInverse: #f7ebff;
    /* Light text for dark backgrounds */
    --textContrast: #e63de3;

    /* Background Colors */
    --backgroundPrimary: #e5cdfe;
    /* Soft lavender */
    --backgroundSecondary: #cb9Bfd;
    /* Light mauve tint */
    --backgroundMuted: #d1c2e6;
    /* Subtle contrast background */

    /* UI & Component Colors */
    --buttonPrimary: #7f40bf;
    /* Blue-violet for contrast */
    --buttonSecondary: #5e2b97;
    /* Darker blue-violet */
    --border: #b393d3;
    /* Soft purple border */
    --shadow: #2f124c76;
    /* Deep purple shadow */

    /* Feedback & Status Colors */
    --success: #5ebf7d;
    /* Soft green */
    --warning: #ffb347;
    /* Warm orange */
    --error: #e74c64;
    /* Rich red */
    --info: #6bb3f2;
    /* Calm blue */

    /* Interactive Colors */
    --hover: #b684eb;
    /* Slightly darker mauve */
    --active: #682ea8;
    /* Deep violet */
    --focus: #c59ee7;
    /* Softened mauve */

    --lightGray: #eee;

    /* Miscellaneous */
    --gradient: linear-gradient(135deg, #cca3f5, #7f40bf);
    /* Smooth transition between primary and secondary */
    --overlay: rgba(47, 18, 76, 0.5);
    /* Dark overlay */
}


* {
    margin: 0;
    padding: 0;
    font-family: 'Arial Narrow Bold', sans-serif;
    box-sizing: border-box;
}

body {
    background: var(--backgroundPrimary);
    color: var(--textPrimary);
}

p {
    font-size: 18px;
    line-height: 24px;
}

.page {
    min-height: 100vmin;
    font-size: 18px;
    color: var(--textSecondary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.container {
    padding: 10px min(40px, 10%);
    margin: auto 0px;
    height: fit-content;
}

.flex {
    display: flex;
}

.block {
    display: block;
}

.row {
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0px 40px;
}

.box {
    min-width: fit-content;
    background-color: var(--backgroundSecondary);
    border-radius: 25px;
    color: var(--textSecondary);
    padding: 25px;
    line-height: 1.4em;
}

#home {
    width: 100%;
    min-height: 100vh;
    justify-content: flex-start;
}

/* ======== Nav Bar ======== */
#nav-bar {
    height: 56px;
    background-color: var(--secondaryColor);
    display: flex;
    justify-content: flex-end;
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

nav ul li {
    display: inline;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    position: relative;
}

nav ul li a::after {
    content: '';
    width: 100%;
    height: 3px;
    background: var(--hover);
    position: absolute;
    left: 0;
    bottom: -12px;
    opacity: 0%;
    transition: 0.5s, opacity 0.5s;
}

nav ul li a:hover::after {
    bottom: -6px;
    width: 100%;
    opacity: 100%;
}

.header-col-1 {
    display: flex;
    justify-content: center;
}

.header-text {
    font-size: 40px;
}

.header-text h1 {
    font-size: 80px;
}

.header-text span {
    color: var(--textContrast);
}

.header-col-2 img {
    height: fit-content;
    max-height: 100%;
    border-radius: 25px;
}

/* ======== Bio ======== */
#bio {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.bio-col-1 {
    width: fit-content;
    margin: 40px 0px;
    margin-right: 40px;
}

.bio-col-1 img {
    max-width: 540px;

    /* width: 540px; */
    border-radius: 25px;
}

.bio-col-2 {
    width: 600px;
}

.bio-col-2 p {
    font-size: 18px;
}

.sub-title {
    font-size: 60px;
    font-weight: 600;
    color: var(--textPrimary);
}

.tab-titles {
    display: flex;
    margin: 20px 0px 25px;
}

.tab-titles h1 {
    background-color: var(--buttonPrimary);
    color: var(--textInverse);
    font-size: 24px;
    padding: 1px 20px;
    border-radius: 12px;
}

.tab-titles h1:hover {
    background-color: var(--hover);
    transition: 0.5s;
}

.bio-links {
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.bio-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: var(--hover);
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

.bio-links:hover::after {
    background: var(--hover);
    width: 50%;
}

.bio-links.active-link::after {
    background: var(--buttonPrimary);
    width: 100%;
}

.bio-links.active-link:hover::after {
    background: var(--hover);
}

.bio-tabs ul {
    padding-left: 20px;
}

.bio-tabs ul li {
    list-style-type: circle;
    margin: 10px 0;
}

.bio-tabs {
    display: none;
}

.bio-tabs span {
    color: var(--textPrimary);
    font-size: 18px;
    font-weight: 700;
}

.bio-tabs.active-tab {
    display: block;
}

.bio-tabs h1 {
    font-size: 18px;
}

/* ======== Contact ======== */

.contact-col {
    width: 100%;
}

#contactFormResponse {
    font-size: 1.2em;
    color: var(--textPrimary);

}

form {
    font-size: 1.2em;
    display: flex;
    flex-direction: column;
    color: var(--textPrimary);

    transition: 0.5s;
}

form label {
    padding: 2px 13px;
}

form label[for]:has(+ *[required])::after {
    color: var(--error);
    content: ' *';
}

form input {
    border: 2px solid var(--textPrimary);

    font-size: 1.2em;
    padding: 8px 16px;

    border-radius: 25px;
}

form input:empty {
    border-color: initial;
}

form input:invalid {
    border-color: var(--error);
}

form input:focus:valid,
form input:not(:placeholder-shown):not([type="submit"]):valid {
    border-color: initial;
}

form input:placeholder-shown {
    border-color: initial;
}

form input[type="submit"] {
    background-color: var(--active);
    color: var(--textInverse);

    border-color: var(--textPrimary);
}

form textarea {
    font-size: 1.2em;
    padding: 8px 16px;
    resize: vertical;
    min-height: 4em;
    max-height: 7em;
    border: 2px solid var(--textPrimary);

    border-radius: 25px;
}

#contact-box {
    background: var(--backgroundSecondary);
}

.content-frame {
    height: fit-content;
}

.--submitted {
    display: none;
    height: 0px;
}

/* ==== Resume ==== */

#contact-resume-row {
    display: flex;
    justify-content: space-between;
    width: min(100%, 800px);
}

#resume-box {
    width: min(100%, 900px);
    height: 1200px;
}

#resume-content {
    display: inline;
}

#resume-content embed {
    width: 100%;
    height: 100%;
}