@import url(https://fonts.googleapis.com/css?family=Poppins);

body {

  font-family: Poppins;
  color: white;
  background-color: black;

}

h1 {
    padding-left: 40px;
}

h3 {
  margin: 0 auto;
}

p {
	  font-size: 18px;
    padding-left: 40px;
}

a:link {
    color: white;
}

a:visited {
    color: white;
}

text {
    fill: white;
    font-size: 14px;
    font-family: Poppins;
}

#menu ul, li {
    text-decoration: none;
    list-style-type: none;
    color: white;
}



.column {
  float: left;
  pointer-events: all;
}

.left {
  padding-top: 80px;
  width: 40%;
}

.right {
  padding-top: 80px;
  width: 60%;
}

/*Header*/

.header {
    width: 100%;
    position: fixed;
    height: 10px;
    z-index: 1000;

}

.header-wrapper {
    margin: 20px;
    width: 95%;

}

.chapter-nav {
    padding-left: 0;
    display: inline-block;
    margin: 0 auto;
    width: 100%;
}

.chapter-nav li {
    display: inline-block;
    vertical-align: middle;
    padding-right: 1em;
    font-size: 24px;
}

#hamburger {
    font-size: 40px;
    cursor: pointer;
    color: white;
    float: left;
}


#d3-portfolio-home,#display-chapter {
    vertical-align: middle;
    float: left;
    display: block;

}


#d3-portfolio-home:hover, #display-chapter:hover {
    cursor: pointer;
}

#display-chapter{
    display: none;
}


/*Modal header*/

#overlay {
    height: 100%;
    width: 100%;
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;

    background-color: rgba(0, 0, 0, 0.9);
    /* overflow-x: hidden;*/
    transition: 0.5s;
}


/*.overlay-content {
    position: relative;
    margin-left: auto;
    margin-right: auto;
}*/


.closebtn {
    font-size: 50px;
    display: inline-block;
    line-height: 20px;
    color: white;
    vertical-align: middle;
}

.closebtn:hover {
    cursor: pointer;
}

.modal-header {
    border-bottom: 0.5px solid #5E5E5E;
    padding-top: 3%;
    padding-bottom: 3%;

    width: 92%;
    margin: 0 auto;
    display: table;
}


.modal-header ul {
    padding: 0;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
    float: right;
}

.modal-header ul li {
    display: inline-block;
    list-style-type: none;
}

.modal-header ul li {
    padding-left: 2em;
    text-align: left;
}

.modal-header ul li select {
    border: none;
    background: transparent url('https://cdn3.iconfinder.com/data/icons/google-material-design-icons/48/ic_keyboard_arrow_down_48px-128.png') no-repeat;
    font-size: 16px;
    font-family: 'Assistant';
    color: #4A4A4A;
     -moz-appearance: none;
    -webkit-appearance: none;
}

.modal-wrapper {

    text-align: center;
    margin: 0 auto;
    height: 100vh;
}

.modal-chapter,
.modal-visualization {

    margin: 0 auto;
    display: inline-block;
    vertical-align: top;
    padding: 2% 6%;
    text-align: left;
}



#chapter-text,
#visualization-text {
    font-weight: 600;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2em;
    margin-bottom: 2em;
}


.modal-chapter-titles {
    padding: 0;
    margin: 0;
}


.modal-chapter-titles li {
    font-size: 24px;
    line-height: 1.8em;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
}

.chapter-highlighted {

    color: white !important;
}


/*Tooltips*/

.d3-tip {
  background: white;
  padding: 12px;
  border-radius: 2px;
  line-height: 1.2;
  color: black;
}

/*Buttons*/
button{
  border: 2px solid white;
  width: 60%;
  font-size: 20px;
  display: inline-block;
  color: black;
  text-decoration: none;
  margin: 4px 2px;
  font-family: 'Poppins';
  border-radius: 10px;
  background-color: rgba(255,255,255,0.8);
  text-align: center;
}

button:hover{
  color: black;
  border: 2px solid white;
  background-color: rgba(255,255,255,0.6);
  cursor: pointer;
}

#header_text {
  padding-left: 120px;
  margin: 10px;
  font-style: italic;
  font-size: 28px;
}

.scroll-down{
  position: fixed;
  bottom: 2%;
  left:50%
}

/*Line chart styling*/
.line {
    fill: none;
    stroke: #fcc117;
    stroke-width: 2;
}
/*Multi-line chart styling*/
.overlay {
	fill: none;
	pointer-events: all;
}

#selectbox {
  border: 2px solid white;
  width: 60%;
  font-size: 20px;
  text-decoration: none;
  margin: 4px 2px;
  font-family: 'Poppins';
  border-radius: 10px;
  background-color: rgba(255,255,255,0.8);
  text-align: center;
}

ul.thunderbolt{
  margin-left: 40px;
}

ul.thunderbolt > li:nth-child(1) {
  list-style: "😷   ";
  list-style-position: outside;
}
ul.thunderbolt > li:nth-child(2) {
  margin-top: 10px;
  list-style: "🏀  ";
  list-style-position: outside;
}
ul.thunderbolt > li:nth-child(3) {
  margin-top: 10px;
  list-style: "🤷‍♂️  ";
  list-style-position: outside;
}
ul.thunderbolt > li:nth-child(4) {
  margin-top: 10px;
  list-style: "👩🏽  ";
  list-style-position: outside;
}
ul.thunderbolt ul li {
  margin-top: 10px;
  list-style-type: circle;
}

.responsive {
  max-width: 100%;
  margin-top: 21.44px;
  height: auto;
}

.novel-responsive {
  max-height: 120px;
}

.fp-tableCell{
     vertical-align: top;
}


/* Grow */
.hvr-grow {
    display: inline-block;
    vertical-align: middle;
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    transition-duration: 0.3s;
    transition-property: transform;
}

.hvr-grow:hover,
.hvr-grow:focus,
.hvr-grow:active {
    transform: scale(1.2);
}

/* Fade */
.hvr-fade {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  overflow: hidden;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: color, background-color;
  transition-property: color, background-color;
}
.hvr-fade:hover, .hvr-fade:focus, .hvr-fade:active {
  background-color: white;
  color: black;
}


.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 120px 1fr 80px;

  grid-template-areas:
    "title-img title-img title-img click-section click-section"
    "agot-img acok-img asos-img affc-img adwd-img"
    "agot acok asos affc adwd";

}

.title-img { grid-area: title-img; }

.click-section { grid-area: click-section; margin: 0 auto;}

.agot { grid-area: agot; border-top: 1px solid white; border-bottom: 1px solid white; place-self: center; text-align: center; cursor: pointer;}

.acok { grid-area: acok; border-top: 1px solid white; border-bottom: 1px solid white; place-self: center; text-align: center; cursor: pointer;}

.asos { grid-area: asos; border-top: 1px solid white; border-bottom: 1px solid white; place-self: center; text-align: center; cursor: pointer;}

.affc { grid-area: affc; border-top: 1px solid white; border-bottom: 1px solid white; place-self: center; text-align: center; cursor: pointer;}

.adwd { grid-area: adwd; border-top: 1px solid white; border-bottom: 1px solid white; place-self: center; text-align: center; cursor: pointer;}

.agot-img { grid-area: agot-img; margin: 10px auto; cursor: pointer;}

.acok-img { grid-area: acok-img; margin: 10px auto; cursor: pointer;}

.asos-img { grid-area: asos-img; margin: 10px auto; cursor: pointer;}

.affc-img { grid-area: affc-img; margin: 10px auto; cursor: pointer;}

.adwd-img { grid-area: adwd-img; margin: 10px auto; cursor: pointer;}

.network-wrapper {
  margin-left: 20px
}
