*{
    box-sizing: border-box;
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
}

html{
    scroll-behavior: smooth;
}

body{
    background-color: #FFFFFF;
    /*background-color: rgb(248, 248, 248);*/
}

#site-background {
	transition-property: opacity;
	transition-duration: 1s;
	background-attachment: fixed;
	
	opacity: 0;
	position: fixed;
	top: 0;
	z-index: -1;
	width: 100vw;
	height: 100vh;
}

p{
    margin: 0;
}

a, a:hover, a:active{
    color: initial;
}

#site-root{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#site-content{
    width: 600px;
    background-color: #FFFFFF;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 8px 17px 2px rgba(0,0,0,0.14), 0 3px 14px 2px rgba(0,0,0,0.12), 0 5px 5px -3px rgba(0,0,0,0.2);
}

.top-spacing{
    padding-top: 60px;
}

/* NAVBAR */

#site-navbar{
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #FFFFFF;
    border-radius: 8px;
    display: flex;
    transition-duration: 0.1s;
    transition-property: box-shadow;
}

#site-navbar a:nth-child(1){
    margin-right: auto;
}

#site-navbar a p{
    display: inline-block;
    cursor: pointer;
    padding: 7px;
    margin: 8px;
    border-radius: 4px;
}

#site-navbar p:hover{
    background-color: rgb(219, 219, 219);
    transition-duration: 0.2s;
    transition-property: background-color;
}

/* MARKDOWN CONTENT */

.markdown-body{
    margin: 10px;
}

/* RESPONSIVE */

@media screen and (max-width: 700px) {
    #site-content{
        width: 92%;
    }
}

/* FOOTER */

footer{
	background-color: white;
    width: 100%;
    text-align: center;
    padding: 20px;
    box-shadow: 0 8px 17px 2px rgba(0,0,0,0.14), 0 3px 14px 2px rgba(0,0,0,0.12), 0 5px 5px -3px rgba(0,0,0,0.2);
}
