body{
    vertical-align: middle;
}

@font-face {
    font-family: eglantine;
    src: url('fonts/eglantine.ttf');

}

a{
    color: black;
}

/* mouse over link */
a:hover {
color: black;
}

/*----------------Video--------------------------*/

.vid_container{
    width:100%;
    overflow:hidden;
    position: fixed;
    height:500px;
    margin:20px;

}

video#bgvid {
    position: fixed; right: 0; bottom: 0;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto; z-index: -100;
    background: url(polina.jpg) no-repeat;



}





/*----------------Nav--------------------------*/

.background_nav{
   position: fixed;
   width: 100%;
   top: 0px;
   left: 0px;
   background-color:rgba(240,240,240,0.8);
   z-index: -500;
   border-bottom: 1px solid #DDDDDD;  
   height: 150px;
   background-image: url("images/natural_paper.png");
   opacity: 0.2;
   filter: alpha(opacity = 20);

}



#InvisHeader{
   position: fixed;
   width: 100%;
   top: 0px;
   left: 0px;
   background-color:rgba(240,240,240,0.8);
   z-index: 5;
   border-bottom: 0.4px solid #DDDDDD;  
   height: 150px;
    -webkit-border-radius: 20px;
        -moz-border-radius: 8px;
        border-radius: 8px;
        -webkit-box-shadow: #666 0px 1px 2px;
        -moz-box-shadow: #666 0px 1px 2px;
        box-shadow: #666 0px 1px 2px;

        -pie-background: linear-gradient(#EEFF99, #66EE33);
        behavior: url(/pie/PIE.htc);


}

#heading h1{
    text-align: center;
    font-family: 'Josefin Slab', serif;
    font-size:280%;
    font-weight: 900;



}

.nav{
  
  color: black;
  font-size: 15px;
  font-weight: lighter;
  padding-right: 58px;
  text-align: center;
  margin-top: 20px; 
  text-transform: uppercase;


}

.container .nav ul{
    margin-right: auto;
    margin-left: auto;
    
}

#heading p{
    text-align: center;
    font-family: 'Josefin Slab', serif;
    font-weight: 500;
}

.nav li{
    display:inline;
    padding-left: 10px;
    text-align: center;
}