:root {
    /*Colours*/
    --modal-bg: #d7e3c0;
    --modal-accent: #9EAD72;
    --dark-accent: #393E41;
    --text-dark: #13181b;
    --text-light: #f5faf8;
    --highlighter-pink: #e70282;
    --highlighter-yellow: #FEE639;
    --teal-accent: #0ea6a6;
    
    /*Shadows*/
    --shadow-hard: 1px 3px 0 rgba(0, 0, 0, 0.4);
    --shadow-soft: 0 4px 10px rgba(0, 0, 0, 0.15);

    --choppy-edge : 255px 15px 225px 15px / 15px 225px 15px 255px;
}

*, ::before, ::after {
    box-sizing: border-box;
}

/*Basic styling*/

body {
    font-family:'Walter Turncoat', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background-color: var(--text-light);
    background-image:  
        linear-gradient(#d8d1e8 1px, transparent 1px), 
        linear-gradient(to right, #d8d1e8 1px, var(--text-light) 1px);
    background-size: 20px 20px;
}


/*------------ TOP NAVIGATION ---------*/

header {
    position: relative;
    padding: 5px;
    overflow:hidden;
}

nav {
    position: relative;
    width: 100%;
    height:100%;
    }

nav::before {
    content: "";
    position: absolute;
    background-image: url(../base_assets/cardboard_edge.png);
    transform: rotateX(180deg);
    width: 100%;
    height: 85px;
    background-size:cover;
}

nav::before, .sidenav::before {
    background-repeat: no-repeat;
    background-size: cover;
    image-rendering: crisp-edges;
}

nav ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    padding: 10px 0px;
    position: relative;
    display: flex;
    
    li a, li {
            color: var(--text-dark);
            text-decoration:none;
        };
    li {
        padding: 0px 20px;
        background-color: var(--highlighter-yellow);
        border-radius: var(--choppy-edge);
        padding: 5px 10px;
        margin: 5px;
    }
    li:hover {
        background-color: var(--highlighter-pink);
        a {color: var(--text-light);}
    }
}  

.sidenav {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
}

/*-------- FOOTER -----------*/
footer {
    background-color: var(--text-dark);
    display: flex;
    width: 100%;
    position: sticky;
    bottom:0;

    ul {
            margin-right: auto;
            display: flex;
            list-style: none;
            
            li {padding: 0 5px;}
        }
        
    img {width: 50px;}

    p {
        margin-left: auto;
        padding-right: 1rem;
        color: var(--text-light)
    }
}

button {
  cursor: pointer;
  font-size: 1.1rem;
  margin: 10px;
  border: none;
}