.container-popup {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%; 
}

.popup {
  font-family: "Cairo", sans-serif;
  display: flex;
  flex-direction: column;
  width: 55rem;
  padding: 5rem;
  gap: 1rem;
  background-color: white;
  box-shadow: 0px 5px 35px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(5%);
  visibility: hidden;
  transition: all 0.25s;
}
.popup h2 {
  font-weight: 700;
  font-size: 22px;
  text-align: center;
  font-family: 'Cairo', sans-serif;
}
#popup-card p.Colloque {
  font-size: 19px;
  text-align: center;
  font-family: 'Cairo', sans-serif;
  color: #000;
}
.popup button {
  border: none;
  cursor: pointer;
}
a.button {
    text-align: center;
    font-family: 'Cairo', sans-serif;
}
.popup .button {
  padding: 0.5rem;
  background-color: #3778a9;
  color: white;
  font-size: 18px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.25s;
}
.popup .button:hover {
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
}
.popup .close {
  position: absolute;
  color: black;
  background-color: transparent;
  font-weight: 700;
  font-size: 3.25rem;
  right: 0;
  top: 0;
  margin: 1rem 1.5rem;
}

.popup.active {
  position: fixed;
  opacity: 1;
  transform: translateY(0%);
  visibility: visible;
  z-index: 2;
}

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

  .container-popup {
        top: 85px;
  }
  .popup {
    font-family: "Cairo", sans-serif;
    display: flex;
    flex-direction: column;
    width: 30rem;
    padding: 3rem;
    gap: 10px;
  }
  .popup h2 {
  font-size: 12px;
  }
  #popup-card p.Colloque {
  font-size: 11px;
  }
  .popup .button {
    font-size: 12px;
  }

}