/* Brand and typography */

:root {
  --brand-color: #191A1D;
  --brand-purple: #A855F7;
  --brand-font: "Poppins", sans-serif;
}

body, .bg-brand {
  background: var(--brand-color);
}

body {
  padding-top: 5rem !important;
}

h1, h2, h3, h4, h5, p, btn, a, footer,
button, li, dt, dd, ul, span {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: var(--brand-font) !important;
}

h6 {
  font-family: var(--brand-font) !important;
}

.abril-fatface-regular {
  font-family: "Abril Fatface", serif !important;
  font-weight: 400;
  font-style: normal;
}

.bold, span.bold, .list-group-item b {
  font-weight: 600;
}

.list-group-item .bold {
  font-weight: bolder;
}

/* Utilities */

.text-left {
  text-align: left !important;
}

.my-0 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.hr-divider {
  border-top-width: .5px;
  margin: .1rem 0 .15rem;
  width: 100%;
  min-width: 100%;
}

.navbar-100 {
  min-height: 100%;
}

.badge {
  font-weight: 400;
  font-size: .85rem;
}

#alert, #qualify-alert, .alert, a {
  scroll-margin-top: 100px;
}

/* Colors */

.pink-brain {
  color: #EC4899;
}

.gold-icon {
  color: #FFCC4D;
}

.red-pin {
  color: #EF4444;
}

.expect-icon {
  color: #FBBF24;
}

.woo-hat, .text-woo, .text-purple {
  color: var(--brand-purple) !important;
}

.border-woo, .border-purple {
  border-color: var(--brand-purple) !important;
}

.bg-woo, .bg-purple {
  color: #fff;
  background-color: var(--brand-purple) !important;
}

/* Buttons */

.btn-woo, .btn-purple {
  color: #fff;
  background-color: var(--brand-purple);
  border-color: #8B5CF6;
}

.btn-woo:active, .btn-woo:hover,
.btn-purple:active, .btn-purple:hover {
  color: #fff;
  background-color: #7C3AED;
  border-color: #6D28D9;
}

.btn-course {
  background: #43356C;
  color: #fff !important;
  border-color: #43356C;
}

.btn-course:active,
.btn-course:focus,
.btn-course:hover {
  background: #5D4E85 !important;
}

/* Icons and images */

.icon-fw {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  vertical-align: middle;
}

#preview-image {
  width: 100px;
  height: 100px;
  max-width: 100px;
  max-height: 100px;
}

.profile-img {
  width: 35px;
  height: 35px;
  max-width: 35px !important;
  max-height: 35px !important;
}

/* FAQ and accordion */

.faq-container {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
  padding: 30px;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid rgba(0, 0, 0, .1);
}

.faq-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--brand-color);
}

.accordion {
  --bs-accordion-bg: none;
}

.accordion-button {
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background-color: var(--brand-color);
  color: #fff;
}

.accordion-item {
  border: none;
}

/* Spinner */

#spinnerOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#spinner {
  position: fixed;
  text-align: center;
  color: #fff;
}

/* Payments */

.payment-contact,
#payment-header,
#payment-contact,
#payment-info,
#payment-form {
  margin: 0 auto;
  max-width: 350px;
}

/* Courses */

.courses .card-body {
  min-height: 120px;
}

/* Story carousel */

#storyCarousel {
  padding: 0 3rem;
}

#storyCarousel .carousel-inner {
  overflow: visible;
}

.story-track {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
}

.story-card {
  flex: 0 0 100%;
  max-width: 320px;
}

.story-phone-frame {
  background: #fff;
  border: 1px solid #dbdbdb;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  padding: .75rem;
}

.story-topbar,
.story-bottombar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem .25rem;
  color: #111;
}

.story-topbar i,
.story-bottombar i {
  font-size: 1.1rem;
}

.story-profile {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  font-weight: 600;
}

.story-avatar {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(
    135deg, #feda75, #d62976, #4f5bd5
  );
  padding: 2px;
}

.story-avatar::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ddd;
}

.story-video-wrap {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
}

.story-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#storyCarousel .carousel-control-prev,
#storyCarousel .carousel-control-next {
  width: 3rem;
}

#storyCarousel .carousel-control-prev-icon,
#storyCarousel .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, .6);
  border-radius: 50%;
  background-size: 60% 60%;
  width: 2.5rem;
  height: 2.5rem;
}

/* Video */

.video-frame,
.video-el {
  width: 100%;
  max-height: calc(100vh - 250px);
}

.video-frame {
  aspect-ratio: 9 / 16;
}

.video-el,
.video-card {
  border-radius: 20px;
}

.video-card {
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .25);
  color: #fff;
  font-size: 28px;
  transition: opacity .2s ease;
  margin: 0 auto;
}

.video-frame.playing .video-overlay {
  opacity: 0;
  pointer-events: none;
}

.modal-header {
  display:block;
}
.modal-title {
  display:inline-flex;
}
.close {
  float: right;
  line-height: 1;
  opacity: .5;
  margin-top:-0.25rem;
  font-size:2rem;
  border: 0;
  background-color: #191A1D;
  color: #fff;
  text-decoration: none;
}
.btn-close {
  font-size:1rem !important;
  margin-top: 0 !important;
}

/* Responsive */

@media (min-width: 576px) {
  .container, .container-sm {
    max-width: 100%;
    width: 100%;
  }
}

@media (min-width: 768px) {
  .container, .container-sm, .container-md {
    max-width: 100%;
    width: 100%;
  }

  .story-card {
    flex: 0 0 calc(33.333% - .75rem);
    max-width: 260px;
  }
}

@media (min-width: 1000px) {
  .container, .container-sm, .container-md,
  .container-lg, .container-xl, .container-xxl {
    max-width: 960px !important;
  }
}

@media (min-width: 1200px) {
  .container, .container-sm, .container-md,
  .container-lg, .container-xl, .container-xxl {
    max-width: 1080px !important;
  }

  .story-card {
    flex: 0 0 calc(20% - .8rem);
    max-width: 240px;
  }
}

@media (max-width: 767.98px) {
  #storyCarousel {
    padding: 0 2.25rem;
  }

  .story-card {
    max-width: 100%;
  }

  .story-phone-frame {
    max-width: 320px;
    margin: 0 auto;
  }
}