:root {
    --PrimaryHue--: #CBAC57;
    /* 
        --PrimaryHue--: #BB1C44;
        Old Primary color 
        Remember to change seperatly for C Icon and PSQ logo
        Also line 290 in JS
    */
    --SecondaryHue--: #570f61;
    --navbar--: #303030;
    --background--:#242424;
    --text--:#DADADA;
}

@font-face { font-family: Quicksand; src: url('../Fonts/Quicksand_Book.otf'); }

body {
    background-color: var(--background--);
    font-family: Quicksand;
    margin: 0;
    overflow-x: hidden;
}

div {
    box-sizing: border-box;
}

p {
    margin: 0;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Opera and Firefox */
}

.HueText {
    color: var(--PrimaryHue--);
}

.Navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 150px;
    height: 100vh;
    background-color: var(--navbar--);
    z-index: 10;
    padding: 25px 0 25px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    -webkit-box-shadow: 10px 0px 10px 0px rgba(0,0,0,0.50);
    -moz-box-shadow: 10px 0px 10px 0px rgba(0,0,0,0.50);
    box-shadow: 10px 0px 10px 0px rgba(0,0,0,0.50);
    overflow: auto;
}

.Navbar_Img {
    /* width: 66%; */
}

.Navbar_Link {
    margin: 25px 0 25px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.Navbar_Link p {
    color: var(--text--);
    text-align: center;
    font-size: 20px;
    margin: 10px;
    position: relative;
}

.Navbar_Link p::after {
    content: "";
    position: absolute;
    height: 2px;
    width: 0;
    left: 50%;
    top: 30;
    background-color: var(--PrimaryHue--);
    transition: width 0.25s, left 0.25s;
}

.Navbar_Link p:hover::after {
    width: 100%;
    left: 0;
}

.Navbar_Link p:hover {
    cursor: pointer;
}

.Navbar_Link p:last-child {
    margin-bottom: 0;
}

.Navbar_Social {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.Navbar_Social a{
    color: var(--text--);
    height: 30px;
    width: 30px;
    font-size: 30px;
    margin: 15px;
}
.Navbar_Social a:hover {
    cursor: pointer;
    color: var(--PrimaryHue--);
}
.Navbar_Social a img{
    height: 30px;
    width: 30px;
}
.Navbar_Social a:last-child {
    margin-bottom: 0;
}

.MobileHamburger {
    display: none;
    color: white;
    float: right;
    font-size: 5vh;
    margin-right: 5%;
    margin-top: 2.5vh;
    text-align: center;
}

.Screen {
    height: 100%;
    width: calc(100vw - 150px);
    padding: 0 0 0 150px;
    display: none;
}

@media screen and (max-width: 900px) {
    .Navbar {
        position: fixed;
        display: flex;
        flex-direction: row-reverse;
        align-items: unset;
        overflow: hidden;
        top: 0;
        height: 10vh;
        width: 100%;
        z-index: 10;
        padding: 0;
        background-color: var(--navbar--);
        -webkit-box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.50);
        -moz-box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.50);
        box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.50);
    }
    .Navbar_Img {
        position: absolute;
        height: 8vh;
        top: 1vh;
        left: 0;
    }
    .Navbar_Link {
        -webkit-box-shadow: inset 0px 10px 10px 0px rgba(0,0,0,0.5);
        -moz-box-shadow: inset 0px 10px 10px 0px rgba(0,0,0,0.5);
        box-shadow: inset 0px 10px 10px 0px rgba(0,0,0,0.5);
        position: absolute;
        top: -200;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: center;
        background-color: var(--PrimaryHue--);
        padding: 2.5% 0 2.5% 0;
        margin: 0;
        font-size: 3vh;
        color: var(--text--);
    }
    
    .Navbar_Link p:hover::after {
        width: 0;
        left: 50%;
    }

    .Navbar_Social {
        display: none;
    }
    .Screen {
        margin: 10vh 0 0 0;
        padding: 0 10%;
        width: 100%;
        height: 90vh;
    }
    .MobileHamburger {
        display: inline;
    }
}

@media screen and (min-width: 900px) {
    .Navbar_Img {
        width: 66%;
    }
}

.ActiveNav {
    display: flex;
    top: 10vh;
}

.NameHolder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.Name {
    position: relative;
    color: var(--background--);
    font-size: 6vw;
}

#Fullname {
    display: inline-block;
}

.Introduction {
    position: absolute;
    top: -10vh;
    left: 0;
    color: var(--text--);
    font-size: 5vw;
}

.Subtitle {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    position: absolute;
    bottom: -30;
    left: 0;
    font-size: 2vw;
    color: rgb(130,130,130);
}

.ActiveScreen {
    display: block;
}

.ActiveLink {
    position: relative;
}

.ActiveLink::after {
    content: "";
    position: absolute;
    top: 30;
    left: 0!important;
    width: 100%!important;
    height: 2px;
}

.About_Me {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100vh;
    padding: 0 5% 5%;
}

.About_Screen {
    width: 45%;
}

.About_Me-text {
    color: var(--text--);
    font-size: 18px;
    margin-bottom: 25px;
}

.About_Me-text p:last-child {
    margin-bottom: 0;
}

.About_Me_Img {
    width: 350px;
    margin: 0 24% 0 0;
    padding: 1%;
    background-color: var(--PrimaryHue--);
}

.ImgText {
    margin-top: 2.5%;
    color: rgb(130,130,130);
    font-size: 1vw;
    text-align: center;
}

.Text_Title {
    margin: 5% 0;
    font-size: 5vw;
    color: var(--PrimaryHue--);
}

.Text_SubTitle {
    margin: 5% 0 0;
    font-size: 2.5vw;
    color: var(--PrimaryHue--);
}

.About_Me_List {
    display: flex;
    flex-direction: row;
}

.About_Me_List li {
    color: var(--text--);
    font-size: 18px;
}

@media screen and (max-width: 900px) {
    .About_Me {
        flex-direction: column-reverse;
        justify-content: flex-end;
        height: 100%;
    }
    .About_Screen {
        width: 70%;
    }
    .Text_Title {
        text-align: center;
        font-size: 8vw;
    }
    .About_Me_Img {
        width: 70%;
        margin-left: 15%;
        border-radius: 100%;
    }
    .About_Me-text {
        color: var(--text--);
        font-size: 2vw;
    }
    .ImgText {
        font-size: 2vw;
        margin-bottom: 2.5%;
    }
}

.Portfolio {
    width: 100%;
    height: 100%;
    margin: 0 0 0 75px;
    padding: 0 50px;
}

@media screen and (max-width: 900px) {
    .Portfolio {
        margin: 0;
    }
}

.PortfolioTitle {
    color: var(--PrimaryHue--);
    padding: 5% 0 0% 0;
    margin: 0;
    width: 100%;
    font-weight: 400;
    font-family: Quicksand;
    font-size: 5vw;
    text-align: center;
    z-index: 1;
    background-color: var(--background--);
}

.PortfolioTextTitle {
    color: var(--PrimaryHue--);
    padding: 2.5% 0 5% 0;
    margin: 0;
    width: 100%;
    font-weight: 400;
    font-family: Quicksand;
    font-size: 4vw;
    text-decoration: underline var(--text--);
    text-align: center;
    z-index: 1;
    background-color: var(--background--);
}

.PortfolioSubTitle {
    color: var(--text--);
    margin: 0 0 5% 0;
    width: 100%;
    font-weight: 400;
    font-family: Quicksand;
    font-size: 2vw;
    text-align: center;
    z-index: 1;
    background-color: var(--background--);
}

.Projects {
    overflow-y: auto;
    /* overflow-x: hidden; */
}

.Project {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: flex-end;
    margin-bottom: 7.5%;
}

.Reverse {
    flex-direction: row-reverse;
}

.Picture {
    height: 100%;
    width: 45%;
    margin: auto 9px auto 0;
}

.Text {
    width: 45%;
}

@media screen and (max-width: 1300px) {
    .Project {
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-direction: column-reverse;
        align-items: center;
        margin-bottom: 7.5%;
    }
    
    .Text {
        width: 75%;
    }

    .Picture {
        height: 100%;
        width: 75%;
        margin-top: 5%;
    }
}

#Img {
    width: 100%;
    border: 4px solid var(--PrimaryHue--);
}

.Text h1{ 
    color: var(--PrimaryHue--);
    font-size: 3vw;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 5%;
}

.Text p{ 
    color: var(--text--);
    font-size: 1.25vw;
    overflow: auto;
    text-align: justify;
}

.Text a {
    font-size: 1.25vw;
    overflow: auto;
    text-align: justify;
    color: var(--PrimaryHue--);
    text-decoration: none;
    /* text-decoration: underline var(--text--); */
}

.Text a:hover {
    color: var(--PrimaryHue--);
    text-decoration: underline var(--PrimaryHue--);
}

.outlink {
    color: var(--text--);
    text-decoration: underline;
    cursor: pointer;
}


.BlogContent {
    width: 66%;
    margin: 0 auto 0 auto;
}

@media screen and (max-width: 900px) {
    .BlogContent {
        width: 100%;
        margin: 0 auto 0 auto;
    }
}

.BlogTitle {
    margin: 0 auto 50px;
    display: flex;
    flex-direction: column;
    text-align: center;
}
.BlogTitle::after {
    position: relative;
    top: 20;
    height: 5px;
    background-color: var(--PrimaryHue--);
    content: "";
}

.BlogTitle h1 {
    font-size: 4vw;
    font-weight: 400;
    margin: 25px 0 0 0;
    color: var(--PrimaryHue--);
}

.BlogTitle h3 {
    font-size: 2vw;
    font-weight: 400;
    margin: 25px 0 0 0;
    color: var(--text--);
}

.BlogText {
    position: relative;
    padding: 0 25px 0 100px;
    color: var(--text--);
    text-align: justify;
    margin-bottom: 150px;
}

.BlogText::after {
    position: absolute;
    bottom: -75;
    left: 0;
    width: 100%;
    content: "";
    height: 5px;
}

.BlogText:not(:last-child)::after {
    background-color: var(--PrimaryHue--);
}

.BlogText p {
    font-size: 18px;
}

.BlogDate {
    position: absolute;
    left: 0;
}

.BlogTextNoImage {
    margin-bottom: 20px;
}

.BlogTextImage {
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
}

.BlogTextImage p {
    width: 40%;
}

.BlogTextImage img {
    width: 60%;
    margin: 0 0 0 5%;
    object-fit:contain;
}


@media screen and (max-width: 1400px) {
    .BlogTextImage {
        display: flex;
        flex-direction: column;
        margin-bottom: 20px;
    }

    .BlogTextImage p {
        width: 100%;
    }

    .BlogTextImage img {
        width: 100%;
        margin: 5% 0 0 0;
    }
}

.TransitionScreen {
    position: absolute;
    height: 100%;
    width: 0;
    left: 150;
    margin-left: 0;
    z-index: 9;
    background-color: var(--PrimaryHue--);
}
@media screen and (max-width: 900px) {
    .TransitionScreen {
        left: 0;
        top: 10vh;
        margin-top: 0;
        width: 100%;
        height: 0;
    }
    .Text p {
        font-size: 1.75vw;
    }
}

.transition {
    animation-name: Transition;
    animation-duration: 1s;
}
@keyframes Transition {
    0% {width: 0; margin-left: 0;}
    50% {width: calc(100vw - 150px);margin-left: 0;}
    100% {width: 0;margin-left: calc(100vw - 150px);}
}

.mobiletransition {
    animation-name: MobileTransition;
    animation-duration: 1s;
}
@keyframes MobileTransition {
    0% {height: 0; margin-top: 0;}
    50% {height: 100%; margin-top: 0;}
    100% {height: 0; margin-top: 100vh;}
}

.startnavbar {
    animation-name: Startnavbar;
    animation-duration: 1s;
}
@keyframes Startnavbar {
    0% {left: -150;}
    100% {width: 150;}
}

.logoname {
    animation-name: Logoname;
    animation-duration: 1s;
}
@keyframes Logoname {
    0% {left: 100%;}
    100% {left: 0;}
}

.navbarlogo {
    animation-name: Navbarlogo;
    animation-duration: 1s;
}
@keyframes Navbarlogo {
    0% {transform: rotate(-360deg);}
    100% {transform: rotate(0deg);}
}

.hityping {
    overflow: hidden;
    white-space: nowrap;
    animation: 
        HiTyping 0.5s steps(4, end);
}
@keyframes HiTyping {
    0% {width: 0;}
    100% {width: 100%;}
}

.iamtyping {
    overflow: hidden;
    white-space: nowrap;
    animation: 
        IamTyping 1.5s steps(4, end);
}
@keyframes IamTyping {
    0% {width: 0;}
    66% {width: 0;}
    100% {width: 100%;}
}

#NameTransition {
    position: absolute;
    width: 0;
    background-color: var(--PrimaryHue--);
    top: 50%;
    margin-left: 0;
}
.nametransition {
    animation:
        Nametransition 1s;
}
@keyframes Nametransition {
    0% {width: 0; margin-left: 0;}
    50% {width: 100%;margin-left: 0;}
    100% {width: 0;margin-left: 100%;}
}

.subtitledrop {
    animation-name: Subtitledrop;
    animation-duration: 2s;
}