/* Note: Operators are {(.class), (#id)}*/

/* id class : header header_section 
	- subclass : header_title
	- subclass : nav-bar */

body{
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;

    min-height: 100vh;
}

.header_section{
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0px;

    background-color: #000;
}

.header_title{
    font-size: 34px;
    color: #E16F00;
}


.nav-bar {
    list-style-type: none;
    display: flex;
    width: 100%;
    max-width: 100vw; /* Restrict viewport to prevent overflow */
    box-sizing: border-box; /* Prevents padding from pushing outside max width*/

    margin: 0px;
    padding: 0.5em;
    background-color: #222;
    justify-content: center;
}

.nav-bar button{
    font: inherit; /* Font from Parent element */
    cursor: pointer; /* On hover */

    margin: 0.5em;
    padding: 0.5em;

    color: #fff;
    outline: none;
    border: none;
    background: none;

    position:relative; /* relative + top/bottom will not affect surrounding elements*/
}

.nav-bar button:hover{
    color: #5746B2; /* Mild Purple */
    transform: translateY(-8px);
    font-weight: bold;
    transition: font-weight 0.05s ease;
    transition: top;
}

/* id class : block_content content_section
    - Default Functionality: ONLY home page (via URL)
    - The "none" will act as (hide) */
#home_content{
    display: block;
    margin: 0 0 55vh 0;
}

.content_section{
    padding: 5vh 0 1vh 0;
    background-color: #000;
}

#introduction_content{
    display: grid;
    flex-direction: row;
    justify-content: center;
    justify-items: center;

    margin: 0px;

    color: #fff;
}

#introduction_content img{
    width: 150px;
    height: 150px;
    margin: 2em;

    border-radius: 50%; /* Roundedness */
}

/* Home Icon */
@keyframes rotate{
    from{
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#introduction_content img:hover{
    animation: rotate 2.5s linear infinite;
    /* 2.5 seconds for a full rotation */
}

#introduction_subsection_content{
    margin: 0px;
}


#quote_content{
    color: #fff;
    font-size: 14px;
}

#biography_content{
    display: none;
    margin: 0 30% 0 25%;
}

#biography_content h2{
    margin: 30px 0 10px 0;
    padding: 0;
}

#biography_content ul{
    margin: 5px 0 0 40px;
    padding: 0;
}

.biography_subsection_content{
    margin: 0 0 0 15px;
    padding: 0 10% 0 8px;

    border-style: solid;
    border-width: 0;
    border-left-width: 5px;
    border-color: #1e90ff;
}

.biography_subsection_title{
    margin: 0 0 5px 15px;
    padding: 0 10% 0 8px;

    border-style: solid;
    border-width: 0;
    border-left-width: 5px;
    border-color: #1e90ff;
}

#background_content p{
    margin: 0 0 15px 30px;
    padding: 0;
}

#interests_subsection_content ul{
    margin: 0 0 0 30px;
    padding: 0;
}

.socials_subsection_content{
    display: flex;
    justify-content: center;

    margin: 60px 0;
    padding: 0 0 0 2em;
}

.socials_subsection_content img{
    width: 50px;
    height: 50px;
    padding: 0em 1em 0em 0em;
}

.socials_subsection_content img:hover{
    position: relative;

    transform: scale(1.2);
}


#projects_content{
    display: none;
    margin: 2em;
}

.projects_subsection_content{
    margin: 0;
    padding: 0 30% 80px 25%;
}

.projects_subsection_content h1{
    margin: 0 0 10px 0;
    padding: 0;
}

.projects_subsection_content p{
    margin: 0 0 15px 10px;
    padding: 0 0 0 10px;

    border-style: solid;
    border-width: 0;
    border-left-width: 5px;
    border-color: #1e90ff;
}

.project_tool_subection_content{
    display: flex;

    margin: 0 0 10px 0;
    padding: 0em 1em 0em 0em;
}

.project_tool_subection_content img{
    width: 30px;
    height: 30px;
    padding: 0em 1em 0em 0em;
}

.project_github_link{
    position: relative;

    text-decoration: none;
    border: none;
    cursor: pointer;
    
    color: #fff;
    background: #1e90ff;

    font-weight: bold;
    border-radius: 5px;
    margin: 0 0 0 10px;
    padding: 8px 12px;
}

#project_subproject_content{
    display: none;
    color: black;

    margin: 0 30% 0 20%;
    padding: 0;
}

#project_subproject_section{
    display: flex;
    flex-direction: column;

    max-width: 100vw;
    box-sizing: border-box;
}

#project_subproject_section{
    margin: 0;
    padding: 0;
}

#project_subproject_section h1{
    /* Left */
    display: flex;

    margin: 20px 0 10px 0;
    padding: 0;
}

#project_subproject_screenshot_subsection_content img{
    padding: 15px 15px 15px 0;

    width: 333px;
    height: 200px;
}

#project_subproject_technologies_subsection img{
    width: 50px;
    height: 50px;

    padding: 0 1em 0 0;
}

#project_subproject_description_content{
    display: flex;
    flex-direction: column;

    margin: 20px 0 0 0;
    padding: 5px;
}

#project_subproject_description_subsection{
    margin: 0 0 20px 0;
    padding: 0 0 0 5px;

    border-style: solid;
    border-width: 0;
    border-left-width: 5px;
    border-color: #1e90ff;
}

#project_subproject_challenges_subsection{
    margin: 0 0 20px 0;
    padding: 0 0 0 5px;

    border-style: solid;
    border-width: 0;
    border-left-width: 5px;
    border-color: #1e90ff;
}

#project_subproject_outcome_subsection{
    margin: 0 0 20px 0;
    padding: 0 0 0 5px;

    border-style: solid;
    border-width: 0;
    border-left-width: 5px;
    border-color: #1e90ff;
}

#project_subproject_link{
    position: relative;
    text-decoration: none;
    border: none;
    cursor: pointer;
    
    color: #fff;
    background: #1e90ff;

    font-weight: bold;
    border-radius: 5px;
    padding: 8px 12px;
    width: 40px;
}

#project_subproject_link:hover{
    transform: scale(1.2);
}

/* id class : footer footer_section */
.footer_section{
    display: flex;
    flex-direction: row-reverse;

    background-color: #fff;
}

#theme_icon{
    display: flex;
    position: fixed;
    bottom: 0;

    margin: 0 25px 0 0;
}

#theme_icon img{
    position:relative;

    height: 40px;
    width: 40px;

    padding: 20px 0;
}

#theme_icon img:hover{
    filter: invert(50%) sepia(100%) saturate(10) hue-rotate(155deg); /* invert b->w, sepia adds warmth, +sat, hue-shift */  
    transform: scale(1.1);
}