:root {
  --main-bg-color: rgba(19, 26, 45, 1);
  --main-bg-yellow: #b5831d;
   --blur-amount: 8px;
    --blur-overlay-color: rgba(0, 0, 0, 0.35);

}
h1{
    font-size: 5rem;
}

body {
     background-color: var(--main-bg-color);
     
}
main {
    padding-bottom:0 !important;
}

main>section:nth-of-type(even):not(.chartsSection) {
 
background: #222B44;
background: -webkit-linear-gradient(0deg, var(--main-bg-color) 0%, rgba(255, 255, 255, 0.28) 51%, var(--main-bg-color) 100%);
background: -moz-linear-gradient(0deg, var(--main-bg-color) 0%, rgba(255, 255, 255, 0.28) 51%, var(--main-bg-color) 100%);
background: linear-gradient(0deg, var(--main-bg-color) 0%, rgba(255, 255, 255, 0.28) 51%, var(--main-bg-color) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#222B44", endColorstr="#222B44", GradientType=0);
}

nav {
    background-color: var(--main-bg-color);
}

sec1carr * {
    display: block !important;
}

main>section {
    min-width: 200px !important;
}

main section article {
    margin-top: 35px !important;
}

.bkgred {
    background-color: red !important;
}
.bkgblue {
    background-color: blue !important;
}
.bkgyellow {
    background-color: var(--main-bg-yellow);
}
.bkggreen {
    background-color: green !important;
}

h1, .colorText {
    background: var(--main-bg-yellow);
background: -moz-linear-gradient(90deg, var(--main-bg-yellow) 14%, rgba(255,255,255,1) 100%);
background: -webkit-linear-gradient(90deg, var(--main-bg-yellow) 14%, rgba(255,255,255,1) 100%);
background: linear-gradient(90deg, var(--main-bg-yellow) 14%, rgba(255,255,255,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0c5efb",endColorstr="#ffffff",GradientType=1);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}

.textalmostwhite{
    color:var(--bs-gray-100);
}
.textalmostblack{
    color:var(--bs-gray-900);
}

.cardfront, .articlecard {
   
    height:550px;
 min-height: 550px; 
    max-height: 550px;
 width: 200px; 
     min-width: 200px ; 
     max-width: 200px ; 
}

.card-body {
    overflow-y: none;
}
.cardfront card-img-top {
    width: 198px !important;
    min-width: 198px !important;
    max-width: 198px !important;
    height: 198px !important;
    min-height: 198px !important;
    max-height: 198px !important;

}



.content-blur {
   
    -webkit-filter: blur(var(--blur-amount));
    filter: blur(var(--blur-amount));
    transition: filter 160ms ease-in-out;
 
    will-change: filter;
}

/* Optional helper to remove blur from a child element (not all browsers support it) */
.content-blur .no-blur {
    /* Attempt to counteract parent blur by creating a new stacking context.
         Note: this may not perfectly remove blur in all browsers. */
    -webkit-filter: none;
    filter: none;
    position: relative;
}

/* 2) Fullscreen overlay that blurs the backdrop (frosted glass) */
.blur-overlay {
    position: fixed;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    background: var(--blur-overlay-color); /* fallback for browsers without backdrop-filter */
    -webkit-backdrop-filter: blur(var(--blur-amount)) saturate(120%);
    backdrop-filter: blur(var(--blur-amount)) saturate(120%);
    z-index: 1040; /* sits above most content, adjust as needed */
    pointer-events: auto; /* set to none if overlay should be click-through */
}

/* Reduce blur on very small screens for performance */
@media (max-width: 576px) {
    :root { --blur-amount: 6px; }
}

/* Notes:
     - Use `.content-blur` on the element you want blurred (e.g., <main>).
             document.getElementsByTagName('main')[0].classList.add('content-blur')
     - Use `.blur-overlay` to create a frosted overlay (append a div with this class).
     - `backdrop-filter` has better visual results but limited browser support.
*/



.chartsSection {
    /*If coming from blue*/
background: #222B44;
background: -webkit-linear-gradient(180deg, rgba(34, 43, 68, 0.65) 0%, rgba(255, 255, 255, 1) 8%);
background: -moz-linear-gradient(180deg, rgba(34, 43, 68, 0.65) 0%, rgba(255, 255, 255, 1) 8%);
background: linear-gradient(180deg, rgba(34, 43, 68, 0.65) 0%, rgba(255, 255, 255, 1) 8%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#222B44", endColorstr="#FFFFFF", GradientType=0);
/*If coming from white*/
/*

background: #222B44;
background: -webkit-linear-gradient(0deg, rgba(34, 43, 68, 0.65) 18%, rgba(255, 255, 255, 0.28) 100%);
background: -moz-linear-gradient(0deg, rgba(34, 43, 68, 0.65) 18%, rgba(255, 255, 255, 0.28) 100%);
background: linear-gradient(0deg, rgba(34, 43, 68, 0.65) 18%, rgba(255, 255, 255, 0.28) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#222B44", endColorstr="#FFFFFF", GradientType=0);

*/
}
ul, ol :not(.listwithstyle){
      list-style: none;
}
#backend {
    color: white !important;
}


.carousel-svg-small {
    max-width: 450px;
    width: 100%; 
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 150px;
    object-fit: contain;
}

#sec1carr .carousel-caption.d-none.d-md-block {
        display: block !important;
        margin-top: 75px;
        border-radius: 0.25rem;
        color: #fff;
    }


@media (max-width: 768px) {
    .carousel-svg-small {
        max-width: 140px;
    }
}



@media (max-width: 385px) {
    h1{
        font-size: 3rem;
    }
}
@media (max-width: 235px) {
    h1{
        font-size: 2rem;
    }
}


.card-centered-img {
    max-height: 180px;
    width: auto;
    display: block;
}

@media (max-width: 576px) {
    .card-centered-img {
        max-height: 120px;
    }
}


.card > .row {
    align-items: stretch; 
}


@media (max-width: 650px) {

 #sec1carr .carousel-caption.d-none.d-md-block p {
        display: none !important;
       
    }
  
  /*  #sec1carr .carousel-caption h5 { font-size: 1rem; }
    #sec1carr .carousel-caption p { font-size: 0.9rem; margin-bottom: 0; }*/
}