nav{grid-area: nav;}
#headerimg {grid-area: headerimg;}
#about {grid-area: about;}
#profile{grid-area: profile;}
#projects{grid-area: projects;}
#professional{grid-area: prof;}
#teaching{grid-area: edu;}
#beach{grid-area: beach;}
#pubs{grid-area: pubs;}
#contact{grid-area: contact;}

body{
    margin: 0;
    display: grid;
    grid-template-areas:
    'nav nav'
    'headerimg headerimg'
    'about profile'
    'projects projects'
    'prof edu'
    'pubs beach'
    'contact beach'
    'foot foot';
}

/* nav bar */
nav a{
    text-decoration: none;
    font-family: Montserrat, Verdana, sans-serif;
    font-weight: 600;
    font-size: 2.25vh;
    color:white;
}

nav a:hover {
    color:white;
    text-decoration: underline;
}

nav>ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    justify-content: space-around;
}

nav{
    /* position: sticky;
    top: 0; */
    height: 10vh;
    width: 100%;
    align-content: center;
    background-color: rgb(35, 118, 165);
}

/* section styling */
body>div {
    display: flex;
    flex-direction: column;
    width: 90%; 
    padding: 3vh; 
}

div#headerimg{
    background-image: url('images/zines.jpeg');
    width: inherit;
    background-size: cover;
    background-position: center;
    color: white;
    margin-bottom: 2vh;
    text-shadow: 5px 5px rgb(4, 44, 68);
}

div#contact{
    padding-top: 0;
}

#foot{
    grid-area: foot;
    height: 3vh;
    width: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: Montserrat, sans-serif;
    background-color: rgb(35, 118, 165);
    margin-top: 3vh;
    font-size: 1.75vh;
}

img{
    width: 90%;
    border-radius: 5%;
    align-self: center;
}

/* text styles */
h1{
    font-family: Montserrat, Verdana, Geneva, Tahoma, sans-serif;
    margin-top: 5vh;
    grid-area: h1;
    font-size: 8vh;
}

h2 {
    font-family: 'Montserrat', Verdana, sans-serif;
    border-bottom: 1vh rgb(35, 118, 165) solid;
    font-size: 3vh;
}

h3 {
    font-family: Montserrat, Verdana, sans-serif;
}

div p{
    font-family: Nunito, sans-serif;
    margin: 0.5vh;
    font-size: 2vh;
}

div li{
    font-family: Nunito, sans-serif;
}

div a{
    color: rgb(35, 118, 165) ;
}