body{
  margin:0;
  font-family: 'Roboto', sans-serif;
}
main{
  margin: 15vh 64px 32px 64px;
}
h1{
  font-family: 'Roboto Slab',serif;
  text-align: center;
}

/* header and non mobile nav */
header{
  background-color: black;
  color: lightpink;
  width: 100%;
  height: 10vh;
  position:fixed;
  top: 0;
  font-family: 'Roboto Condensed',sans-serif;
  font-size:1.5em;
  display: flex;
  justify-content: flex-end;
  padding: 0 16px 0 0;
  box-sizing: border-box;
  z-index: 100;
  box-shadow: 0 0 20px black;
}
.type-header{
  text-decoration: none;
  color:black;
}
.type-header:hover{
  text-decoration: underline;
}
.type-header > h2{
  font-size: 32px;
  font-family: "Roboto Condensed", sans-serif;
  border-left: 3px solid black;
  border-right: 3px solid black;
  transition: all 0.4s;
  display: inline-block;
  padding: 4px 32px;
  margin: 0;
}
.type-header > h2:hover {
  padding: 4px 48px;
  background: rgba(65, 42, 53, 0.2);
}
#logo{
  height: 10vh;
  align-items: center;
}
#logo-img{
  max-height:100%;
  object-fit: contain;
  vertical-align: middle;
  box-sizing: border-box;
  padding-left: 10%;
}

/* nav bar */
#nav{
  justify-self: end;
  display: flex;
  list-style: none;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  margin: 0;
}
#nav a{
  padding: 0 16px;
  color:lightpink;
  transition: .4s;
  text-decoration: none;
}
#nav a:hover{
  text-decoration: none;
  color: #0D5F8A;
}
.nav-item{
  display: inline;
}

#nav .active{
  color: #6EC3C1;
}

#mobile-nav{
  display:none;
}

rect{
  fill: lightpink;
}


/* footer */
footer {
  background:  black;
  padding: 8px;
  color: lightpink;
  display: flex;
  max-width: 100vw;
  box-sizing: border-box;
}
  
footer a {
  color:  lightpink;
}

footer #left-footer {
  flex: 1;
  border-right: 1px solid #0D5F8A;
  padding-left: 32px;
  box-sizing: border-box;
}

footer #left-footer ul {
  padding: 0;
  list-style: none;
  line-height: 1.5;
}

footer #right-footer {
  flex: 1.5;
  padding: 8px;
  text-align: center;
  box-sizing: border-box;
}


footer #social-media-footer ul {
  display: flex;
  list-style: none;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
}

footer #social-media-footer ul li {
  font-size: 48px;
  padding: 16px;
  transition: 0.4s;
  box-sizing: border-box;
}




/* Mobile view  */
@media (max-width:650px){
  
  /* nav bar */
  #nav{
    background-color: black;
    display:none;
    position: absolute;
    top: 100%;
    right:0;
    height: auto;
    padding: 0;
    padding-bottom: 8px;
  }
  #nav.open{
    display: block;
  }
  #nav > li{
    border-top:1px solid lightpink;
    padding: 8px 16px;
  }
  #mobile-nav{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
  }

  /* footer */
  footer {
    flex-direction: column;
    text-align: center;
  }

  footer #left-footer {
    flex: 1;
    border-right: 0;
    padding-left: 0;
    width: 90vw;
    margin: 0 auto;
  }

  footer #right-footer {
    background: white;
    color: black;
    width: 90vw;
    padding: 0;
    margin: 2.5vw auto;
  }

  footer #right-footer a {
    color: black;
  }
}