
/* Fonts*/
@font-face {
    font-family: "Cardo";
    src: url(/fonts/Cardo-Regular.ttf) format('truetype');
   }
   
   @font-face {
    font-family: "Cardo";
    font-style: italic;
    font-display: swap;
    src: url(/fonts/Cardo-Italic.ttf) format('truetype');
  }
  @font-face {
    font-family: "Cardo";
    font-style: oblique;
    font-display: swap;
    src: url(fonts/Cardo-Bold.ttf) format('truetype');
  }
/* Body styles */
body {
    font-family: "Cardo", sans-serif;
  }

  /* Body styles - prefix quote style */
div.prefix {
    color: grey;
    font-family: 'Courier New', Courier, monospace;
    font-style: italic;
}
   /* Body styles - author style */
div.author {
    color: #1612d9;
    font: oblique;
} 
  /* Header styles */
  header {
    background-color: #1612d9;
    color: #fff;
    padding: 20px;
  }
  
  header h1 {
    margin: 0;
    font-size: 24px;
  }

  main {
    margin: 10%;
    line-height: 1.6;
  }
  
  /* Navigation styles */
  nav {
    background-color: #eee;
    padding: 10px;
  }
  
  nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  
  nav li {
    float: left;
    position: relative; /* required for dropdown list */
  }
  
  nav a {
    display: block;
    color: #333;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }
  
  nav a:hover {
    background-color: #ddd;
  }
  
  
  
  /* Media queries for responsive design */
  @media (max-width: 600px) {
    nav li {
      width: 100%;
      float: none;
    }
    
    nav a {
      width: 100%;
      text-align: center;
    }
  }



/* Main Page Flexi boxes see https://www.w3schools.com/css/css3_flexbox_responsive.asp */

.flex-container {
    display: flex;
    flex-direction: row;
    text-align: center;
  }
  
  .flex-item-left {
    background-color: #ddd;
    padding: 10px;
    flex: 50%;
  }
  
  .flex-item-right {
    background-color: #f3f3f3;
    padding: 10px;
    flex: 50%;
  }
        /* including alternate colors for next line*/
  .flex-item-left-alt {
    background-color: #f3f3f3;
    padding: 10px;
    flex: 50%;
  }
  
  .flex-item-right-alt {
    background-color: #ddd;
    padding: 10px;
    flex: 50%;
  }

  /* Responsive layout - makes a one column layout instead of a two-column layout */
  @media (max-width: 800px) {
    .flex-container {
      flex-direction: column;
    }
  }


  /* Article Flexi boxes see https://www.w3schools.com/css/css3_flexbox_responsive.asp */

  * {
    box-sizing: border-box;
  }
  /* not above is a universal thing to make boxes include padding - not margins though */
  .article-container {
    display: flex;
    flex-direction: row;
    text-align: top;
  
  }
  
  .article-item-left {
    background-color: #ebeaea;
    padding: 10px;
    flex: 70%;
  }
  
  .cite-item-right {
    background-color: #ebeaea;
    padding: 10px;
    flex: 30%;
    font-size: 70%;
  }
  
  
  /* Responsive layout - makes a one column-layout instead of two-column layout */
  @media (max-width: 800px) {
    .article-container {
      flex-direction: column;
    }
  }

/* Table properties for citations */
  table {
    vertical-align: top;
}


/* attempting fixed image to scroll up*/

.fixed{
    position:fixed;
    bottom: 10px;
    z-index: 1;
    width:5%;
    height:5%;
    /*    background-color: #ddd;  */   
    padding: 5px;
    }
.content {
    margin: auto;
    }


/* Footer float right*/

footer {
    float: right;
}