@font-face {
    font-family: 'Josefin Sans';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/josefinsans/v16/Qw3aZQNVED7rKGKxtqIqX5EUDXx4.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Josefin Sans';
    font-style: normal;
    font-weight: 700;
    src: url(https://fonts.gstatic.com/s/josefinsans/v16/Qw3aZQNVED7rKGKxtqIqX5EUDXx4.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

::-webkit-scrollbar {
    width: 5px;
}
  
::-webkit-scrollbar-track {
    background: rgba(4, 35, 44, 0.5);
}
  
::-webkit-scrollbar-thumb {
    background: rgba(207, 210, 219, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    font-size: 20px;
    font-family: 'Josefin Sans', sans-serif;
    color: rgba(4, 35, 44, 1);
    text-align: center;
    height: 100%;
    background-color: rgba(207, 210, 219, 1);
}

body {
    height: 100%;
}

main {
    width: 75%;
    margin: 1rem auto;
}

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

a:hover {
    opacity: 0.5;
}

h1 {
    color: rgba(207, 210, 219, 1);
    background-color: rgba(207, 210, 219, 0.3);
    padding: 1.5rem;
    border-top: 0.25rem solid rgba(207, 210, 219, 1);
    border-bottom: 0.25rem solid rgba(207, 210, 219, 1);
}

p {
    margin: 1rem 0;
}

#portrait {
    display: none;
}

header {
    height: 100vh;
    width: 12%;
    position: fixed;
    top: 0;
    color: rgba(207, 210, 219, 0.5);
    background-color: rgba(13, 49, 64, 1);
}

nav {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

nav ul{
    width: 100%;
    height: 50%;
    text-align: right;
    list-style: none;
    display: block;
}

nav li {
    width: 100%;
    height: 20%;
    padding-right: 1rem;
    border-top: 1px solid rgba(207, 210, 219, 0.5);
    display: flex;
    justify-content: space-around;
    flex-direction: column;
}
nav img {
    width: 90%;
    padding: 0.5rem;
}

#active {
    color: rgba(207, 210, 219, 1);
    background-color: rgba(207, 210, 219, 0.3);
}

.last {
    border-bottom: 1px solid rgba(207, 210, 219, 0.5);
}

main {
    width: 88%;
    position: absolute;
    right: 0;
}

footer {
    width: 100%;
    margin: 1rem 0;
}

footer p {
    margin: 0;
}

footer a {
    color: rgba(72, 97, 111, 1);
}


/* Media Queries*/ 
@media only screen and (orientation: portrait) {
    html {
        font-size: 30px;
    }

    nav {
        font-size: 0.66rem;
        flex-direction: column-reverse;
        justify-content: flex-end;
    }
}