
.pa-piece {
  position: absolute;
  z-index: 10;
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: clamp(10px, 2vw, 20px);
  &.text-pa {
    border-radius: 10%;
    border: 3px black solid;
    background-color: beige;
  }
}

.piece-title {
  color: lightblue;
  text-align: center;
  font-size: clamp(10px, 4.2vh, 24px);
  font-weight: bold;
}

.pa-popup {
  position: absolute;
  z-index: 50;
  padding: 12px;
  font-family: 'Helvetica Neue', sans-serif;
  color: #222;
  background-color: darkgreen;
  color: white;
  overflow-y: scroll;
  height: 32vh;
  width: clamp(400px, 44vw, 550px);
  border: 2px solid black;
  border-radius: 8px;
}

.TEMPLATE-piece {
  left: var(--l-template);
  top: var(--t-template);
  width: clamp(80px, 8vw, 120px);
  height: clamp(60px, 6vw, 100px);
}

.TEMPLATE-popup {
  left: var(--l-template-pp);
  top: var(--t-template-pp);
}

.pa-red-label {
  font-size: clamp(16px, 4.5vh, 24px);
  font-weight: bold;
  color: red;
  background-color: black;
  bottom: 0%;
  text-align: center;
  margin-bottom: 0;
}

.oct6-piece {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: var(--l-oct6);
  top: var(--t-oct6);
  transform: translateX(-50%);
  font-weight: bold;
  color: black;
  background: linear-gradient(to bottom right, yellow,  red);
  z-index: 10;
  width: clamp(58px, 4.2vw, 80px);
  height: clamp(58px, 4.2vw, 80px);
  font-size: clamp(14px, min(3vw, 6vh), 32px);
  font-weight: bold;
  text-align: center;
  border-radius: 50%;
  border: 3px black solid;
  .free {
    font-size: clamp(16px, 2.4vw, 24px);
  }
}

.oct6-popup {
  position: absolute;
  z-index: 50;
  left: calc(3% + clamp(80px, 12vw, 120px) + 6px);
  top: 9%;
  padding: 20px;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #222;
  background-color: #fafafa;
  overflow-y: scroll;
  height: 80vh;
  width: clamp(400px, 44vw, 550px);
  border: 1px solid gray;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background-color: black;
}

.oct6-content {
  background: black;
  color: yellow;
}

.if-must-piece {
  left: var(--l-if-must);
  top: var(--t-if-must);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  transform: translateX(-50%);
  font-size: clamp(14px, 2vw, 20px);
  font-weight: bold;
  color: black;
  background: beige;
  padding: 10px;  
  width: clamp(80px, 8vw, 120px);
  height: clamp(20px, 2vw, 120px);
  text-align: center;
  border: 3px black solid;
  border-radius: 10%;
}

.if-must-popup {
  position: absolute;
  z-index: 50;
  left: var( --l-if-must-pp);
  top: var(--t-if-must-pp);
  padding: 10px;
  font-family: 'Helvetica Neue', sans-serif;
  color: #222;
  background-color: darkgreen;
  color: white;
  overflow-y: scroll;
  height: 82vh;
  width: clamp(400px, 44vw, 550px);
  border: 2px solid black;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  .if-title {
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 4px 0;
  }
  .if-name {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 4px 0;
  }
  .if-dates {
    font-size: 16px;
    font-weight: bold;
    color: red;
    margin: 0 0 4px 0;
  }
  p {
    font-size: 17px;
    line-height: 1.4;
    margin: 0;
  }
}
.peacemaker-piece {
  position: absolute;
  left: var(--l-peacemakers);
  top: var(--t-peacemakers);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  font-size: clamp(14px, 2vw, 20px);
  font-weight: bold;
  color: lightblue;
  padding: 10px;  
  width: clamp(80px, 8vw, 120px);
  text-align: center;
}

.peacemakers-img {
  width: var(--circle-width);
  height: var(--circle-height);
  border: 3px solid white;
  border-radius: 50%;
  overflow: hidden;
}
.peacemakers-popup {
  position: absolute;
  z-index: 50;
  left: var(--l-peacemakers-pp);
  top: var(--t-peacemakers-pp);
  padding: 20px;
  font-family: 'Helvetica Neue', sans-serif;
  color: #222;
  background-color: darkgreen;
  color: white;
  overflow-y: scroll;
  height: 82vh;
  width: clamp(400px, 44vw, 550px);
  border: 2px solid black;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  /* text-align: center; */
  .if-title {
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 4px 0;
  }
  .if-name {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 4px 0;
  }
  .if-dates {
    font-size: 16px;
    font-weight: bold;
    color: red;
    margin: 0 0 4px 0;
  }
  p {
    font-size: 17px;
    line-height: 1.4;
    margin: 20px 0;
  }
}

.aipac-piece {
  left: var(--l-aipac);
  top: var(--t-aipac);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  transform: translateX(-50%);
  font-size: clamp(14px, 2vw, 20px);
  font-weight: bold;
  color: lightblue;
  padding: 10px;  
  width: clamp(80px, 8vw, 120px);
  text-align: center;
}

.aipac-popup {
  right: var(--r-aipac-pp);
  top: var(--t-aipac-pp);
  padding: 20px;
  font-family: 'Helvetica Neue', sans-serif;
  color: #222;
  background-color: black;
  color: red;
  overflow-y: scroll;
  height: 82vh;
  width: clamp(400px, 42vw, 500px);
  border: 2px solid black;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  /* text-align: center; */
  /* .title {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    margin: 10px 0;
  } */
  p {
    font-size: 17px;
    line-height: 1.4;
    margin: 20px 0;
  }
}

.aipac-img {
  width: var(--circle-width);
  height: var(--circle-height);
  border: 3px solid red;
  border-radius: 50%;
  overflow: hidden;
}

.genocide-culture-piece {
  position: absolute;
  left: var(--l-genocide-culture);
  top: var(--t-genocide-culture);
  transform: translateX(-50%);
  font-size: clamp(14px, 2vw, 20px);
  font-weight: bold;
  color: lightblue;
  padding: 10px;  
  width: var(--circle-width);
  height: var(--circle-height);
  text-align: center;
}

.genocide-culture-img {
  width: var(--circle-width);
  height: var(--circle-height);
  border: 3px solid red;
  border-radius: 50%;
  overflow: hidden;
}

.genocide-culture-popup {
  position: absolute;
  z-index: 50;
  right: var(--r-genocide-culture-pp);
  top: var(--t-genocide-culture-pp);
  padding: 20px;
  font-family: 'Helvetica Neue', sans-serif;
  color: #222;
  background-color: black;
  color: red;
  overflow-y: scroll;
  height: 75vh;
  width: clamp(400px, 42vw, 500px);
  border: 2px solid black;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  /* text-align: center; */
  .title {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    margin: 10px 0;
  }
  .genocide-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    img {
      max-width: 80%;
      margin-bottom: 20px;
    }
  }

  p {
    font-size: 17px;
    line-height: 1.4;
    margin: 20px 0;
  }
  img {
    margin: 14px 0;
  }
}

.vc-piece {
  position: absolute;
  left: var(--l-vc);
  top: var(--t-vc);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  transform: translateX(-50%);
  font-size: clamp(14px, 2vw, 20px);
  font-weight: bold;
  color: lightblue;
  padding: 10px;  
  width: clamp(80px, 8vw, 120px);
  text-align: center;
}

.vc-popup {
  position: absolute;
  z-index: 50;
  right: var(--r-vc-pp);
  top: var(--t-vc-pp);
  /* transform: translate(-50%, -50%); */
  padding: 20px;
  font-family: 'Helvetica Neue', sans-serif;
  color: #222;
  background-color: black;
  color: red;
  overflow-y: scroll;
  height: 62vh;
  width: clamp(400px, 42vw, 500px);
  border: 2px solid black;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  /* text-align: center; */
  .title {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    margin: 10px 0;
  }
  p {
    font-size: 17px;
    line-height: 1.4;
    margin: 20px 0;
  }
  .vc-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: yellow ;
    img {
      margin-left: 10%;
      width: 80%;
    }
  }
}

.negotiations-piece {
  position: absolute;
  left: var(--l-negotiations);
  top: var(--t-negotiations);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  transform: translateX(-50%);
  font-weight: bold;
  color: black;
  background: beige;
  padding: 10px;  
  width: clamp(80px, 8vw, 120px);
  height: clamp(20px, 2vw, 120px);
  text-align: center;
  border: 3px black solid;
  border-radius: 10%;
}

.negotiations-popup {
  position: absolute;
  z-index: 50;
  right: var(--r-negotiations-pp);
  top: var(--t-negotiations-pp);
  padding: 20px;
  font-family: 'Helvetica Neue', sans-serif;
  color: #222;
  background-color: black;
  color: red;
  overflow-y: scroll;
  height: 82vh;
  width: clamp(400px, 42vw, 500px);
  border: 2px solid black;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  /* text-align: center; */
  .title {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    margin: 10px 0;
  }
  p {
    font-size: 17px;
    line-height: 1.4;
    margin: 20px 0;
  }
}
.is-it-genocide-piece {
  position: absolute;
  left: var(--l-is-it-genocide);
  top: var(--t-is-it-genocide);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  transform: translateX(-50%);
  background: beige;
  padding: 10px;  
  width: clamp(80px, 8vw, 120px);
  height: clamp(20px, 2vw, 120px);
  text-align: center;
  font-weight: bold;
  border: 3px black solid;
  border-radius: 10%;
}

.is-it-genocide-popup {
  position: absolute;
  z-index: 50;
  left: var(--l-is-it-genocide-pp);
  top: var(--t-is-it-genocide-pp);
  padding: 20px;
  font-family: 'Helvetica Neue', sans-serif;
  color: #222;
  background-color: beige;
  color: red;
  overflow-y: scroll;
  height: 62vh;
  width: clamp(400px, 42vw, 500px);
  border: 2px solid black;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  /* text-align: center; */
  h2 {
    color: black;
  }
  h3 {
    color: black;
  }
  a {
    color: black;
    text-decoration: none;
  }
  .title {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    margin: 10px 0;
  }
  p {
    font-size: 17px;
    line-height: 1.4;
    margin: 20px 0;
  }
}

.recognition-piece {
  left: var(--l-recognition);
  top: var(--t-recognition);
  display: inline-block;
  width: 10vw;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: clamp(2px, 0.3vw, 5px);
  border: gold 1px solid;
  border-radius: 20px;
  background-color: black;
  color: gold;
  .r-title {
    font-size: clamp(10px,3vh, 12px);
    font-weight: bold;
  }
  .r-title-big {
    font-size: clamp(11px, 4vh, 18px);
    font-weight: bold;
    color: green;
  }
  .r-count {
    font-size: clamp(12px, 4.8vh, 24px);
    font-weight: bold;
    padding: 3px 0;
  
  }
  img {
    width: 22px;
  }
}

.recognition-year {
  font-weight: bold;
}
.recognition-popup {
  position: absolute;
  left: var(--l-recognition-pp);
  top: var(--t-recognition-pp);
  z-index: 50;
  height: 68vh;
  width: clamp(300px, 34vw, 400px);
  /* visibility: hidden; */
  opacity: 1;
  background-color: ivory;
  color: #000;
  border: 1px solid #ccc;
  padding: 15px;
  /* 
  opacity: 0;
  white-space: pre-line; 
*/
  /* transition: opacity 0.3s; */
  /* font-size: 14px; */
  text-align: left; 
  min-height: 200px;
  max-height: 400px;
  overflow-y: scroll; 
}

.recognition-piece:hover .recognition-popup {
  visibility: visible;
  opacity: 1;
}

.recognition-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.pa-experience-piece {
  position: absolute;
  left: var(--l-pa-experience);
  top: var(--t-pa-experience);
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  transform: translateX(-50%);
  font-size: clamp(14px, 1.8vw, 20px);
  font-weight: bold;
  color: darkgreen;
  padding: clamp(2px, 0.3vw, 5px);
  width: clamp(80px, 8vw, 120px);
  text-align: center;
  border: 1px black solid;
  border-radius: 10%;
}

.pa-experience-popup {
  position: absolute;
  z-index: 50;
  left: var(--l-pa-experience-pp);
  top: var(--t-pa-experience-pp);
  padding: 10px;
  font-family: 'Helvetica Neue', sans-serif;
  color: #222;
  background-color: darkgreen;
  color: white;
  overflow-y: scroll;
  height: 82vh;
  width: clamp(400px, 44vw, 550px);
  border: 2px solid black;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  h3 {
    text-align: center;
  }
  .intro {
    text-align: center;
  }
  .if-title {
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 4px 0;
  }
  .if-name {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 4px 0;
  }
  p {
    font-size: 17px;
    line-height: 1.4;
    margin: 0;
  }
  a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    line-height: 1.2;
    margin: 0;
    font-weight: bold;
  }
}
/* Style for the experience sections */
#pa-experience-piece h3 {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  font-weight: bold;
}


.pa-world-opinion-piece {
  position: absolute;
  left: var(--l-world);
  top: var(--t-world);
  font-size: 15px;
  .world-title {
    color: lightblue;
    font-size: clamp(14px, 2vw, 20px);
    font-weight: bold;
  }
  img {
    width: 7vw;
  }
}

.pa-world-opinion-popup {
  font-size: 16px;
  left: var(--l-world-pp);
  bottom: var(--b-world-pp);
  width: clamp(200px, 22vw, 380px);
  height: 80vh;
  padding: 10px;
  overflow-y: scroll;
  border-radius: 5%;
  img {
    width: 100%;  
  }
}