@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@300;400;500;600;700&family=Secular+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Martian+Mono:wght@100..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Mukta", Arial, sans-serif;
    background-color: #ffffff;
    color: #29235C;
}

a {
    text-decoration: none
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #FF401C;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid #fff;
    border-top: 2px solid #000;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

.d-none {
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


nav .logo {
    height: 25px;
    position: absolute;
    top: 50%;
    transform: translateY(-95%);
}

.text-black {
    color: #000
}

.text-has-shade {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.lead {
    font-size: 16px !important;
}

.training-small-name {
    color: #444B8C;
    font-size: 12px;
    padding-top: 9px;
    padding-left: 9px;
}

.title-hero {
    font-family: "Martian Mono", monospace;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: bold;
    font-variation-settings: "wdth" 75;
}

.title-section {
    font-family: "Martian Mono", monospace;
    font-optical-sizing: initial;
    font-style: normal;
    font-weight: bold;
    font-variation-settings: "wdth" 40;
}

#hero {
    min-height: 90vh;
    height: auto;
}

.get-started {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn, input {
    height: 50px;
    color: #fff;
    font-weight: bold
}

.light-button {
    background: linear-gradient(90deg, #FF401C, #FFC444);
    color: white;
    border: none;
}

.light-button:hover {
    opacity: 0.9;
}

.lesson-desc {
    padding-right: 70px
}

@media (max-width: 998px) {
    input {
        width: 100% !important;
    }

    section {
        padding-right: 15px !important;
        padding-left: 15px !important;
    }

    .lesson-desc {
        padding-right: 15px
    }

    .img-content {
        padding: 0 !important;
    }

    .blk {
        width: 100%
    }

    .get-started-btn-block {
        width: 100% !important;
    }

    #hero {
        margin-bottom: 150px
    }

    nav {
        height: 110px;
    }

    #sign-in {
        padding-top: 3vh;
    }

    .video-card {
        width: 100% !important;
        min-height: 200px !important;
    }

    .video-box .go {
        width: 100%;
    }

    nav .avatar {
        display: none
    }

    .video-container {
        height: 33vh;
        width: 100% !important;
        overflow: hidden;
        position: relative;
    }

    .header-video {
        width: 100% !important;
    }

    .items {
        width: 100% !important;
    }
}

.last-lesson img {
    width: 100%
}

.bg-error {
    background: #dc3545
}

.bg-debug {
    background: #6c757d
}

.bg-success {
    background: #198754
}

.bg-warning {
    background: #ffc107
}

.bg-info {
    background: #0dcaf0
}

.is-invalid {
    border-color: #dc3545;
}

.is-invalid ~ .form-text {
    color: #dc3545;
}

.pin-block {
    min-width: 100%;
    min-height: 261px;
    background: #F3F3FF;
}

.video-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 60vh;
}

#tips {
    min-height: 90vh;
    height: auto;
}

.video-card {
    margin-top: 30px;
    background: #6c757d;
    min-height: 350px;
    min-width: 70%;
}

.video-container {
    height: 33vh;
    width: 50vh;
    overflow: hidden;
    position: relative;
}

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

.header-center-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-video {
    background: #6c757d;
    min-height: 40vh;
    width: 50%;
}

.items {
    width: 50%;
    margin-bottom: 100px
}

.list-group-item button {
    height: 32px;
    float: right;
    line-height: 0;
    background: #6165D7 !important;
    border: none !important;
    padding-left: 30px;
    padding-right: 33px;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 56px;
    background: #fff;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
}

section {
    padding-top: 15vh;
    padding-bottom: 100px;
}

.menu-toggle {
    position: relative;
    width: 40px;
    height: 40px;
    cursor: not-allowed;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-toggle::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 4px;
    background: #000;
    box-shadow: 0 8px 0 #000,
    0 -8px 0 #000;
}

/* profile menu */

.profile {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-align: end;
}

.profile h3 {
    text-align: end;
    line-height: 1;
    margin-bottom: 4px;
    font-weight: 600;
}

.profile p {
    line-height: 1;
    font-size: 14px;
    opacity: .6;
}

.profile .img-box {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}

.profile .img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    width: 200px;
    min-height: 100px;
    background: #fff;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: 300ms;
}

.menu::before {
    content: '';
    position: absolute;
    top: -10px;
    right: 14px;
    width: 20px;
    height: 20px;
    background: #fff;
    transform: rotate(45deg);
    z-index: -1;
}

.menu.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* menu links */

.menu ul {
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 10;
    background: #fff;
}

.menu ul li {
    list-style: none;
}

.menu ul li:hover {
    background: #eee;
}

.menu ul li a {
    text-decoration: none;
    color: #000;
    display: flex;
    align-items: center;
    padding: 7px 8px;
    gap: 0;
}

.menu ul li a i {
    font-size: 1.2em;
}

.profile-card {
    border-color: rgb(170, 170, 170) !important;
}

.profile-card:hover {
    background: rgba(9, 11, 54, 0.12);
    color: #29235C;
}

.lesson-img {
    border-radius: 5px
}

.avatar {
    min-width: 150px;
    min-height: 150px;
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.tooltip-left-align .tooltip-inner {
    text-align: left;
    white-space: pre-wrap;
}

.tooltip-large .tooltip-inner {
    text-align: left;
    max-width: 300px;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.875rem;
}

@media (max-width: 576px) {
    .tooltip-large .tooltip-inner {
        max-width: 90vw;
    }

    .title-hero {
        font-size: 2.5rem;
    }
}

.complete-lesson {
    color: inherit;
    text-decoration: none;
}

.complete-lesson .link:hover {
    background: rgba(41, 35, 92, 0.1);
}

.complete-lesson-img {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 80px;
    border-radius: 5px;
    margin-left: 30px;
}

.tooltip-wrapper {
    position: relative;
}

.tooltip-text {
    font-family: 'Just Me Again Down Here', cursive;
    margin-left: -65px;
}

.custom-tooltip {
    position: absolute;
    top: 60%;
    left: 0;
    background-color: transparent;
    color: #FF401C;
    padding: 8px 0;
    border-radius: 6px;
    font-size: 1.3rem;
    white-space: nowrap;
    z-index: 10;
}

.custom-tooltip img {
    height: 40px;
}

.custom-tooltip-arrow {
    position: absolute;
    top: -6px;
    left: 10px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #0d6efd;
}

.floating-right {
    position: fixed;
    top: 40%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1050;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
    width: 200px;
    height: 200px;
    transition: all 0.3s ease;
}

.qr-toggle {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1060;
    background-color: white;
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    padding: 10px;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

@media (min-width: 992px) {
    .qr-toggle {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .floating-right {
        display: none;
    }

    .floating-right.show {
        display: block !important;
    }
}