/*
Project: new streaming payment design and flow
*/

:root {
  --primary: #88a0cc;
  --primary-light: #B2D6FF;
  --primary-dark: #445066;
  --dark: #0b0c16;
  --green: #1ca741;
  --cream: #f3f3e9;
  --gray: #7c8c92;
  --light-gray: #e5e7eb;
  --dark-gray: #272E3E;
  --black: #111111;
  --white: #fff;
}

html {
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--dark);
  color: var(--white);
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: var(--green);
}

a:hover {
  text-decoration: none;
  color: var(--green);
}

.container {
  max-width: 900px;
}

.wrapper {
  width: 100%;
  --wrapper-max-width: 1200px;
  --wrapper-padding: 20px;

  max-width: var(--wrapper-max-width);
  margin-inline: auto;
  padding-inline: var(--wrapper-padding);

  /* helps to match the Figma file */
  box-sizing: border-box;
}

.wrapper[data-width="wide"] {
  --wrapper-max-width: 1680px;
}

.flex-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 50px 30px;
}

.gap-50 {
  gap: 50px !important;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 100px;
  padding: 100px 20px;
}

.flex-column {
  flex-direction: column;
}

.g-100 {
  gap: 100px;
}

/* Headline and button */
h1 {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 30px;
  text-align: center;
}

h1 span {
  font-weight: 700;
}

h3 {
  margin-bottom: 20px;
  text-align: center;
}

form {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.input {
  width: 100%;
  max-width: 400px;
  padding: 15px 20px;
  display: block;
  margin: 0 auto;
  box-sizing: border-box;
  border-radius: 30px;
  border: 0px;
  outline: none;
  font-size: 18px;
  line-height: 20px;
  border: 2px solid var(--primary);
}

.btn-primary {
  width: 100%;
  max-width: 420px;
  background-color: var(--green);
  border-color: var(--green);
  border-radius: 40px;
  padding: 20px 50px;
  letter-spacing: -.5px;
  line-height: 1.1;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  box-sizing: border-box;
  margin: 0 auto;
}

.btn-primary:hover {
  color: #fff;
  background-color: var(--green);
  border-color: var(--green);
  opacity: 0.95;
}

.btn-primary.focus,
.btn-primary:focus {
  color: #fff;
  background-color: var(--green);
  opacity: 0.95;
  outline: none;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
  color: #fff;
  background-color: var(--green);
  border-color: var(--green);
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show>.btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(38, 255, 67, 0.5);
}

/* end of headline and button */

/* Navigation */
.topnav {
  overflow: hidden;
  background-color: var(--dark);
  display: flex;
  justify-content: flex-end;
  align-content: center;
  padding: 17px 20px 18px;
  box-sizing: border-box;
}

.topnav a {
  float: left;
  display: flex;
  align-items: center;
  color: var(--black);
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  color: var(--green);
}

.topnav a.active {
  color: var(--green);
}

.topnav .icon {
  display: none;
}

.icon {
  display: inline-block;
  cursor: pointer;
}

.sidenav {
  height: 100%;
  width: 280px;
  position: fixed;
  z-index: 9999;
  top: 0;
  right: -280px;
  background-color: #1c1e33;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
  transition: right 0.3s ease;
}

.sidenav a {
  padding: 5px 5px 5px 30px;
  text-decoration: none;
  font-size: 18px;
  color: var(--primary);
  display: block;
  font-weight: 600;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 15px;
  font-size: 36px;
  margin-left: 50px;
}

.hamburger {
  width: 32px;
  cursor: pointer;
  display: inline-block;
}

.hamburger span {
  display: block;
  height: 3px;
  background: var(--white);
  margin: 4px 0;
  border-radius: 2px;
}

.logo {
  height: 25px;
  width: auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* End of Navigation */

/* homepage */
.home {
  margin-bottom: 0px;
}

.hero {
  height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Premium Icons */

.premium {
  width: 100%;
  margin: 0 auto;
  padding: 20px 0;
  background-color: var(--dark);
}

.premium-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.premium-icons img {
  width: 60px;
  margin: 0 auto;
}

.premium-icons h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  margin-top: 10px;
  color: var(--primary);
}

.premium-icons p {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 500;
  text-align: center;
  margin: 0;
  margin-top: 10px;
  color: var(--primary);
}

/* Light and Dark Box */
.light-box {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 50px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 50px 80px;
  border-radius: 30px;
  background: var(--primary);
}

.dark-box {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 50px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 50px 80px;
  border-radius: 30px;
  background: var(--primary-dark);
}

.text-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
  width: 100%;
  max-width: 700px;
  flex: 0 0 calc(50% - 25px);
  box-sizing: border-box;
}

.title {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;

  @media (max-width: 767px) {
    flex-direction: column;
    width: 100%;
  }
}

.dark-box .title h2,
.dark-box .text-box p {
  color: var(--primary-light);
}

.title h2 {
  color: var(--dark);
  font-weight: 700;
  font-size: 2.2rem;

  @media (max-width: 1199px) {
    font-size: 1.75rem;
  }

  @media (max-width: 767px) {
    text-align: center;
  }
}

.text-box p {
  color: var(--dark);
  margin-bottom: 0;
  font-size: 18px;

  @media (max-width: 767px) {
    text-align: center;
  }
}

.title img {
  height: 26px;
  width: auto;
}

.image-box {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 420px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex: 0 0 calc(50% - 25px);
  box-sizing: border-box;
}

.image-box img {
  width: 100%;
  max-width: fit-content;
}

.img-abs {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: calc(100% + 120px);
  max-width: 800px;
}

.image-box .btn-secundary {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.image-box img.small-img {
  width: 140px;
  height: 200px;
  border-radius: 5px;
  object-fit: cover;
}

.btn-secundary {
  width: 100%;
  max-width: 400px;
  background-color: var(--white);
  border-color: var(--white);
  color: var(--green);
  border-radius: 40px;
  padding: 10px 20px;
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  box-sizing: border-box;
}

.steps {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 100px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 100px 20px;
  background: #272e3e;
}

.steps p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.round-number {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  background-color: var(--primary-dark);
  border-radius: 50%;
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  padding: 0;
}

.access-box {
  display: flex;
  flex-direction: column;
  gap: 20px;

  h2 {
    @media (max-width: 767px) {
      text-align: center;
      font-size: 1.75rem;
    }
  }
}

.img-box {
  position: relative;
}

.img-box img {
  width: 500px;
  position: absolute;
  top: -100px;
}

/* End of Access section */

/* Footer */
footer {
  background: var(--dark);
  padding: 80px 0;
  position: relative;
  bottom: 0;
  width: 100%;
  z-index: 999;
}

.links {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

footer a,
footer a p {
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 0;
  font-size: 12px;
}

footer span,
footer p {
  font-size: 12px;
  line-height: 1.25;
  color: var(--gray);
  text-align: center;
  margin-bottom: 0;
}

.copyright {
  margin-top: 20px;
}

/* End of Footer */

/* Subpage content box */
.content-box {
  background-color: var(--white);
  margin: auto;
  border-radius: 15px;
  width: 100%;
  max-width: 540px !important;
  margin-top: 50px;
}

.form-group {
  margin: 0 auto;
  margin-bottom: 10px;
  width: 100%;
  max-width: 320px;
  padding: 30px;
}

.form-group.payment {
  width: 100%;
  max-width: none;
  background: var(--white);
  margin: 0;
}

.payment-footer {
  padding: 20px 30px;
  border-top: 1px solid var(--light-gray);
}

.small-text {
  font-size: 12px;
  text-align: center;
  color: var(--gray);
  margin-top: 10px;
  margin-bottom: 10px;
  line-height: 16px;

  a {color: var(--gray); text-decoration: underline;}
}

#loading {
  background: var(--dark-gray);
  padding: 0px;
  border: 0;
}

#loading h3 {
  margin-bottom: 0;
}

#loading .load {
  text-align: center;
  margin-bottom: 0;
  color: var(--gray);
}

#loading li {
  color: var(--white);
}

.connect {
  list-style: none;
}

.connect li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.connect li p {
  margin-bottom: 0;
}

.connect li .dot {
  width: 8px;
  height: 8px;
  color: var(--green);
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Loading icon*/
#loading-bar-spinner.spinner {
  position: relative;
  z-index: 19 !important;
  animation: loading-bar-spinner 800ms linear infinite;
  margin-bottom: 20px;
}

#loading-bar-spinner.spinner .spinner-icon {
  width: 40px;
  height: 40px;
  border: solid 4px transparent;
  border-top-color: var(--green) !important;
  border-left-color: var(--green) !important;
  border-radius: 50%;
}

@keyframes loading-bar-spinner {
  0% {
    transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* End of Loading Icon */

/* Error page */
.error-img {
  width: 100px;
  margin-bottom: 15px;
}

.error .btn {
  margin-top: 20px;
}

/* Thankyou page */
.checked-img {
  width: 60px;
}

.headpart {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.thanks-text {
  gap: 20px;
  text-align: center;
}

/* new design - second page */
.security-box {
  background-color: var(--primary);
  padding: 10px 30px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  border-radius: 15px 15px 0 0px;
}

.security-box p {
  font-weight: 600;
  font-size: 14px;
  margin: 0;
  color: var(--dark);
}

.account-box {
  background: var(--primary-light);
  color: var(--dark);
  padding: 10px 30px;
}

.price-box {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.price-box h3 {
  margin: 0;
  font-size: 20px;
}

.price-box h2 {
  color: var(--green);
}

.account-box p {
  font-size: 12px;
}

.info-box {
  background: #272e3e;
  width: 100%;
  max-width: 540px;
  margin: 50px auto;
  border-radius: 20px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;

  hr {
    background: var(--black);
    border-top: 1px solid var(--black);
    width: 100%;
  }
}

.icon-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;

  @media (max-width: 767px) {
    max-width: 170px;
    flex-wrap: wrap;
  }
}

.icons {
  background: var(--dark);
  border-radius: 20px;
  padding: 15px;
  height: 80px;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-text {
  text-align: center;
  color: var(--gray);
}

.mb-0 {
  margin-bottom: 0;
}

.status-message {
  background: #272e3e;
  padding: 5px 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 12px;
}

.status-message:empty {
  display: none;
}

.success {
  background: var(--green);
}

.error {
  background: #ac231e;
}

/* Mobile resolution */

@media screen and (max-width: 1200px) {
  .btn-secundary {
    max-width: 280px;
  }
}

@media screen and (max-width: 991px) {
  .premium-icons {
    margin: 30px auto;
  }

  /* new design */
  .premium .flex-container {
    flex-direction: column;
    gap: 30px;
  }

  .premium-icons {
    margin-bottom: 0;
  }

  .light-box {
    flex-direction: column;
    gap: 30px;
  }

  .dark-box {
    flex-direction: column-reverse;
    gap: 30px;
  }

  .text-box {
    max-width: 100%;
  }

  .img-abs {
    position: relative;
    margin-bottom: 0px;
    margin-top: 0;
  }

  .steps {
    flex-direction: column;
    gap: 30px;
  }
}

@media screen and (max-width: 767px) {
  .premium {
    padding: 20px 0;
  }

  .premium-icons {
    margin: 10px auto;
  }

  .premium-icons img {
    width: 60px;
    margin: 0 30px;
  }

  .modal-steps {
    padding: 0 10px;
    max-width: calc(100% - 40px);
    margin-bottom: 50px;
  }

  .steps {
    gap: 20px;
  }

  .modal-steps .head-text {
    font-size: 17px;
    margin-bottom: 5px;
    letter-spacing: -0.25px;
    line-height: 20px;
    text-align: center;
  }

  .modal-steps::before {
    max-height: 120px;
  }

  .steps p {
    text-align: center;
    line-height: 14px;
    margin-bottom: 10px;
    font-size: 14px;
  }

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

  .round-number {
    margin-bottom: 0;
  }

  .btn-primary {
    font-size: 22px;
  }

  footer {
    padding: 50px 0;
  }

  /* new design */
  .hero {
    height: 60vh;
  }

  .content {
    padding: 80px 20px;
  }

  .light-box {
    padding: 20px;
  }

  .dark-box {
    padding: 20px;
  }

  .text-box {
    gap: 10px;
  }

  .home {
    margin-bottom: 0;
  }

  footer {
    position: relative;
  }

  .info-box {
    width: calc(100% - 40px) !important;
    max-width: 540px !important;
    padding: 30px;
  }

  .icons img {
    width: 30px;
  }

  .price-box {
    flex-direction: column;
    justify-content: flex-start;
    /* align-items: flex-start; */
  }

  .form-group.payment {
    padding: 20px;
  }

  .payment .small-text {
    text-align: justify;
    text-align-last: center;
  }

  .content-box {
    /* width: 90%; */
    width: calc(100% - 40px) !important;
  }

  .flex-container {
    padding: 20px;
  }
}

@media screen and (max-width: 479px) {
  .premium {
    padding: 5px 0;
  }

  .premium-icons {
    margin: 10px auto;
  }

  .headpart h3 {
    margin-top: 50px;
  }

  .find-more {
    margin: 50px auto;
  }

  .btn-primary {
    font-size: 18px;
    padding: 14px 30px;
  }

  .headpart h1 {
    text-align: center;
    font-size: 32px;
  }

  .access-section li {
    font-size: 18px;
    margin-bottom: 5px;
  }

  .categories-box {
    padding: 15px 0;
  }

  .categories-icons {
    font-size: 24px;
  }

  .round-number {
    margin-bottom: 4px;
    width: 32px;
    height: 32px;
  }

  /* New design */
  .headpart h1 {
    text-align: center;
    font-size: 30px;
  }

  .premium .flex-container {
    padding: 0 20px;
  }

  .image-box img.small-img {
    width: 135px;
  }

  .btn-secundary {
    width: 90%;
    max-width: 200px;
    font-size: 20px;
  }
}

@media screen and (max-width: 374px) {

  /* New design */
  .image-box img.small-img {
    width: 110px;
    height: 160px;
  }
}

.logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.logos img {
  height: 26px;
  width: auto;
}

/* animation */

.shake {
  position: relative;
  -webkit-animation: 3.5s infinite shake-animation;
  animation: 3.5s infinite shake-animation;
  transform-origin: 50% 50%;
}

@-webkit-keyframes shake-animation {

  0%,
  10.71429%,
  100%,
  3.57143%,
  7.14286% {
    transform: translate(0, 0);
  }

  1.78571%,
  5.35714%,
  8.92857% {
    transform: translate(5px, 0);
  }
}

@keyframes shake-animation {

  0%,
  10.71429%,
  100%,
  3.57143%,
  7.14286% {
    transform: translate(0, 0);
  }

  1.78571%,
  5.35714%,
  8.92857% {
    transform: translate(5px, 0);
  }
}
