/*GLOBAL*/
* {
    background-color: #000;
    color: #f5f5f7;
    font-family: Arial, Helvetica, sans-serif;
    max-width: 1280px;
    overflow-x: hidden;
}

.blue {
    color:#76a4d1;
}

.challenge-head {
    color: orange;
    font-weight:bold;
}

.syllogism {
    text-align: center;
}

/*HEADER*/

.header {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    background-color:#001e3c;
    margin: 0;
}

.header h1, h4{
    background-color: inherit;
}

/*MAIN CONTENT AREA*/

.main-content {
    display: flex;
    width: 100%;
}

/*NAVIGATION*/
 
.nav {
    width: 30%;
    border: 1px solid grey;
    color: #818181;
    height: auto;
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 1;
    overflow-y: auto;
    max-width: 384px;
}

.nav-header {
    display: flex;
    justify-content: center;
    background: #1d1d1f;
}

.nav-header h3 {
    background-color: inherit;
}

.links-container {
    padding-left: 10px;
}

.links-container ul {
    list-style:decimal;
}

.links-container a {
    text-decoration: none;
    color: #818181;
    font-size: 15px;
}

.links-container li{
    padding-top: 15px;
}

.links-container a:hover {
    color: #f5f5f7;
}

.links-container i {
    padding-left: 5px;
    color:#818181;
}

.dropdown-btn {
    text-decoration: none;
    border: none;
    color:#818181;
    font-size: 20px;
    padding-top: 10px;
    display: block;
    background: none;
    cursor: pointer;
    outline: none;
}

.dropdown-container {
    display: none;
    padding-left: 8px;
}

.dropdown-btn:hover {
    color: #f5f5f7;
    outline: none;
}

.active {
    color: #f5f5f7;
    outline: none;
}

/*FULL SCREEN NAV*/
 /* The Overlay (background) */
 .overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */   
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
  }
  
  /* Position the content inside the overlay */
  .overlay-content {
    position: relative;
    top: 25%; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
  }
  
  /* The navigation links inside the overlay */
  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
  }
  
  /* When you mouse over the navigation links, change their color */
  .overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
  }
  
  /* Position the close button (top right corner) */
  .overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
  }
  
  /* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
  @media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
      font-size: 40px;
      top: 15px;
      right: 35px;
    }
  } 

/*MAIN SECTION*/

.main-section-container {
    width: 70%;
    border-top: 1px solid grey;
    padding: 10px 100px 0px 35%;
    display: flex;
    flex-direction: column;
    overflow-x:hidden;
}

.main-section {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid grey;
}

.main-section ul {
    list-style:lower-roman;
}

.main-section li {
    padding-top: 5px;
    font-size: 18px;
}

.main-section header {
    display: flex;
    flex-direction: column;
}

.topic {
    font-size: xx-large;
    align-self: center;
}

.main-section header {
    border-bottom: 1px solid grey;
}

.main-section p {
    line-height: 2em;
    font-size: 20px;
}

figure {
    display: flex;
    flex-direction: column;
    align-items: center;
}

figcaption {
    padding-top: 5px;
    font-size: large;
    text-align: center;
}

.venn-diagram {
    height: 400px;
    width: 550px;
}






