
main {
 position: relative;
}
:root {
    --highlight: #FFD0C7;
    --blackish: #363062;
    --whitish: #FFF2EB;
    --lesswhite: #D8B9C3;
    --lessdark: #4D4C7D;
    --lightbox: #FE7743;
    --shelf-background-color: #6f4e37; /* A solid brown as a fallback */
    --shelf-border-color: #8b5a2b;
    --shelf-shadow-color: #5a3e1b;
    --book-spine-bg: linear-gradient(90deg, #3b3b3b 0%, #6b6b6b 100%);
    --book-spine-text-color: #ffffff;
    --page-spine-bg: linear-gradient(90deg, #003b00 0%, #6b6b6b 100%);
    --book-width: 45px;
    --book-height: 12rem;
    --book-cover-width: 9rem;
    --book-border-radius: 2px;
}

body.theme_bw_pk {
    --highlight: #fca311;
    --blackish: #381D2A;
    --whitish: #C3DBC5;
    --lesswhite: #FFA552;
    --lessdark: #8CA0D7;
    --lightbox: #A59D84;
}

body.theme_vi_or {
    --highlight: #fca311;
    --blackish: #3D365C;
    --whitish: #F8B55F;
    --lesswhite: #C95792;
    --lessdark: #7C4585;
    --lightbox: #A59D84;
}


body {
    background: var(--whitish);
}

.theme-option {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.theme-option:hover {
    transform: scale(1.5);
}

.nav_bg {
    background: var(--blackish) !important;
}

@font-face {
    font-family: Laziness;
    src: url(Laziness.otf);
}

.dropdown-menu {
    background: rgba(0, 0, 0, 0);
    border: 0;
    border-radius: 15px;
    padding: 10px;
    background: var(--blackish);
}

.dropdown-menu li {
    font-family: 'Comfortaa', cursive;
    font-size: 0.8rem;
    color: var(--whitish);
    padding: 5px;
}

.sticky-title {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    color: var(--whitish) !important;
}

.sticky-title img {
    width: 80px;
}

.sticky-menu li a img {
    width: 30px;
    color: var(--whitish);
}

.sticky-menu li a {
    text-decoration: none;
    color: var(--whitish) !important;
    font-family: 'Comfortaa', cursive;
    padding: 5px;
}

.sticky-menu li p {
    margin: 0;
    padding: 0;
}

.sticky-menu li:hover {
    border: 2px solid #FFF;
    z-index: 8;
}

/*    @media (min-width: 990px) {
       .sticky-menu li p{
    visibility: hidden;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    top: 100%; /* Position the tooltip above the text
    left: 100%;
    opacity: 0;
    transition: opacity 0.3s;
}

.sticky-menu li a:hover p{
    visibility: visible;
    opacity: 1;
}
    }*/


.row {
    padding-left: 15px;
    padding-right: 15px;
}

.cursorText {
    font-size: 3.5rem;
    width: max-content;
    border-right: 2px solid #000;
    animation: blinker 2s linear forwards infinite;
}


@keyframes blinker {
    0% {
        border-color: #000;
    }

    20% {
        border-color: transparent;
    }

    40% {
        border-color: #000;
    }

    60% {
        border-color: transparent;
    }

    80% {
        border-color: #000;
    }

    100% {
        border-color: #000;
    }
}

.jumbotron h1 {
    font-family: "Tourney", sans-serif;
    font-optical-sizing: auto;
    color: var(--blackish);
    font-size: 2.5rem;
}

#layoutlogo:hover {
    /*animation: shake 0.5s;*/
    transform: scale(1.5);
    transition: all .5s ease-in;
}

@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -1px) rotate(-1deg);
    }

    20% {
        transform: translate(-2px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(2px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-2px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(2px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

.navbar {
    font-family: 'Caveat', cursive;
}

.navbar h3 {
    color: var(--whitish);
    font-size: 2rem;
}

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

    /*
  .sticky-menu li p{
            display: block;
            float:right;
            padding-left: 10px;
            padding-right: 10px;
        }*/
}

.jumbotron {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 5px, rgba(0, 0, 0, 0.3) 0px 10px, rgba(0, 0, 0, 0.2) 0px 15px, rgba(0, 0, 0, 0.1) 0px 20px, rgba(0, 0, 0, 0.05) 0px 25px;
    border-radius: 0 0 50px 50px;

}

.lastrow {
    margin-top: 10vh;
}

.intro {
    margin-top: 20px;
    list-style: none;
    font-family: 'Comfortaa', cursive;
    font-size: 1.5rem;
    text-indent: inherit;
    z-index: 3;
}

.intro span {
    color: var(--whitish);
    background: var(--blackish);
    padding: 5px;
    font-weight: bold;
}

.intro li {
    margin-bottom: 50px;
}


#downloadresume a {
    text-decoration: none;
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    color: var(--blackish) !important;
}

#downloadresume {
    text-align: center;
    border-radius: 10px;
}

#downloadresume:hover {
    background: var(--lessdark) !important;
}

#downloadresume:hover a {
    color: var(--whitish) !important;
}

#profileimg {
    display: block;
    width: 250px;
    border-radius: 50%;
    filter: grayscale(1) contrast(10) saturate(150);
    mix-blend-mode: multiply;
}

#profileimg:hover {
    filter: saturate();
}


.social_icons img {
    width: 40px;
    margin-bottom: 10vh;
}

.social_icons:hover img {
    transform: scale(1.2);
}

footer {
    float: right;
}

a {
    text-decoration: none;
}


.card img {
    width: 100px;
    -webkit-filter: drop-shadow(4px 8px 2px rgba(0, 0, 0, 0.2));
    filter: drop-shadow(4px 8px 2px rgba(0, 0, 0, 0.2));
    transition: 0.3s;
}


.card:hover img {
    transform: scale(1.5);
    -webkit-filter: drop-shadow(8px 10px 4px rgba(0, 0, 0, 0.2));
    filter: drop-shadow(8px 10px 4px rgba(0, 0, 0, 0.2))
}


.course_icon .card-title {
    font-family: 'Comfortaa', cursive;
    background: var(--lessdark);
    color: var(--whitish);
    padding: 5px;
    font-size: 1.2rem;
    text-align: center;
    margin-top: 2rem;
}

.course_icon .card {
    width: 100%;
    padding: 2%;
    margin: 2%;
    border: 0;
    box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px, rgba(6, 24, 44, 0.65) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
}

.course_icon .card:hover {
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}

.course_icon .card-img-top {
    margin: auto;
    display: block;
}

.course_icon .card-text {
    font-family: 'Handlee', cursive;
    color: var(--blackish);
    font-size: 1rem;
}


.api_play_section {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.api_play_method {
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
    background: #f4f4f4;
    border-radius: 4px;
}

.api_play_details {
    display: block;
    padding: 10px;
    background: #fafafa;
    border-top: 1px solid #ddd;
}

.api_play_warning {
    background: #ffefc7;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
}

.course_icon a {
    text-decoration: none;
}

.course_icon a:hover {
    text-decoration: none;
}


.word_container {
    padding: 5px;
    width: 80%;
    border: 0;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
    margin-bottom: 10vh;
    min-height: 30vh;
}

.wordperday {
    padding: 5px;
    width: 80%;
    border-bottom: 1px solid #000;
    border-top: 1px solid #000;
}

.deck {
    font-family: 'Comfortaa', cursive;
    font-size: 1.2rem;
    background: #eeeeee;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.eagerbelow {
    border: 5px solid var(--lessdark);
    width: 100%;
    padding: 5px;
    margin-top: 25px;
    margin-bottom: 25px;
    font-family: 'Orbitron', Laziness, cursive;
    color: var(--blackish);
    border-radius: 10px;
    font-size: 1.8rem;
    transition: width 2s;
    text-align: center;
}

.eagerbelow:hover {
    background: var(--blackish);
    color: var(--lesswhite);
}

#sb {
    padding: 1px;
    width: 30px;
    border: none;
}

#sb:hover {
    transform: scale(1.2);
}

input {
    border: none;
    padding: 3px;
    font-family: Handlee;
    border-radius: 0.4rem;
    width: 80%;
}

input::placeholder {
    color: #B0BEC5;
}

#title_word {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

#explanation ol li,
#explanation ol li ol li {
    text-align: left;
}

#joke_word {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

#jokeexplaination {
    border: 2px solid var(--lessdark);
    color: var(--lessdark);
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    transition: all .5s ease-in;
}

#joke_word:hover ~ #jokeexplaination {
    background: var(--lessdark);
    color: var(--whitish);
    font-size: 1.2rem;
}


#explanation ol,
#explanation ol li ol {
    padding: 0;
    list-style-type: none;
}

.googlechart {
    width: 90%;
}

.googlechart svg {
    width: 100%;
}

.code_explanation {
    font-family: 'Comfortaa', cursive;
    font-size: 1.2rem;
    color: var(--lessdark);
    text-align: center;
    font-weight: bold;
    padding: 1%;

}


@media (min-width: 576px) {
    .code_explanation {
        border-right: 2px solid var(--blackish);
    }
}

/*@media (max-width: 900px) {
        .googlechart {
            display: none;
        }
    }*/

.googlechart {
    display: none;
}

#home_background{
overflow: !important;
}

@media (max-width: 577px) {
    .code_explanation {
        background: var(--lessdark);
        color: var(--whitish);
        margin-top: 1rem;
        margin-bottom: 2rem;
    }
}

.code_and_topic_row {
    padding: 1%;
    border-bottom: 2px solid var(--blackish);
}

.page_title {
    font-family: 'Laziness', cursive;
    color: var(--blackish);
    font-size: 3rem;
}

.page_title span {
    font-family: 'Laziness', cursive;
    color: var(--highlight);
    font-size: 5rem;
    padding: 5px;
}

#test_string {
    min-height: 250px;
    width: 100%;
}

#test_string span {
    background: var(--highlight);
    padding: 2px;
}

.c2c:hover {
    background: var(--whitish);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.95);
}

.c2c img {
    width: 25px;
    cursor: pointer;
    margin: 5px;
}

#g_user_image {
    border-radius: 50%;
    width: 35px;
    filter: grayscale(100);
    transition: 0.5s;
}

#g_user_image:hover {
    filter: saturate();
}

.target_scroll {
    scroll-margin-top: 150px;
}

.category-cards {
    font-family: 'Orbitron', sans-serif;
    background: radial-gradient(circle, var(--lessdark), var(--blackish));
    color: var(--whitish);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.category-cards:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.hover-arrow{
font-size: 1.5rem;
display: none;
}

.hidden { display: none; }

        #animation-container {
            position: relative;
            width: 100%;
            height: 175vh;
            overflow: hidden;
        }

        #icon-wrapper {
            position: sticky;
            top: 0;
            width: 100%;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }

        /* Individual icon styling */
        .icon-link {
            position: absolute;
            display: block;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background-color: white;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            will-change: transform, opacity; /* Performance optimization */
        }

        .icon-link:hover {
            transform: scale(2);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15), 0 10px 10px rgba(0,0,0,0.1);
        }
        .icon-link img {
            width: 100%;
            border-radius: 50%;
            object-fit: cover;
            padding: 3px;
        }

/*#animation-container:has(.icon-link:hover){
    background: var(--blackish);
}
*/

.showcase_home {
background: var(--whitish); /*linear-gradient(to bottom, var(--whitish), var(--blackish));*/
}
.home_sub_title_style{
    font-family: 'Comfortaa', cursive;
    color: var(--blackish);
    text-shadow: 2px 2px 5px var(--blackish);
}
.home_sub_title_style:hover{
    text-decoration: underline;
}





.category-cards:hover .hover-arrow{
    display:block;
}
#home_course_icon{
    width:100%;
    font-size:1.5rem;
    font-family: 'Comfortaa', cursive;
     text-transform: uppercase;
    border-bottom: 5px solid #FFF;
}

#home_course_desc a{
    text-decoration: none;
    font-size:1rem;
    font-family: 'Handlee', cursive;
    color: var(--blackish);
}

#home_course_icon img{
    width:150px;
}

.category-cards img {
    height: 50px;
    margin-bottom: 1rem;
}

.category-cards h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.category-cards p {
    padding: 3px;
    color: var(--lesswhite);
    font-size: 0.9rem;
    text-align: center;
    max-width: 250px;
}

@media (max-width: 991px) {
    .category-cards p {
        max-width: 100%;
    }
}


@media (max-width: 500px) {
    .category-cards p {
        display: none;
    }
}

.dropdown-item:hover {
    color: var(--blackish) !important;
}

.qStartInfo h4 {
    margin-bottom: 1rem;
    padding: 1rem;
}

.qStartInfo h4 span {
    border-radius: 5px;
    padding: 0.2rem;
}

.question_nums {
    display: none;
}

.show_at_end {
    display: none;
}

.console_output_style {
    height: 50vh !important;
    border-radius: 10px;
    padding: 1rem;
    overflow: scroll;
    font-size: 2rem;
    font-family: var(--bs-font-monospace);
    color: var(--lesswhite);
}


@media print {
    .row {
        font-size: 12pt;
        width: 100%;
        padding-right: calc(var(--bs-gutter-x) * 0.5);
        padding-left: calc(var(--bs-gutter-x) * 0.5);
        margin-right: auto;
        margin-left: auto;
    }
}


.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0px;
    margin: 5px;
    background-color: transparent;
    font-family: 'Orbitron', 'Segoe UI', sans-serif;
    --bs-breadcrumb-divider-color: #FFF;
}

@media (max-width: 481px) {
    .breadcrumb {
        display: none;
    }
}

.breadcrumb-item a{
    padding: 5px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 300;
    color: var(--lessdark);
}

.breadcrumb-item {
    border-right: 3px solid var(--blackish);

}
.breadcrumb-item:hover {
    border: 3px solid var(--blackish);
}

.breadcrumb-item.active {
    cursor: default;
    pointer-events: none;
    text-decoration: underline;
}

/*
.breadcrumb-item a,
.breadcrumb-item.active {
    display: inline-block;
    padding: 0.4rem 0.4rem 0.4rem 1.2rem;
    border-radius: 2rem;
    background-color: var(--blackish);
    color: #f5f5f5;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 300;
    position: relative;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}


.breadcrumb-item a::before,
.breadcrumb-item.active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0.5rem;
    transform: translateY(-50%);
    width: 2px;
    height: 2px;
    background-color: #00ffe0;
    border-radius: 50%;
    box-shadow: 0 0 6px #00ffe0aa;
}




.breadcrumb-item.active::before {
    background-color: #aaa;
    box-shadow: none;
}


.breadcrumb-item a:hover {
    background-color: #2a2a2a;
    color: #00ffe0;
    box-shadow: 0 0 8px #00ffe099;
}*/

.horizontal-scrollable {
    overflow-x: auto;
    white-space: nowrap;
}

.hero-section {
    background: linear-gradient(to bottom, var(--blackish), var(--whitish));
    color: var(--whitish);
    font-family: 'Comfortaa', cursive;
}

.hero-section h1 {
    color: var(--blackish);
    text-shadow: 0px 0px 5px rgba(255, 255, 255);
}

.hero-section .cta-button {
    padding: 8px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 15px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.4);
}

.hero-section #lrn_b {
    background-color: var(--blackish);
    color: var(--whitish);
}
.hero-section #ply_b {
    background-color: var(--lightbox);
    color: var(--whitish);
}
.hero-section #exp_b {
    background-color: var(--whitish);
    color: var(--blackish);
}

.hero-section .cta-button:hover {
    transform: translateY(-2px);
    transform: scale(1.2);
}

.floating-symbol {
  position: absolute;
  opacity: 0.1;
  animation: float 20s linear infinite;
}

/* Shape types */
.circle {
  border-radius: 50%;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 35px solid;
}

.square {
  /* No extra styling needed for square */
}

/* Floating animation */
@keyframes float {
  0% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) translateX(20px) rotate(90deg);
  }
  50% {
    transform: translateY(-40px) translateX(40px) rotate(180deg);
  }
  75% {
    transform: translateY(-20px) translateX(20px) rotate(270deg);
  }
  100% {
    transform: translateY(-10px) translateX(10px) rotate(360deg);
  }
}

.underline {
    text-decoration: underline;
    padding: 5px;
}

.hero-section .proof {
    margin-top: 20px;
    font-size: 0.9em;
    color: #a0a0b0;
}

.short-explain {
    font-family: 'Comfortaa', cursive;
    font-size: 1.2em;
    line-height: 1.5;
}

.short-explain u {
    padding: 4px;
    border-radius: 4px;
    text-decoration: underline;
    background: var(--highlight);
}

.short-explain .special {
    background: var(--lessdark);
    color: var(--lesswhite);
    padding: 4px;
    margin: 4px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
}

#baseUrl {
    overflow: scroll
}

#baseUrl {
    overflow: scroll
}

.glass-effect {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6.1px);
    -webkit-backdrop-filter: blur(6.1px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.menu_b_paper {
    align-self: center;
    border-radius: 15px;
    width: 100%;
    border: 2px solid rgba(0, 0, 0);
    color: var(--blackish);
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 235ms ease-in-out;
}

.menu_b_paper:hover {
    box-shadow: rgba(0, 0, 0, .3) 2px 8px 8px -5px;
    transform: translate3d(0, 2px, 0);
}

.menu_b_paper:focus {
    box-shadow: rgba(0, 0, 0, .3) 2px 8px 4px -6px;
}


/* Floating Action Button (FAB) */
.feedback-fab {
    position: fixed;
    bottom: 150px;
    right: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Ensure it's above other content */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.feedback-fab:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Feedback Form Container */
.feedback-form-container {
    position: fixed;
    bottom: 90px; /* Adjust based on FAB size + padding */
    right: 20px;
    width: 300px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 999;
    padding: 15px;
    display: none; /* Initially hidden */
    flex-direction: column;
    transform: scale(0.95); /* Slightly scale down when hidden */
    opacity: 0; /* Make it invisible when hidden */
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: bottom right; /* For better scaling animation */
}

.feedback-form-container.active {
    display: flex; /* Show when active */
    transform: scale(1);
    opacity: 1;
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.feedback-header h3 {
    margin: 0;
    color: #333;
}

.feedback-form-container textarea {
    width: calc(100% - 20px); /* Adjust for padding */
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical; /* Allow vertical resizing */
}

.feedback-form-container button[type="submit"] {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s ease;
}

.feedback-form-container button[type="submit"]:hover {
    background-color: #218838;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #888;
    line-height: 1; /* To vertically align the X */
}

.close-btn:hover {
    color: #333;
}

/* Flash messages styling */
.flashes {
    list-style: none;
    padding: 0;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
}

.flashes li {
    padding: 10px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: white;
    text-align: center;
}

.flashes .success {
    background-color: #28a745;
}

.flashes .error {
    background-color: #dc3545;
}

.modal-body-custom-height {
    max-height: 400px; /* Adjust as needed */
    overflow-y: auto;
}


.alert-bubble {
    background: #e6f2ff;
    color: #003366;
    padding: 10px 12px;
    margin: 10px 0;
    border-radius: 12px;
    max-width: 90%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    font-family: sans-serif;
}


.alert-bubble-n {
    background: var(--blackish);
    color: var(--whitish);
    padding: 10px 12px;
    margin: 10px 0;
    border-radius: 12px;
    max-width: 90%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    position: relative;
    font-family: sans-serif;
}

.alert-message {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.alert-meta {
    font-size: 0.75rem;
    color: #666;
    text-align: right;
}


.tech-carousel-img {
  max-height: 420px;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 1s ease, opacity 0.8s ease-in-out;
}

.carousel-item {
  transform: scale(0.98);
  opacity: 0.7;
  transition: all 1s ease-in-out;
}

.carousel-item.active {
  transform: scale(1);
  opacity: 1;
}

.carousel-inner {
  overflow: hidden;
  border-radius: 1.5rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 100% 100%;
}

.custom-icon {
  filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}


.easy_mobile_nav{
  background-color: var(--lessdark);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1030;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}


@media (max-width: 991px) {
    .easy_mobile_nav{
        display: flex;
    }
    .mobile_hidden{
        display:none !important;
    }
}

@media (min-width: 991px) {
    .easy_mobile_nav{
        display: none;
    }
    .mobile_hidden{
        display:list-item;
    }
}

.mobile_nav_a {
  background: var(--lessdark);
  padding: 10px;
  border-radius: 50%;
  border: 3px solid transparent;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile_nav_a:hover {
  transform: translateY(-5px);
  border-color: var(--whitish);
}

.mobile_nav_a.active {
  background: var(--whitish);
  border-color: var(--whitish);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.mobile_nav_a.active img {
  filter: brightness(0.1);
}

.mobile_nav_a img {
  transition: transform 0.2s ease;
}

.glass-card {
      backdrop-filter: blur(10px);
      background: rgba(255, 255, 255, 0.15);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 15px;
      box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.6);
      padding: 20px;
      color: white;
      min-width: 150px;
      max-width: 300px;
      width: 100%;
    }
.glass-card img{
width: 100px;
}
.glass-card h5{
color:var(--blackish);
}
.glass-card p{
color:var(--blackish);
}
.glass-card p img{
width: 20px;
}
    .glass-container {
      display: flex;
      justify-content: space-between;
      flex-wrap: nowrap;
      gap: 20px;
    }



    .greeting-text {
      font-size: 1.2rem;
      font-weight: 500;
      color:var(--blackish);
    }

    @media (max-width: 768px) {
      .glass-container {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
      }
    }
.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: WHITE;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #1f1f1f;
  cursor: pointer;
  font-family: 'Roboto', arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
  transition: background-color .218s, border-color .218s, box-shadow .218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 12px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  font-family: 'Roboto', arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity .218s;
  transition: opacity .218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #ffffff61;
  border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: #303030;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: #303030;
  opacity: 8%;
}
/* day-night toggle switch */

/* day-night toggle switch */

/* book shelf */
/* ========================================
         Main Shelf Container & Layout
         ========================================
        */
        .shelf-wrapper {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 50px; /* Space for scroll buttons */
        }

        .bookshelf {
            display: flex;
            gap: 5px; /* Space between books */
            align-items: flex-end;
            height: calc(var(--book-height) + 4rem);
            padding: 0 1rem 1.5rem;
            overflow-x: auto;
            scroll-behavior: smooth;
            /* Hide scrollbar for a cleaner look */
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE/Edge */
            perspective: 1200px; /* Adds 3D depth for child elements */
        }

        .bookshelf::-webkit-scrollbar {
            display: none; /* Chrome/Safari */
        }

        .shelf-wood {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 1.5rem;
            background-color: var(--shelf-background-color);
            background-image: linear-gradient(to top, #6a4a2a, #9d754e);
            border: 5px solid var(--shelf-border-color);
            border-radius: 5px;
            box-shadow: inset 0 0 15px var(--shelf-shadow-color), 0 10px 20px rgba(0,0,0,0.3);
        }

        /* ========================================
         Book Styling & Interactions
         ========================================
        */
        .book {
            /* Sizing and Positioning */
            position: relative;
            width: var(--book-width);
            min-width: var(--book-width);
            height: var(--book-height);
            z-index: 1;

            /* Visuals & Transitions */
            transform-origin: bottom center;
            transform: rotate(-2deg); /* Slight initial tilt */
            transition: transform 0.3s ease, z-index 0s 0.15s;
            cursor: pointer;
            text-decoration: none; /* Remove underline from link */
        }

        .book .spine {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            background: var(--book-spine-bg);
            border-radius: var(--book-border-radius) 0 0 var(--book-border-radius);
            box-shadow: inset 2px 0 5px rgba(255,255,255,0.2), inset -2px 0 10px rgba(0,0,0,0.5);
        }

        .book .p_spine{
        background: var(--page-spine-bg);
        }

        .book .book_active {
          background: linear-gradient(90deg, var(--lightbox) 0%, #6b6b6b 100%);
        }

        .book .spine-title {
            writing-mode: vertical-rl;
            text-orientation: mixed;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            color: var(--book-spine-text-color);
            font-size: 16px;
            font-weight: bold;
            text-transform: uppercase;
            max-height: calc(var(--book-height) - 20px);
            padding: 0 5px;
        }

        .book .cover {
            position: absolute;
            top: 0;
            left: var(--book-width);
            width: var(--book-cover-width);
            height: var(--book-height);
            z-index: -1;

            /* Cover Image - applied via inline style */
            background-image: var(--cover-image-url);
            background-size: cover;
            background-position: center;

            /* 3D Transform Effect */
            transform-origin: left center;
            transform: rotateY(90deg);
            transition: transform 0.4s ease-in-out;
            backface-visibility: hidden; /* Hides the back of the element during rotation */
            box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
            border-radius: 0 var(--book-border-radius) var(--book-border-radius) 0;
        }

        /* ========================================
         Hover & Focus States (Interaction)
         ========================================
        */
        .book:hover, .book:focus {
            transform: translateY(-20px) rotate(0deg) scale(1.05);
            z-index: 10; /* Bring the hovered book to the front */
            outline: none; /* Remove focus outline for a cleaner look */
            transition: transform 0.3s ease, z-index 0s;
        }

        .book:hover .cover, .book:focus .cover {
            transform: rotateY(0deg);
        }

        /*
         ========================================
         Scroll Buttons
         ========================================
        */
        .scroll-button {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 20;
            background-color: rgba(0,0,0,0.5);
            color: white;
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            font-size: 24px;
            cursor: pointer;
            transition: background-color 0.2s;
        }

        .scroll-button:hover:not(:disabled) {
            background-color: rgba(0,0,0,0.8);
        }

        .scroll-button:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        #scroll-left { left: 5px; }
        #scroll-right { right: 5px; }

        /* ========================================
         Responsive Design for Mobile
         ========================================
        */
        @media (max-width: 768px) {
            :root {
                --book-width: 35px;
                --book-height: 10rem;
                --book-cover-width: 7rem;
            }

            .shelf-wrapper {
                padding: 0; /* Remove side padding on mobile */
            }

            .scroll-button {
                display: none; /* Hide buttons, rely on touch swipe */
            }
        }
/* book shelf */
