
/* Popup Styles */

.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: 9999;
}

.popup-content {
  background-image: url("../src/default.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right top;
  width: 90%;
  height: 90%;
  padding: 30px;
  border-radius: 25px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  overflow: auto;
}

.popup-middle-container {
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}


.popup-content::-webkit-scrollbar {
    width: 8px; /* Set the width of the scrollbar */
}

.popup-content::-webkit-scrollbar-thumb {
    background-color: #888; /* Set the color of the scrollbar thumb */
    border-radius: 5px; /* Round the edges of the scrollbar thumb */
}

.popup-content::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* Set the color of the scrollbar thumb on hover */
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 3em;
  color: #ffffff;
  cursor: pointer;
}

.popup-content > * {
    color: #fff;
}

/* Paragraphe principal */
.popup-content > p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
  color: #ffffff;
}

/* Sous-titre */
.popup-content > h2 {
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #ffffff;
}

/* Liens */
.popup-content > a {
  color: #ff592b;
  text-decoration: none;
}

.popup-content > a:hover {
  text-decoration: underline;
}


.popup-logo {
  position: relative;
  /* en heut au milieu */
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.5em;
  color: #ffffff;
  cursor: pointer;

  background-color: #fff;
  width: 250px;
  padding: 25px;
  border-radius: 25px;
}

.popup-middle-container > .progress-bar {
  width:50%;
}


.info-container {
  display: flex;
  background-color: hsl(0, 0%, 100%, 0.25);
  border-radius: 25px;
}


.info {
  margin: 10px;
  padding: 10px;
  border-radius: 25px;
  margin-right: 20px;
  margin-left: 20px;
}

input[type="number"] {
  border: none;
  border-radius: 25px;
  padding: 10px;
  font-size: 16px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}


p {
  text-align: center;
}