/* general */
p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  color: #941f0f;
}
.quote {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  line-height: 1.3;
  color: #941f0f;
}

/* immagine in alto + titolo sopra */
body,
html {
  height: 100%;
  margin: 0;
  background-color: rgb(255, 252, 248);
}
.title-1 {
  position: absolute;
  bottom: 40%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  font-family: "Times New Roman", Times, serif;
  font-size: 4rem;
  text-align: center;
  color: #941f0f;
  opacity: 1;
}
#BolognaTitle-overlay {
  height: 60vh; /* fill the full viewport height */
  width: 100%;
  background-image: url("image_2273434.webp");
  background-position: top-center;
  background-repeat: no-repeat;
  background-size: cover; /* the image scales responsively */
  margin-bottom: 3%;
  opacity: 0.4;
}

/* titoli sezioni + contenuti */
.flex-container {
  display: flex;
  /* background-color: DodgerBlue; */
}
.flex-container {
  margin-left: 25%;
  margin-right: 25%;
  align-items: flex-start; /* Allinea gli elementi in alto */
  gap: 1.5rem;
}
.flex-container > div {
  /* background-color: #ff6e6e; */
  padding-top: 0.3rem;
}
.flex-title {
  flex: 1; /* Occupa una parte della larghezza */
  text-align: right;
  position: sticky;
  top: 0;
  padding: 0.3rem; /* Spaziatura interna */
  font-family: "Times New Roman", Times, serif;
  color: #941f0f;
}
.flex-content {
  flex: 3;
  top: 0;
  font-size: 0.9rem;
}

/* grafici */
.flex-container-graph {
  display: flex;
  /* background-color: DodgerBlue; */
}
.flex-container-graph {
  margin-left: 1%;
  margin-right: 1%;
  align-items: flex-start; /* Allinea gli elementi in alto */
}
.flex-container-graph > div {
  padding: 1rem;
}
.flex-content-graph {
  flex: 4;
  top: 0.5rem;
  padding: 0;
  font-size: 0.9rem;
}
circle {
  cursor: pointer;
}

/* map and political context */
section {
  position: relative;
}
article.top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 8%;
}
article.top div {
  margin-bottom: 90vh;
}
article.top h3 {
  text-align: left;
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #941f0f;
}
figure {
  position: sticky;
  align-items: center;
  align-self: flex-start;
  display: flex;
  height: 100vh;
  margin: 0;
  width: 100%;
  justify-content: center;
  top: 0;
  z-index: -1;
}

.step {
  padding: 40vh 0;
  font-size: 1.1rem;
  line-height: 1.5;
}
svg {
  width: 100%;
  height: auto;
}

/* trials data */
.marginsContainer {
  margin-bottom: 14%;
}
.txt {
  margin-left: 25%;
  margin-right: 25%;
  position: absolute;
  opacity: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  color: #941f0f;

  .title {
    font-family: "Times New Roman", Times, serif;
  }
}
#Fine {
  padding-bottom: 8%;
}
/* footer */
footer {
  background-color: #941f0f;

  padding-top: 3%;
  padding-bottom: 10%;

  h2,
  b {
    color: rgb(255, 252, 248);
    font-family: Georgia, "Times New Roman", Times, serif;
  }
  p {
    color: rgb(255, 252, 248);
  }
  a {
    color: #f47e76;
  }
}
