.valentine-cards{
    /* background-image: radial-gradient(circle at 51% 50%, #ee6c52, #e32346 99%); */
    background-color: #e32346 ;
    padding: 40px 60px;
    height: auto;
    /* display: flex;
    align-items: center;
    justify-content: center; */
    position: relative;
}
.banner-title{
    font-size: 41px;
    line-height: normal;
    font-family: 'Verveine-Regular';
    color: #fff; 
}
.left-unit-img{
  position: relative;
  top: 20px;
}
.lucky-draw-form {
    padding: 35px 50px 5px 48px;
    border-radius: 12px;
    box-shadow: 0 5px 10px 0 rgb(0 0 0 / 16%);
    /* border: solid 1px #f1ecec; */
    background-color: #eb6d62;
}
.form-head-txt {
    font-family: 'SourceSansPro-Regular';
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: normal;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: #fff;
}
.lucky-draw-form .form-group {
    margin-bottom: 30px;
}
.lucky-draw-form .form-group .detail-title {
    font-family: 'SourceSansPro-Regular';
    font-size: 17px;
    font-weight: 600;
    line-height: normal;
    color: #fff;
    margin-bottom: 10px;
}
.lucky-draw-form .form-group .form-control {
    border-radius: 6px;
    border: solid 1px rgba(128, 128, 128, 0.4);
    height: 45px;
    font-size: 16px;
    color: #000;
    font-family: 'SourceSansPro-Regular';
}
.diwali-submit-btn {
    border-radius: 10px;
    background-color: #dc0e0e;
    font-family: 'SourceSansPro-Regular';
    font-size: 18px;
    letter-spacing: 1.8px;
    text-align: center;
    color: #fff;
    width: 100%;
    text-transform: uppercase;
    padding: 13px 0px;
}
.diwali-submit-btn:focus {
  box-shadow: unset!important;
}
.diwali-successful-btn {
    font-family: 'SourceSansPro-Regular';
    font-size: 14px;
    text-align: center;
    color: #1e9b1f;
    line-height: normal;
    width: 100%;
    border-radius: 10px;
    background-color: #f2f2f2;
    padding: 18px 5px;
}
#submitdiwaliform .text-danger {
  color: #380106!important;
}
.calendar-img {
    position: absolute;
    top: 44px;
    right: 28px;
    width: 20px;
}
.cards-title{
    font-size: 55px;
    font-family: 'Verveine-Regular';
    color: #000;
    line-height: normal;
    margin: 20px 0px;
}

 /* text-based popup styling */
  .white-popup {
    position: relative;
    /* background: #fff; */
    padding: 25px;
    width: auto;
    max-width: 400px;
    margin: 0 auto;
 }
 /* ====== 3d unfold ====== */
  .mfp-3d-unfold {
   /* start state */
   /* animate in */
   /* animate out */
 }
  .mfp-3d-unfold .mfp-content {
    perspective: 2000px;
 }
  .mfp-3d-unfold .mfp-with-anim {
    opacity: 0;
    transition: all 0.3s ease-in-out;
    transform-style: preserve-3d;
    transform: rotateY(-60deg);
 }
  .mfp-3d-unfold.mfp-bg {
    opacity: 0;
    transition: all 0.5s;
 }
  .mfp-3d-unfold.mfp-ready .mfp-with-anim {
    opacity: 1;
    transform: rotateY(0deg);
 }
  .mfp-3d-unfold.mfp-ready.mfp-bg {
    opacity: 0.8;
 }
  .mfp-3d-unfold.mfp-removing .mfp-with-anim {
    transform: rotateY(60deg);
    opacity: 0;
 }
  .mfp-3d-unfold.mfp-removing.mfp-bg {
    opacity: 0;
 }
 
 .valentine-left-unit{
   width: 85%;
   height: auto;
 }
  @keyframes hinge {
    0% {
      transform: rotate(0);
      transform-origin: top left;
      animation-timing-function: ease-in-out;
   }
    20%, 60% {
      transform: rotate(80deg);
      transform-origin: top left;
      animation-timing-function: ease-in-out;
   }
    40% {
      transform: rotate(60deg);
      transform-origin: top left;
      animation-timing-function: ease-in-out;
   }
    80% {
      transform: rotate(60deg) translateY(0);
      opacity: 1;
      transform-origin: top left;
      animation-timing-function: ease-in-out;
   }
    100% {
      transform: translateY(700px);
      opacity: 0;
   }
 }
  .hinge {
    animation-duration: 1s;
    animation-name: hinge;
 }
  .mfp-with-fade .mfp-content, .mfp-with-fade.mfp-bg {
    opacity: 0;
    transition: opacity 0.5s ease-out;
 }
  .mfp-with-fade.mfp-ready .mfp-content {
    opacity: 1;
 }
  .mfp-with-fade.mfp-ready.mfp-bg {
    opacity: 0.8;
 }
  .mfp-with-fade.mfp-removing.mfp-bg {
    opacity: 0;
 }

  /*  */
  .card-box img{
    width: 100%;
    height: 300px;
    margin: 15px auto;
  }
  .lucky-cards-div{
    margin: 0px 65px;
  }
  .submit-img{
    width: 45%;
  }
  .back-popup{
    background-image: url('https://mum-objectstore.e2enetworks.net/tringcoin/flip_to_win/Front_Card-01.png?tr=q-80');
    height: 350px;
    background-size: cover;
    width: 280px;
    background-repeat: no-repeat;
    padding: 20px 45px;
  }
  .try-again-popup{
    background-image: url('https://mum-objectstore.e2enetworks.net/tringcoin/flip_to_win/Try_Again_Card-01.png?tr=q-80');
    height: 350px;
    background-size: contain;
    width: 280px;
    background-repeat: no-repeat;
  }
  .full-card-container{
    background-image: url('https://mum-objectstore.e2enetworks.net/tringcoin/flip_to_win/Web_Bg-01.png?tr=q-80');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
  }
  .offer-text{
    text-align: center;
    padding: 45px 0px 20px;
    font-size: 48px;
    color: #000;
    font-family: 'SourceSansPro-Bold';
  }
  .discount-text{
    text-align: center;
    font-size: 15px;
    font-family: 'SourceSansPro-Bold';
    color: #000;
    padding-bottom: 15px;
  }
  /*  copy coupen css*/
  .textToBeCopied {
    font-size: 23px;
    color: #dc0e0e;
    font-family: SourceSansPro-Bold;
    padding: 5px 8px;
    text-align: center;
    line-height: normal;
    border: 2px dashed #dc0e0e;
    letter-spacing: 2.22px;
    margin-bottom: 15px;
    background-color: #fff2f2;
    width: 100%;
    color: transparent;
    text-shadow: 0 0 0 #dc0e0e;
 }
  .copyButton {
    font-family: SourceSansPro-Semibold;
    background-color: #dc0e0e;
    color: #fff;
    padding: 10px 18px;
    border-radius: 35px;
    text-decoration: none;
    font-size: 16px;
    margin-top: 4px;
    width: 75%;
    position: relative;
    transition: 0.2s;
    border: none;
 }
  .copyButton.active {
    background: #dc0e0e;
 }
  .testTextArea {
    font-size: 1.1rem;
    width: 20em;
    padding: 1em;
 }
  .terms-text{
    font-size: 11px;
    color: #000;
    font-family: 'SourceSansPro-Semibold';
    margin-top: 50px;
  }
  .copy-code-div{
    text-align: center;
  }
  .terms-text1{
    font-size: 11px;
    color: #000;
    font-family: 'SourceSansPro-Semibold';
    padding-top: 5px;
  }
  .textToBeCopied:focus{
    border: 2px dashed #dc0e0e!important;
  }
  .mfp-close-btn-in .mfp-close {
      color: #fff!important;
      opacity: 1!important;
      top: -5px;
      right: -5px;
      display: none;
  }
  .mfp-close:active {
    top: -5px!important;
  }
  .diwali-bg-img {
    box-shadow: 0 10px 15px 0 rgb(0 0 0 / 10%);
    border-style: solid;
    border-width: 3px;
    border-image-source: linear-gradient(
109deg
, #9b4ee5 3%, #57e1a5 111%);
    border-radius: 10px;
    border-image-slice: 0;
    background-image: linear-gradient(to bottom, var(--white), var(--white)), linear-gradient(
109deg
, #9b4ee5 3%, #57e1a5 111%);
    background-origin: border-box;
    background-clip: content-box, border-box;
    width: 300px;
    justify-content: center;
    position: relative;
    bottom: 120px;
    margin: 0px auto;
}
.diwali-btn {
  font-family: 'SourceSansPro-Regular';
  font-size: 18px;
  letter-spacing: 2px;
  text-align: center;
  color: #9c6d3d!important;
  border-radius: 10px;
  background: #fff;
  padding: 8px 30px;
}
.diwali-btn .arrow {
  padding-left: 10px;
}
 
.resends-otp{
  cursor: pointer;
  color: #000;
  font-family: 'SourceSansPro-Regular';
  border: none;
  background: transparent;
  margin-top: 10px;
}
.otp-section{
  align-items: flex-end;
}
#dropdown-birthday-box .common-label-name{
  background: #eb6d62;
  color: #fff;
}
#dropdown-birthday-box .common-drop-class, .common-drop-class:active, .common-drop-class:focus{
    color: #fff;
    width: 90%;
}
.common-drop-class option{
  color: #000;
}
#dropdown-birthday-box .common-drop-class:focus {
  border: 2px solid #ccc;
  border-radius: 5px;
}
.flip-dropdown{
  bottom:22px!important;
}
#dropdown-birthday-box .animate-label-text{
  color:#b30e0e!important;
}
#dropdown-birthday-box .label-div, .label-div1, .label-div2{
  pointer-events: none;
} 
.flip-close-button{
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-size: 25px;
}
.flip-close-button:hover, .flip-close-button:active, .flip-close-button:focus{
  color: #ffff;
}
  @media screen and (max-width:767px){
    .valentine-cards {
      height: auto;
      padding: 30px 15px;
    }
    .lucky-draw-form {
      padding: 35px 25px 5px 25px;
    }
    .lucky-cards-div {
      margin: 0px 0px;
    }
    .card-box img {
      width: 100%;
      height: 215px;
      object-fit: unset;
      border-radius: 10px;
    }  
    .diwali-bg-img{
      bottom: 81px;
      width: 262px;
    }
    .valentine-left-unit {
      width: 100%;
      height: auto;
    }
    .diwali-btn{
      padding: 8px 10px;
    }
    .lucky-draw-form .form-group {
      margin-bottom: 0px;
    }
    .diwali-submit-btn {
      margin: 20px 0px 10px;
    }
    .lucky-cards-div .col-6{
      padding-left: 5px;
      padding-right: 5px;
    }
    .mfp-3d-unfold{
      top: 0!important;
      position: fixed!important;
      overflow: hidden!important;
    }
    .full-card-container {
      background-image: url('https://mum-objectstore.e2enetworks.net/tringcoin/valentine_cards/MOB_UNIT.png?tr=q-80')!important;
      background-repeat: no-repeat;
      background-size: cover;
      background-position: top;
    }
    .lucky-draw-form .form-group .detail-title{
      margin-top: 10px;
    }
    /* .scrolldiv{
      height: 100vh!important;
    } */
}
@media screen and (min-width:331px) and (max-width:389px){
  .diwali-bg-img {
    bottom:95px;
  }
}
@media screen and (min-width:390px) and (max-width:450px){
  .diwali-bg-img {
    bottom: 105px;
  }
}
@media screen and (min-width:451px) and (max-width:767px){
  .diwali-bg-img {
    bottom: 120px;
  }
}

@media screen and (min-width:768px) and (max-width:1000px){
  .diwali-bg-img{
    bottom: 85px;
    width: 270px;
  }
  .diwali-btn {
    padding: 8px 7px;
  }
  .lucky-draw-form {
    padding: 20px 20px 5px 20px;
  }
  .card-box img {
    height: 180px;
  }

}
@media screen and (min-width:768px) and (max-width:1200px){
  .valentine-cards {
    padding: 40px 15px;
  }
  .valentine-left-unit {
    width: 100%;
    height: auto;
  }
  .mfp-3d-unfold{
    top: 0!important;
    position: fixed!important;
    overflow: hidden!important;
  }
}
@media screen and (min-width:1500px) and (max-width:1699px){
  .diwali-bg-img{
    bottom: 140px;
  }
  .lucky-cards-div {
    margin: 0px 150px;
  }
}
  @media screen and (min-width:1700px) and (max-width:1900px){
    .lucky-cards-div {
      margin: 0px 250px;
    }
    .diwali-bg-img{
      bottom: 160px;
    }
  }
  @media screen and (min-width:1901px){
    .lucky-cards-div {
      margin: 0px 300px;
    }
    .diwali-bg-img{
      bottom: 170px;
    }
  }