[data-bs-theme="light"] .btn.text-danger {
    --bs-danger-rgb: 176, 42, 55;
}
[data-bs-theme="light"] .bg-body .bg-primary-subtle {
    --bs-primary-bg-subtle: rgb(230, 240, 255); 
}
[data-bs-theme="dark"] {
    /* --bs-primary-bg-subtle: 207, 226, 255;  */
    /* --bs-primary-text-emphasis: rgb(5, 44, 101); */
}
:root {
    --bs-link-color: rgb(13, 71, 161);
    --bs-link-color-rgb: 13, 71, 161;
    --bs-primary: rgb(13, 71, 161);
    --bs-primary-rgb: 13, 71, 161;
}
.accordion-button {
    font-weight: inherit;
    background-color: inherit;
}
.accordion-item {
    --bs-accordion-inner-border-radius: 0;
    --bs-accordion-btn-padding-y: 1.5rem;
    --bs-accordion-btn-padding-x: 1.5rem;
    --bs-accordion-body-padding-y: 1.5rem;
    --bs-accordion-body-padding-x: 1.5rem;
    --bs-accordion-border-width: 0;
    margin-bottom: 1rem;
}
.dropdown-menu {
    --bs-dropdown-font-size: 14px;
    --bs-dropdown-border-radius: 0;
}
.dropdown-menu[data-bs-popper] {
    margin-top: 11px;
}
/* .dropdown .btn {
    border-radius: 0.375rem;
} */
.bar {
    margin-bottom: 1px !important;
}
.bar h6 {
    margin-bottom: 0;
}
.bar .date {
    font-size: 0.875rem;
}
.bg-opacity-25:hover {
    --bs-bg-opacity: 0.2;
}
.btn-primary {
    --bs-btn-bg: #0D47A1;
    --bs-btn-border-color: #0D47A1;
}
.btn-outline-primary {
    --bs-btn-color: #0D47A1;
    --bs-btn-border-color: #0D47A1;
    --bs-btn-hover-bg: #0D47A1;
    --bs-btn-hover-border-color: #0D47A1;
}
/* .form-check-input:checked {
    background-color: #0D47A1;
    border-color: #0D47A1;
} */
.form-check:nth-child(1) .form-check-input:checked:checked {
    background-color: var(--bs-success);
    border-color: var(--bs-success);
}
.form-check:nth-child(2) .form-check-input:checked:checked {
    background-color: var(--bs-warning);
    border-color: var(--bs-warning);
}
.form-check:nth-child(3) .form-check-input:checked:checked {
    background-color: var(--bs-danger);
    border-color: var(--bs-danger);
}
.form-check:nth-child(4) .form-check-input:checked:checked {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}
.form-check-label {
    color: rgb(var(--bs-secondary-rgb));
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
}
.form-check-input {
    transition: all 0.15s ease-in-out;
}
.form-check-input:checked + label {
    color: rgb(var(--bs-secondary));
}
.btn {
    --bs-btn-font-weight: 600;
    --bs-btn-padding-y: 0.75rem;
    --bs-btn-padding-x: 1.75rem;
    --bs-border-radius: 1.75rem;
    /* --bs-btn-font-size: 14px; */
}
/* .btn-sm {
    --bs-btn-padding-y: 0.5rem;
    --bs-btn-padding-x: 1rem;
    --bs-btn-font-size: 12px;
    --bs-border-radius-sm: 1.25rem;
}
.btn-lg {
    --bs-btn-padding-y: 1rem;
    --bs-btn-padding-x: 2rem;
    --bs-btn-font-size: 16px;
    --bs-border-radius-lg: 2rem;
} */
.btn-link.dropdown-toggle {
    height: 2rem;
}
.btn-link.dropdown-toggle:hover {
    opacity: 0.75;
}
.card {
    /* --bs-card-border-color: #dee2e6; */
    --bs-card-border-width: 0;
}
.form-select {
    font-size: 14px;
}
body {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}
a, .btn-link {
    text-decoration: none;
    transition: all 0.15s ease-in-out;
}
.navbar .dropdown-item {
    font-size: 14px;
}
.footer {
    background: rgba(var(--bs-dark-rgb));
    font-size: 14px;
    margin-top: auto;
}
.number {
    background-color: rgb(var(--bs-secondary-bg-rgb));
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    width: 2rem;
    border-radius: 0.5rem;
    flex-shrink: 0;
    padding: 0;
}
/* .bg-primary-subtle {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-primary-bg-subtle),var(--bs-bg-opacity)) !important;
} */
.bg-opacity:hover {
   --bs-bg-opacity: 0.75;
}
.hero {
    color: #fff;
    background-image: url(../img/main-slider.jpg);
    background-size: cover;
    background-position: center;
}
.link {
    color: var(--primary);
    /* font-size: 13px;
    font-weight: 500; */
}
.link-back {
    display: flex;
}
.link-back i {
    line-height: 1.65;
}
.login {
    background: linear-gradient(135deg, #1A237E, #2196F3);
}
.modal-content, .modal-header, .modal-footer {
    border: 0 !important;
}
.modal-footer {
    justify-content: flex-start;
}
.nav-panel a {
    border-bottom: 2px solid transparent;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.75;
}
.nav-panel a.active, .nav-panel a:hover {
    border-bottom: 2px solid #0D47A1;
    opacity: 1;
}
.nav-panel .nav-icon i {
    width: 1.5rem;
    height: 1.5rem;
}
.nav-panel .nav-link {
    --bs-nav-link-font-weight: 500;
}
.nav-panel .bi-send {
    transform: translate(-1px, 1px);
}
.nav-panel .bi-chat-text {
    transform: translateX(1px);
}
.feature-icon .icon-wrapper {
    background: #fff;
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.col-form-label {
    font-weight: 600;
}
.fs-xs {
    font-size: 12px;
}
.progress {
    --bs-progress-height: 0.5rem;
}

.rank-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 2rem;
    gap: 2px;
}
.rank-wrap > div {
    background-color: var(--bs-secondary-bg);
}
.rank-wrap.ranked-0 > div:nth-child(-n+2) {
    background-color: var(--bs-danger);
}
.rank-wrap.ranked-1 > div:nth-child(-n+3) {
    background-color: var(--bs-warning);
}
.rank-wrap.ranked-2 > div {
    background-color: var(--bs-success);
}
.rank-wrap.ranked-3 > div:first-child {
    background-color: var(--bs-secondary);
}
.rank-bar-1 {
    width: 5px;
    height: 4px;
}
.rank-bar-2 {
    width: 5px;
    height: 8px;
}
.rank-bar-3 {
    width: 5px;
    height: 12px;
}
.rank-bar-4 {
    width: 5px;
    height: 16px;
}
.rank-name {
    font-size: 0.875rem;
}


.text-warning {
    --bs-warning-rgb: 204, 153, 5;
}
@media (max-width: 575px) {
    body {
        font-size: 14px;
    }
    main {
        padding-bottom: 2rem;
    }
    h5 {
        font-size: 16px;
    }
    h6 {
        font-size: 14px;
    }
    .login {
        font-size: 16px;
    }
    .login img {
        width: 50%;
    }
    .nav-title {
        font-size: 14px;
    }
    .nav-count {
        display: none;
    }
    .references .col-2 {
        display: none;
    }
    .bar .date, .bar .sent {
        display: none;
    }
    .bar .cta-arrow {
        margin-left: auto !important;
    }
    .explanation {
        padding: 1.5rem 1rem;
    }
}
@media (min-width: 576px) {
    main {
        padding-bottom: 5rem;
    }
    .login img {
        width: 75%;
    }
    .explanation {
        font-size: 0.875em;
    }
    .nav-title {
        /* font-size: 18px; */
    }
}
@media (max-width: 991px) {
    .hero {
        padding-right: 35%;
        padding-top: 2rem;
        padding-bottom: 1rem;
    }
    .hero .btn {
        padding: 0.5rem 1rem;
    }
    .hero h1 {
        font-size: 1.25rem !important;
    }  
    .hero .btn, .hero .fs-5, .login h4, .about .fs-5 {
        font-size: 1rem !important;
    }
    .nav-link {
        font-size: 0.875rem;
    }
    .btn.shadow-sm {
        font-size: 0.875rem;
        line-height: 1.25;
    }
    /* .bar.p-2 {
        padding: 0.75rem !important;
    }
    .menu.p-3 {
        padding: 1.25rem !important;
    } */
    .number {
        margin-right: 0.5rem;
        line-height: 1.1rem;
        height: 1.1rem;
    }
    .form-wrap {
        padding-left: 1.25rem;
    }
    .rank-wrap {
        margin-right: 0.5rem;
    }
}
@media (min-width: 992px) {
    h1, h2, h3, h4, h5, h6 {
        margin-bottom: 1rem;
    }
    .number {
        margin-right: 1rem;
        line-height: 1.2rem;
        height: 1.2rem;
    }
    .bar {
        min-height: 4.5rem;
    }
    .bar .date {
        transition: all 0.15s ease-in-out;
    }
    .bar .cta-arrow {
        transition: all 0.15s ease-in-out;
        opacity: 0;
    }
    .bar:hover .date {
        transform: translateX(-1.5rem);
    }
    .bar:hover .cta-arrow {
        opacity: 1;
    }
    .features .d-grid {
        grid-template-columns: 1fr 1fr;
    }
    .modal-content {
        padding: 2rem;
    }
    .rank-wrap {
        margin-right: 1rem;
    }
}
@media (min-width: 1400px) {
  .container{
    max-width: 1000px;
  }
  .hero .container {
    padding: 10rem 0;
  }
  .hero h1 {
    font-size: 4rem;
  }
}
.btn.shadow-sm:hover {
    box-shadow: none !important;
}
.btn.form-control {
    font-size: 14px;
    border-color: var(--bs-border-color);
    --bs-btn-padding-y: 0.5rem;
}
.btn.form-control:hover, .btn.form-control:focus {
    color: var(--bs-body-color);
}
.form-control::placeholder {
    font-size: 14px;
}



.b-example-divider {
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.bd-mode-toggle .dropdown-menu .active .bi {
  display: block !important;
}
