
/* General Styling  */

* {
    box-sizing: border-box;
}

body {
    background-color: #1f1f1f;
    color: white;
    font-family: sans-serif;
    overflow: hidden;
}

a {
    color: white;
    text-decoration: none;
}



/* Main Nav Styling */

#mainNav {
    display: flex;
    position:fixed;
    flex-direction: row;
    box-sizing: border-box;
    align-items: center;
    border-bottom: 2px solid white;
    width: 100vw;
    height: 5rem;
    top: 0;
    left: 0;
}
 #buttons {
    display: flex;
    /* border: 2px solid green; */
    width: calc(100vw - 10rem);
    justify-content: center;
    align-items: center;
    margin-right: auto;
} 

#buttons > * {
    padding-inline: 1rem;
    padding-block: 0.5rem;
}
#buttons > *:not(:first-child) {
    border-left: 2px solid white;
}

.navButton {
    font-size: 100%;
    font-weight: bold;
    transition: 0.25s;
    padding: 1rem;
}

.navButton:hover {
    font-size: 125%;
}

#logoBox {
    display: flex;
    box-sizing: border-box;
    /* border: 2px solid yellow; */
    width: 5rem;
    height: 5rem;
    justify-content: center;
    align-items: center;
    transition: 0.25s;
}

#logo {
    width: 4rem;
    height: 4rem;
    transition: 0.25s;
}

.navButton:hover {
    border-bottom: 2px solid white
}

#logo:hover {
    width: 5rem;
    height: 5rem;
    /* border: solid green */
}

@media (max-width: 475px) 
{
    #logo {
        width: 15vw;
        height: 15vw;
        transition: 0.25s;
    }

    #logo:hover {
        width: 17.5vw;
        height: 17.5vw;
    }
    
    #logoBox {
        width: 17.5vw;
    }

    .navButton {
        font-size: 3.5cqw;
        font-weight: bold;
        transition: 0.25s;
        padding: 1cqh;
    }

    #buttons > * {
        padding-inline: 5vw;
        padding-block: 0.1cqh;
    }

    #buttons {
        display: flex;
        /* border: 2px solid green; */
        width: 82.5vw;
        height: fit-content;
    } 
}

/* Page Content Styling */

.pageContents {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 5rem;
    left: 0;
    width: 100vw;
    height: calc(100vh - 5rem);
    /* border: 1px solid white; */
    justify-content: space-around;
    align-items: center;
}



/* Home page Photo Styling */

.photoRow {
    display: flex;
    height: calc(100%/2);
    width: 100%;
    /* border: 2px solid red; */
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.photoContainer {
    display: flex;
    position: relative;
    left:0;
    align-items: center;
    justify-content: center;
    overflow-x: scroll;
    overflow-y: hidden;
    height: calc(100vh/2);
    margin-bottom: -50px;
    padding-bottom: 50px;
    justify-content: start;
}


.photoContainer>div>img{
    height:100%;
    /* border: solid black; */
    position: relative;
    top: 0;
    left: 0;
}

.photoContainer>div{
    position: relative;
    height: 40vh;
    width: fit-content;
    margin-inline: 10px;
    /* border: 3px solid blue; */
}


.photoContainer div div {
    display: flex;
    color: white;
    position: absolute;
    bottom: 0;
    left: 0px;
    background-color: rgb(0, 0, 0, 0.5);
    width: 100%;
    height: 15%;
    padding-left: 10px;
    align-items: center;
}

.photoContainer h1 {
    color: white;
    width: 100%;
    height: 3cqh;
    text-justify: end;
    font-size: 3cqh;
}


/* Portfolio Page Styling */

#portfolio {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    position: fixed;
    overflow-x: hidden;
    overflow-y: auto;
    top: 5rem;
    left: 0;
    width: 100vw;
    height: calc(100vh - 5rem);
    /* border: 1px solid white; */
    padding-block: 10px;
    padding-inline: 50px;
    align-items: center;
}
#portfolio li {
    list-style-type: none;
    /* border: 2px solid blue; */
    width: fit-content;
    height: fit-content;
    margin-left: -2.5rem;;
    
}

#portfolio li.Header {
    width: 100%;
    text-align: center;
    font-size: 2cqw;
    /* border: 2px solid green; */
    text-decoration: underline;
    text-underline-offset: 1cqw;
    
}
.Header h1 {
text-justify: start;
/* border: 2px solid red; */
height: 100%;
padding-bottom: 1cqw;
}
#portfolio li.separator {
    width: 100%;
    text-align: center;
    /* border: 2px solid green; */
}

#portfolio ul {
    width: 100vw;
    position: absolute;
    top: 0rem;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    /* border: 2px solid green; */
    justify-content: center;
    align-items: center;
}

#portfolio img {
    height: 30vw;
    margin: 25px; 
    display: inline-block;
    /* border: 2px solid red; */
 }

 @media (max-width: 425px) 
 {
    #portfolio img {
        width: 90vw;
        height: auto;
        margin: 25px; 
        display: inline-block;
        /* border: 2px solid red; */
     }

     #portfolio li.Header {
        font-size: 5cqw;
    
    }
 }

 

/* About Page Styling */



#about {
    display: flex;
    position: fixed;
    top: 5rem;
    left: 0;
    width: 100vw;
    height: calc(100vh - 5rem);
    /* border: 1px solid green; */
    justify-content: start;
    align-items: center;
    padding: 25px;
}

#portrait {
    /* border: 1px solid white; */
    display: flex;
    height: 100%;   
    width: 33%; 
    padding-top: 1.5rem;
    align-items: center;
    overflow-x: hidden;
    overflow-y: scroll;
}

#portrait img {
    width: 100%;
}

#bio {
    /* border: 1px solid white;     */
    height: 100%;    
    width: 33%;
    padding-inline: 10px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    overflow-y: scroll;
    
}

#experience {
    display: flex;
    flex-direction: column;
    /* border: 1px solid white;    */
    height: 100%;    
    width: 33%;
    justify-content: start;
    align-items: center;
    overflow-y: scroll;
}

#experience>* {
    width: 100%;
    text-align: center;
    line-height: 0rem;
    padding-inline: 25px;
}

#name {
    /* border: 1px solid white;    */
    width: fit-content;

}

#bgexperience {
    display: flex;
    flex-direction: column;
    /* border: 1px solid white;    */
    height: fit-content;
    justify-content: center;
    align-items: center;

}

.expBox {
    display: flex;
    flex-direction: row;
    /* border: 2px solid green;    */
    width: 10cqw;
    height: 10cqw;
    border-radius: 2cqw;
    background-color: white;
    transition: 0.3s ease-out;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    margin-block: 2.5cqh;
    
}

.expBox:hover {
    width: 100%;
}

.expBox:hover .expInfo {
    left: 0;
}

.boxContents {
    display: flex;
    flex-direction: row;
    /* border: 2px solid blue;    */
    width: fit-content;
    height: 100%;
    border-radius: 2cqw;
    background-color: white;
    transition: 0.25s ease-in-out;
    align-items: center;
    justify-content: flex-start;
    
}


.icon {
    display: flex;
    flex-direction: column;
    width: 10cqw;
    height: 10cqw;
    justify-content: center;
    align-items: center;
    /* border: 3px solid red; */
    overflow: hidden;
}

.icon>img {
    height: 60%;
    width: fit-content;
    /* border: solid green; */
}


.icon>h3 {
    color: black;
    font-size: 1.5rem;
    /* border: 2px solid purple; */
    margin: 0;
    margin-top: 0.5cqw;

}

#about h3.Title {
    font-weight: bold;
    font-size: 1.5cqw;
    letter-spacing: -0.025rem;
    color: #1f1f1f;
    width: 10cqw;
    height: fit-content;
    /* border: 2px solid purple; */
}
.svg {
    filter: invert(7%) sepia(71%) saturate(25%) hue-rotate(27deg) brightness(95%) contrast(90%);
}

.expInfo {
    display: flex;
    flex-direction: column;
    color: #1f1f1f;
    /* border: 2px solid yellow; */
    height: 100%;
    width: 17rem;
    /* background-color: red; */
    align-items: left;
    text-align: left;
    justify-content: center;
    padding-left: 10px;
    position: relative;
    left: 10cqw;
    transition: 0.5s;
}

.expInfo * {
    /* border: 2px solid blue; */
    height: fit-content;
    width: fit-content;
    margin-block: 0.1cqw;
}


.aboutMe {
    /* border: 2px solid blueviolet; */
    margin-block-end: 25px;
}
.socials {
    height: fit-content;
    width: fit-content;
    margin-right: 25px;
}


.socials>img {
    height: 4cqw;
    filter: invert(1);
}

#mediaIcons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.contactLinks {
    text-decoration: underline;
    color: lightskyblue;
}

.contactLinks:hover {
    color:rgb(90, 166, 250);
}

#about h1 {
    font-size: 3.5cqw;
}
#about h2 {
    font-size: 2cqw;
    text-decoration: 2px underline;
    text-underline-offset: 5px;
    margin-top: 1rem;
}
#about h3 {
    font-weight: normal;
    font-size:1.5cqw;
    letter-spacing: 0.1rem;
    line-height: 1cqw;
}


#about h4 {
    font-size: 1.2cqw;
    padding-block: 1cqw;
}
#about li {
    font-size: 1.2cqw;
    padding-block: 0.7cqw;
    position: relative;
    right: 2.5rem;
}

#about h5 {
    font-weight: normal;
    font-size: 1.2cqw;
    padding-block: 0.6cqw;
}

#about p {
    font-size: 1.5cqw;
    line-height: 1.75cqw;
}

@media (max-width: 1024px) {
    .pageContents {
        overflow-y: scroll;
    }
    #about {
        display: block;
        position: fixed;
        flex-direction: column;
        top: 5rem;
        left: 0;
        width: 100vw;
        height: calc(100vh - 5rem);
        /* border: 1px solid green; */
        justify-content: start;
        align-items: center;
        overflow-y: scroll;
        padding-inline: 10%;
    }

    #portrait{
        width: 100%; 
        height: fit-content;
        margin-bottom: 10%;
    }
    #bio{ 
        width: 100%; 
        height: fit-content;
        margin-bottom: 10%;
        padding-inline: 10%;
    }
    #experience{  
        width: 100%; 
        height: fit-content;
        margin-bottom: 10%;
        padding-inline: 10%;
    }
    

    #about h1 {
        font-size: 5cqw;
    }
    #about h2 {
        font-size: 5cqw;
        text-decoration: 0.5cqw underline;
        text-underline-offset: 5px;
        margin-top: 1rem;
    }
    #about h3 {
        font-weight: normal;
        font-size:2.5cqw;
        letter-spacing: 0.1rem;
        line-height: 1rem;
    }
    
    
    #about h4 {
        font-size: 1.95cqw;
        padding-block: 1cqw;
    }
    #about li {
        font-size: 1.8cqw;
        padding-block: 1cqw;
        position: relative;
        right: 2.5rem;
    }
    
    #about h5 {
        font-weight: normal;
        font-size: 1.8cqw;
        padding-block: 1cqw;
    }
    
    #about p {
        font-size: 3.5cqw;
        line-height: 4cqw;
    }

    .icon>h3 {
        color: black;
        font-size: 2.25rem;
        /* border: 2px solid purple; */
        margin: 0;
        margin-top: 0.5cqw;
    
    }
    
    #about h3.Title {
        font-weight: bold;
        font-size: 2.25cqw;
        letter-spacing: -0.025rem;
        color: #1f1f1f;
        width: 10cqw;
        height: fit-content;
        /* border: 2px solid purple; */
    }

    .socials>img {
        height: 8cqw;
        filter: invert(1);
    }

    .expBox {
        width: 15cqw;
        height: 15cqw;
        margin-block: 2.5cqh;
    }
        
    .icon {
        width: 15cqw;
        height: 15cqw;
    }
}