* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
img {
  width: 100%;
  height: auto;
}

/* Hero section start */
.logo {
  width: 200px;
}
.home-container {
  margin-top: 7rem;
}
.home-page-wraper {
  display: flex;
  /* justify-content: space-between; */
  width: 90%;
  margin: auto;
}
.steps-wraper {
  display: flex;
  justify-content: space-between;
  margin: 2.5rem 0;
}
.step-img-box {
  box-shadow: 0px 20px 30px 0px #0000001a;
  background-color: white;
  border-radius: 50%;
  width: max-content;
  padding: 1rem;
}
.steps-img {
  width: 2rem;
  height: 2rem;
}
.spin-win-heading {
  background: linear-gradient(180deg, #325998 0%, #ae3869 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  font-size: 5rem;
  font-weight: 600;
}
.dynamic-name {
  background: linear-gradient(180deg, #325998 0%, #ae3869 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  font-size: 2rem;
  font-weight: 600;
}
.spin-win-text {
  /* width: 32rem; */
}
.step-text {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 3px;
}
.step-desc {
  font-size: 10px;
  font-weight: 400;
}
/* .spin-win-img {
  z-index: 9;
  mix-blend-mode: darken;
} */
/* hero section end */

/* banner with css start */
.banner-price-box {
  display: flex;
  background: linear-gradient(274.28deg, #904074 0.86%, #325998 99.03%);
  border-radius: 5px;
  padding: 5rem 1rem 1rem 2rem;
  /* position: relative;
  bottom: 7rem; */
  position: relative;
}
.custom-width {
  width: 25rem;
}
.spin-win-img {
  position: absolute;
  right: 0;
  top: -30rem;
  mix-blend-mode: darken;
}
/* banner with css end */

/* winner table start */
.winner-heading-text {
  background: linear-gradient(180deg, #325998 0%, #ae3869 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  font-size: 3rem;
  font-weight: 600;
  text-align: center;
}
thead {
  background: linear-gradient(274.28deg, #904074 0.86%, #325998 99.03%);
}
table th:first-child {
  border-radius: 10px 0 0 10px;
}

table th:last-child {
  border-radius: 0 10px 10px 0;
}
/* winner table end */

/* form modal start*/
.modal-dialog {
  min-width: 50rem;
  min-height: 20rem;
}
.modal-header {
  border-bottom: 1px solid white !important;
}
.modal-body {
  display: flex;
  gap: 3rem;
  padding: 0 !important;
}
.modal-close-btn {
  position: absolute;
  right: 22px;
  top: 10px;
}
.modal-spin-heading {
  font-size: 20px;
  font-weight: 600;
}
.modal-bottom-heading {
  font-size: 14px;
  font-weight: 600;
}
.submit-spin {
  width: 100%;
  background: linear-gradient(91.65deg, #ae3869 0%, #325998 100%);
  color: #fff !important;
  position: relative;
  top: 5px;
}
.error-color {
  color: red !important;
}
.success-color {
  color: green !important;
}
/* form modal end */

/* media query */
/* @media (max-width: 1180px) {
  .steps-wraper {
    justify-content: unset;
    gap: 4rem;
  }
  .spin-win-text {
    width: 100%;
  }
  .home-page-wraper {
    width: 47% !important;
    margin: unset;
  }
  .spin-win-heading {
    font-size: 4rem;
  }
} */

/* @media screen and (min-width: 912px) and (max-width: 1368px) and (orientation: portrait) {
  .home-page-wraper {
    width: 100%;
  }
  .spin-win-img {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 7%);
  }
} */

.admin-form {
  width: 50%;
}

.winner-table > tbody > tr:nth-child(1) > td {
  animation: beat 0.5s infinite alternate;
  transform-origin: center;
  color: #355492;
  font-weight: 700;
}

/* Heart beat animation */
@keyframes beat {
  to {
    transform: scale(1.03);
  }
}

.logo-with-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.back-to-home {
  font-size: 14px;
  background-color: white;
  color: #355492;
  font-weight: 700;
  border: 1px solid #355492;
  padding: 0.5rem;
  border-radius: 5px;
  transition: all 0.5s;
}
.back-to-home:hover {
  background-color: #325998;
  color: #ffff;
}
/* Medai query */
/* for mobile devices */
@media (max-width: 575px) {
  .admin-form {
    width: auto;
    margin: auto;
  }
  .winner-heading-text {
    font-size: 2rem;
  }
}
/* Tablet */
@media (min-width: 567px) and (max-width: 991px) {
  .home-container {
    margin-bottom: 33rem;
  }
  .banner-price-box {
    flex-direction: column;
    text-align: center;
  }
  .custom-width {
    width: 100%;
  }
  .spin-win-img {
    right: 90px;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
  .home-page-wraper {
    display: flex;
    justify-content: flex-start;
    width: 50%;
    margin: inherit;
  }
  .spin-win-heading {
    font-size: 3rem;
  }
  .steps-wraper {
    display: flex;
    justify-content: flex-start;
    margin: 2.5rem 0;
    gap: 3rem;
  }
  .banner-price-box > article > img {
    height: 100%;
  }
  .spin-win-text {
    width: 25rem !important;
  }
}
/* desktop and laptops */
@media (min-width: 992px) {
  .spin-win-text {
    /* width: 32rem; */
    width: 27rem;
  }
  .home-page-wraper {
    width: auto;
  }
}
