/*--Accessibility Updates 1.7.2026--*/

/* Original Background Color #003366 #e3fcf8*/
:root{
    /* Light Mode #003366 */
    --primary-color:#F1F2F6; 
    --text-color:#003366;
    --text-alternate: #A8D5E3;
    --dark-text:#111;
    --hover-color: #e5edee;
    --accent-color: #A8D5E3; /* --Accent color on nav bar */
    --accent-strong:#007BFF;   /* --Used in About and Home Pages */
    --accent-strong-alt:#FF8C00;   /* --Used in About Home Pages */

    --text-color-callout:#002b55;

    /* --project-card-background:#cad6dc;  */
    --project-card-background:#f6f7f7;

    --chicago-white: #ffff;
    --chicago-red: #EF002B;
    --chicago-blue: #41B6E6;
    
    --resume-skills:#fcccc5;
    --resume-junk-drawer:#c7ebd2; 
    --alternate-title:#000080;  
    --alternate-background:#f2f6f9; 

   --footer-nav: #007A33;  /* cubs ivy */

    --company-resume:blue; 

    --github:black;

    --form-input-background: #e3eaea;
    --button1: #41B6E6;
    --button2: #ebedef;

}   
    /* --serene3-1:#fa6b57;
    --serene3-2:#A7BEAE;
    --serene3-3:#E7E8D1; */

    /* Dark Mode  */
    .darkmode{
    --primary-color:#1a1919;
    --text-color:#ecebeb ;
    --alternate-background:#32322e;
    --resume-skills:#672d25;
    --resume-junk-drawer:#525d55;
    --alternate-title:#f3f9fb;
    --dark-text:#0a1c23;
    --project-card-background:#323232; 
    --hover-color: #414343;

    --footer-nav: #f8cd05;  

    --text-color-callout:#cceaf6;

    --github:white;
    --company-resume:#b1d2f5; 

    --form-input-background: #494949;

    --button1: #41B6E6;
    --button2: #007BFF;
    }
.callout{
    color: var(--text-color-callout);
    font-size: 1.1em;
    font-weight: bold;
}

#dark-mode-toggle{

    background: none;
    border: none;
    padding: 1em;
    cursor: pointer;
}
#dark-mode-toggle svg:last-child{
display: none;
}
.darkmode #dark-mode-toggle svg:first-child{
    display:none;
}
.darkmode #dark-mode-toggle svg:last-child{
    display:block;
}
/* Default: show light image, hide dark image */
.dark-mode-image {
  display: none;
}
/* When the parent (e.g., body) has the dark-theme class: */
body.darkmode .light-mode-image {
  display: none;
}

body.darkmode .dark-mode-image {
  display: block;
}



svg{
    color: var(--text-color);
    border: none;
    outline: none;
    stroke: none;
    background-color: transparent;

}
header{
    display: flex;
    justify-content: space-between;
}
header a{
    padding-left: 1vw;
    padding-top: .5vw;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    margin: 0;
    padding: 0;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    color: var(--text-color);
    background-color: var(--primary-color);
}

html{
    color: var(--text-color);
    background-color: var(--primary-color);
}

main{
    padding: min(5em, 7%)
}

main p{
    margin-top: .35em;
}
nav{
    background-color: var(--primary-color);
    border-bottom: 1px solid var(--alternate-background);
}
nav ul{
    list-style: none;
    display: flex;
}
nav .home-li{
    margin-right: auto;
    display: flex;
}
nav a{
    display: flex;
    text-decoration: none;
    color: var(--text-color);
    padding: 1em 2em;
    transition: background-color 150ms ease;
}
nav a:hover{
    background-color: var(--chicago-blue);
    color: var(--chicago-white);
    font-weight: bold;
}
nav  .active-link{
    border-bottom: 2px solid var(--text-color);

}
nav a:accent-link{
    background-color: var(--accent-strong);
}
#open-sidebar-button{
    display: none;
    background: none;
    border:none;
    padding:1em;
    margin-left:auto;
    cursor: pointer;
}
#close-sidebar-button{
    display: none;
    background: none;
    border: none;
    padding: 1em;
    cursor: pointer;
}
#overlay{
    background: rgba(0, 0, 0,0.5);
    position: fixed;
    inset: 0;
    z-index: 9;
    display: none;
}
@media screen and (max-width:700px){
    #open-sidebar-button, #close-sidebar-button{
        display: block;
    }
    nav{
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: min(15em 100%);
        z-index: 10;
        border-left: 1px solid var(--hover-color);
        transition: right 300ms ease-out;
    }
    nav.show{
        right: 0;
    }
    nav.show ~ #overlay{
        display: block;
    }
    nav ul{
        width: 100%;
        flex-direction: column;
    }
    nav a{
        width: 100%;
        padding-left: 2.5em;
    }
    nav a.active-link{
        border-bottom: none;
    }
    nav home-li{
        margin-right: unset;
    }
}

/* Formatting Stuff */
.bold-text{
    color: var(--accent-strong);
    font-weight: bold;
}
.bold-text-alt{
    color: var(--accent-strong-alt);
    font-style: italic;
    font-weight: bold;
}


h5 { text-align: center; padding: .25px;}

.horizontal-line {
  /* Defines the line as a 1px solid black border at the bottom of the div */
  border-bottom: 1px solid var(--text-color);
  /* Ensure the div spans the full width of its container */
  width: 100%;
}

img {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
}

.site-wrapper {
    display: flex;
    flex-direction: column; /* Stack children vertically */
    min-height: 100vh; /* Ensure wrapper takes at least the full height of the viewport */
}

.logo {
    height: auto;
    width: auto; /* Maintain aspect ratio */
    display: flex;
}




/* ------------------------ Home Page ----------------------------- */
/*main{
    flex: 1;
--} */


/* Added on Jan 8 for responsiveness----------------------- */

.site-intro{
    font-size: 3.5rem;
    text-align: center;
    width: 100%;
    font-weight: bolder;
    padding-bottom: 2vw;
    color: var(--accent-strong);
}
.site-introHi{
    font-size: 3.7rem;
    color: var(--accent-strong-alt);
}
.section-container{
display: block;
overflow: auto;
}

#HomePagePicture{
    float: right;
    max-width: 300px;
}
@media screen and (min-width:1201px){
.section-container p{
    font-size: 1.7em;
    padding-top: 2vw;
    padding-bottom: 5vw;
    padding-left: 10vw;
}}
@media screen and (max-width:1200px){
    .section-container p{
    font-size: 1.7em;
    padding-top: 2vw;
    padding-bottom: 5vw;
    padding-left: 5vw;
}}
@media screen and (max-width:800px){
    .section-container p{
    font-size: 1.7em;
    padding-top: 2vw;
    padding-bottom: 5vw;
    padding-left: 2vw;
}}
@media screen and (max-width:500px){
    .section-container p{
    font-size: 1.7em;
    padding-top: 2vw;
    padding-bottom: 5vw;
    padding-left: 0vw;
}
}


/*----------------------Journey Page--------------------------*/
.journeyHeader {
    flex: 1; /* Allows main content to grow and fill available space */
    text-align: center;
    padding: 0vw 30vw;
    font-size: 1.5em;
    width: 100%;
    margin-top: 0;
}
.journey{
    padding: 0vw 7vw 0vw 7vw;
    text-align: left;
    font-size: 2em;
}
@media screen and (min-width:1201px){
.journey{
    padding: 0vw 10vw 0vw 10vw;
    text-align: left;
    font-size: 2em;
}}

@media screen and (max-width:1200px){
.journey{
    padding: 0vw 5vw 0vw 5vw;
    text-align: left;
    font-size: 2em;
}}
@media screen and (max-width:950px){
.journey{
    padding: 0vw 2vw 0vw 2vw;
    text-align: left;
    font-size: 2em;
}}
@media screen and (max-width:500px){
.journey{
    padding: 0vw 0vw 0vw 1.5vw;
    text-align: left;
    font-size: 1.5em;
}}

@media screen and (max-width:1601px){
.journeyHeader{
    flex: 1; /* Allows main content to grow and fill available space */
    text-align: center;
    padding: 2vw 20vw;
    font-size: 1.5em;
    width: 100%;
}}

@media screen and (max-width:1101px){
.journeyHeader{
    flex: 1; /* Allows main content to grow and fill available space */
    text-align: center;
    padding: 2vw 15vw;
    font-size: 1.5em;
    width: 100%;
}}
@media screen and (max-width:900px){
.journeyHeader{
    flex: 1; /* Allows main content to grow and fill available space */
    text-align: center;
    padding: 4vw 15vw;
    font-size: 1.5em;
    width: 100%;
}}

@media screen and (max-width:500px){
main{
    flex: 1; /* Allows main content to grow and fill available space */
    text-align: center;
    padding: 1vw 1vw;
    font-size: 1em;
    width: 100%;
}}


/* ---------------------Resume Page Styles -------------------*/
/* #B85042, #E7E8D1, #A7BEAE color trio*/

.resume-junk-drawer{
    background-color: var(---resume-junk-drawer);
}
.box h1{
    font-size: 2.3em;
    color: var(--text-color);
    font-weight: bolder;
}
.box h2{
    color: var(--text-color);
    font-weight: bold;
    padding-bottom: .3em;
}
date-range{
    font-weight:bolder;
    padding-left: .7em;
    font-size: large;
}
.job-title{
    color:var(--alternate-title);
    font-size: 1.8em;
    font-weight: bolder;
    text-align: center;
    padding-bottom:0;
}
.job-description{
    font-size:1.2em;
    text-align: center;
    font-weight: bold;
    font-style:italic;
    padding: .5em .5em;
}
.job-description a:hover{
    color: white;
    background-color: var(--chicago-blue);
}

.introduction a:hover{
    color: white;
    background-color: var(--chicago-blue);
}


.grid-container {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    width: 100%;
    justify-content: space-between;
    margin: 0px 0vw;
    grid-template-areas: 
    "box-1 box-3 box-6"
    "box-1 box-4 box-6"
    "box-1 box-5 box-6";
    column-gap: .4em;
    align-content: flex-start;
    list-style-position: inside;
}

.box {
    background-color:var(--alternate-background);
    font-size: 1.2em;
    border-color: var(--dark-text);
    color: var(--text-color);
    border-style: solid;
    border-width: .1px;
    border-radius: 15px;
    padding: 1em .5em;
}

.introduction {
font-size: x-large;
padding-left: 10vw;
padding-right: 10vw;
padding-bottom: 2em;
text-align: center;
} 
@media screen and (max-width:1400px){
.introduction{font-size: x-large;
padding-left: 5vw;
padding-right: 5vw;
padding-bottom: 2em;
text-align: center;
}}
@media screen and (max-width:1200px){
.introduction{font-size: x-large;
padding-left: 4vw;
padding-right: 4vw;
padding-bottom: 2em;
text-align: center;
}}
@media screen and (max-width:800px){
.introduction{font-size: large;
padding-left: 6vw;
padding-right: 6vw;
padding-bottom: 2em;
text-align: center;
}}
@media screen and (max-width:600px){
.introduction{font-size: large;
padding-left: .1vw;
padding-right: .1vw;
padding-bottom: 2em;
text-align: center;
}}

@media screen and (max-width:800px){
.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    width: 100%;
    justify-content: space-between;
    margin: 0px 0vw;
    grid-template-areas: 
    "box-1"
    "box-3"
    "box-4"
    "box-5"
    "box-6";
 
    align-content: flex-start;
    list-style-position: inside;
}}


/* --------------------------- Mobile Resume ------------------------- */
/* #B85042, #E7E8D1, #A7BEAE color trio*/
.mobile-wrapper{
    margin-left: 0;
    margin-right: 0;
}
/* .skills{
    background-color: var(--serene3-1);
    border: 1px var(--text-color);
    border-radius: 2%;
    list-style-position: inside;
    padding: 1vw 1vw;
    width: 100%;
}
.work-experience{
    background-color: var(--serene3-2);
    border: 1px solid var(--text-color);
    border-radius: 2%;
    list-style-position: inside;
    padding: 1vw 1vw;
    width: 100%;
}
.junk-drawer{
    background-color: var(--serene3-3)
    border: 1px solid var(--text-color);
    border-radius: 2%;
    list-style-position: inside;
    padding: 1vw 1vw;
    width: 100%;
} */

/* --------------------------- Projects Page ------------------------- */

.ProjectHeader {
    text-align: center;
    font-size: 1.4rem;
    margin: 20px 0 10px 0;
    font-weight: 700;
    padding: 0;
}

.project-icon{
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-icon img{
    display: flex;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;

}

.project h2{
    font-size: 1.3em;
    display: flex;
    margin:0;
    color: var(--text-color);
    font-weight: bold;
    align-content: flex-start;
    text-align: center;
    padding: 1vw;


}
.project p{
    display: flex;
    font-size: .95rem;
    color: var(--chicago-blue);
    text-align: center;
    margin-top: 0;
    line-height: 1;
    padding:1vw;
}
.project a {
    display: flex;
    text-decoration: none;
    text-align: center;
    color:var(--chicago-red);
    font-size: 2em;
    margin-top: auto;
    font-weight: bolder;
    justify-items: flex-end;
}

.badge{
    width: 100%;
    padding: 15px 0;

    background-color: var(--chicago-blue);
    color: var(--chicago-white);
    font-weight: bold;
    margin-top: auto;

    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;  
}
/* ----------Project Container -------------*/


.project-container {
  display: flex;
  flex-wrap: wrap;      /* Allows cards to move to the next line */
  gap: 25px;            /* Even spacing between cards */
  justify-content: center; /* Centers cards on the page */
  padding: 40px 20px;
}

/* @media screen and (max-width: 1200px) {
.project-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    align-items: center;
    justify-content: center;
    grid-template-areas:
    "project-1 project-2"
    "project-3 project-4";
    padding: 2vw;
    gap: 1vw;
}}

@media screen and (max-width: 600px) {
  .project-container {
    display: grid;
    grid-template-columns:1fr;
    justify-items: center;
    align-items: center;
    grid-template-areas:
    "project-1"
    "project-2" 
    "project-3" 
    "project-4";
    gap: 3vw;
  }
} */
/* ----------Project Container----- */
/* ----------Project Cards--------- */
.project{
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    flex: 1 1 300px;  
    max-width: 380px;
    max-height: 400px;


    border: 2px solid var(--text-color);
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--project-card-background);
    text-align: center;

    transition: transform 0.3x ease, box-shadow 0.3s ease;

    position: relative;

  }

  .project-content-wrapper {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  flex-grow: 1; /* Takes up all available space */
  text-align: center;
}

  .project:hover{
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    background-color: var(--hover-color);
  }

  .project-content-wrapper a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1; /* This invisible layer covers the entire card */
}


@media screen and (max-width: 999px) {
 .project{
    display: grid;
    background-color: var(--project-card-background);
    padding:1vw;
    width: 40vw;
    height: 60vw;
    border-radius: 16px;
    border: 2px solid var(--text-color);
    overflow: auto;
  }
}
@media screen and (max-width: 800px) {
 .project{
    display: grid;
    background-color: var(--project-card-background);
    padding:0vw;
    width: 40vw;
    height: 80vw;
    border-radius: 16px;
    border: 2px solid var(--text-color);
    overflow: auto;
  }
}

@media screen and (max-width: 600px) {
 .project{
    display: grid;
    background-color: var(--project-card-background);
    padding:0vw;
    width: 60vw;
    height: 100vw;
    border-radius: 16px;
    border: 2px solid var(--text-color);
    overflow: auto;
  }
}
@media screen and (max-width: 400px) {
 .project{
    display: grid;
    background-color: var(--project-card-background);
    padding:0vw;
    width: 79vw;
    height: 120vw;
    border-radius: 16px;
    border: 2px solid var(--text-color);
    overflow: auto;
  }
}




/* -------------------Contact Form-------------------------*/
#content h3 {

    font-size: 2.5em;
    text-align: center;
}


/* End 1/14 Updates */

/* form {
    width: 60vw;
    font-size: 2em;
    padding: 1.5em;
    border: 1px solid var(--text-color);
    border-radius: 5%;
    color: var(--text-color);
    text-align: center;
} */

/* @media screen and (max-width:801px){
form{
    width: 80vw;
    font-size: 2em;
    padding: 1.5em;
    border: 1px solid var(--text-color);
    border-radius: 5%;
    color: var(--text-color);
    text-align: center;
}}

@media screen and (max-width:600px){
form {
    width: 90vw;
    font-size: 1em;
    padding: 1em;
    border: 1px solid var(--text-color); 
    border-radius: 5%;
    color: var(--text-color);
    text-align: center;
    

}} */

/* 
.contact-form{
    display: flex; 
    flex-direction: column;
    align-items: center;
    background: var(--project-card-background);
    border-radius: 8%;
    width: 90vw;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-family: 'Inter', sans-serif;

} */
.contact-form{
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: var(--project-card-background);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-family: 'Inter', sans-serif;
}

.contact-form button{

    margin-top: 30px;
    padding: 8px 25px;
    border-radius: 4em;
    color: var(--text-color);
    background-color: var(--alternate-background);
    font-size: 1em;
    cursor: pointer;
}
label {
    display: block;
    margin-bottom: 2em;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* input, textarea{
    margin: 1em;
}

input[type=text],[type=email]{
    width: 30%;
}
textarea{
    width: 90%;} */
   


/* Input & Textarea: The "Glassmorphism" look */
input, textarea {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 20px;
    background: var(--form-input-background);
    border: 1px solid var(--text-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--chicago-blue); 
    box-shadow: 0 0 8px rgba(243, 156, 18, 0.4);
    transform: translateY(-2px);
}

button[type="submit"] {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--button1), var(--button2));
    border: none;
    border-radius: 8px;
    color: var(--text-color);
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

button[type="submit"]:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

/* input[type=submit]{
    width:25%;
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: var(--project-card-background);
    border-radius: 5%;
} */

    #status {
      font-weight: bold;
      margin-top: 2em;
    }

/* ----------------------- Footer Styles ------------------------ */

/* footer img{
    height: 5vw;
    padding: 1vw;
    opacity: 75%;
} */

.social-icons{
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-direction: row;
    padding-top: 1vw;
    vertical-align: middle;

}
.social-icons ul{
  display: flex;
  gap: 1vw;

}
.social-icons li{
    text-decoration: none;
    list-style-type: none;
    display: flex;
}
.social-icons a {

    text-decoration: none;
    display: flex;
}
.social-icons a:hover {
    opacity: 50%;
}


.footercontainer {
    display: flex; /* Enables Flexbox for the footer container */
    flex-direction: column; /* Stacks items vertically */
    align-items: center; /* Centers items horizontally */
    justify-content:center; /* Centers items vertically */
    padding: .2vw 0;
}

.footerNav {
    margin: .1vw 0;
    list-style: none; /* Removes default bullet points */
    display: flex; /* Enables Flexbox for the list items */
    align-items: center;
    padding-top: 1em;
}  

.footerNav ul {
    display: flex; /* Enables Flexbox for the list items */
    align-items: center;
}
.footerNav li a {
    color: var(--footer-nav);
    text-decoration: none;
    margin: 1vw;   /* Spacing for the links */
    font-size: 1.1em;
    transition: 0.5s;
}
.footerNav li a:hover {
    font-weight: bold;
    background-color: var(--chicago-blue);
    color: var(--chicago-white);
    
    
}   

.footerbottom {
    color: var(--text-color);
    text-align: center;
    padding: 1vw;
    font-size: smaller;
}

.footerbottom a:link, a:visited, a:hover, a:active{
    text-decoration: none;
    color: var(--text-color);
}








