@charset "utf-8";

/* general layout */
* {
  margin: 0;
}
html {
  background-color: rgba(23,28,49,1.00);
}
body {
  background-color: rgba(255,255,255,0.85);
  width: 80%;
  max-width: 1100px;
  margin: 0px auto;
}

/* type */
html {
  font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
  font-size: 10px;
}
h1 {
  color: rgba(23,28,49,1.00);
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 2em;
  text-transform: capitalize;
}
h2 {
  color: rgba(23,28,49,1.00);
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.3em;
  padding-top: 0.5em;
  clear: both;
}
a {
  color:blue;
  text-decoration: none;
  cursor: pointer;
}
a:hover {
  text-decoration: underline;
  color:red;
}
tr {
  vertical-align: top;
}


/* navigation layout */
nav {
  font-size: 1.7rem;
  margin: 0;
  padding: 0;
  width: 200px;
  position: fixed;
  height: 100%;
  background-color: rgba(23,28,49,1.00);
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
nav ul {
  padding: 0px;
}
nav ul #family {
  padding-left: 1rem;
}
nav li {
  list-style-type: none;
  display: block;
}
nav li #family {
  margin-left: 0px;
}
nav a {
  display: block;
  color: white;
  padding: 0.5rem;
  text-decoration: none;
}
nav a.active {
  background-color: #738ABF;
  color: yellow;
}
nav a:hover:not(.active) {
  background-color: rgba(255,255,255,0.20);
  color: white;
  text-shadow: 0px 0px 5px yellow;
}
#family {
  display: none;
}
#familyButton {
  cursor: pointer;
}


/* main layout */
main {
  margin: 0px 0px 0px 200px;
  padding: 0px;
  min-height: 100vh;
  font-size: 1.6rem;
}
header {
  background-color: rgba(23,28,49,1.00);
  color: white;
  font-size: 3rem;
  text-align: center;
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
  height: 5.5rem;
  line-height: 5rem;
}
article {
  padding: 1rem;
  font-size: 1.7rem;
  margin-bottom: 5rem;
}
.home_photos {
  height: auto;
  max-width: 100%;
}
.photo_display {
  height: auto;
  max-width: 60%;
}
.news_photo {
  float: right;
  height: auto;
  max-width: 50%;    
}
#photo_column {
    width: 35%;
}
#name_column {
    width: 10%;
}
#description_column {
    width: 55%;
}
.friend_photo {
    height: auto;
    width: 100%;
    border-style: ridge;
    border-width: medium;
}

/* footer layout */
footer {
  position: fixed;
  background-color: rgba(23,28,49,1.00);
  color: white;
  bottom: 0px;
  width: 80%;
  max-width: 1100px;
  text-align: center;
  font-size: 1.5rem;
}
footer li {
  display: inline;
  text-align: center;
  margin: auto 5px;
}
footer a {
  text-decoration: none;
  display: inline-block;
  color: rgba(115,138,191,1.00);
}
footer a:hover {
  background-color: rgba(255,255,255,0.20);
  color: white;
  text-shadow: 0px 0px 5px yellow;
  width: auto;
}

/* mobile layout */
@media screen and (max-width: 950px) {
  body {
    width: 100%;
  }
  nav {
    width: 100%;
    height: auto;
    position: relative;
    font-size: 2rem;
  }
  nav ul {
    display: flex;
  }
  nav a {
    background-color: rgba(23,28,49,1.00);
  }
  main {
    margin-left: 0;
  }
  header {
    float: left;
    width: 100%;
    font-size: 2.3rem;
    overflow-x: hidden;
  }
  article {
    width: 100%;
    clear: both;
    font-size: 2rem;
  }
  nav #index_family {
    display: none;
  }
  footer {
    width: 100%;
    font-size: 1.9rem;
  }
  nav .home_photos {
    display: none;
  }
  .photo_display {
    max-width: 100%;
  }
}

@media screen and (max-width: 600px) {
  nav ul {
    display: block;
  }
  nav a {
    float: none;
    text-align: center;
  }
}