:root {
  --black: #222222;
  --white: #ffffff;
  --lightgrey: #f0f1f6;
  --mint: #90c9d8;
  --darkmint: #7faebc;
  --darkblue: #3c4db4;
  --violet: #dfd3f3;
  --lightblue: #7385ff;
  --pink: #d6bde5;
  --grey: #858eac;
}

/* for debugging */
/* * {
  outline: 1px solid red !important;
  opacity: 1 !important;
  visibility: visible !important
} */

html {
  font-size: 1vw;
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}


#quote {
  font-family: "Finlandica", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 3.2rem;
  line-height: 100%;
  width: 70%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0 0 0 2rem;
  padding-bottom: 4rem;
  padding-bottom: 10rem;
  z-index: 2;
  margin-top: 2rem;
}

#ending {
  display: flex;
  flex-direction: column;
  width: 100vw;
  background-color: var(--darkblue);
  position: relative;
  justify-content: space-between;
  min-height: 100vh;
}

#ending .par {
  padding-top: 5rem;
  height: fit-content;
  margin: 0 0 0 2rem;
  color: var(--white);
}

#noise {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999999 !important;
  opacity: 0.05;
  pointer-events: none !important;
  width: 100vw;
  height: 100vh;
  background: url("../img/noise.gif");
  background-repeat: repeat;
}

body {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  background-color: var(--lightgrey);
  margin: 0;
}


.no-scroll {
  height: 100%;
  overflow: hidden;
  overflow-y: hidden;
}


.circleGlow:hover {
  cursor: pointer;
  fill: var(--lightblue)
}

.barGlow:hover {
  fill: var(--lightblue)
}

.finngenLogo {
  background-color: #ffffff3b;
  border-radius: 10px;
  padding: 0.8rem;
  width: 2.8rem;
  height: 2.8rem;
  display: flex;
  justify-content: center;
}

#logoContainer {
  display: none;
  margin-top: calc(100vh - 5vw);
  margin-left: 95vw;
  position: sticky;
  top: 1rem;
  right: 1rem;
  z-index: 99999999;
}

.finngenLogo:hover {
  transform: scale(1.05);
}

.caption {
  font-family: "Finlandica";
  font-style: normal;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--black);
}

.card {
  position: relative;
  background-color: white;
  opacity: 1;
  margin-top: 24rem;
  padding: 2rem 2rem;
  z-index: 99999999;
  border-radius: 0.3rem;
}

.card.firstPar {
  margin-top: -40vh;
}

.card.firstParSection4 {
  margin-top: -32rem;
}

.side {
  margin-left: 57rem !important;
}

a {
  color: var(--lightblue);
  border-bottom: 0.3rem dashed var(--lightblue);
  text-decoration: none;
}

.tooltip {
  color: #7286fc;
  position: relative;
  display: inline-block;
}


.tooltipWord {
  border-bottom: 0.1rem dashed var(--lightblue);
}

.tooltipText {
  visibility: hidden;
  width: 30vw;
  background-color: #e0e3f3b2;
  backdrop-filter: blur(20px);
  color: #222222;
  border-radius: 0.5rem;
  padding: 0.4rem 1.4rem 0.8rem 1rem;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  /* line-height: 130%; */
  text-align: left;
  border: 0.1rem #bdc7f4 solid;

  /* Position the tooltip */
  position: absolute;
  transform: translate(-24rem, 1.6rem);
  z-index: 1000;
}

.tooltipRight {
  transform: translate(-6rem, 1.6rem);
}


.sideStoryButton {
  background-color: #7385ff1E;
  font-family: 'Open Sans';
  font-size: 1rem;
  border: none;
  padding: 0.4rem 1.2rem 0.4rem 0.4rem;
  width: fit-content;
  color: var(--lightblue);
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  align-items: center;
  border-radius: 0.5rem;
  gap: 0.5rem;
  text-align: left;
}



.sideStoryButton img {
  flex: 1 1 0;
}

.sideStoryButtonText {
  font-size: 0.8rem;
  text-align: center;
  padding-bottom: 0.5rem;
}

.sideStoryButton:hover {
  cursor: pointer;
}

.tooltip:hover .tooltipText {
  visibility: visible;
}

a {
  border-bottom: 0.1rem solid var(--lightblue);
}

.infoIcon {
  color: var(--lightblue);
  font-size: 0.7rem;
  display: inline-block;
  text-align: center;
  border: 0.1rem solid var(--lightblue);
  border-radius: 30%;
  width: 1rem;
  height: 1rem;
  margin-left: 0.2rem;
  justify-content: center;
}

#introStep0 {
  height: 100vh;
  background-color: var(--darkblue);
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: 1rem;
  position: absolute;
  top: 0;
}


#sticky {
  position: sticky;
  top: 10%;
  /* z-index: 9998; */
  width: 100vw;
  height: 90vh;
  position: -webkit-sticky;
  display: flex;
  align-items: center;
  justify-content: center;
  display: block;
  /* margin-top: 6rem;
  margin-bottom: 10rem; */
  overflow: visible;
}

.par {
  width: 34vw;
  z-index: 9999 !important;
  margin: 0 auto;
  margin-bottom: 85vh;
  z-index: 9999;
  text-align: left;
  text-justify: inter-word;
  color: var(--black);
  font-size: 1.1rem;
  line-height: 1.4;
}

.lastPar {
  margin-bottom: 20rem !important;
}

.lastParIntro {
  margin-bottom: 22rem !important;
}

#scrollDown {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 0 1.4rem 0;
  gap: 1rem;
  width: 40rem;
  font-size: 1.3rem;
  color: #90c9d8;
  z-index: 2;
  width: 40%;
}

#introTitle {
  z-index: 2;
}

#stickyDot {
  position: fixed;
  top: 0;
  z-index: 10100;
}

h1 {
  font-family: "Finlandica", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 7rem;
  line-height: 100%;
  width: 75%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0;
}

h3 {
  font-family: 'Finlandica', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 100%;
  width: 70%;
  color: var(--darkblue);
  margin-bottom: 5rem;
  margin-block-start: 0;
}

h3.hitsTitle {
  margin-bottom: 2rem;
  font-size: 1.4rem;
}

h4 {
  font-family: 'Finlandica', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--darkblue);
  margin-top: 0;
  margin-bottom: 1rem;
}

.langButton {
  border: none;
  text-decoration: none;
  background-color: transparent;
  color: var(--white);
  font-family: "Finlandica";
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
}

.langButton:hover {
  text-decoration: underline;
  color: var(--pink);
}

.aboutPageContainer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}

.aboutPageContainer .main a {
  color: var(--darkblue);
  border-bottom: 0.1rem solid var(--lightblue);
}

.aboutPageContainer .main ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.aboutPageContainer .main ul li:before {
  content: "•";
  padding-right: 0.8rem;
  font-size: 0.9rem;
}




.aboutButton {
  padding-right: 1rem;
}

.aboutPage .langButton {
  color: var(--darkblue)
}

.langBlock {
  position: absolute;
  z-index: 999999999999;
  top: 0.2rem;
  right: 0.4rem;
}

.toc {
  position: fixed;
  z-index: 9999;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 1rem;
  width: 6rem;
  line-height: 2;
  mix-blend-mode: multiply;
  transition: all 0.3s ease;
  opacity: 1;
}

.toc.hidden {
  opacity: 0;
}

.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc li a {
  display: inline-block;
  color: var(--darkmint);
  font-family: 'Finlandica';
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 0;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.toc li a:hover,
a:focus {
  text-decoration: underline;
}

.toc li.visible>a {
  color: var(--darkblue);
  font-style: normal;
  font-weight: 400;
}

.toc-marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.toc-marker path {
  stroke: var(--darkblue);
  stroke-width: 2px;
  transition: all 0.3s ease;
  opacity: 1;
}

#sideQDiv {
  transition: opacity .3s ease-out;
  position: fixed;
  z-index: 99999;
  bottom: 0.4rem;
  right: 0.4rem;
  width: 30vw;
}

#sideQuestion {
  cursor: pointer;
  width: 100%;
  background-color: var(--darkblue);
  mix-blend-mode: multiply;
  opacity: 1;
  padding: 1.3rem 4rem 1.3rem 1rem;
  border: none;
  border-radius: 1rem 1rem 0 1rem;
  color: var(--white);
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  text-align: left;
}

#sideQuestion:hover {
  background-color: var(--darkmint);
  transition: .5s;
}

/* #sideQuestion:before {
  content: '+';
  font-family: "Open Sans", sans-serif;
  font-size: 1.5rem;
  position: absolute;
  top: 0.7rem;
  right: 1rem;
  color: var(--white);
  margin-left: 10px;
} */

#sideQuestion.active:after {
  content: "-";
  /* Unicode character for "minus" sign (-) */
}

#sideQAnswer {
  height: fit-content;
  transition: height 0.5s;
  background-color: var(--white);
  opacity: 1;
  padding: 1rem;
  border: none;
  border-radius: 0.5rem 0 0.5rem 0.5rem;
  font-size: 1rem;
}

#sideQAnswer.hidden {
  height: 0px;
  overflow: hidden;
  padding: 0;
}


.sideStoryPreview {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

.sideStoryPreview .sideStoryButton {
  flex: 1 1 0;
}

.sideStoryPreview img {
  flex: 1 1 0;
}

#section1,
#section2,
#section3 {
  padding-bottom: 0.1vw;
}

.section-intro {
  height: 88vh;
  margin: 1.5rem;
  padding: 1.8rem 2.7rem;
  border-radius: 0.3rem;
  margin-bottom: 15rem;
}

.section-intro h1 {
  font-size: 6rem;
  text-transform: uppercase;
  color: var(--darkblue);
  margin-top: 1rem;
  z-index: 2;
}

#section3intro {
  background-color: var(--mint);
  position: relative;
  z-index: 0;
  margin-top: 2rem;
  overflow: hidden;
}

#section4intro {
  background-color: var(--pink);
  position: relative;
  z-index: 0;
  overflow: hidden;
}

/* preloader style */

.circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#preloader {
  height: 100vh;
  width: 100vw;
  background-color: #3c4db4;
  color: #fff;
  display: block;
  visibility: visible;
}

#content {
  display: none;
}



.preloaderContent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.questions {
  opacity: 0;
  position: absolute;
  text-align: center;
  width: 20rem;
  font-family: "Finlandica";
  font-style: normal;
  font-weight: 200;
  font-size: 1.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.counter {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--mint);
  margin-top: -16rem;
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: center;
}

.questions:nth-of-type(1) {
  animation: rotate-text-up 1.5s 0.75s;
}

.questions:nth-of-type(2) {
  animation: rotate-text-up 1.5s 2s;
}

.questions:nth-of-type(3) {
  animation: rotate-text-up 1.5s 3.25s;
}

.questions:nth-of-type(4) {
  animation: fade-text-in 1.5s 4.5s forwards;
}

@keyframes rotate-text-up {
  0% {
    transform: translate3d(0, 80px, 0);
    opacity: 0;
  }

  20%,
  80% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }

  100% {
    transform: translate3d(0, -40px, 0);
    opacity: 0;
  }
}

@keyframes fade-text-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 80px, 0);
  }

  50%,
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

#introImage,
#introImage4 {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  height: 100%;
  /* width: 100%; */
}

/* #introCanvas{
  position: absolute;
  left: 0;
  top: 0;
  /* width: 100vw;
  height: 100vh; 
  display: block;
  z-index: 1;
} */

#introImage2,
#introImage3 {
  position: absolute;
  z-index: -1;
  right: 0;
  top: 0;
  border-radius: 0.3rem;
  height: 100%;
}

.chapterTag {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  color: var(--darkblue);
  font-size: 1rem;
  margin-left: 0.5rem;
}

.line {
  display: inline-block;
  border-top: 1px solid var(--darkblue);
  width: 4rem;
  color: var(--darkblue);
}

.quoteName {
  color: var(--mint);
  line-height: 100%;
  margin-top: 1rem;
  font-size: 1.2rem !important;
}

.quoteName caption {
  font-size: 1rem !important;
  color: var(--mint);
  line-height: 110%;
  margin-top: 1rem;
}

#dotImage {
  margin-right: -1rem;
}

.transitionDotImage {
  /* position: absolute!important; */
  animation: moveDot 1.5s linear forwards;
}

@keyframes moveDot {
  100% {
    margin-top: 20rem;
    margin-left: 20rem;
    cursor: pointer;
    opacity: 0;
    width: 0rem;
  }
}

#researchMap {
  position: sticky;
  top: 0;
  cursor: grab;

}

.map-publication {
  transition: 0.4s ease-out;
}

#outro {
  height: fit-content !important;
  margin: 0 auto 6rem auto;
}

#footer {
  display: flex;
  min-height: 4rem;
  flex: row;
  padding: 0.5rem 0 0.5rem 2rem;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  color: white;
}

.logo {
  height: fit-content;
}

.logo img {
  width: 7rem;
}

.authors {
  width: 28rem;
  padding: 0 4rem;
  z-index: 9999;
}

#footerPar .linkOut {
  color: var(--mint) !important;
}

#footerPar .tooltipText .linkOut {
  color: var(--lightblue) !important;
}

#footerPar .tooltipWord {
  color: var(--mint) !important;
}

#footerPar .infoIcon {
  color: var(--mint) !important;
  border: 0.1rem solid var(--mint);
}

#footerPar .tooltipText .infoIcon {
  color: var(--lightblue) !important;
  border: 0.1rem solid var(--lightblue);
}

#footerPar .tooltipWord {
  border-bottom: 0.1rem dashed var(--mint);
}

#footerPar .linkWord {
  border-bottom: 0.1rem solid var(--mint);
}

#footerPar a {
  border-bottom: 0;
}

.linkWord {
  border-bottom: 0.1rem solid var(--lightblue);
}

a {
  border-bottom: 0;
}

#section2 {
  /* display: none; */
  position: fixed;
  top: 0;
  z-index: 9999;
  overscroll-behavior: contain;
}

#section2.show {
  display: block;
  /* --------------------->>>>> STOP MAIN CONTENT FROM SCROLLING! */
}

#section2overlay {
  box-sizing: border-box;
  width: 100vw;
  height: 100vh;
  padding: 1rem;
  background-color: rgba(127, 174, 188, 0.7);
  backdrop-filter: blur(16px);
}

#section2text {
  overflow-y: auto;
  font-family: "Open Sans", sans-serif;
  font-size: 1.1rem;
  line-height: 1.4;
}

#section2title {
  margin-bottom: 1rem;
}

.flex-container {
  position: relative;
  height: 100%;
  width: 100%;
  background-color: var(--white);
  border-radius: 0.3rem;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  overflow: scroll;
}

.flex-left {
  /* flex: 70%; */
  order: 1;
}

.flex-right {
  /* flex: 30%; */
  order: 2;
  padding: 4rem 3rem 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-basis: 100px;
  flex-grow: 1;
}

#ice {
  position: absolute;
  mix-blend-mode: multiply;
  opacity: 0.5;
  width: 64%;
}

/* @media (max-width: 800px) {
  #ice {
    width: 100%;
  }
} */

.section2button {
  /* position: fixed; */
  border: none;
  text-decoration: none;
  background-color: transparent;
  color: var(--darkblue);
  font-family: 'Finlandica';
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section2button:hover {
  text-decoration: underline;
}

.section2next,
.section2back {
  padding: 2rem 0rem 2rem 0;
  font-size: 1.5rem;
}

.section2close {
  position: fixed;
  padding: 2rem;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
}

.section2controls {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: auto;
}





.tooltipText ul {
  padding-left: 10px;
}

.tooltipText li {
  margin-left: 0.6rem;
  margin-bottom: 0.3rem;
  padding-left: 0.3rem;
}

.tooltipText li::marker {
  content: '•';
  font-size: 1rem;
}

/* SECTION 01 */

#section1intro {
  margin-top: 6rem;
}

#section1intro par {
  margin-bottom: 2rem;
}


/* svg {
	width: 960px;
	height: 600px;
} */



path {
  stroke: #fff;
  stroke-width: 0.1px;
}

#introStep1 {
  margin-top: -30rem;
}


#introStep3 {
  margin-bottom: 60rem;
}

.ciruclarLegend {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.ciruclarLegendGroup {
  /* width: 230px; */
  flex-direction: row;
  display: flex;
  height: fit-content;
  align-items: center;
  gap: 8px;
}

.ciruclarLegend img {
  height: 30px;
}


/* SECTION 03 */
#section3ending {
  margin-top: 4rem;
}

/* SECTION 04 */

.mapArea {
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
  margin-top: 0;
}


.mapArea .titleGraphs {
  margin-top: 0;
}

.mapArea .smalltitleGraphs {
  margin-bottom: 2rem;

}

#section4intro {
  margin-bottom: 7rem;
}

.map {
  position: relative;
  /* transform: scale(1.2); */
  margin-top: 2rem !important;
  width: 75%;
  /* height: 100% */
}

#publications_chart {
  position: sticky;
  top: 0;
}

.tooltipCountry {
  padding: 0px 4px;
  background-color: #fff;
  opacity: 0.8;
  border-radius: 4px;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--darkblue)
}

.legend {
  font-size: 0.8rem;
  font-weight: 600;
  fill: var(--mint);
}

.map-publication {
  transition: 0.4s ease-out;
}

#start {
  position: sticky;
  top: 0;
}

#bar_chart {
  display: block;
}

.publication {
  transition: 1s ease-out;
}

.connection {
  /* stroke-dasharray: 0.5 10;
    stroke-width: 2; */
  stroke-linecap: round;
  animation: pulsate 2s ease-out infinite;
}

.par.card.right {
  margin-left: 60rem;
}

@keyframes pulsate {
  0% {
    opacity: 0.5;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 0.5;
  }
}

.connection {
  opacity: 0.5;
}

.titleGraphs {
  font-family: "Finlandica", sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 100%;
  width: 70%;
  color: var(--darkblue);
  margin-block-start: 0;
  margin-bottom: 2rem;
  font-size: 1.4rem;
  margin: 2rem;
  margin-bottom: 0.6rem;
}



.smalltitleGraphs {
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.02em;
  line-height: 100%;
  width: 70%;
  color: var(--grey);
  margin-bottom: 5rem;
  margin-block-start: 0;
  fill: #222222;
  margin: 2rem;
  margin-top: 0;
}

.stickyDiv {
  height: fit-content;
}

.legendCircular {
  top: 0;
  left: 0;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-top: 1rem;
  position: sticky;
  justify-content: center;
}

.legendItem {
  display: flex;
  flex-direction: row;
  margin-right: 1rem;
  margin-bottom: 2rem;
}

.legendItem img {
  margin-right: 0.5rem;
}

.legendItem p {
  text-transform: uppercase;
  font-size: 0.9rem;
  font-family: 'Finlandica', sans-serif;
  color: var(--black)
}


#resultsStep2 .smalltitleGraphs {
  font-family: "Finlandica", sans-serif;
  text-transform: uppercase;
  color: var(--mint);
  font-size: 1rem;
  margin: 0;
  margin-top: 2.3rem;
}

#pubsContainer {
  display: flex;
  margin-top: 4rem;
  flex-direction: column;
  align-items: flex-start;
  position: sticky;
  height: 100vh;
  top: 0;
  justify-content: center;
  /* overflow-x: scroll; */
}

.tipNotOver {
  visibility: hidden;
}

#tip:hover .tipOver {
  visibility: visible;
}

/* ABOUT PAGE */

.aboutPage {
  margin: 1.5rem;
}

.aboutPage .sideStoryButton {
  position: fixed;
  background-color: #E1E5F6;
}

.sidebar {
  font-family: 'Finlandica';
  margin-top: 6rem;
  margin-right: 2rem;
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  line-height: 130%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--lightblue);
  position: fixed;
}

.sidebar ul {
  margin-top: 0;
  padding-left: 0;
  width: 16rem;
}

.container {
  display: flex;
  flex-direction: row;
}

.sidebar li {
  list-style: none;
  padding-bottom: 0.4rem;
}

.aboutPage section {
  padding-top: 3rem;
}

.aboutPage #firstSection {
  padding-top: 0rem;
}

.aboutPage #contact {
  padding-bottom: 4rem;
}


.aboutPage section p {
  margin-top: 0;
  width: 45rem;
  font-size: 1.15rem;
  line-height: 145%;
  color: var(--black);
  opacity: 0.9;

}

.notes {
  color: var(--mint);
  margin-left: 2rem;
  font-style: italic;
  width: 20rem;
}

.aboutFooter {
  background-color: var(--darkblue);
  height: 5rem !important;
  padding: 1.5rem !important;
}

.paragraphWithNotes {
  display: flex;
  flex-direction: row;
  align-items: baseline;
}

.paragraphWithNotes .notes {
  color: var(--darkmint);
}

.paragraphWithNotes .notes a {
  color: var(--darkmint);
  border-bottom: 0.1rem solid var(--mint);
}

.main {
  margin-top: 6rem;
  margin-left: 20%;
}

#c[data-issafari=false] {
  transition: .7s ease;
  width: 100vh;
  height: 100vh;
}

#background {
  position: sticky;
  top: 0;
  z-index: -100;
  width: 100%;
  height: 100vh;
}

.step0, .step1, .step2 {
  opacity: 1;
}

.step3 {
  opacity: 0.25;
}

.step4 {
  opacity: 0.0;
}

.step5 {
  opacity: .25;
}

.step6 {
  opacity: 1;
}

.freeze {
  margin-left: 70rem;
  background-color: transparent;
  font-weight: 600;
  color: #222222;
  margin-bottom: 50vw;
}

.horizontal {
  flex-direction: row;
  align-content: baseline;
  align-items: stretch;
}

#descriptions {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#karyo {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

#manhattan {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
}

.dotKaryo, .dotManhattan, .lineManhattan {
  opacity: 0;
}

.hit {
  display: block;
  padding-bottom: 0.25rem;
}

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: var(--white);
  color: var(--black);
  cursor: pointer;
  padding: 0.5rem;
  padding-right: 1rem;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  font-size: 0.9rem;
  font-family: 'Finlandica';
  text-transform: uppercase;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.activeAccordion, .accordion:hover {
  background-color: var(--mint);
  border-radius: 0.5rem;
}

.accordion:after {
  content: '\02795';
  /* Unicode character for "plus" sign (+) */
  /* font-size: 13px; */
  color: var(--black);
  float: right;
  /* margin-left: 5px; */
}

.activeAccordion:after {
  content: "\2796";
  /* Unicode character for "minus" sign (-) */
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  background-color: white;
  height: auto;
  overflow: hidden;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 0.4rem;
  transition: max-height 0.5s ease-in;
  max-height: 0;

  font-size: .8rem;
}

.pHit {
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

#section3ending.par {
  margin-bottom: 10rem;
}

.graphDescription {
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.02em;
  /* text-transform: uppercase; */
  line-height: 100%;
  width: 70%;
  margin-block-start: 0;
  margin-bottom: 2rem;
  font-size: 1.2rem;
  margin: 2rem;
  color: var(--grey);
  fill: var(--grey);
}

/* Slider css */






.quoteName {
  margin-bottom: 3rem;
  max-width: 35%;
}

#quoSlider {
  width: 100%;
  min-height: 32rem;
  position: relative;
  overflow: hidden;
}

#quoSlider #right {
  width: 70%;
  float: right;
  position: relative;
}

#quoSlider a {
  display: block;
  text-decoration: none;
  outline: none;
  outline-color: none;
}

#quoSlider nav {
  width: 140px;
  height: 50px;
  position: absolute;
  bottom: 0;
  left: 50%;
  margin: 0 0 -25px -70px;
  z-index: 1000;
  box-shadow: 0px 7px 24px 3px rgba(0, 0, 0, .52);
}

#quoSlider #nav-cirlces {
  width: 100%;
  height: 1rem;
  ;
  position: absolute;
  bottom: 0%;
  left: 0;
  margin-left: 0;
}

#quoSlider .quoCircle {
  width: 0.7rem;
  height: 0.7rem;
  ;
  float: left;
  border-radius: 100%;
  border: 1px solid var(--mint);
  margin: 0 0.5rem;
  cursor: pointer;
  -webkit-transition: all .75s cubic-bezier(.86, .3, .07, 1);
  -moz-transition: all .75s cubic-bezier(.86, .3, .07, 1);
  -o-transition: all .75s cubic-bezier(.86, .3, .07, 1);
  transition: all .75s cubic-bezier(.86, .3, .07, 1);
}


#quoSlider p {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  margin: auto;
  right: -120px;
  font-style: normal;
  font-weight: 400;
  font-size: 3.2rem;
  line-height: 105%;
  color: var(--mint);
  opacity: 0;
  -webkit-transition: all 2s cubic-bezier(.86, .3, .03, 1), opacity .7s cubic-bezier(.86, .3, .47, 1) .3s;
  -moz-transition: all 2s cubic-bezier(.86, .3, .03, 1), opacity .7s cubic-bezier(.86, .3, .47, 1) .3s;
  -o-transition: all 2s cubic-bezier(.86, .3, .03, 1), opacity .7s cubic-bezier(.86, .3, .47, 1) .3s;
  transition: all 2s cubic-bezier(.86, .3, .03, 1), opacity .7s cubic-bezier(.86, .3, .47, 1) .3s;
}

#quoSlider p.quoSlide.active {
  right: 0;
  opacity: 1;
  background: transparent;
}

#quoSlider .active {
  background: var(--mint);
}

#quoSlider .slide {
  width: 100%;
  height: 100%;
  position: absolute;
  /*right: -100%;*/
  opacity: 0;
  -webkit-transition: all 1.5s ease;
  -moz-transition: all 1.5s ease;
  -o-transition: all 1.5s ease;
  transition: all 1.5s ease;
}

#quoSlider .slide.active {
  /*right: 0%;*/
  opacity: 1;
}





@media screen and (max-width:680px) {

  #quoSlider {
    width: 100%;
  }


  #quote {
    width: 90%;
  }

  #quoSlider {
    min-height: 45rem;

  }

  #quoSlider p {
    font-size: 2.3rem;
    line-height: 1.2;
  }

  #quoSlider .active {
    font-size: 2.3rem;
    line-height: 1.2;
  }

  .quoteName {
    display: block;
    line-height: 100% !important;
    width: 100%;
  }

}

/* END OF SLIDER */


.section2button {
  border: none;
  text-decoration: none;
  background-color: transparent;
  color: var(--darkblue);
  font-family: 'Finlandica';
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
}


.section2next,
.section2back {
  padding: 2rem 0rem 2rem 0;
  font-size: 1.5rem;
}

.section2close {
  position: fixed;
  padding: 2rem;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
}


.section2slider {
  width: 100%;
  position: relative;
  height: fit-content;
  margin: 0 1rem;
  display: flex;
  justify-content: center;
}


.section2slider input[type="range"i] {
  width: 90%;
  appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  -webkit-appearance: none;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);

}




input[type="range"i]::-webkit-slider-thumb {
  -webkit-appearance: none;
  /* Override default look */
  appearance: none;
  width: 11.1%;
  /* Set a specific slider handle width */
  height: 3rem;
  /* Slider handle height */
  border-radius: 100px;
  background: var(--lightblue);
  opacity: 0.4;
  cursor: pointer;
  /* Cursor on hover */
}


datalist {
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  pointer-events: none;
  font-family: 'Open Sans', sans-serif;
  /* margin-left: 3%;
  margin-right: 2%; */
  width: 90%;
}

option {
  color: var(--darkblue);
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 1rem;
}


#introParS4 {
  margin-bottom: 4rem;
}

.barNumber {
  font-size: 0.7rem;
  fill: var(--mint);
  font-weight: 600;
  font-family: 'Open Sans', sans-serif;
  transform: translate(5px, 0);
}