/* General Styles */

.footer {
  position: absolute; 
  bottom: 20px;  
  width:100%; 
  font-size: 1vw;
}
.section {
  height: 80vh;
  width: 100%;
  position: relative;
  padding-left: 3vw;
  padding-right: 3vw;
}

.vis-container {
  width: 100%;
  height: 90%;
  position: relative;
}

/* Title Page Styles */

.loader {
  border: 8px solid #DCDCDC; /* Light grey */
  border-top: 8px solid Black; /* Blue */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
  margin-left: auto;
  margin-right: auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* History Sections */

.intro-history {
  text-align: center;
}

.history-sec {
  text-align: center;
}

.history-sec h4 {
  font-size:1.5vw;
}

.history-sec h1 {
  font-size:3vw;
}

/* Image Styling For History Sections*/
.historyImgContainer {
  position: relative;
  width: 100%;
}

.image {
  opacity: .8;
  display: block;
  width: 50%;
  height: 250px;
  width: 250px;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%)
}

.historyImgContainer:hover .image {
  opacity: 1;
}

.historyImgContainer .middle {
  opacity: 1;
}

a.history{
  color: white;
  font-style: normal;
  font-weight: 500;
  font-size: medium;
  text-shadow: -1.5px 0 black, 0 1.5px black, 1.5px 0 black, 0 -1.5px black;
  /* text-shadow: 0 0 3px Black; */
}

.historyImgRow{
  padding-top: 20px;
  padding-bottom: 5px;
}

/* Radial Plot Styles */
#vis-1 {
  font-size: 18px;
  font-family: "Quicksand", sans-serif;
}

#radial-vis {
  width: 100%;
  height: 80vh;
}

 /*  Map + Timeline Vis Styles */
.map-vis {
    width: 100%;
    height: 100%;
    position: relative;
    font-family: "Quicksand", sans-serif;
}

#stops-timeline-vis {
    height: 40%;
    width: 100%;
    font-family: "Quicksand", sans-serif;
}

.timeline-title {
  text-anchor: middle;
  font-size: x-large;
  font-weight: bold;
}

#stops-timeline-text {
  height: 60%;
  width: 90%;
  font-family: "Quicksand", sans-serif;
}

#precinctSelect {
  width: fit-content;
}

.legend {
  line-height: 18px;
  color: #555;
}
.legend i {
  width: 1px;
  height: 18px;
  float: left;
  opacity: 0.7;
}

.info {
  padding: 6px 8px;
  font-family: "Quicksand", sans-serif;
  background: white;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  border-radius: 5px;
}

#vis-2 .row {
    width: 100%;
    height: 100%;
}

.legend-text {
  display: flex;
  justify-content: space-between;
}

.line {
  stroke: #1A5276;
  stroke-width: 1;
  fill: none;
}

.tooltip-year {
  font-size: 10px;
}

.tooltip-stops {
  font-size: 12px;
  font-weight: bold;
}

/* Quotes */

.quotee {
  font-size: 1vw;
  text-align: center;
}

.quote {
  font-size: 1.1vw;
  text-align: center;
}

.quote-header {
  text-align: center;
  font-weight: bold;
}

#quotes h4 {
  font-size:1.5vw;
}

 /* Victims Vis Styles */

.victims-text {
  text-anchor: middle;
  font-size: large;
}

#victims-supplementary-text {
  font-weight: bold;
  height: 10px;
}

#victims-vis {
  width: 100%;
  height: 100%;
}

#victims-sec {
  position: relative;
  font-family: "Quicksand", sans-serif;
}

#victims-buttons {
  height: 40%;
  width: 50%;
}

#vis-3 .row {
  width: 100%;
  height: 70%;
}

.label-dem {
  text-anchor: middle;
  font-size: large;
  font-weight: 600;
}

.label-dem-number {
  text-anchor: middle;
  font-size: medium;
  font-weight: lighter;
}

/* DEMOGRAPHIC BUBBLES VIS and LIKELINESS VIS */

span#red-text {
  color: #8B0000;
}

#demographic-buttons {
  height: 75%;
  width: 50%;
}

#population-sec,
#likeliness-sec {
  font-family: "Quicksand", sans-serif;
}

.demographic-buttons-2 {
  height: 75%;
  width: 50%;
  padding-bottom: 2vh;
}
.description-text {
  font-size: 18px;
  text-align: left;
  font-family: "Quicksand", sans-serif;
}

.likeliness {
  margin-top: 1em;
}

.likeliness-perc {
  margin-top: 2em;
}
#likeliness-perc {
  font-size: 2em;
  color: #1A5276;
}

.selection-text {
  text-anchor: end;
}
.bubbles {
  /* margin-top: 1.5em; */
  /* background-color: #b1dfbb; */
  height: 40vh;
  width: 40vw;
  text-align: center;
}
span {
  font-weight: bold;
}

#likeliness-vis {
  height: 70vh;
  /* width: 30vw; */
}
#likeliness-vis h1{
  font-size: 4em;
}

body {
  background-color: #FFFAF0;
  font-family: "Quicksand", sans-serif;
}
h1{
  font-weight: bold;
}
.title-header {
  font-size: 5em;
  text-align: center;
}
p {
  color: black;
  text-align: center;
}


/* Youtube Video Styles */

.iframe-container{
  position: relative;
  width: 100%;
  padding-bottom: 23%; 
  height: 0;
}
.iframe-container iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#testimonial-text {
  margin-top: auto;
  margin-bottom: auto;
}

/* ABOUT US */
.ending h5{
  font-weight: bold;
}

.headshot{
  margin-top: 1.5em;
  max-width: 100%;
  height: auto;
  border-radius: 50%;
}
.headshot-p {
  font-weight: bold;
}

.screencast iframe{
  width: 90%;
  height: 100%;
}