body {
    background-color: #eaedf2;
}

.page {
    margin: 80px auto 300px
}

#nav-button {
    display: block;
}

#nav-desktop {
    display: none;
}

#nav-mobile {
    display: block;
    position: relative;
}

#nav-mobile ul {
    display: none;
    list-style-type: none;
    position: static;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    background-color: #606c76;
}

#nav-mobile li {
    display: block;
    padding: 5px 0;
    margin: 0 5px;
    border-bottom: solid 1px #606c76;
}

#nav-mobile li:last-child {
    border-bottom: none;
}

#nav-mobile a {
    display: block;
    color: white;
    padding: 10px 30px;
}

.navbar {
    margin-bottom: 10px;
    -webkit-animation: fadein 2s 1 forwards;
    animation: fadein 2s 1 forwards;
}

.navbar li a:hover {
    background-color: #4286f4;
}

.home-content {
    opacity: 0;
    -webkit-animation: fadein 2s 1 forwards;
    animation: fadein 1.5s 1 forwards;
}

.title-text {
    font-family: 'Lobster', cursive;
    font-size: 5em;
    text-align: center;
}

#title-greeting {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

#title-name {
    -webkit-animation-delay: 1.5s;
    animation-delay: 1.5s;
}

#title-icons {
    padding-top: 25px;
}

#title-icons {
    display: block;
    margin: auto;
    -webkit-animation-delay: 3s;
    animation-delay: 3s;
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.icon-link {
    color: inherit;
}

.icon-link:hover {
    color: #4286f4;
}

.fa {
    display: inline-block;
    margin: 0 5px 0 5px;
}

#profile-pic {
    max-width: 60%;
    height: auto;
    margin: auto;
    display: block;
}

#about-text {
    padding: 1em 0 0 0;
}

.img-circle {
    border-radius: 50%;
}

#technical-skills-list {
    list-style-position: outside;
    padding-left: 1.5em;
}

hr {
    margin: 1em 0 2em 0;
}

.about-section {
    padding: 1em 0 3em 0;
}

/* Desktop view */
@media only screen and (min-width: 768px) {
    #nav-button {
        display: none;
    }

    #nav-mobile {
        display: none;
    }

    #nav-desktop {
        display: inline;
    }

    #nav-desktop ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
        background-color: #606c76;
    }

    #nav-desktop li {
        float: left;
        margin-bottom: 0;
    }

    #nav-desktop li a {
        display: block;
        color: white;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
    }

    .title-text {
        font-size: 12em;
    }

    #profile-pic {
        max-width: 60%;
        height: auto;
        float: left;
    }

    .about-section {
        padding: 1em 0 4em 0;
    }
}