

/*Container for horizontal navigation bar*/
#horizontal-bar {
    overflow: hidden;
    min-width: 0;
    height: 5vh;
    display: flex;
    flex-direction: row;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0;
    height: auto;
    padding: 0;
    padding-top: 1vh;
    padding-bottom: 1vh;
    margin: 0;
    background-color: #f0ffff;
    border-bottom: .75vh solid #8F3985 ;
    width: 100%;
}

/*Each column for horizontal navigation bar representation*/
.nav-col {
    justify-content: center;
    align-items: center;
    text-align: center;
    grid-gap: 0;
    min-width: 0;
    height: auto;
    font-weight: bold;
    padding: 0;
    margin: 0;
    font-size: 1.25em;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 5vh;
    width: 100%;
    max-height: 100%;
}

/* Governs how images should be represented in the navigation bar*/
.nav-col img { 
    max-width: 100%;
    height: 100%;
    align-self: center;
    object-fit: contain;
    object-position: center;
}

/*Container for vertical navigation bar*/
#vertical-bar {
    display: none;
    margin: 0;
    padding: 0;
    flex-direction: column;
    width: 100%;
}

/*Each row for vertical navigation bar representation*/
.nav-row {
    margin: 0;
    padding: 0;
    padding-top: 0.5vh;
    padding-bottom: 0.5vh;
    width: 100%;
    height: auto;
    background-color: #f0ffff;
    border-bottom: .75vh solid #8F3985 ;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: bold;
}


/*Removes underline under nav elements*/
a{
    text-decoration: none;
}


/*Specfically alligns the title of the nav bar*/
#nav-title {
    flex: 3;
    text-align: left;
}

/*IDs for other elements displayed in the nav bar*/
#nav-home {
    display: flex;
}

#nav-projects {
    display: flex;
}

#nav-resume {
    display: flex;
}

#menu-bar {
    display: none;
    margin: 0;
    padding: 0;
}

/*Media queries switch the navigation bar based on the size of viewport*/
@media (max-width : 650px) {
    #nav-home {display: none;}
    #nav-projects {display: none;}
    #nav-resume {display: none;}
    #menu-bar {display: flex;}
    #nav-title {font-size: 2em; flex: 7;}
    #vertical-bar {display: flex;}
}

@media (min-width : 651px) {
    #nav-home {display: flex;}
    #nav-projects {display: flex;}
    #nav-resume {display: flex;}
    #menu-bar {display: none;}
    #drop-down {display: none;}
    .nav-row {display: none;}
    #vertical-bar {display: none;}
}