/*****************************************************************************/
/*                                   Core                                    */
/*****************************************************************************/
* {
    font-family: Muli, sans-serif;
}
html {
    overflow: hidden;
    position: relative;
}
body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    transform-style: preserve-3d;
    overflow-y:auto;
    height: 100%;
    perspective: 1px;
    background-color: black;
    position: relative;
}

/*****************************************************************************/
/*                                  Navbar                                   */
/*****************************************************************************/
.navbar {
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    justify-content: flex-end;
    margin: 0;
    border-bottom: solid 1px #CCCCCC;
    z-index: 1;
    background: #FFFFFF;

}
.navbar > .nav-list {
    display: flex;
    margin: inherit;
    padding: 0;
    list-style: none;
    justify-content: flex-end;
    overflow: hidden;
    max-height: 100%;
    background: #FFFFFF;

    align-items: center;
}
.nav-header {
    display: flex;
    text-align: center;
    margin-right: auto;
    justify-content: flex-end;
    flex-direction: row;
    font-size: 1.1em !important;
    align-items: center;
}
.nav-header > .header {
    margin-right: auto;
    display: flex;
    align-items: center;
}
.nav-header > * {
    padding: 10px;
    text-align: center;
}
.nav-list.collapsed {
    max-height: 0;
}
.nav-item {
    padding: 1em;
    text-align: center;
}
.nav-item > a {
    text-decoration: none;
}
.nav-item.active {
    background: #EEEEEE;
}
#logo {
    margin-right: 10px;
    margin-top: 5px;
    padding: 0;
    width: 25px;
}

/*****************************************************************************/
/*                                  Content                                  */
/*****************************************************************************/
.container {
    background-color: rgba(1, 1, 1, 0.8);
    color: #DDDDDD;
    box-sizing: border-box;
    transform-style: preserve-3d;

}
.container > div:first-child {
    border: none;
    padding: 0;
}
.container > div {
    margin: 0;
    position: relative;
    border-top: 2px solid #CCCCCC;
    border-bottom: 2px solid #CCCCCC;
    padding-top: 50px;
    padding-bottom: 50px;
}
.container > div:last-child {
    border: none;
}
.bio {
    display: inline-block;
    text-align: justify;
}
#bio_pic {
    margin-right: 50px;
    margin-bottom: 50px;
    width: 300px;
}
.resume {
    text-align: justify;
    color: #DDDDDD !important;

}

/*****************************************************************************/
/*                                  Gallery                                  */
/*****************************************************************************/
.gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: minmax(200px, auto);
    grid-gap: 10px;
    margin: 0;
}
.gallery > a > .gallery-img {
    /*image-orientation: from-image;*/
    object-fit: scale-down;
    overflow: hidden;
    width: 100%;
    height: 250px;
}

/*****************************************************************************/
/*                                  Footer                                   */
/*****************************************************************************/
.footer {
    height: 110px;
    padding-top: 80px;
    text-align: center;
    vertical-align: middle;
    background: #EEEEEE;
    color: #555555;
    position: relative;
    z-index: 1;
}
