@charset "UTF-8";
/*Hero Animation*/
.hero-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  min-height: 105px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  z-index: 5;
}
.hero-nav .hero-nav__inner {
  z-index: 1;
}
.hero-nav h1 {
  color: #ccc;
  font-size: 17vw;
  font-family: "Metal", cursive;
  padding-top: 5%;
}
.hero-nav:before {
  content: "";
  background: rgba(0, 0, 0, 0);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: background 400ms;
}
.hero-nav.fixme:before {
  background: rgba(0, 0, 0, 0.8);
}

/*Smart Menu*/
/* 1. Enable smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* 2. Make nav sticky */
main > nav {
  position: -webkit-sticky;
  position: sticky;
  top: 2rem;
  align-self: start;
}

/* 3. ScrollSpy active styles (see JS tab for activation) */
.section-nav li.active > a {
  color: #333;
  font-weight: 500;
}

/* Sidebar Navigation */
.section-nav {
  padding-left: 0;
}

.section-nav a {
  text-decoration: none;
  display: block;
  padding: 0.125rem 0;
  color: #ccc;
  transition: all 50ms ease-in-out; /* 💡 This small transition makes setting of the active state smooth */
}

.section-nav a:hover,
.section-nav a:focus {
  color: #666;
}

/*Spacer per gestire la distanza dei menu laterali con l'hero*/
.spacer {
  min-height: 100px;
}

/*Category Buttons*/
.cat-btn {
  height: 60px;
  display: flex;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

.race-btn a {
  border: 2px solid #FFFF4C;
}

.gender-btn a {
  border: 2px solid #FF1493;
}

.religion-btn a {
  border: 2px solid #FF912F;
}

.lgbt-btn a {
  border: 2px solid #C24CF6;
}

.home-btn a {
  border: 2px solid #ccc;
}

.tech-btn a {
  border: 2px solid #ccc;
}

.cat-btn a {
  text-decoration: none;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  font-size: large;
  padding: 3%;
}

.cat-btn a::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -2px;
  width: calc(100% + 6px);
  /*100% plus double the times left values*/
  height: calc(100% - 10px);
  background-color: #141414;
  transition: all 0.2s ease-in-out;
  transform: scaleY(1);
}

.cat-btn a:hover::before {
  transform: scaleY(0);
}

.cat-btn a::after {
  content: "";
  position: absolute;
  left: 5px;
  top: -5px;
  width: calc(100% - 10px);
  /*100% plus double the times left values*/
  height: calc(100% + 10px);
  background-color: #141414;
  transition: all 0.2s ease-in-out;
  transform: scaleX(1);
}

.cat-btn a:hover::after {
  transform: scaleX(0);
}

.cat-btn span {
  position: relative;
  /* z-index coz when we put bg to before and after this span text will not be visible */
  z-index: 3;
}

/** General **/
* {
  box-sizing: border-box;
}

html {
  background-color: #141414;
  color: #ccc;
}

body {
  font-family: "Playfair Display", serif;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

li {
  margin-left: 1rem;
}

.page-content p {
  line-height: 200%;
  font-size: 120%;
  margin-bottom: 4%;
}

.page-content h1 {
  font-weight: 600;
  margin-top: 5%;
  margin-bottom: 9%;
  font-size: 400%;
  margin-left: 10%;
  margin-right: 10%;
}

.page-content h2 {
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 30px;
  font-size: x-large;
}

.page-content h3 {
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 30px;
  font-size: larger;
}

.time-container {
  text-align: center;
  margin-bottom: 10%;
}

.time {
  width: 50%;
}

.footer-header {
  text-align: center;
  padding: 5% 0 5% 0;
  font-size: x-large;
}

.member {
  width: 20%;
  margin: 1% 0 3% 0;
  float: left;
  text-align: center;
}

.member .lm {
  border-radius: 50%;
}

.lm:hover {
  content: url("pfp/lm_pfp.png");
}

.member .dc {
  border-radius: 50%;
}

.dc:hover {
  content: url("pfp/dc_pfp.png");
}

.member .gl {
  border-radius: 50%;
}

.gl:hover {
  content: url("pfp/gl_pfp.png");
}

.member .fg {
  border-radius: 50%;
}

.fg:hover {
  content: url("pfp/fg_pfp.png");
}

.member .cg {
  border-radius: 50%;
}

.cg:hover {
  content: url("pfp/cg_pfp.png");
}

.member .pfp-container {
  height: 100%;
  width: 96%;
  margin: 0 2% 10% 2%;
}

.pfp-container img {
  width: 80%;
}

.member .member-info {
  text-align: center;
}

.sketch-highlight-y {
  position: relative;
  padding: 0 5px;
  z-index: -1;
}

.sketch-highlight-y:before {
  content: "";
  z-index: -1;
  left: 0em;
  top: 0.1em;
  border-width: 2px;
  border-style: solid;
  border-color: #FFFF66;
  position: absolute;
  border-right-color: transparent;
  width: 100%;
  height: 90%;
  transform: rotate(1.1deg);
  opacity: 0.5;
  border-radius: 0.25em;
}

.sketch-highlight-y:after {
  content: "";
  z-index: -1;
  left: 0em;
  top: 0.1em;
  border-width: 2px;
  border-style: solid;
  border-color: #FFFF66;
  border-left-color: transparent;
  border-top-color: transparent;
  position: absolute;
  width: 100%;
  height: 90%;
  transform: rotate(-1.1deg);
  opacity: 0.5;
  border-radius: 0.25em;
}

.text-highlight-y2 {
  border-radius: 0 1em 0 1em;
  text-shadow: 1px 1px 1px #fff;
  background-color: #FFFF66;
}

.sketch-highlight-f {
  position: relative;
  padding: 0 5px;
  z-index: -1;
}

.sketch-highlight-f:before {
  content: "";
  z-index: -1;
  left: 0em;
  top: 0.1em;
  border-width: 2px;
  border-style: solid;
  border-color: #FF1493;
  position: absolute;
  border-right-color: transparent;
  width: 100%;
  height: 90%;
  transform: rotate(1.1deg);
  opacity: 0.5;
  border-radius: 0.25em;
}

.sketch-highlight-f:after {
  content: "";
  z-index: -1;
  left: 0em;
  top: 0.1em;
  border-width: 2px;
  border-style: solid;
  border-color: #FF1493;
  border-left-color: transparent;
  border-top-color: transparent;
  position: absolute;
  width: 100%;
  height: 90%;
  transform: rotate(-1.1deg);
  opacity: 0.5;
  border-radius: 0.25em;
}

.text-highlight-f2 {
  border-radius: 0 1em 0 1em;
  text-shadow: 1px 1px 1px #fff;
  background-color: #FF1493;
}

.sketch-highlight-o {
  position: relative;
  padding: 0 5px;
  z-index: -1;
}

.sketch-highlight-o:before {
  content: "";
  z-index: -1;
  left: 0em;
  top: 0.1em;
  border-width: 2px;
  border-style: solid;
  border-color: #FC6E22;
  position: absolute;
  border-right-color: transparent;
  width: 100%;
  height: 90%;
  transform: rotate(1.1deg);
  opacity: 0.5;
  border-radius: 0.25em;
}

.sketch-highlight-o:after {
  content: "";
  z-index: -1;
  left: 0em;
  top: 0.1em;
  border-width: 2px;
  border-style: solid;
  border-color: #FC6E22;
  border-left-color: transparent;
  border-top-color: transparent;
  position: absolute;
  width: 100%;
  height: 90%;
  transform: rotate(-1.1deg);
  opacity: 0.5;
  border-radius: 0.25em;
}

.text-highlight-o2 {
  border-radius: 0 1em 0 1em;
  text-shadow: 1px 1px 1px #fff;
  background-color: #FC6E22;
}

.sketch-highlight-v {
  position: relative;
  padding: 0 5px;
  z-index: -1;
}

.sketch-highlight-v:before {
  content: "";
  z-index: -1;
  left: 0em;
  top: 0.1em;
  border-width: 2px;
  border-style: solid;
  border-color: #C24CF6;
  position: absolute;
  border-right-color: transparent;
  width: 100%;
  height: 90%;
  transform: rotate(1.1deg);
  opacity: 0.5;
  border-radius: 0.25em;
}

.sketch-highlight-v:after {
  content: "";
  z-index: -1;
  left: 0em;
  top: 0.1em;
  border-width: 2px;
  border-style: solid;
  border-color: #C24CF6;
  border-left-color: transparent;
  border-top-color: transparent;
  position: absolute;
  width: 100%;
  height: 90%;
  transform: rotate(-1.1deg);
  opacity: 0.5;
  border-radius: 0.25em;
}

.text-highlight-v2 {
  border-radius: 0 1em 0 1em;
  text-shadow: 1px 1px 1px #fff;
  background-color: #C24CF6;
}

/** page layout **/
main {
  display: grid;
  grid-template-columns: 25% 50% 25%;
}

footer {
  display: grid;
  grid-template-columns: 25% 50% 25%;
}

.categories {
  text-align: right;
  position: -webkit-sticky;
  position: sticky;
  top: 2rem;
  align-self: start;
}

.categories ol {
  padding-right: 60px;
}

.section-nav ol {
  padding-left: 60px;
}

.citation {
  font-style: italic;
}

.author {
  text-align: right;
}

.section-title {
  text-align: center;
}

.center {
  text-align: center;
}

.grafone-no img {
  width: 75%;
  padding-bottom: 3%;
}

.intro_odiometro img {
  width: 60%;
  padding-bottom: 3%;
}

.finalone {
  width: 50%;
  display: inline;
  float: left;
}

#my-img {
  width: 100%;
}

#INTRO_pattern canvas {
  width: 100%;
  padding-bottom: 3%;
}

.politic_comp {
  width: 100%;
  text-align: center;
  padding-bottom: 3%;
}

.politic_comp canvas {
  width: 100%;
}

.politic-title h2 {
  width: 50%;
  float: left;
  text-align: center;
}

iframe {
  margin-bottom: 3%;
}

.cat_graph {
  width: 60%;
}

.graph-scat {
  width: 100%;
}

.odiometro {
  width: 50%;
  float: left;
  padding-top: 10%;
}

.nhate-container {
  width: 100%;
  padding-bottom: 3%;
}

.nhate-container img {
  width: 100%;
}

#analysis > div:nth-child(7) > img {
  width: 100%;
}

.timeline-container {
  width: 100%;
  text-align: center;
  padding-bottom: 3%;
}

.timeline-container img {
  width: 80%;
}

#RAsentiment {
  width: 100%;
  text-align: center;
  padding-bottom: 3%;
}

#RAsentiment canvas {
  width: 80%;
}

#RAtimeline {
  width: 100%;
  text-align: center;
  padding-bottom: 3%;
}

#RAtimeline canvas {
  width: 100%;
}

#RAscatter {
  cursor: default;
  width: 100%;
  text-align: center;
}

#RAhist {
  float: left;
  width: 50%;
}

#RAhist > canvas {
  width: 100%;
}

#REsentiment {
  width: 100%;
  text-align: center;
  padding-bottom: 3%;
}

#REsentiment canvas {
  width: 80%;
}

#REtimeline {
  width: 100%;
  text-align: center;
  padding-bottom: 3%;
}

#REtimeline canvas {
  width: 100%;
}

#REscatter {
  cursor: default;
  width: 100%;
  text-align: center;
}

#REhist {
  float: left;
  width: 50%;
}

#REhist > canvas {
  width: 100%;
}

#GEsentiment {
  width: 100%;
  text-align: center;
  padding-bottom: 3%;
}

#GEsentiment canvas {
  width: 80%;
}

#GEtimeline {
  width: 100%;
  text-align: center;
  padding-bottom: 3%;
}

#GEtimeline canvas {
  width: 100%;
}

#GEscatter {
  cursor: default;
  width: 100%;
  text-align: center;
}

#GEhist {
  float: left;
  width: 50%;
}

#GEhist > canvas {
  width: 100%;
}

#LGsentiment {
  width: 100%;
  text-align: center;
  padding-bottom: 3%;
}

#LGsentiment canvas {
  width: 80%;
}

#LGtimeline {
  width: 100%;
  text-align: center;
  padding-bottom: 3%;
}

#LGtimeline canvas {
  width: 100%;
}

#LGscatter {
  cursor: default;
  width: 100%;
  text-align: center;
}

#LGhist {
  float: left;
  width: 50%;
}

#LGhist > canvas {
  width: 100%;
}/*# sourceMappingURL=style.css.map */