/*The main class which contains the text colour and background colour, font sizes used in the paragraphs. */
.main {
  background-color: #a3cef1;
    color: white;
    text-align: left;
    padding: 0;
    font-weight: bold;
    font-size: 20px;
}
/*The class containing the formatting for the felexbox layout*/
.flex-row {
  display: flex;
  flex-wrap: wrap;
  margin: 10px;
}
/*Contains the positioning and flex for the text boxes  */
.text-box {
  flex: 1;
  background-color: #6096ba;
  color: white;
  padding: 20px;
  margin-right: 10px;
  box-sizing: border-box;
}
/*These two classes specify how large an image should be when it is inside a text box*/
.inside-txt {
  width: 95%;
}
.inside-txt-small {
  width: 150px;
}
/*This gives the flex for the full size images*/
.image-box {
  flex: 1;
}
/*This instructs how large the fill size images are and gives margins for them  */
.image-box img {
  width: 100%;
  max-width: 1080px;
  height: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  margin-bottom: 30px;
}
.text-box h2 {
  margin-top: 0;
}
/*This class is for the h1 headers inside the full-section */
.full-section-h1 {
  background-color: #6096ba;
  color: white;
  padding: 20px;
  margin: 10px;
  margin-top: 0;
  margin-bottom: 0;
}
/*This is the class used for the text boxes that span across the full page in width, used in the reflection.html page */
.full-section {
  background-color: #a3cef1;
  color: white;
  padding: 20px;
  margin: 10px;
  margin-top: 50px;
  margin-bottom: 75px;
}
/*This is the class for the h2-headers that are highly featured thorughout the page*/
.header-h2 {
  color:white;
  font-family: monospace;
  font-size: 20px;
  text-align: center;
  padding: 0;
  margin: 0;
  width: fit-content;
}
/*This defines the height of the overall page, the standard font family and lighter-green background colour*/
body {
  font-family: monospace;
  height: fit-content;
  max-width: 100%;
  background-color: #a3cef1;
}
/*This defines the formatting for the footer*/
footer {
  background-color: #6096ba;
  height: 50px;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding-top: 0;
  padding-bottom: 10px;
  color: white;
}
/*This defines formatting for the header*/
header {
  background-color: #6096ba;
  position: sticky;
  height: 35px;
  padding: 10px 12px;
  top: 0;
  width: auto;
  margin-bottom: 1%;
  justify-content: center;
  align-items: center;
  display: flex;
}
/*This defines how nav bar works  */
nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem;
    color: white;
}

nav a {
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(139, 139, 139, 0.3) 50%,
        rgba(0, 0, 0, 0.3) 100%
    ),
    var(--mc-stone);
    color: var(--mc-white);
    padding: 12px 24px;
    border: 3px solid;
    border-color: 
        rgba(255, 255, 255, 0.5) 
        rgba(0, 0, 0, 0.5) 
        rgba(0, 0, 0, 0.5) 
        rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.8);
    position: relative;
    transition: all 0.1s;
    border-radius: 0;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.4);
}

nav a:hover {
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.4) 0%, 
        rgba(139, 139, 139, 0.4) 50%,
        rgba(0, 0, 0, 0.2) 100%
    ),
    #9c9c9c;
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

nav a:active {
    transform: translateY(4px);
    box-shadow: none;
}
/*This defines the font size and overall formatting for the links in the full-section which are the sources*/
.full-section a {
  display: block;
  color: white;
  font-size: 12px;
  text-align: left;
}
/*This adds a darker colour to the link in the sources section when hovering over it*/
.full-section a:hover {
  background-color: #a3cef1;
}
/*This changes the link colour in the sources section to grey once opened */
.full-section a:visited {
  color: gray;
}
/*This defines the formatting for the link in the footer which is my email address*/
footer a {
  display: block;
  color: white;
  font-size: 15px;
  text-align: center;
}
/*This changes the link colour in the footer to grey once opened */
footer a:visited {
  color: gray;
}
    h1 {
      font-size: 1.8em;
      border-bottom: 2px solid #ccc;
      padding-bottom: 5px;
    }
    h2 {
      font-size: 1.4em;
      margin-top: 1.5em;
    }
    h3 {
      font-size: 1.2em;
      color: #444;
    }
    p {
      margin-bottom: 1em;
    }
    em {
      color: #555;
    }
    strong {
      color: #000;
    }
    blockquote {
      font-style: italic;
      margin: 1em 0;
      padding-left: 1em;
      border-left: 3px solid #ccc;
      color: #555;
    }
    .cue {
      color: #666;
      font-style: italic;
    }