@import url('https://fonts.googleapis.com/css2?family=Lora&family=Poppins&family=Source+Sans+Pro&display=swap');

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

html{
    height: 100%;
    width: 100%;
}

body{
    min-height: 100%;
    width: 100%;
    overflow-x: hidden;
    background-color:white;
    color: #000a16;
    font-family: Lora, serif;
    font-size: 3vh;
    line-height: 4.5vh;
}

h1, h2, h3{
    font-family: Poppins, sans-serif;
}

h1{
    font-size: 6vh;
    line-height: 8vh;
    margin: 1vh 0;
}

h2{
    font-size: 4.8vh;
    line-height: 7.2vh;
}

h3{
    font-size: 3.6vh;
    line-height: 4.8vh;
}

nav{
    position: fixed;
    z-index: 999;
    top: 10px;
    left: 10px;
    text-align: center;
    font-family: Poppins, sans-serif;
    font-size: 2vh;
    line-height: 3vh;
}

nav > a {
    display: inline-block;
    background-color: #323232;
    color: white;
    /* padding: 2px 10px; */
    vertical-align: middle;
    text-decoration: none;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.5s ease-out;
}

nav > a:first-of-type{
    padding: 2px 10px;
}

nav >a:not(:first-of-type){
    display: inline-block;
    width: 0;
    overflow-x: hidden;
    white-space: nowrap;
    
    transition: all 0.3s ease-out;
}

nav > a.open{
    width: 12vw;
    padding: 2px 10px;
    border-left: 2px solid white;
    transition: all 0.3s ease-out;
}

nav > a:visited{
    color: white;
}

nav > a:hover{
    opacity: 1;
    transition: all 0.5s ease-out;
}

nav > a > span.rotated{
    transform: rotate(45deg);
    transition: all 0.5s ease-out;
}

nav > a > span{
    transition: all 0.3s ease-out;
}

article{
    margin: 1.5vh 0;
    padding: 1vh 5vw;
}

section{
    margin: 1.2vh 0;
}

section > p{
    text-indent: 5%;
}

p{
    margin: 0.2vh 0;
}

a, a:visited{
    color: #323232;
    text-decoration: underline;
}