body{
    background-color: #36454F;
    width: 100vw;
    overflow-x: hidden;
    overflow-y: scroll;
    margin: 10px;
    font-family: 'Chakra Petch', 'sans-serif';
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
    padding: 10px;
    box-sizing: border-box;
}

button{
    font-family: 'Chakra Petch', 'sans-serif';
}

button:hover{
    opacity: 0.7;
}

button:active{
    opacity: 0.4;
}

#header{
    width: 97vw;
    height: 12.5vh;
    position: relative;
    top: 0;
    left: 1vw;
    padding-left: 1vw;
    padding-right: 1vw;
    padding-top: 1vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px #546068 solid;
}

#headerNameTag{
    position: relative;
    width: 0;
    height: 80%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
}

#headerLogo{
    background-color: #00FFFF;
    position: relative;
    height: 100%;
    aspect-ratio: 1/1;
    border-radius: 12px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#headerLogoText{
    position: relative;
    color: #36454F;
    font-size: clamp(0.5rem, 2.25rem, 90cqw);
    font-weight: 900;
    
}

#headerName{
    white-space: nowrap;
    color: white;
    margin: 10px;
    font-weight: 250;
}

#headerNavigationBar{
    margin-right: 8vw;
    display: flex;
    flex-direction: row;
    justify-self: center;
    align-items: center;
    min-width: 200px;
    gap: 10px;
}

#headerNavigationButtonPhone{
    display: none;
}

.NavButton{
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.HeaderNavButton{
    font-size: 2.75cqh;
}

@media (max-width: 540px){
    #headerNavigationBar{
        display: none;
    }
    #headerNavigationButtonPhone{
        display: block;
        margin-right: 8vw;
        color: white;
        font-size: 6cqh;
        transition: opacity 0.2s ease;
    }
}



#content{
    position: relative;
    box-sizing: border-box;
    width: 100%;
    top: 0;
    padding: 2%;
    margin: 10px;
    display: flex;
    flex-direction: column;
}

#HomePage{
    position: relative;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: row;
}

#HomePageTextHalf{
    max-width: 60vw;
    font-family: 'Chakra Petch', 'sans-serif';
    color: white;
}

#HomePageLabel{
    font-size: 4cqh;
    color: #0892D0;
}

#HomePageName{
    font-size: 3.25rem;
    margin-top: 0;
}

#HomePageToProjectButton{
    font-family: 'Chakra Petch', 'sans-serif';
    position: relative;
    top: 25%;
    background-color: #00FFFF;
    color: #36454F;
    border: none;
    border-radius: 10px;
    height: 7vh;
    font-size: 3cqh;
    margin: 10px;
}

#HomePageToAboutButton{
    font-family: 'Chakra Petch', 'sans-serif';
    position: relative;
    top: 25%;
    background-color: #36454F;
    color: white;
    border: solid 3px #546068;
    border-radius: 10px;
    height: 7vh;
    font-size: 3cqh;
}

@media (max-width: 800px){
    #HomePage{
        flex-direction: column;
    }
    #HomePageTextHalf{
        max-width: 100vw;
    }
}

#ProjectsPage{
    width: 100%;
    display: flex;
    flex-direction: column;
}

.Project{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 98%;
    color: white;
    border-bottom: solid #546068;
}

.ProjectText{
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: baseline;
    margin-right: 25px;
}

.ProjectName{
    color: #0892D0;
    margin-bottom: 0;
    font-size: 2rem;
}

.ProjectCaption{
    font-size: 1rem;
    margin-top: 5px;
    margin-bottom: 0;
    max-width: 60vw;
}

.tags{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.tag{
    font-size: 0.9rem;
    border: solid #546068;
    border-radius: 20px;
    padding: 7.5px;
    margin-right: 20px;
}

.SeeDetails{
    font-size: 1.2rem;
    background-color: #00FFFF;
    border: none;
    border-radius: 15px;
    padding: 10px;
    margin-bottom: 10px;
}

@media (max-width: 600px){
    .Project{
        flex-direction: column;
        align-items: baseline;
    }
    .SeeDetails{
        margin-top: 20px;
    }
}

#PopUpProject{
    display: none;
    position: fixed;
    left: 50vw;
    top: 50vh;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 80vh;
    background-color: #36454F;
    border: solid #546068;
    border-radius: 15px;
    overflow-y: scroll;
    padding: 15px;
    color: white;
}

#PopUpProjectTitle{
    margin-bottom: 2.5px;
    color: #0892D0;
}

#PopUpTags{
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: baseline;
    margin-top: 0;
    flex-wrap: wrap;
    row-gap: 0px;
}

.PopUpTag{
    font-size: 0.9rem;
    border: solid #546068;
    border-radius: 20px;
    padding: 7.5px;
    margin-right: 20px;
    margin-bottom: 0;
}

#LinkToGithubButton{
    width: 100%;
    background-color: #00FFFF;
    border: none;
    border-radius: 25px;
    font-size: 1.25rem;
}

#PopUpX{
    position: fixed;
    right: 0;
    top: 25px;
    margin: 20px;
    border: none;
    border-radius: 4px;
    color: white;
    background-color: #546068;
    font-size: 1.25rem;
}

@media (max-width: 575px){
    #PopUpProject{
        width: 90%;
        overflow-x: hidden;
    }
}

#AboutPage{
    color: white;
    display: flex;
    flex-direction: column;
}

.AboutParagraph{
    margin-top: 0;
    font-size: 1.2rem;
    text-indent: 40px;
}

#TechnicalInterestsList{
    font-size: 1.2rem;
    margin-top: 0;
}

.AboutHeader{
    color: #0892D0;
}

li{
    margin-bottom: 5px;
}

#TechnicalBackgroundList{
    font-size: 1.2rem;
    margin-top: 0;
}

#CurrentlyLearningList{
    font-size: 1.2rem;
    margin-top: 0;
}

#aboutPageLinks{
    position: relative;
    left: 50vw;
    transform: translate(-50%, 0);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 30px;
}

.aboutPageButton{
    background-color: #00FFFF;
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-size: 1.2rem;
}

@media (max-width: 575px){
    #aboutPageLinks{
        flex-direction: column;
    }
}

#sidebar{
    display: none;
    flex-direction: column;
    position: fixed;
    width: 100vw;
    left: 0px;
    top: 18vh;
    background-color: #36454F;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    align-items: stretch;
    overflow-x: hidden;
}

#header {
    width: 100%;
    left: 0;
    margin: 0;
}

#content {
    width: 100%;
    left: 0;
    margin: 0;
}
