:root {
    --font-family: "Montserrat", sans-serif;
    --primary-color: #1A1A1A;    /* Carbon Black */
    --secondary-color: #00ffeae5;  /* Safety Orange */
    --accent-color: #00ffeae5;     /* Safety Orange */
    /* --accent-color: #ff4d00;     Safety Orange */
    --text-light: #FFFFFF;
    --text-dim: #A0A0A0;
    --section-header: 5rem; 
    --fs-500: 3rem;
    --fs-400: 2.5rem;
    --fs-300: 2.074rem;
    --fs-200: 1.5rem;
    --fs-100: 1.125rem;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    background-color: var(--primary-color);
}

html {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 0;
    margin: 0;
}


/* UTILITY CLASSES */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap, 1rem);
}

.grid {
    display: grid;
}

.wrapper {
    margin: 0 auto;
    padding: 0;
    max-width: 1400px;
}

hr{
    margin: 10px 0;
}

.section-header {
    writing-mode: vertical-lr;
    text-align: center;
    font-size: var(--section-header);
    padding-bottom: 10px;
    color: var(--secondary-color);
    border-right: var(--accent-color) 4px solid;
}

.download-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: transparent; 
    color: var(--text-light);
    text-decoration: none;
    border: 2px solid var(--secondary-color); 
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: var(--accent-color); 
    border-color: var(--accent-color);
    color: var(--primary-color); 
    box-shadow:     
    0 0 6px 3px #fff,  /* inner white */
    0 0 10px 6px var(--accent-color), /* middle magenta */
    0 0 14px 9px var(--accent-color);
}

.icon-container{
    margin: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.icon-container a{
    min-height: fit-content;
    min-width: fit-content;
}

.fa-brands{
    font-size: var(--fs-200);
    color: gray;
    transition: all 0.3s ease;
}

.fa-brands:hover {
    color: var(--secondary-color);
    box-shadow:
    0 0 3px 1px #fff,  /* inner white */
    0 0 5px 2px var(--accent-color), /* middle magenta */
    0 0 7px 4px var(--accent-color);
}

.mobile-nav-toggle {
    visibility: hidden;
    position: absolute;
}

/* .Orb-Room{

} */

/* .Orb {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    box-shadow:
    inset 0 0 50px #fff,      /* inner white */
    inset 20px 0 80px var(--secondary-color),   /* inner left magenta short */
    inset -20px 0 80px #0ff,  /* inner right cyan short */
    inset 20px 0 300px var(--secondary-color),  /* inner left magenta broad */
    inset -20px 0 300px #0ff, /* inner right cyan broad */
    0 0 50px #fff,            /* outer white */
    -10px 0 80px var(--secondary-color),        /* outer left magenta */
    10px 0 80px #0ff;       /* outer right cyan */
    /* z-index: 9;
} */


/*********** BODY **********/

body {
    margin: 0;
    font-family: var(--font-family);
    background-color: var(--primary-color);
    color: var(--text-light);
    z-index: auto;
}

.pane{
    font-family: var(--font-family);
    background: transparent;
    background-color: transparent;
    z-index: auto;
}

section {
    padding: 80px 0px;
    padding-block: clamp(3rem, 8vw, 6rem);
    min-height: 100vh;
    justify-content: center;
    align-items: center;
}

header {
    color: var(--text-light);
    padding: 20px;
    text-align: center;
    margin-bottom: 40px;
}

nav {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px 0;
    /* border: #0056b3 2px solid;  */
}

.introduction {
    text-align: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.introduction h1 {
    font-size: var(--fs-400);
    margin-bottom: 20px;
    color: var(--secondary-color); 
}

.introduction p {
    font-size: var(--fs-100);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
    color: var(--text-dim); 
}

.about-container{
    grid-template-columns: .5fr .5fr;
    gap: 50px;
    text-align: center;
    align-items: center;
    justify-self: center;
    /* border: #28a745 2px solid; Debug border */
    margin-top: 200px;
    padding: 20px 0;
    min-height: 500px;
    max-width: 800px;
}

.about-description {
    text-align: left;
    line-height: 1.5;
    color: var(--text-dim);
}

.about-description p{
    justify-content: left;
    align-items: left;
    justify-content: left;
    padding: 20px;
    max-width: 800px;
}

.about-header{
    flex-wrap: nowrap;
}

.profile-picture{
    display: inline-block;
    width: 300px;
    height: fit-content;
    background: transparent;
    background-color: transparent;
    margin: 0 auto;
    /* border: #0056b3 2px solid; Debug border */
}

.profile-picture img{
    width: 100%;
    max-height: 270px;
    background: var(--primary-color);
    background-color: var(--primary-color);
    border-radius: 20px;
    overflow: hidden;
}

.header-container{
    text-align: left;
    align-content: center;
    text-transform: uppercase;
    margin: 20px 0;
    font-size: var(--fs-200);
    color: var(--secondary-color);
}

.profile-picture img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* EXPERIENCE */

.experience {
    align-items: center;
    justify-content: center;
    margin: 20px;
    /* border: #0056b3 2px solid; Debug border */
}

.experience-description {
    grid-template-columns: .2fr 1fr;
    gap: 50px;
    margin: 0 auto;
    text-align: center;
    align-items: center;
    justify-self: center;
    min-width: 100%;
    /* border: #28a745 2px solid; Debug border */
}

.experience-description-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    gap: 20px;
    margin-bottom: 40px;
    padding: 20px;
}

.experience-description-text h3{
    max-width : 600px;
    font-style: italic;
    justify-self: center;
    color: var(--secondary-color);
}

.experience-description-text p{
    max-width : 600px;
    justify-self: center;
    color: var(--text-dim);
}

.experience-item {
    margin-bottom: 40px;
    padding: 20px;
    border-bottom: 1px solid var(--secondary-color); 
}

.experience-content{
    justify-content: center;
}

.experience-item ul {
    margin-top: 10px;
    list-style-type: disc;
    padding-left: 20px;
    text-align: left;
}

.experience-item ul li {
    margin-bottom: 5px;
    line-height: 1.5;
    color: var(--text-dim);
    max-width: 750px;
}


/* EDUCATION */

.education{
    align-items: center;
    justify-content: center;
    margin: 20px;
    /* border: #0056b3 2px solid; Debug border */
}

.education-container {
    grid-template-columns: .2fr 1fr;
    gap: 50px;
    text-align: center;
    align-items: center;
    justify-self: center;
    /* border: #28a745 2px solid; Debug border */
}

.education-item {
    align-items: center;
    justify-content: center;
    margin-bottom: 10px 30px;
    padding: 30px;
    border-bottom: 1px solid var(--secondary-color); 
}

.education-item p{
    margin-top: 1ch;
    line-height: 1.5;
    min-width: 700px;
    color: var(--text-dim);
}



/* PROJECTS */

.projects {
    align-items: center;
    justify-content: center;
    margin: 20px;
    /* border: red 2px solid; Debug border */
}

.project-container {
    grid-template-columns: .2fr 1fr;
    gap: 50px;
    text-align: center;
    align-items: center;
    justify-content: center;
    /* border: #28a745 2px solid; Debug border */
}

.projects h2 {
    color: var(--secondary-color);
}

.project-item {
    margin-bottom: 40px;
    padding: 20px;
    min-width: 700px;
    border-bottom: 1px solid var(--secondary-color);
}

.project-item p{
    margin: 10px;
    line-height: 1.5;
    color: var(--text-dim);
}

.CAD-models {
    margin-bottom: 40px;
    padding: 20px;
    justify-content: center;
}

/* CONTACT */

.contact {
    text-align: center;
    align-items: center;
    justify-content: center;
    margin: 40px;
}

.contact h2 {
    color: var(--secondary-color);
}

.contact-description {
    margin-bottom: 20px;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-dim);
}

.contact-card {
    justify-content: center;
    align-items: center;
    justify-items: center;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 40px;
    padding: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    min-width: 400px;
    margin: 0 auto;
    /* border: #0056b3 2px solid; Debug border */
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

form input, form textarea {
    background-color: #242424;
    border: 1px solid var(--secondary-color);
    color: white;
    padding: 10px;
}

form textarea {
    resize: vertical;
    min-height: 250px;
}

footer {
    text-align: center;
    margin: 40px;
    padding: 20px;
    background-color: var(--primary-color);
    color: var(--text-dim);
    border-top: 1px solid var(--secondary-color);
}

/* PHONE SCREEN */

@media (max-width: 35rem) {
    *{
        margin: 0;
        overflow-x: hidden;
    }

    .about{
        padding: 20px
    }

    .about-header{
        flex-wrap: wrap;
    }

    .header-container{
        overflow: visible
    }

    .about-description{
        text-align: justify;
        justify-content: center;
    }

    .about-container, .experience-description, .education-container, .project-container, .contact-card, .education-item{
        grid-template-columns: 1fr;
        gap: 20px;
        min-width: 100%;
    }

    .education-item p{
        min-width: 100%;
    }

    .project-item {
        min-width: 100%;
    }

    footer{
        display: flex;
        justify-content: center;
        max-width: 100%;
    }

}