.flags--wrapper {
  margin: 20px 0px;
}

#flags--title {
  display: block;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  background-color: #117327;
  padding: 20px;
  font-size: 24px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.flags--container {
  display: flex;
  justify-content: space-around;
  column-gap: 10px;
}

.flags--item img {
  cursor: pointer;
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 233px;
  width: 100%;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(229, 250, 234, 100%);
  animation: pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

.flags--wrapper>div>div:nth-child(2)>img {
  animation-delay: 666ms;
}

.flags--wrapper>div>div:nth-child(3)>img {
  animation-delay: 1333ms;
}

.win {
  display: none;
}

.flags--item {
  position: relative;
}

.win p {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  cursor: pointer;
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
  margin: 0;
  line-height: 1;
  color: #ededed;
  font-size: 60px;
  margin: 0;
  font-weight: 700;
  text-shadow: 1px 1px 3px #000;
}

.grats span {
  color: #117327;
}

@media screen and (max-width: 600px) {
  .win p {
    font-size: 40px;
  }
}

.order_block {
  display: none;
  margin-top: 4rem;
  background: linear-gradient(180deg, rgba(229, 250, 234, 0.5) 0%, #42d262 200%);
  border-radius: 8px;
  padding: 20px 10px;

  .prod-img {
    display: block;
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
  }

  .button {
    margin: 0 auto;
  }
}

.pop-up-window {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
  padding: 10px;
  padding-top: 4rem;
  animation: 0.7s ease 0s normal none 1 running pop-up-appear;

  h3 {
    margin: 0;
    padding: 0;
    text-align: center;
  }
}

.pop-up-window::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  top: -65px;
  left: 0;
  right: 0;
  margin: 0 auto;
  background-color: #117327;
  border-radius: 50%;
  animation: 0.5s ease 0.6s normal backwards 1 running pop-up-appear-before;
}

.pop-up-window::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 20px;
  top: -30px;
  left: 0;
  right: 0;
  margin: 0 auto;
  border-width: medium medium 4px 4px;
  border-style: none none solid solid;
  border-color: currentcolor currentcolor #fff #fff;
  -moz-border-top-colors: none;
  -moz-border-right-colors: none;
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  border-image: none;
  transform: rotate(-45deg);
  transition: opacity 1s ease 0s;
  animation: 0.5s ease 0.6s normal backwards 1 running pop-up-appear-after;
}

.click-here {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  font-size: 40px;
  color: #fff;
  text-shadow: 5px 5px 15px #000;
  pointer-events: none;
}

@media screen and (max-width: 600px) {
  .click-here {
    font-size: 24px;
  }
}

@keyframes pop-up-appear {
  0% {
    transform: translateY(-2000px);
  }

  30% {
    transform: translateY(100px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes pop-up-appear-before {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes pop-up-appear-after {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes pulse {
  to {
    box-shadow: 0 0 0 15px transparent;
  }
}