* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: black;
}

body {
    font-family: Roboto, sans-serif;
    font-weight: 350;
}

/* navbar */
.container {
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

header {
    color: #fff;
    padding: 5px 0;
}

nav {
    margin-top: 10px;
    margin-left: 10%;
    margin-right: 10%;

    display: flex;
    flex-direction: row;
}

#logo {
    font-family: "Ephesis", "Roboto", serif;
    font-weight: 100;
    font-size: 2.5em;

    order: 1;
    flex-grow: 1;
    width: 20%;
}

#links {
    order: 2;
    align-self: center;
    justify-self: center;
    justify-items: center;

    flex-grow: 1;
    width: 60%;
}

#other {
    order: 3;
    justify-items: flex-end;

    flex-grow: 1;
    width: 20%;
}

nav {
    flex-direction: column;
}
#logo {
    width: 100%;
    justify-items: center;
}
#links {
    width: 100%;
}
#other {
    align-self: center;
    justify-self: center;
    justify-items: center;
    width: 100%;
}

.fa-instagram {
    color: white;
    text-decoration: none;
    font-weight: 100;
}
.fa-instagram:visited {
    color: white;
    text-decoration: none;
}

.nav-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline-block;
    margin-left: 15px;
    margin-right: 15px;
}

.nav-links a {
    display: block;
    position: relative;
    padding: 0.2em 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.07em;
    background-color: white;
    opacity: 0;
    transition: opacity 300ms, transform 200ms;
}
.nav-links a:hover::after,
.nav-links a:focus::after {
    opacity: 1;
    transform: translate3d(0, 0.1em, 0);
}
.nav-links a::after {
    opacity: 1;
    transform: scale(0);
    transform-origin: center;
}
.nav-links a:hover::after,
.nav-links a:focus::after{
    transform: scale(1);
}
.nav-links li a {
    color: #ddd;
    text-decoration: none;
    padding: 4px 1px;
    display: inline-block;
    overflow: hidden;
}

@media  (max-width: 1000px) {
    nav {
        font-size: 2.5em;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 15px;
    }

    #links {
        margin-top: 20px;
    }

    .nav-links li {
        display: inline-block;
        margin-left: 35px;
        margin-right: 35px;
    }
}