@font-face {
  font-display: swap;
  font-family: DMSans;
  font-style: normal;
  font-weight: 400;
  src: url(/assets/fonts/DMSans-ExtraBold.ttf) format("truetype");
}

@font-face {
  font-display: swap;
  font-family: Nunito;
  font-style: normal;
  font-weight: 400;
  src: url(/assets/fonts/Nunito-Regular.ttf) format("truetype");
}

@font-face {
  font-display: swap;
  font-family: Nunito;
  font-style: normal;
  font-weight: 500;
  src: url(/assets/fonts/Nunito-SemiBold.ttf) format("truetype");
}

@font-face {
  font-display: swap;
  font-family: Nunito;
  font-style: normal;
  font-weight: 700;
  src: url(/assets/fonts/Nunito-Bold.ttf) format("truetype");
}

:root {
  /* STARS */
  --star-size: 20px;
  --star-color: #fff;
  --star-background: #fc0;
  --main-color: #e5b80b;

  /* PLAY BUTTON SHINE EFFECT ANIMATION */
  --anim-duration: 4s;
  --anim-speed: 0.65s;
  --shine-degree: 90deg;
  --shine-color: rgba(255, 255, 255, 0.2);
  --shine-effect: linear-gradient(
    var(--shine-degree),
    transparent,
    var(--shine-color),
    transparent
  );
  --shine-transition: all var(--anim-speed) ease-in-out;
}

.accent {
  color: rgb(3 158 124 / 1);
}

/* MOBILE view */

.nav {
  height: 13rem;
  background-color: #000000;
  width: 100%;
}

.nav a {
  font-size: 1.5rem;
  font-family: "DMSans", sans-serif;
}

.nav img {
  height: 12rem;
  margin: auto auto;
}

.header {
  padding: 2rem 0 2rem 0;
}

.header h1 {
  font-family: "DMSans", sans-serif;
}

.header p {
  font-family: "Nunito", sans-serif !important;
  font-weight: 200;
}

.card-wrapper {
  background-color: rgb(239 241 244 / 1);
}

/* CARD'S LEFT SIDE */
.card-inner-wrapper .logo > a {
  background-color: rgb(33, 37, 41);
  border-radius: 0.375rem 0.375rem 0 0;
  height: 7rem;
}
.card-inner-wrapper .logo > a > img {
  max-width: 70%;
  height: 5rem;
}

/* CARD'S MIDDLE SIDE */

.offer-title a {
  font-family: "DMSans", sans-serif;
  margin-bottom: 0.5rem;
}

.offer-title a:hover {
  text-decoration: underline;
}

/* STARS */
.Stars {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  --percent: calc(var(--rating) / 10 * 100%);
  display: inline-block;
  font-size: var(--star-size);
  font-family: Times;
  line-height: 1;
}

.Stars:before {
  content: "\f005 \f005 \f005 \f005 \f005";
  font-family: FontAwesome;
  font-size: small;
  letter-spacing: 3px;
  background: linear-gradient(
    90deg,
    var(--star-background) var(--percent),
    var(--star-color) var(--percent)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* PERKS */
.offer-perks {
  background-color: rgb(255, 255, 255);
  border-radius: 0.375rem;
}

.offer-perks p {
  font-family: "Nunito", sans-serif !important;
  font-weight: 200;
  color: rgb(0 0 0 / 1);
}

.offer-perks .perk-1 p {
  font-weight: 700;
}

.offer-perks .perk-2 p {
  font-size: 1rem;
  font-weight: 600;
  color: rgb(3 158 124 / 1);
}

/* PAYMENT METHODS */

.offer-payment-methods-wrapper {
  background-color: rgb(255, 255, 255);
  border-radius: 0.375rem;
}

.offer-payment-methods .payment-methods-item {
  width: 10%;
  padding-block: 5px;
}

.offer-payment-methods .payment-methods-item img {
  height: auto;
}

/* CARD'S RIGHT SIDE */

/* PLAY BUTTON SHINE EFFECT ANIMATION */
.btn-success {
  background-color: rgb(3 158 124 / 1);
  border-color: rgb(3 158 124 / 1);
  transition-property: all !important;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
  transition-duration: 0.15s !important;
}

.btn-success::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--shine-effect);
  animation: shine var(--anim-duration) ease-in-out infinite;
}

@keyframes shine {
  0% {
    left: -100%;
    transition-property: left;
  }

  14%,
  100% {
    left: 100%;
    transition-property: left;
  }
}
/* PLAY BUTTON SHINE EFFECT ANIMATION END */

/* License */
.license {
  font-size: xx-small;
}
/* License End */

/* DISCLAIMER */
.disclaimer img {
  height: 50px;
}
/* DISCLAIMER END */

/* OFFER WALL CONTENT */
.ow-content {
  background-color: rgb(239 241 244 / 1);
}

.ow-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: "DMSans", sans-serif;
}

.ow-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  font-family: "DMSans", sans-serif;
}

.ow-content p,
.ow-content ul,
.ow-content ol {
  font-size: 0.9rem;
  font-family: "Nunito", sans-serif;
}

.ow-content p:last-child {
  margin-bottom: 0;
}

/* DESKTOP view */

@media (min-width: 992px) {
  .container {
    max-width: 62rem !important;
  }
  .border-fade-grey {
    border-color: rgb(239 241 244 / 1) !important;
  }
  .header {
    padding: 0rem 0 2rem 0;
  }
  .title {
    margin-bottom: 0.75rem;
    margin-top: 2rem;
  }
  .card-inner-wrapper {
    height: 9rem;
  }
  /* CARD'S LEFT SIDE */
  .card-inner-wrapper .logo {
    width: 20%;
    min-width: 193px;
  }
  .card-inner-wrapper .logo > a {
    width: 100%;
    border-radius: 0.375rem;
    height: 100%;
  }
  .card-inner-wrapper .logo > a > img {
    /* making logo images to stay in fixed width */
    width: 100%;
    max-width: 80%;
    height: 100%;
  }

  /* CARD'S MIDDLE SIDE */
  .middle-side {
    background-color: rgb(255 255 255 / 1);
    border-radius: 0.375rem;
    margin-right: 1rem;
    margin-left: 0.5rem;
    height: 9rem;
  }
  /* OFFER TITLE */
  .offer-title {
    width: 33.33%;
  }
  .offer-title a {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgb(29 78 216 / 1);
  }
  /* STARS */
  .Stars {
    position: relative;
    top: 0;
    right: 0;
  }
  .Stars:before {
    font-size: large;
  }
  /* PERKS */
  .offer-perks {
    width: 33.33%;
  }
  /* PAYMENT METHODS */
  .offer-payment-methods-wrapper {
    width: 33.33%;
  }
  .offer-payment-methods {
    width: 100%;
  }
  .offer-payment-methods .payment-methods-item {
    border: 1px solid;
    border-radius: 0.375rem;
    width: calc(50% - 0.6rem);
    padding-inline: 15px;
    padding-block: 5px;
  }
  /* CARD'S RIGHT SIDE */
  .right_side-wrapper {
    min-width: 180px;
  }
  .right_side-wrapper a {
    height: 100%;
  }
  /* OFFER WALL CONTENT */
  .ow-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
  }
  .ow-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
  }
  .ow-content p,
  .ow-content ul,
  .ow-content ol {
    font-size: 1rem;
  }
}
