* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    letter-spacing: 0.5px;
}

body, html {
    background-color: seashell;
    scroll-behavior: smooth;
}

#page {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 5%;
    margin-right: 5%;
    padding-top: 80px; /* Add space for fixed nav */
}

nav {
    text-align: center;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
}

nav ul {
    display: flex;
    justify-content: center;
    background-color: black;
}

nav ul li {
    margin-top: 20px;
    margin-bottom: 20px;
    list-style: none;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 12px 18px;
    letter-spacing: 0.5px;
    position: relative;
    transition: 0.2s;
    align-items: center;
    font-size: 15px;
}

nav ul li a img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

nav ul li a:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background-color: rosybrown;
    transition: 0.5s linear;
}

nav ul li a:hover {
    color: rosybrown;
}

nav ul a:hover:after {
    width: 100%;
}

/* title formatting */

h1 {
    color: black;
    font-size: 40px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 15px;
    width: 100%;
    animation: fade-in 1.5s cubic-bezier(0.77, 0, 0.175, 1);
}

h2 {
    color: rosybrown;
    font-size: 20px;
    text-align: center;
    margin-top: 5px;
    width: 100%;
    animation: fade-in 1.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.section-header {
    font-size: 30px;
    color: black;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 40px;
    animation: fade-in 1.5s cubic-bezier(0.77, 0, 0.175, 1);
}


::placeholder {
    color: rosybrown;
    opacity: 0.7;
}

/* fade in from bottom */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translate(0, 100%);
    } to {
        opacity: 1;
        transform: translate(0, 0);
    }
}