body {
    background-image: linear-gradient(
        180deg,
        rgb(94 213 255) 0%,
        rgb(192 244 255) 100%
    );
}

.container {
    background-image: url("../images/homepage-background.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    height: 4000px;
    padding-top: 50px;
}
img {
    width: 100%;
}
.logo {
  max-height: 80px;
  z-index: 2;
}
.logo2,.logo2-2 {
  animation-name: floating;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
@keyframes floating {
  from { transform: translate(0,  -10px); }
  65%  { transform: translate(0, 15px); }
  to   { transform: translate(0, -10px); }
}

.rules {
    font-family: NunitoRegular;
    font-size: 1.5rem;
    color: #002b57;
}
.rules {
    font-family: NunitoRegular;
    font-size: 1.5rem;
    color: #002b57;
}
.rules3 {
    font-family: NunitoRegular;
    font-size: 1.3rem;
    color: #002b57;
    margin-top: 10px;
}
.space {
    margin-top: 20px;
    margin-bottom: 80px;
}
.subtitle2 {
    font-family: NunitoExtraBold;
    color: #12a9f7;
    font-size: 3rem;
    text-align: center;
}
.subtitle {
    font-family: NunitoExtraBold;
    color: #12a9f7;
    font-size: 3rem;
    margin-top: 150px;
    text-align: center;
}
.arrow {
  margin-top: 30px;
}
.arrow span {
    display: block;
    width: 30px;
    height: 30px;
    border-bottom: 5px solid #002b57;
    border-right: 5px solid #002b57;
    transform: rotate(45deg);
    margin: -10px;
    animation: animate 2s infinite;
}
.arrow span:nth-child(2) {
    animation-delay: -0.2s;
}
.arrow span:nth-child(3) {
    animation-delay: -0.4s;
}
@keyframes animate {
    0% {
        opacity: 0;
        transform: rotate(225deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(225deg) translate(20px, 20px);
    }
}

.introduction {
    max-width: 900px;
    text-align: center;
}
.howtoplay-container {
    max-width: 800px;
    background: rgb(255, 255, 255, 0.4);
    padding: 35px;
    border-radius: 50px;
}
.rules a {
    text-decoration: none;
    color: #12a9f7;
}
.step {
    margin-bottom: 35px;
}
.step-img-container {
    max-width: 200px;
}
.step-fgimg-container {
    max-width: 165px;
}
.stepfb {
  margin-right: 5px;
}
.stepgoogle {
  margin-left: 5px;
}
.stepfb-mobile {
  padding-left: 20px;
  margin-right: 2px;
}
.stepgoogle-mobile {
  padding-right: 20px;
  margin-left: 2px;
}

.prize-container {
    max-width: 1000px;
    margin: auto;
}
.prize {
    width: 100%;
}
.prize-outerbox1 {
    background: rgb(255, 255, 255, 0.4);
    border-radius: 50px;
    padding: 15px;
    text-align: center;
    min-height: 461px;
}
.prize-outerbox2 {
    background: rgb(255, 255, 255, 0.4);
    border-radius: 50px;
    padding: 15px;
    text-align: center;
}
.prize-outerbox3 {
    background: rgb(255, 255, 255, 0.4);
    border-radius: 50px;
    padding: 15px;
    text-align: center;
}
.rules2 {
    background-color: #9ce8ff;
    width: 150px;
    border-radius: 53px;
    margin: auto;
    margin-top: 20px;
    min-height: 40px;
    font-size: 1.2rem;
    color: #002b57;
    padding: 5px;
    text-align: center;
}
.available {
    color: #002b57;
    font-family: NunitoRegular;
    font-size: 1rem;
    padding: 15px;
    text-align: center;
}
.redeem {
    font-family: NunitoRegular;
    font-size: 1.3rem;
    text-align: center;
    color: #002b57;
    margin-top: 10px;
}
.redeem2 {
    font-family: NunitoRegular;
    font-size: 1.2rem;
    margin-bottom: 15%;
    text-align: center;
    color: #002b57;
}
.redeem-img-container {
    max-width: 500px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    margin-bottom: 5%;
}
.social-container {
    max-width: 250px;
}
.footer {
    font-family: NunitoRegular;
    font-size: 1rem;
    color: #002b57;
}
.footer a {
    text-decoration: none;
    color: #002b57;
}
.footer-logo2 {
  width: 70%;
}

.bottom-button {
  position: fixed;
  bottom: 5%;
}
.registerbtn {
  background-color: #fafbad;
  border: 3px solid #12a9f7;
  width: 200px;
  height: 60px;
  border-radius: 30px;
  color: #12a9f7;
  font-family: NunitoBlack;
  font-size: 1.3rem;
  filter: drop-shadow(0px 3px 1px #AEAEAE);
}
.loginbtn {
  background-color: #fafbad;
  border: 3px solid #12a9f7;
  width: 200px;
  height: 60px;
  border-radius: 30px;
  color: #12a9f7;
  font-family: NunitoBlack;
  font-size: 1.3rem;
  filter: drop-shadow(0px 3px 1px #AEAEAE);
}

.submitbtn-logged {
  background-color: #fafbad;
  border: 3px solid #12a9f7;
  width: 200px;
  height: 60px;
  border-radius: 30px;
  color: #12a9f7;
  font-family: NunitoBlack;
  font-size: 1.3rem;
  filter: drop-shadow(0px 3px 1px #AEAEAE);
}

/*registerBox*/
.modal-dialog {
    max-width: 590px;
    padding-top: 50px;
}
.modal-outerbox {
    width: 100%;
}
.content {
    background-color: #fafbad;
    border: 3px solid #12a9f7;
    border-radius: 20px;
}
.btn-close {
    top: -45px;
    right: 15px;
    position: absolute;
    font-size: 1rem;
    background: url("../images/btnclose.svg") no-repeat;
    opacity: 1;
}
.btn-close2 {
    top: 10px !important;
    z-index: 9999;
}

.overlap-header {
    position: relative;
    top: 4px;
    left: 20px;
    height: 30px;
    background-color: #fafbad;
    width: 190px;
    text-align: center;
    border-radius: 20px 20px 0 0;
    border-top: 3px solid #12a9f7;
    border-left: 3px solid #12a9f7;
    border-right: 3px solid #12a9f7;
    z-index: 1;
    margin-bottom: 1px;
}
.arrival {
    color: #12a9f7;
    font-family: NunitoExtraBold;
    font-size: 1.2rem;
    line-height: 2.4em;
}
.modal-body {
    padding: 1.5rem;
}
form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 20px;
}
form label {
    color: #12a9f7;
    font-family: NunitoRegular;
    margin-top: 20px;
}
input[type="radio"] {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    height: 22px;
    width: 22px;
    border: 2px solid #bababa;
    border-radius: 5px;
}
input[type="radio"]:after {
    content: "";
    position: relative;
    left: 30%;
    top: 10%;
    width: 35%;
    height: 65%;
    border: solid #12a9f7;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    display: none;
}
input[type="radio"]:checked:after {
    display: block;
}
input[type="checkbox"] {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    height: 22px;
    width: 22px;
    border: 2px solid #bababa;
    border-radius: 5px;
}
input[type="checkbox"]:after {
    content: "";
    position: relative;
    left: 30%;
    top: 10%;
    width: 35%;
    height: 65%;
    border: solid #12a9f7;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    display: none;
}
input[type="checkbox"]:checked:after {
    display: block;
}
.error {
  color: red;
}
.radiotext {
    color: #12a9f7;
    font-family: NunitoRegular;
    margin: 0;
}
.input {
    border-bottom: 1px solid #12a9f7 !important;
    border: none;
    font-family: NunitoBlack;
    width: 100%;
    color: #002B57 !important;
}
input:-webkit-autofill {
  -webkit-text-fill-color: #002B57;
}
.moija {
  text-decoration: none;
  color: #12a9f7;
  font-family: NunitoExtraBold;
}
.tnc {
    text-decoration: none;
    color: #12a9f7;
    font-family: NunitoExtraBold;
}
.tnc3 {
  font-weight: bold;
  color: #12a9f7;
  font-family: NunitoExtraBold;
}
.tnc2 {
    font-weight: normal !important;
    text-decoration: none !important;
    font-family: NunitoRegular !important;
}
.submitbtn {
    background-color: #fafbad;
    border: 3px solid #12a9f7;
    width: 200px;
    height: 60px;
    border-radius: 30px;
    color: #12a9f7;
    font-family: NunitoBlack;
    margin-right: 20px;
    font-size: 1.3rem;
    margin-top: 35px;
    filter: drop-shadow(0px 3px 1px #AEAEAE);
}
.registerboxbtn {
  width: 80%;
  margin-top: 25px;
}
.registerboxbtn2 {
  width: 80%;
  margin-top: 25px;
}
.resetbtn {
      background-color: #fafbad;
      border: 3px solid #12a9f7;
      width: 200px;
      height: 60px;
      border-radius: 30px;
      color: #12a9f7;
      font-family: NunitoBlack;
      margin-right: 20px;
      font-size: 1.3rem;
      margin-top: 35px;
      filter: drop-shadow(0px 3px 1px #AEAEAE);
}

.withfacebook {
  padding: 0 6px 0 8px;
  background-color: #ffffff;
  border: 3px solid #12a9f7;
  width: 200px;
  height: 60px;
  border-radius: 30px;
  color: #12a9f7;
  margin-right: 20px;
  margin-top: 35px;
}
.withgoogle {
    padding: 0 13px 0 8px;
    background-color: #ffffff;
    border: 3px solid #12a9f7;
    width: 200px;
    height: 60px;
    border-radius: 30px;
    color: #12a9f7;
    margin-right: 20px;
    margin-top: 35px;
}

/*loginBox*/
.forgetbtn {
    color: #12a9f7;
    font-family: NunitoRegular;
    margin-top: 20px;
    background: transparent;
    border: none;
}
.loginboxbtn {
  width: 80%;
  margin-top: 25px;
}
.loginboxbtn2 {
  width: 80%;
  margin-top: 25px;
}

/*forgetPassBox*/
.overlap-header2 {
    position: relative;
    top: 5px;
    left: 20px;
    height: 30px;
    background-color: #fafbad;
    width: 260px;
    text-align: center;
    border-radius: 20px 20px 0 0;
    border-top: 3px solid #12a9f7;
    border-left: 3px solid #12a9f7;
    border-right: 3px solid #12a9f7;
    z-index: 1;
}
.instructions {
    text-align: center;
    font-family: NunitoRegular;
}

/*score modal*/
.modalbody-container {
    padding: 20px;
    background-color: #ffffff;
    text-align: center;
}
.congratulations {
    color: #12a9f7;
    font-size: 3rem;
    font-family: NunitoExtraBold;
    margin-bottom: 4%;
}
.joinluckydraw {
    background-color: #fafbad;
    border: 5px solid #12a9f7;
    width: 210px;
    height: 60px;
    border-radius: 30px;
    color: #12a9f7;
    font-family: NunitoBlack;
    font-size: 1.3rem;
    margin-top: 8%;
}

@media screen and (max-width: 1000px) {
    .container {
        height: 5400px;
    }
}
@media screen and (max-width: 800px) {
    .title-image-container {
        margin-top: 50px;
    }
    .rules {
        font-size: 1.5rem;
        text-align: center;
    }
    .step-fgimg-container {
        margin: auto;
    }
    .step {
      margin-top: 15px;
    }
    .prize-container {
        max-width: 600px;
    }
    .prize-outerbox1 {
        max-width: 400px;
        margin: 0 auto 30px auto;
    }
    .prize-outerbox2 {
        margin: 0 auto 30px auto;
    }
    .rules2 {
        width: 220px;
        font-size: 2rem;
    }
    .available {
        font-size: 1.2rem;
    }
    .redeem-text-container {
        max-width: 550px;
    }
    .redeem {
        font-size: 2rem;
    }
    .redeem2 {
        font-size: 1.2rem;
    }
    .footer {
        text-align: center;
    }
}

@media screen and (max-width: 580px) {
    .container {
      background-image: url("../images/homepagebackground-mobile.png");
      height: 5700px;
      background-size: 100% 100%;
    }
    .subtitle {
      margin-top:45px;
    }
    .title-image-container {
      width: 90%;
    }
    .space2 {
      padding: 5px 30px;
    }
    .howtoplay-container {
      padding: 20px 20px;
    }
  .logo {
    height: 55px;
  }
  .logo2 {
    height: 55px;
    padding-left: 50px;
  }
  .logo2-2 {
    padding-left: 50px;
  }

  .footer-logo {
    width: 80%;
  }
  .footer-logo2 {
    width: 55%;
  }
}

@media screen and (max-width: 420px) {
  .container {
    padding-top: 15px;
    height: 4650px;
  }
  .joinluckydraw {
    font-size: 1rem;
  }
  .loginboxbtn {
    width: 84%;
  }
  .registerboxbtn {
    width: 84%;
  }
  form {
    padding: 0 20px 20px 20px;
  }
    .rules {
        font-size: 1rem;
    }
    .rules2 {
        font-size: 1.5rem;
    }
    .space4 {
      margin-bottom: 0;
    }

    .subtitle,
    .subtitle2 {
        font-size: 2rem;
    }
    .available {
        font-size: 0.896em;
    }
    .redeem {
        font-size: 1.5rem;
    }
    .redeem2 {
        font-size: 1rem;
    }
    .keeplogin {
        font-size: 0.854em;
    }
    .submitbtn-logged, .registerbtn, .loginbtn {
      width: 150px;
    }
    .resetbtn {
      font-size: 1rem;
    }
    .congratulations {
      font-size: 1.5rem;
    }
    .space3 {
      padding: 0 30px;
    }
}

@media screen and (max-width: 390px) {
  .container {
    height: 4500px;
  }
}

@media screen and (max-width: 350px) {
  .congratulations {
    font-size: 1rem;
  }
  .collected {
    font-size: 1rem;
  }
  .joinluckydraw {
    width: 180px;
    font-size: 0.895em;
  }
}
