@import url("https://fonts.googleapis.com/css2?family=Fjalla+One&display=swap");

.friterie {
  background-image: url(images/bg_friterie.png);
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
}

.auvent {
  position: absolute;
  top: 0;
  left: 0;
  height: fit-content;
  background-size: cover;
  background-repeat: no-repeat;
}

.comptoir {
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 100%;
  height: auto;
}

.sauces {
  position: absolute;
  bottom: 9rem;
  right: 32rem;
  width: 8rem;
  height: auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.todrag {
  cursor: grab;
}

#verifier {
  position: absolute;
  bottom: 1rem;
  right: 4rem;
  padding: 1.2rem 2.2rem;
  border-radius: 10px;
  color: #fff;
  font-family: "Fjalla One";
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border: 3px solid #878786;
  background: linear-gradient(245deg, #303030 24.8%, #969696 263.8%);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  filter: drop-shadow(8px 8px 8px #00000050);
}

/* Pop-up styles */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.popup-overlay.show {
  display: flex;
}

.popup {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
  max-width: 400px;
  animation: popupSlide 0.3s ease-out;
}

@keyframes popupSlide {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.popup-icon {
  font-size: 60px;
  margin-bottom: 15px;
}

.popup h2 {
  margin: 10px 0;
  font-size: 24px;
  color: #333;
}

.popup p {
  margin: 15px 0 25px;
  font-size: 16px;
  color: #666;
}

.popup-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.popup-buttons button {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background-color: #4caf50;
  color: white;
}

.btn-primary:hover {
  background-color: #45a049;
  transform: scale(1.05);
}

.btn-secondary {
  background-color: #f44336;
  color: white;
}

.btn-secondary:hover {
  background-color: #da190b;
  transform: scale(1.05);
}

#consignes_friterie {
  bottom: 2%;
  left: 2%;
}
