/* MAIN ELEMENTS */
#navbar
{
    height: 10%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#navbar > *
{
    margin-left: 2.5vw;
    margin-right: 2.5vw;
}

#menu > a
{
    font-size: x-large;
    margin-left: 2.5vw;
    margin-right: 2.5vw;
}

#slides
{
    width: 100%;
    height: 80%;
    overflow-y: hidden;
    overflow-x: hidden;
    display: flex;
    flex-direction: row;
}

#slides > * 
{
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    flex-basis: 100vw;
}

#footer
{
    height: 10%;
    display: flex;
    align-items: center;
    justify-content: end;
}

#footer > *
{
    margin-right: 5vw;
}

/* SLIDE STYLES */

#about_slide
{
    background-image: url("../images/mm_portrait.jpg");
}

#about_slide_background
{
    justify-content: end;
    padding: 2.5vh 2.5vw 2.5vh 2.5vw;
}

#about_slide_box
{
    width: 60%;
    text-align: left;
}

#publications_slide
{
    background-image: url("../images/publications.jpg");
}

#publications_slide_background
{
    justify-content: center;
    
    padding: 2.5vh 2.5vw 2.5vh 2.5vw;
}

#publications_slide_box
{
    width: 95%;
    text-align: left;
}

#about_slide_background
{
    justify-content: end;
}

#contact_slide
{
    background-image: url("../images/contact.jpg");
}
#contact_slide_background
{
    padding: 0;
}
#contact_slide_box
{
    width: 50%;
    background-color: rgba(0, 0, 0, 0.4);
}

#modal_dialog
{
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 1;
    flex-direction: column;
    padding: 10vh 10vw 10vh 10vw;
    background-color: rgba(0, 0, 0, 0.97);
}

@media screen and (max-width: 768px) {
    
    #about_slide_box
    {
        width: 95%;
    
    }
    #contact_slide_box
    {
        width: 95%;
    }

    #menu > a
    {
        font-size: 14px;
    }
    
    #about_slide
    {
        background-position: left;
    }

    #publications_slide_background
    {        
        padding: 0;
    }
    #publications_slide_box
    {
        width: 100%;
        word-wrap: break-word;
    }
    
    #about_slide_background
    {
        justify-content: center;
        padding: 0;
    }
}
