:root {
    --primary: #EFEFEF;
    --titles: #233256;
    --darkblue: #233256;
    --secondary: #FAFAFA;
    --border: lightgrey;
}

.dark {
    --primary: #252526;
    /*#343C25 */
    --titles: #EFF1F3;
    --darkblue: #385067;
    --secondary: #385067;
    --border: rgb(#385067);
}

/* inspired on http://orta.io/vscode-themes/   BluePrint */

/* .dark{
    --primary: #223843; #343C25 
    --titles: #EFF1F3;
    --secondary: #14252e;
    --border: rgb(104, 104, 104);
} */

/* 
.dark{
    --primary: #101010;
    --titles: #DCCDA9;
    --secondary: #292929;
    --border: rgb(104, 104, 104);
} */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 1s;
    transition: color 0.5s;
}

html {
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
}

body {
    width: 100%;
    background-color: var(--primary);
    margin: auto;
}

aside {
    padding: 0.5em;
    height: 100%;
    width: 35%;
    background-color: var(--primary);
    text-align: center;
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

nav {
    display: flex;
    flex-direction: column;
    align-items: center;
}

aside .navlist {
    position: relative;
    font-size: 1.2em;
    display: flex;
    list-style-type: none;
    flex-direction: column;
    transition: all, 1s;
    margin-top: 1em;
}

aside .navlist.hidden {
    margin-top: -15em;
}

aside .navlist a {
    font-family: 'Nunito', sans-serif;
    text-transform: Uppercase;
    color: var(--titles);
    text-decoration: none;
    border-bottom: 0;
    padding-bottom: 0px
}

aside .navlist a:hover {
    text-decoration: underline;
}

aside #menuButton {
    width: 3em;
    text-align: center;
    cursor: pointer;
}

aside #menuButton #line1 {
    transform: rotate(45deg);
    border-bottom: 1px solid var(--titles);
    transition: all, 1s;
    margin-top: 2em;
    margin-bottom: 1.5em;
}

aside #menuButton #line2 {
    transform: rotate(-45deg);
    border-bottom: 1px solid var(--titles);
    transition: all, 1s;
    margin-top: -1.5em;
    margin-bottom: 0.3em;
}

aside #menuButton #text {
    padding-top: 0.5em;
}

aside #menuButton #line1.hidden {
    transform: rotate(0);
    border-bottom: 1px solid var(--titles);
    margin-top: 2em;
}

aside #menuButton #line2.hidden {
    transform: rotate(0);
    border-bottom: 1px solid var(--titles);
    margin-top: 0em;
    margin-bottom: 0em;
}

aside .headers {
    position: relative;
}

aside .headers .title1 {
    font-size: 2em;
}

aside .copyright {
    position: relative;
}

aside .copyright p {
    font-family: 'Playfair Display', serif;
}

.normal {
    margin-left: 35%;
    width: 65%;
    min-height: 100vh;
    border: 1px solid var(--border);
    padding-left: 1.5em;
    display: block;
    background: var(--secondary);
}

.normal img {
    width: 100%;
}

.normal .project .portfolioPicture {
    aspect-ratio: 16/9;
    width: 16rem;
}

.normal .project .projectDescription {
    width: 16rem;
}

main {
    margin-left: 35%;
    padding: 0.5em;
    display: flex;
    flex-wrap: wrap;
}

.indexMainSections {
    background: var(--darkblue);
    width: 100%;
    aspect-ratio: 16/6;
    text-align: center;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: 0.25s;
}

.bannerText {
    background: var(--darkblue);
    margin-top: -50%;
    z-index: 2;
}

.indexMainSections img {
    opacity: 0.6;
    z-index: 1;
    width: 100%;
}

.indexMainSections:hover {
    font-size: 1.4em;
}

.title1, .title2, .title3, .title4, .title5, .title6 {
    font-family: 'Nunito', sans-serif;
    text-transform: Uppercase;
    color: var(--titles);
}

.bannerText .title2, .bannerText .title4 {
    font-family: 'Nunito', sans-serif;
    text-transform: Uppercase;
    color: white;
    opacity: 0.9;
}

a {
    text-decoration: none;
}

.link {
    text-decoration: none;
    border-bottom: 1px solid var(--titles);
    padding-bottom: 3px;
    transition: 0.25s;
    cursor: pointer;
}

.link:hover {
    padding-bottom: 0px;
}

main a {
    font-family: 'Nunito', sans-serif;
    color: var(--titles);
}

ul li {
    font-family: 'Nunito', sans-serif;
    margin-left: 1.5em;
    color: var(--titles);
}

p {
    font-family: 'Nunito', sans-serif;
    color: var(--titles);
}

@media handheld, screen and (max-width: 600px) {
    .indexMainSections {
        display: none;
    }
    aside {
        width: 100%;
        height: 75%;
        position: absolute;
    }
    .normal {
        margin-left: 0;
        width: 100%;
        padding: 150% 1.5em 0 1.5em;
    }
}