@import "./base.css";

.map {
  background-color: var(--wit);
  stroke: none;
  fill: none;
}

button {
  padding: 8px 20px 9px;
  border-radius: 40px;
  border: none;
  font-size: 1.1764rem;
  background-color: var(--trajekt-paars);
  color: var(--wit);
  text-decoration: none;
  font-family: "Overpass", sans-serif;
  font-weight: bold;
}

button:hover {
  background-color: var(--trajekt-rood);
}

.purple-text {
  color: var(--color-text-highlight);
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: linear-gradient(
    to right,
    var(--trajekt-paars),
    var(--trajekt-paars-licht)
  );
}

.header img {
  height: 4rem;
  flex: 1;
}

h1, h2 {
  font-size: 1.5rem;
  font-family: "Caveat", cursive;
  color: var(--trajekt-rood);
}

.header h1 {
  font-family: "Overpass", sans-serif;
  color: var(--wit);
  margin: 0;
  text-align: center;
  flex: 1;
}

.footer {
  background-color: var(--trajekt-paars-licht);
  text-align: center;
  padding: 18px 24px;
}

.footer p {
  color: var(--wit);
  margin: 0;
}

.spacer {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

#zuyd {
  height: 4rem;
  width: auto;
  object-fit: contain;
}

.content {
  padding: 2rem;
}

.section-content {
  flex: 1;
}

#visualisation {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

#maastricht {
  background-color: var(--color-svg-background);

}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  position: relative;
  min-width: 600px;
  min-height: 400px;
  max-width: 80%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: black;
}

#popup-text {
  color: black;
  font-size: 16px;
  line-height: 1.5;
}

.close-button {
  position: absolute;
  right: 15px;
  top: 15px;
  cursor: pointer;
  font-size: 24px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color;
}

.close-button:hover {
  background-color: #e0e0e0;
}

#ses-score-card {
  width: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 16px;
}

.top {
  text-align: center;
  padding: 16px;
  font-size: 1em;
}

.bottom {
  display: flex;
}

.bottom div {
  flex: 1;
  padding: 16px;
  text-align: center;
  font-size: 0.8em;
  border-top: 1px solid var(--trajekt-paars);
}

.bottom div:nth-child(2) {
  border-left: 1px solid var(--trajekt-paars);
  border-right: 1px solid var(--trajekt-paars);
}

.visual-container {
  position: relative;
  gap: 2rem;
  margin-bottom: 2rem;
}

.visual-explanation {
  position: absolute;
  padding: 1rem;
  background-color: var(--wit);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: 1px solid var(--trajekt-paars-licht);
  color: black;
  display:none;
  z-index: 1000;
}

.visual-explanation h3 {
  color: var(--trajekt-paars);
  margin-bottom: 1rem;
}

.visual-explanation ul {
  margin: 0.5rem 0;
  padding-left: 1.2rem;
  color: black; 
}

.visual-explanation p {
  margin: 0.5rem 0;
  line-height: 1.4;
  color: black; 
}

.visual-explanation li {
  color: black; 
}
