/* notes for color */
/* #242B3B navy-ish blue */
/* #faad66 orangey */
/* #8f8161 for borwnish */
/* 3b3424 for almost black */
/* #005840 for green */
/* 337966 for lighter green */
/* notes for color */

* {
  box-sizing: border-box;
}

/* Style the body */
body {
  font-family: Palatino, Baskerville, Times, serif;
  font-size: 100%;
  text-align: center;
  background-color: #242B3B;
  background-image: url("images/tumblr_inline_mlkwolhobQ1r53miq.png");
  margin: 20px 50px 20px 50px;
  color: #242B3B;
}

/* Header */
header {
  padding: 30px;
  margin: 10px;
  color: #faad66;
  background-color: #242B3B;
  opacity: 0.9;
  border: 7px double #faad66;
  border-radius: 15px;
  /* border-radius gives the boxes their rounded corners */
}

.footer {
  padding: 5px;
  margin: 5px;
  color: #faad66;
  background-color: #242B3B;
  opacity: 0.9;
  border: 7px double #faad66;
  border-radius: 15px;
  /* border-radius gives the boxes their rounded corners */
}

h1 {
  font-size: 2.7em;
  text-align: center;
  margin:0px;
  font-family: 'Parisienne', cursive;
}

h2 {
  font-family: 'Parisienne', cursive;
  text-align: center;
  padding: 0px;
  margin: 0px;
  color: #242B3B;
}

h3 {
  font-size: 2em;
  padding: 0px;
  margin: 0px;
  color: #faad66;
  font-family: Palatino, Baskerville, Times, serif;
  font-weight: normal;
}

h4 {
  font-style: italic;
}

h5 {
  font-family: Palatino, Baskerville, Times, serif;
  font-weight: normal;
  font-size: 1.5em;
  padding: 0px;
  margin: 0px;
}

/* Container for flexboxes */
.row {
  display: -webkit-flex;
  display: flex;
}

/* for images */
.column {
  flex: 33.33%;
  padding: 5px;
}

.solo-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 75%;
}

/* nav */

nav {
   -webkit-flex: 1;
   -ms-flex: 1;
  flex: 1;
  border: 7px double #faad66;
  border-radius: 15px;
  margin: 10px;
  max-width: 300px;
}


/* "button" navigation */

.button {
  font-weight: bold;
  font-size: large;
  font-family: Palatino, Baskerville, Times, serif;
  margin: 15px;
  background-color: #242B3B;
  opacity: 0.9;
  border: 7px double #faad66;
  border-radius: 15px;
}

.button a:link {
  color: #faad66;
}

.button a:visited {
  color: #faad66;
}

.button:hover {
  background-color: #8f8161;
}

/* for "button" without a drop down */

.other {
  cursor: pointer;
  margin: 10px;
  padding: 18px;
  width: 90%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 18px;
  opacity: 0.9;
}

/* for "button" with a drop down */

.collapsible {
  font-weight: bold;
  font-size: large;
  font-family: Palatino, Baskerville, Times, serif;
  background-color: #242B3B;
  border: 7px double #faad66;
  border-radius: 15px;
  cursor: pointer;
  margin-left: 15px;
  margin-top: 10px;
  padding: 25px;
  width: 90%;
  text-align: left;
  outline: none;
  font-size: 18px;
  opacity: 0.9;
  color: #faad66;
}

.collapsible a:link {
  color: #faad66;
}

.collapsible a:visited {
  color: #faad66;
}

/* this is the plus for the dropdown */

.collapsible:after {
  content: '\002B';
  color: #faad66;
  font-weight: bold;
  float: right;
  margin-left: 5px;
  font-size: 25px;
}

.active:after {
  content: "\2212";
}

/* Style the collapsible content. Note: hidden by default */

.hidden {
  padding: 0 18px;
  font-size: 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  border-radius: 15px;
  color: #3b3424;
  background-color: #faad66;
  text-align: center;
  margin-left: 30px;
  margin-right: 30px;
}

.hidden a:link {
  color: #005840;
}

.hidden a:hover {
  color: #242B3B;
}

.hidden a:visited {
  color: #337966;
}


/* right column */
aside { 
   -webkit-flex: 1;
   -ms-flex: 1;
   flex: 1;
   margin: 10px;
   display: inline-block;
  text-align: left;
  color: white;
  padding: 20px;
  vertical-align:middle;
  border: 7px double #faad66;
  border-radius: 15px;
  background-image: url("https://upload.wikimedia.org/wikipedia/commons/f/ff/Portrait_of_an_unknown_man%2C_formerly_identified_as_Jean_de_La_Bruy%C3%A8re_-_Versailles.jpg");
  background-color: #221316;
  background-repeat: no-repeat;
  background-position: center left;
  background-size: 100%;
  height: 390px;
}

/* Middle column */
.content {
  -webkit-flex: 2;
  -ms-flex: 2;
  flex: 2;
  margin: 10px;
  border: 7px double #faad66;
  border-radius: 15px;
  background: rgba(251, 251, 251, 0.8) /* white background with 30% opacity */
}

.content h3 {
  color: #242B3B;
}

.content a:link {
  color: #005840;
}

.content a:hover {
  color: #242B3B;
}

.content a:visited {
  color: #337966;
}

/* style the header WITHIN all divs ONLY */
 div header {
  margin: 10px;
  padding: 10px;
  height: 50px;
  border-bottom: 7px double #faad66;
  border-top: none;
  border-right: none;
  border-left: none;
  background-color: transparent;
}

/* style the footer WITHIN all divs ONLY */
 div footer {
  margin: 10px;
  padding: 10px;
  height: 50px;
  font-family: 'Parisienne', cursive;
  border-top: 7px double #faad66;
  border-right: none;
  border-bottom: none;
  border-left: none;
  background-color: transparent;
}

/* Style the article */
article {
  margin: 10px; 
  padding: 20px;
  height: 70%;
  text-align: left;
  word-break: break-word;
}

.site-map {
  text-align: center;
}

.code-box {
    /*width: 90%;        Width of the text box */
    height: 250px;      /* Height of the text box */
    padding: 3px;      /* Padding inside the box */
    background-color: #242B3B;  /* Light gray background */
    color: white;
    border: 1px solid #ccc;      /* Border around the box */
    overflow: auto;     /* Enables scrolling */
    font-family: monospace;  /* Monospaced font for code */
    white-space: pre;   /* Preserves spaces and line breaks */
    border-radius: 15px;

a:link {
  text-decoration-line: underline;
  color: #faad66;
}

a:hover {
  color: black;
}

a:visited {
  color: #faad66;
}

/* Style the footer 
footer {
  color: black;
  padding: 10px;
  text-align: center;
  font-size: small;
  margin: 10px;
  border-radius: 15px;
  border: 7px double #faad66;
  background-color: #faad66;
}

footer a:link {
  color: white;
}
*/

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
  .row {
    -webkit-flex-direction: column;
    flex-direction: column;
  }
}
