.popup-container {
  position: fixed;
  top: 45%;
  right: 50px;
  width: 300px;
  /*background-color: rgb(239 9 9 / 34%);*/
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  z-index: 9999;
}

.popup-content {
  position: relative;
  background-color:  rgb(239 9 9 / 34%);
  padding: 10px;
  width: 100%;
  max-height: 100vh;
  border-radius: 25px;
  overflow: auto;
  animation: popup-anim 0.3s ease;
}

@keyframes popup-anim {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

#close-popup {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
      color: yellow;
}

.offers {
  /* display: flex; */
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  align-items: center;
}

.offer {
  position: relative;
  background-color:rgb(246, 236, 46);
  border-radius: 10px;
  /*padding: 8px;*/
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  /* width: calc(33.33% - 20px); */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin: 6px;
}

.offer-details {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background-color: rgb(246, 236, 46);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.offer:hover .offer-details {
  opacity: 1;
}

.offer-details h3,
.offer-details p {
  margin: 0;
  font-size: 14px;
  text-align: center;
  color: #fff;
}
.offer h3 {
  font-size: 12px;
  font-weight: bold;
  margin: 10px;
  color: black;
}
.offers h2 {
    
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
   font-weight: bold;
    font-size: 18px;
        color: yellow;
}
.offer:nth-child(2n) {
  background-color: rgb(246, 236, 46);
}

.offer:nth-child(3n) {
  background-color:rgb(246, 236, 46);
}

.offer:nth-child(4n) {
  background-color: rgb(246, 236, 46);
}

.offer:nth-child(5n) {
  background-color: rgb(246, 236, 46);
}

.offer:nth-child(6n) {
  background-color: rgb(246, 236, 46);
}
@keyframes upDownAnimation {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.offer {
  /* Existing styles */
  animation: upDownAnimation 2s ease-in-out infinite;
}
.offer {
  /* Existing styles */
  box-shadow: 0 2px 5px rgb(239 10 10);
}
