:root{
    --cushion: 2em 4em;
}
:root {
    --maincol: #a76ebf;
}
body {
    overflow-x: hidden;
    background-color: #fefcfa;
}
h1, h2, h3{
    font-family: "Sour Gummy", sans-serif;
    letter-spacing: 0.05em;
    margin-bottom: 1em;
    margin-top: 4em;
}
p, li{
    font-family: "Delius", sans-serif;
    letter-spacing: 0.03em;
    line-height: 2em;
}
header {
    padding: 0.3em 4em;
    display: flex;
    background-color: var(--maincol);
    .logo{
        margin-left: auto;
        width: 5em;
    }
    .waffle{
        font-size: 3em;
        justify-content: left;
        margin-top: 0;
        margin-bottom: 0;
    }
}
.bodyImg {
    border: 2px solid black;
    margin-left: 11em;
    width: 70%;
}
.page-stuff{
    position: relative;
    padding: 0;
    margin-left: auto;
}
.nav-side{
    z-index: 50;
    position: absolute;
    background-color: #d9c5fe;
    display: none;
    ul{
        list-style: none;
        margin-right: 6em;
        margin-top: 8em;
        .nav-link{
            margin-top: 2em;
            margin-bottom: 2em;
        }
        a{
            &:visited{
                color: black;
            }
        }
    }
    &.content-show{
        display: block;
        animation: slide-in 400ms ease-out;
    }
}
.content-side{
    #parralax{ /*i did spell it wrong*/
        z-index: -10;
        position: relative;
        height: 800px;
        overflow: hidden;
        background-color: rgb(33, 15, 37);
    }
    .layer {
        position: fixed;
        background-position: center bottom;
        background-repeat: no-repeat;
        width: 100%;
        height: 800px;
    }
    #background{
        background-image: url('assets/Background.png');
    }
    #midback{
        background-image: url('assets/MidBack.png');
        
    }
    #midground{
        background-image: url('assets/MidGround.png');
    }
    #wizard{
        background-image: url('assets/WizardBG.svg');
    }
}
.content{
    background-color: #fefcfa;
    padding: var(--cushion);
}
footer{
    background-color: var(--maincol);
    padding: var(--cushion);
    a{
        text-decoration: none;
    }
}
/*fade in text divs and junk*/
.fade-in {
    opacity: 0;
    transition: all 220ms;
    /*adding a class*/
    &.in-view {
        opacity: 1;
    }
}
/*AaAAAAAAAAAA*/
@keyframes slide-in{
    from { transform: translate(-50em); }
    to { transform: translate(0); }
}
@keyframes dim{
    from { filter: brightness(1);}
    to {filter: brightness(0.5);}
}

/*change size because*/
@media screen and (max-width: 699px){
    ul{
        padding-left: 4em;
    }
    .bodyImg{
        margin-left: 0;
    }
}
 @media screen and (min-width: 700px){
    :root{
        --cushion: 2em 6em;
    }
    header{
        padding: 0.3em 6em;
    }
    .page-stuff{
        position: static;
        display: flex;
    }
    .nav-side{ 
        height:auto;
        position:relative;
        padding-bottom: auto;
    }
    ul {
        margin-left: 6em;
        padding: 0;
    }
 }

 @media screen and (min-width: 1400px){
    :root{
        --cushion: 2em 17em;
    }
    header{
        padding: 0.3em 10em;
    }
    ul{
        margin-left: 10em;
    }
 }