/* Updated 09/19/2019 in preparation to migration to ECS - all static content now points to S3 */

/* Top navigation bar */
ul.topnav {
  list-style-type: none;
  margin: 0;
  padding: 1%;
  padding-left: 5%;
  overflow: hidden;
  background: rgba(10, 10, 10, 1.0);
  font-family: 'Karla', sans-serif;
  font-size: 18px;
  font-weight: bolder;
  letter-spacing: 2px;
}

ul.topnav li {
  float: left;
}

ul.topnav li a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  padding: 15px 20px;
  text-decoration: none;
  transition: 0.3s;
  font-size: 110%;
  font-weight: bold;
}

ul.topnav li a:hover {
  background-color: rgba(40, 40, 40, 1.0);
}

ul.topnav li.icon {
  display: none;
}

/* Responsive design with hamburger menu for top menu bar */
@media screen and (max-width:850px) {
  ul.topnav li:not(:first-child) {display: none;}
  ul.topnav li.icon {
    float: right;
    display: inline-block;
  }
}

@media screen and (max-width:850px) {
  ul.topnav.responsive {position: relative;}
  ul.topnav.responsive li.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  ul.topnav.responsive li {
    float: none;
    display: inline;
  }
  ul.topnav.responsive li a {
    display: block;
    text-align: left;
  }
}

/* Name title */
div.top_title {
  text-align: center;
  font-family: 'Monoton', sans-serif;
  font-size: 48px;
  padding-bottom: 5%;
  padding-top: 1%;
  color: rgba(255, 255, 255, 1.0);
  background: rgba(10, 10, 10, 1.0);
  letter-spacing: 5px;
}

/* unvisited link */
.top_title a:link {
  text-decoration: none;
  color: rgba(255, 255, 255, 1.0);
}

/* visited link */
.top_title a:visited {
  text-decoration: none;
  color: rgba(255, 255, 255, 1.0);
}

/* mouse over link */
.top_title a:hover {
    color: rgba(255, 255, 255, 1.0);
    text-decoration: none;
}

/* Banner image for homepage */
div.banner {
    float: center;=[]
    width: 100%;
    height: auto;
    padding-bottom: 2%;
}

body{
  margin: 0;
}

/* Topic title */
div.title {
  text-align: center;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 36px;
  font-weight: lighter;
  color: rgba(225, 225, 225, 1.0);
  background: rgba(10, 10, 10, 1.0);  
  padding-bottom: 10%;
  padding-top: 5%;
  padding-left: 10%;
  padding-right: 10%;
}

/* Content text */
div.content {
    text-align: justify;
    text-justify: inter-word;
    font-family: 'Karla', sans-serif;
    font-size: 15px;
    line-height: 150%;
}

div.content h4{
  padding-left: 10%;
  padding-right: 10%;
  padding-bottom: 5%;
  text-align: center;
  color: rgba(0, 0, 0, 0.6);
}

div.content p{
  padding-left: 10%;
  padding-right: 10%;
  font-family: 'Karla', sans-serif;
  font-size: 15px;
}

div.bottomlogo {
  background-color: rgba(10, 10, 10, 1.0);
  text-align: right;  
  padding-top: 5%;
  padding-bottom: 5%;
}

.content a:link { 
  color: rgba(0, 0, 0, 0.9);
  text-decoration:none; 
}

.content a:visited { 
  color: rgba(0, 0, 0, 0.9);
  text-decoration:none; 
}

/* Smaller titles for contact us and comments */
div.subtitle {
  padding-top: 2%;
  padding-bottom: 2%;
  padding-left: 10%;
  padding-right: 10%;
  background-color: rgba(10, 10, 10, 1.0);
}

div.subtitle p{
  text-align: center;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 24px;
  color: rgba(255, 255, 255, 1.0);
  letter-spacing: 1px;
}

/* Bottom description text */
div.subtitle h4{
    text-align: left;
    font-family: 'Karla', sans-serif;
    font-style: italic;
    font-size: 10px;
    color: rgba(250, 250, 250, 0.7);  
}

img {
    vertical-align: text-top;
}

/* contact us button */
.button {
    margin: 0 auto;
    width: 30%;
    display: block;
    float: center;
    background-color: rgba(255, 255, 255, 0.0);
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 1.0);
    overflow: hidden;
    outline: none;
    border-radius: 10px;
    font-family: 'Karla', sans-serif;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 1.0);
    padding: 2% 2%;
    font-size: 100%;
    letter-spacing: 1px;
    cursor: pointer;
}

section.contact a:hover {
  background-color: rgba(40, 40, 40, 1.0);
}

/* Social media share buttons */
div#share {
  position:absolute;
    left:50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    padding-bottom: 5%;
}

/* Clickable thumbnails on topic pages */
div.img {
    margin: 1.5%;
    border: 1px solid #ccc;
    float: left;
    width: 30%;
}

div.img:hover {
    border: 1px solid #777;
}

div.img img {
    width: 100%;
    height: auto;
}

/* Banner image for posts */
div.postbanner {
    float: center;=[]
    width: 100%;
    height: auto;
    padding-bottom: 1%;
    background: rgba(10, 10, 10, 1.0);
}

/* Captions for clickable thumbnails */
div.caption {
    padding-bottom: 1%;
    text-align: center;
    font-family: 'Roboto Condensed', sans-serif;
    font-style: bold;
    font-size: 24px;
    line-height: 110%;
    padding-bottom: 5%;
    text-decoration: none;
    background: rgba(10, 10, 10, 1.0);
}

/* unvisited link */
.caption a:link {
  text-decoration: none;
  color: rgba(225, 225, 225, 1.0);
}

/* visited link */
.caption a:visited {
  text-decoration: none;
  color: rgba(225, 225, 225, 1.0);
}

/* mouse over link */
.caption a:hover {
    color: rgbs(255, 255, 255, 1.0);
    font-weight: bolder;
}

/* Sections for home page */
section {
  padding-left: 10%;
  padding-right: 10%;
  padding-bottom: 20%;
  padding-top: 20%;
  text-align: center;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 24px;
  line-height: 120%;
  /*height: 110vh; <-- dynamic height, breaks on Chrome Android */
}

/* background-attachment: fixed; gives parallax effect but disabled on mobile */
.intro {
  background-image: url("https://static.somecloudguy.com/images/aboutme.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center;
  background-size: cover;
  color: rgba(255, 255, 255, 1.0);
}

/* Section with contact me button */
.contact {
    font-family: 'Karla', sans-serif;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 1.0);
    background: rgba(10, 10, 10, 1.0);
    font-size: 20px;
    letter-spacing: 1px;
    padding-top: 10%;
    padding-bottom: 10%;
}

/* Paragraphs inside sections on homepage */
p {
  text-align: center;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 100;
  font-size: 24px;
  line-height: 120%;
  letter-spacing: 1.2px;
}

/* Links on sections on home page */
.intro a:link { 
  color: rgba(225, 125, 5, 0.9);
  text-decoration:none; 
}

.intro a:visited { 
  color: rgba(225, 125, 5, 0.9);
  text-decoration:none; 
}