::selection{
  color: #fff;
  background: #7d2ae8;
}
.view-modal, .popup{
  position: absolute;
  left: 50%;
}
button{
  outline: none;
  cursor: pointer;
  font-weight: 500;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: background 0.1s linear, border-color 0.1s linear, color 0.1s linear;
}
.view-modal{
  top: 50%;
  color: #7d2ae8;
  font-size: 18px;
  padding: 10px 25px;
  background: #fff;
  transform: translate(-50%, -50%);
}
.popup{
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  top: -150%;
  max-width: 380px;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0px 10px 15px rgba(0,0,0,0.1);
  transform: translate(-50%, -50%) scale(1.2);
  transition: top 0s 0.2s ease-in-out,
              opacity 0.2s 0s ease-in-out,
              transform 0.2s 0s ease-in-out;
}
.popup.show{
  top: 50%;
  opacity: 1;
  pointer-events: auto;
  transform:translate(-50%, -50%) scale(1);
  transition: top 0s 0s ease-in-out,
              opacity 0.2s 0s ease-in-out,
              transform 0.2s 0s ease-in-out;

}
.popup :is(.share-header, .icons, .field){
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.popup .share-header{
  padding-bottom: 15px;
  border-bottom: 1px solid #ebedf9;
}
.share-header span{
  font-size: 21px;
  font-weight: 600;
}
.share-header .close, .icons a{
  display: flex;
  align-items: center;
  border-radius: 50%;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}
.share-header .close{
  color: #878787;
  font-size: 17px;
  background: #f2f3fb;
  height: 33px;
  width: 33px;
  cursor: pointer;
}
.share-header .close:hover{
  background: #ebedf9;
}
.popup .share-content{
  margin: 20px 0;
}
.popup .icons{
  margin: 15px 0 20px 0;
}
.share-content p{
  font-size: 16px;
}
.share-content .icons a{
  height: 50px;
  width: 50px;
  font-size: 20px;
  text-decoration: none;
  border: 1px solid transparent;
}
.icons a i{
  transition: transform 0.3s ease-in-out;
}
.icons a.facebook{
  color: #1877F2;
  border-color: #b7d4fb;
}
.icons a.facebook:hover{
  background: #1877F2;
}
.icons a.twitter{
  color: #46C1F6;
  border-color: #b6e7fc;
}
.icons a.twitter:hover{
  background: #46C1F6;
}
/* .icons a:nth-child(3){
  color: #e1306c;
  border-color: #f5bccf;
}
.icons a:nth-child(3):hover{
  background: #e1306c;
} */
.icons a.whatsapp{
  color: #25D366;
  border-color: #bef4d2;
}
.icons a.whatsapp:hover{
  background: #25D366;
}
.icons a.linkedin{
  color: #0088cc;
  border-color: #b3e6ff;
}
.icons a.linkedin:hover{
  background: #0088cc;
}
.icons a.viber{
  color: #541A8B;
  border-color: #E6CCFF;
}
.icons a.viber:hover{
  background: #541A8B;
}
.icons a:hover{
  color: #fff;
  border-color: transparent;
}
.icons a:hover i{
  transform: scale(1.2);
}
.share-content .field{
  margin: 12px 0 -5px 0;
  height: 45px;
  border-radius: 4px;
  padding: 0 5px;
  border: 1px solid #e1e1e1;
}
.field.active{
  border-color: #7d2ae8;
}
.field i{
  width: 50px;
  font-size: 18px;
  text-align: center;
}
.field.active i{
  color: #7d2ae8;
}
.field input{
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  font-size: 15px;
}
.field button{
  color: #fff;
  padding: 5px 18px;
  background: #7d2ae8;
}
.field button:hover{
  background: #8d39fa;
}


.alertbox{
  background: #2721CD;
  position: fixed;
  left: 50%;
  border-radius: 8px;
  padding: 0;
  top: -150%;
  max-width: 380px;
  width: 100%;
  opacity: 0;
  z-index: 20;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1.2);
  transition: top 0s 0.2s ease-in-out,
              opacity 0.2s 0s ease-in-out,
              transform 0.2s 0s ease-in-out;
}
.alertbox.show{
  top: 50%;
  opacity: 1;
  pointer-events: auto;
  transform:translate(-50%, -50%) scale(1);
  transition: top 0s 0s ease-in-out,
              opacity 0.2s 0s ease-in-out,
              transform 0.2s 0s ease-in-out;

}
.alertbox .alert-content {
  padding: 40px 52px 72px;
  width: 100%;
  position: relative;
}
.alertbox {
  max-width: 884px;
}
.alertbox .img {
  position: relative;
  max-width: 780px;
}
/* .alertbox.leaving-wait .img {
  margin-top: -36px;
}  */
.alertbox.leaving-soon {
  max-width: 884px;
}
.alertbox button.close {
  background-color: transparent;
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 1;
}
.alertbox .form {
  display: flex;
  padding: 20px 10px 10px 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.alertbox.leaving-soon .form {
  position: absolute;
  /* bottom: 22px; */
  bottom: -80px;
  left: 10.5%;
  width: 80%;
}
.alertbox.leaving-empty .form {
  margin-top: 18px;
  justify-content: start;
}
.alertbox .form input {
  display: flex;
  width: 375px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 12px;
  align-self: stretch;
  border-radius: 6px;
  border: 1px solid #E5E5E5;
  background: #FFF;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}
.alertbox.leaving-wait .form input {
  max-width: 100%;
  width: 100%;
}
.alertbox .form button {
  display: flex;
  width: 161px;
  padding: 10px 16px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  background: #F9CB3A;
  color: #2721CD;
  text-align: justify;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
}
.alertbox.leaving-wait .form button {
  width: auto;
  flex: none;
}
.alertbox.find p {
  color: #FFF;
  font-size: 17px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px; /* 117.647% */
  text-align: center;
  margin-top: 10px;
}

@media (max-width: 640px) {
  .alertbox .alert-content {
    padding: 20px 4px 32px;
  }
  .alertbox button.close {
    top: 12px;
    right: 8px;
  }
  .alertbox.find .form input,
  .alertbox.leaving-soon .form input,
  .alertbox.leaving-empty .form input {
    width: 100%;
  }
  .alertbox.find .form button,
  .alertbox.leaving-soon .form button,
  .alertbox.leaving-empty .form button {
    width: 100%;
    flex: none;
  }
  
  .alertbox.leaving-wait .form {
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .alertbox .form {
    flex-direction: column;
    padding: 20px 22px 10px 22px;
  }
  .alertbox.find p {
    padding: 0 22px;
  }
  .alertbox.leaving-wait .form button {
    width: 100%;
  }
  .alertbox.leaving-soon .form {
    /* bottom: 0; */
    bottom: 50px;
    position: relative;
    left: 0;
    width: 100%;
  }
}