body {
    font-family: "Unbounded", sans-serif;
    height: 100%;
    max-width: 100%;
    overflow-x: hidden;

}

:root {
    --bs-primary: #ffd771;
    --bs-secondary: #6c757d;
    --bs-primary-rgb: 255, 215, 113;
    --bs-secondary-rgb: 108, 117, 125;
}

h2 {
    width: fit-content;
    background-color: #FFD771;
    margin-right: 300em;
}


p {
    font-weight: 300;
}

.bi {
    color: #ffbe1b;
    font-size: xxx-large;
}

/* Header stuff :) */

header {
    background-color: #FFD771;
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 10;
    height: 100%;
}

.h1 {
    display: block;
    font-size: 2em;
    font-weight: 900;
    margin: 0;
}



header::before {
    content: '';
    display: block;
    background: black;
    position: absolute;
    width: 100%;
    height: 12px;
    top: 5.2em;
    left: 0;
    z-index: -1;
}

.headshot {
    display: none;
}


nav a:hover {
    text-shadow: 1px 1px 5px rgb(134, 134, 134);
}

nav a:visited {
    text-decoration: none;
    color: black;
}

nav a:link {
    color: black;
    text-decoration: none;
}


.active {
    font-weight: 400;
}

/*body stuff :) */
section {
    position: relative;
    h2 {
        background-color: white;
    }
}
.portfolio-section{
    margin-top: 4.4em;
}
.portfolio-section::before {
    content: '';
    display: block;
    background: black;
    position:absolute;
    height: 12px;
    top: 0.8em;
    z-index: -1;
    left: -4em;
    width: 100em;
}

footer {
    background-color: rgb(238, 238, 238);
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 99;
}

@media (width >=992px) {
    header {
  
        nav {
            position: absolute;
            bottom: 10px;
            left: 0;
            right: 10px;
        }
    }
}

@media (width <=992px) {
    header {
        width: 100%;
        height: 6.5em;
        flex-direction: column;
        justify-content: space-between;
        position: fixed;
        top: 0;

    }

    footer {
        left: 0;
    }

    header img,
    .about-me, header::before {
        display: none;
    }
    section{
        padding: 0 2em 1em;
    }
    .section-top {
        padding: 3em 2em 0;
    }


    .section-top::before {
        top: 3.7em;
    }
}