﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
/*
*, ::after, ::before {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    background: 0 0;
    text-decoration: none;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit;
    outline: 0;
    border: 0;
    border-radius: 0;
    transition-duration: var(--a-speed);
    transition-timing-function: var(--a-ease);
    transition-property: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}*/
@import url('https://fonts.googleapis.com/css2?family=Rubik+Glitch&display=swap');




@font-face {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100 900;
    font-style: normal;
    font-style: oblique 0deg 10deg;
    font-variation-settings: "slnt" 0;
    src: url('/Fonts/Inter-Regular.woff2') format("woff2"), url('/Fonts/Inter-Regular.ttf') format("truetype");
}

/*@font-face {
    font-family: "Inter";
    font-style: normal;
    font-style: oblique 0deg 10deg;
    font-weight: 300 900;
    font-display: swap;
    src: url('/Fonts/Inter-Regular.woff2') format("woff2"), url('/Fonts/Inter-Regular.ttf') format("truetype");
}*/

p, .col-2, .col-3, .col-4, .col-6, .col-10, .col-12, .col-md-6, .col-sm-12 {
    padding: 0px;
}

figure, p {
    margin: 0 0 0 0;
}

.row {
    margin: 0px;
}

span, h1, h2, h3, h4, h5, h6 {
    color: var(--c-text);
    margin: 0px;
    padding: 0px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}

button:focus {
    outline: none;
}

.scrollable-column {
    max-height: 120px;
    overflow-y: auto;
    display: block;
}

::-moz-selection {
    color: var(--c-bg);
    background: var(--c-text);
}

::selection {
    color: var(--c-bg);
    background: var(--c-text);
}

.scrollable-column::-webkit-scrollbar {
    width: 5px;
    background-color: #F5F5F5;
}

.scrollable-column::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: var(--c-bg);
}
/* Set scrollbar width and track color */
html::-webkit-scrollbar {
    width: 5px;
    background-color: transparent; /* Set to transparent or the color you prefer */
}

/* Customize scrollbar thumb */
html::-webkit-scrollbar-thumb {
    border-radius: 4px; /* Rounded corners for a subtle look */
    background-color: var(--c-detail); /* Color of the scrollbar thumb */
}

/**** Theme switcher *********/
:root {
    --c-bg: white;/*hsl(0, 0%, 100%);*/
    --c-text: black; /*hsl(0, 0%, 10%);*/
    --c-text-alt: hsl(0, 0%, 10%);
    --c-detail: hsl(0, 0%, 10%);
    --c-detail-alt: hsl(0, 0%, 49%);
    --f-size: 16px;
    --f-height: 22px;
    font-feature-settings: "tnum"1,"ss01"1,"ss03"1;
}

@media (prefers-color-scheme: dark) {
    :root {
        --c-bg: black ;/*hsl(0,0%,5%);*/
        --c-text: white;/*hsl(0,0%,90%);*/
        --c-text-alt: hsl(0,0%,50%);
        --c-detail: hsl(0,0%,90%);
        --c-detail-alt: hsl(0,0%,95%);
    }
}


html.inverted {
    --c-bg: black /* hsl(0,0%,5%)*/;
    --c-text:white /* hsl(0,0%,90%);*/;
    --c-text-alt: hsl(0,0%,50%);
    --c-detail: hsl(0,0%,90%);
    --c-detail-alt: hsl(0, 0%, 65%);
}

@media (prefers-color-scheme: dark) {
    html.inverted {
        --c-bg: white /*hsl(0,0%,100%);*/;
        --c-text: black/*hsl(0,0%,10%);*/;
        --c-text-alt: hsl(0,0%,10%);
        --c-detail: hsl(0,0%,10%);
        --c-detail-alt: hsl(0,0%,90%)
    }
}

.scrollable-enroll {
    overflow-y: auto;
}

    .scrollable-enroll::-webkit-scrollbar {
        width: 5px;
        background-color: var(--c-bg);
    }

    .scrollable-enroll::-webkit-scrollbar-thumb {
        border-radius: 10px;
        -webkit-box-shadow: inset 0 0 6px var(--c-text);
        background-color: var(--c-bg);
    }

#themeToggle {
    cursor: pointer;
    text-indent: -9999px;
    width: 35px;
    height: 20px;
    background: var(--c-bg);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    position: relative;
    border: 1.5px solid var(--c-text);
}

#themeToggle:after {
    content: '';
    background: var(--c-text);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
    top: 4.4px;
    left: 4px;
    transition: cubic-bezier(0.68, -0.55, 0.27, 01.55) 320ms;
}

html.inverted #themeToggle {
    background: var(--c-bg);
}

html.inverted #themeToggle:after {
    left: calc(100% - 5px);
    transform: translateX(-100%);
}
#themeToggle {
    background: var(--c-bg);
}

#themeToggle:after {
    right: calc(100% + 5px);
    transform: translateX(0%);
}

html.transition,
html.transition *,
html.transition *:before,
html.transition *:after {
    transition: cubic-bezier(0.68, -0.55, 0.27, 01.55) 420ms !important;
    transition-delay: 0 !important;
}

/* Your theme switcher styles */


html.inverted #themeToggle {
    background: var(--c-bg);
}

    html.inverted #themeToggle:after {
        background: var(--c-text);
    }
/*******************************************************************************/
 /* Styles for the popup */
  .popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: var(--c-bg);
    color:var(--c-text);
    width: 500px;
    padding: 20px;
    border: 2px solid var(--c-text);
    text-align: center;
}
.popup-buttons{
    display:flex;
    justify-content:space-around;
    padding:2rem;
}
#custom-popup {
    display: none;
}


    

/*@media (hover: none) {
    .thumb .thumb-subtitle, .thumb .thumb-title, span {
        color: var(--c-text);
    }
}*/

.payment-success {
    background-color: #d4edda; /* Light green background */
}

.payment-failure {
    background-color: #f8d7da; /* Light red background */
}

.custom-payment-alert-content {
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}


.MyLink {
    text-decoration: none;
}
a{
    color:var(--c-text) !important;
}


a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
    font-weight:900;
    color:var(--c-text);
}

.fixed-panel {
    position: fixed;
    bottom: 10px; /* Sticks the panel to the bottom of the window */
    right: 10%;
    z-index: 100; /* Ensure it sits over other content */
    background-color: rgba(0, 0, 0, 0.48);
}
.pushdown{
    margin-bottom:600px;
}
.ProductNotThere {
    border: 2px solid red;
    border-radius: 5px;
}



@keyframes color-flow {
    0% {
        background-color: #35C26D;
        color: #fff;
    }

    50% {
        background-color: #16a561;
        color: #000;
    }

    100% {
        background-color: #35C26D;
        color: #fff;
    }
}

.btn-animate {
    animation: color-flow 0.5s linear;
}

.table{
    color:var(--c-text);
}

.custom-alert {
    display: block;
    position: fixed;
    z-index: 1;
    right: 0;
    width: 30%;
    height: 100vh;
    background-color: var(--c-bg);
    border: 1px solid #888;
}
@keyframes cartCountBump {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.cartCountAnimate {
    animation: cartCountBump 0.3s ease-in-out;
}

.custom-alert-content {
    background-color: var(--c-bg);
    margin: 15% auto;
    padding: 20px;
    width: 100%;
    max-height: 70%;
    overflow: auto;
    box-shadow: 0 0px 0px 0 var(--c-detail), 8px 6px 6px 0 var(--c-detail);
    animation-name: animatetop;
    animation-duration: 0.4s;
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

.remove-item {
    color: white;
}

#checkout, #close-alert {
    margin-top: 15px;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    border: none;
    color: white;
}

#checkout {
    background-color: #4CAF50;
}

#close-alert {
    background-color: #f44336;
}


.paging-link {
    position: relative;
    display: block;
    padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
    font-size: var(--bs-pagination-font-size);
    color: white;
    text-decoration: none;
    background-color: #212121;
    border: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .paging-link {
        transition: none;
    }
}

.paging-link:hover {
    z-index: 2;
    color: white;
    background: linear-gradient( to top right, #35C26D, #3CD5F6 );
    border-color: #959595;
}

.paging-link:focus {
    z-index: 3;
    color: white;
    background: linear-gradient( to top right, #35C26D, #3CD5F6 );
    outline: 0;
    box-shadow: var(--bs-pagination-focus-box-shadow);
}

.paging-link.active, .active > .paging-link {
    z-index: 3;
    color: var(--bs-pagination-active-color);
    background: linear-gradient( to top right, #35C26D, #3CD5F6 );
    border-color: black;
}

.paging-link.disabled, .disabled > .paging-link {
    color: var(--bs-pagination-disabled-color);
    pointer-events: none;
    background-color: var(--bs-pagination-disabled-bg);
    border-color: var(--bs-pagination-disabled-border-color);
}

.paging-item:not(:first-child) .paging-link {
    margin-left: -1px;
}
.paging-next:hover, .paging-previous:hover{
    background: linear-gradient(88.32deg, #35C26D -57%, #3CD5F7 139.74%);
}

.paging-previous {
    position: relative;
    display: block;
    padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
    font-size: var(--bs-pagination-font-size);
    color: white;
    text-decoration: none;
    background-color: #212121;
    border: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    border-top-left-radius: var(--bs-pagination-border-radius);
    border-bottom-left-radius: var(--bs-pagination-border-radius);
}

.paging-next {
    position: relative;
    display: block;
    padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
    font-size: var(--bs-pagination-font-size);
    color: white;
    text-decoration: none;
    background-color: #212121;
    border: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    border-top-right-radius: var(--bs-pagination-border-radius);
    border-bottom-right-radius: var(--bs-pagination-border-radius);
}




td {
    height: 50px;
    overflow-y: hidden;
}
    .MyLink:hover {
        cursor:pointer;
        text-decoration: none;
        border: 3px;
        border-color: white;
       text-decoration-color:none;
        box-shadow: 5px 10px #888888;
    }
/* Style for the box */
a {
    text-decoration: none;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

    /* Hover effect with animation */
   .footers a i:hover {
        box-shadow: 0 0 20px var(--c-text), 0 0 20px var(--c-text);
        border-radius: 50%;
    }




.card .card-img-top img {
    transition: transform 0.3s cubic-bezier(.25,.8,.25,1);
}

.card:hover .card-img-top img {
    transform: scale(1.1); /* Adjust scale as necessary */
}
.card {
    background-color: transparent;
    border: none;
    text-decoration: none;
    border-left: 8px solid transparent;
    border-right: 2px solid transparent;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
   /* border-image: linear-gradient( to top right, #35C26D, #3CD5F6 ) 0;
    border-image-slice: 0;*/
}

    .card:hover {
        text-decoration: none;
        color: var(--c-text);
        border-radius: 10px;
       /* animation-name: cardshover;
        animation-duration: 1s;*/
        /*  border-image: linear-gradient( to top right, #35C26D, #3CD5F6 ) 1;
        border-image-slice: 1;*/
        box-shadow: 0 0 0 var(--c-text), 0 2px 0 var(--c-text), 4px 0 0 var(--c-text), 0 0 0 var(--c-text);
    }

    .card .card-img-top img {
        transition: transform 0.3s cubic-bezier(.25,.8,.25,1);
    }
li a {
    border: none;
    text-decoration: none;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    border-top: 2px solid transparent;
    border-bottom: 4px solid transparent;
    border-image: linear-gradient( to top right, #35C26D, #3CD5F6 ) 0;
    border-image-slice: 0;
}
    li a:hover {
        animation-name: cardshover;
        animation-duration: 1s;
        border-image: linear-gradient( to top right, #35C26D, #3CD5F6 ) 1;
        border-image-slice: 1;
    }a:hover {
        animation-name: cardshover;
        animation-duration: 1s;
        border-image: linear-gradient( to top right, #35C26D, #3CD5F6 ) 1;
        border-image-slice: 1;
    }
    /*.card:hover .card-img-top img {
        transform: scale(1.1);*/ /* Adjust scale as necessary */
    /*}*/

@keyframes cardshover {
    0% {
        border-image-slice: 0;
    }

    100% {
        border-image-slice: 1;
    }
}

.Images-panel{
    max-height:300px;
    overflow-y:scroll;
}

/*.navbar-brand{
    background: linear-gradient(88.32deg, #35C26D -57%, #3CD5F7 139.74%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}
*/


.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}
.navbar{
    font-size:14px !important;

}
/*.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}*/
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}
.btn-dark {
    background-color: var(--c-bg) !important;
    color: var(--c-text) !important;
    border-color: var(--c-text) !important;
}
    .btn-dark:hover {
        background-color: var(--c-text) !important;
        color: var(--c-bg) !important;
    }
.btn-light {
    background-color: var(--c-text) !important;
    color: var(--c-bg) !important;
    border-color: var(--c-bg) !important;
}
    .btn-light:hover {
        background-color: var(--c-bg) !important;
        color: var(--c-text) !important;
    }


    .pl-5{
        padding-left:3rem;
    }
    .pr-5{
        padding-right:3rem;
    }
/*--------------------------------------*/

body {
   /* display: flex;
    flex-direction: column; */
   
    /* min-height: 100vh; Ensure the container covers the entire viewport height */
    /* font-size: var(--f-size);
    line-height: var(--f-height);
    font-weight: var(--f-weight);
    letter-spacing: -.0109598em;
    letter-spacing: 0.111em;
    */
    background-color: var(--c-bg);
    color: var(--c-text);
    font-family: "Inter", monospace !important;
    font-style: normal;
    font-display: swap;
}
main {
  
    grid-column-start: 2;
    grid-column-end: 3;
}
header {
    padding: 3rem 8%;
    /* margin: 3rem -8%;
    grid-column-start: 2;
    grid-column-end: 3;*/
}
#MyContainer {
    /* display: flex;
    flex-direction: column;
    margin:0 10%;*/
    display: grid;
    grid-template-columns: 17% 66% 17%; /* Create a subgrid with a single column */
}
.ImageFill {
    width: 100vw;
    height: 25rem;
    object-fit: cover;
    margin-left:-27%;
}

.RowOnly {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem 1rem;
    justify-content: space-evenly;
    align-items: center;
}
/* ---------- Overall Footer ---------- */
.footer {
    width: 100%;
    padding: 2rem 1rem;
    background-color: var(--c-bg);
    color: var(--c-text);
}

/* ---------- Full-Width Rows for Heading and Subtitle ---------- */
.footer__row--full {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: left;
}

.footer__heading {
    margin-bottom: 1rem;
}

.footer__contact-subtitle {
    margin: 0;
}

/* ---------- Two-Column Container ---------- */
.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    /* By default, let it wrap; we override for larger screens */
    flex-wrap: wrap;
}

/* Force left and right columns to each take 50% */
.footer__left,
.footer__right {
    flex: 1 1 50%;
}

/* ---------- Left Column ---------- */
.footer__left {
    text-align: left;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: flex-start;
}

.footer__contact-row {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 1rem;
    gap: 1rem;
}

.footer__contact-info {
    flex: 1;
}

.footer__email {
    margin: 0;
}

.footer__message {
    margin-top: 1rem;
}

/* Info Grid */
.MyRow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

    .MyRow > div:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: start;
    }

/* ---------- Right Column ---------- */
.footer__right {
    position: relative;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
}

/* Logo Wrapper & Absolute Logo */
.footer__logo-wrapper {
    position: relative;
    width: 100%;
    min-width: 14rem; /* Minimum width to keep logo legible */
    height: 0; /* Wrapper takes no extra vertical space */
}

.footer__logo {
    position: absolute;
    left: 50%;
    top: 0; /* Place at the top of the right column */
    transform: translate(-50%, 0);
    width: 14rem;
    height: 14rem;
    background: url(/LogoRB.png) no-repeat center center;
    background-size: contain;
}

/* Reserve vertical space for newsletter below the logo */
.footer__newsletter {
    margin-top: calc(clamp(14rem, 10vw, 30rem) + 1rem);
}

/* Newsletter Block */
.FRowOnly {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    justify-content: space-evenly;
    align-items: center;
}

.newsletter__input {
    flex: 1;
    min-width: 150px;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.newsletter__btn {
    flex: 1;
    min-width: 150px;
    padding: 0.5rem;
    background-color: var(--c-text);
    color: var(--c-bg);
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

    .newsletter__btn:hover {
        background-color: var(--c-detail);
    }

/* ---------- Responsive Tweaks ---------- */
@media (max-width: 830px) {

    .FontBigest {
        font-size: 3.1rem !important;
    }
    .footer__container {
        flex-direction: column;
    }

    .footer__left, .footer__info-grid,
    .footer__right, .footer__newsletter {
         flex: 1 1 100%;
     
    }

    .MyRow {
        grid-template-columns: 1fr;
    }

   /* .footer__logo {
        width: clamp(10rem, 15vw, 20rem);
        height: clamp(10rem, 15vw, 20rem);
    }*/

    .footer__newsletter {
        margin-top: calc(clamp(10rem, 15vw, 20rem) + 1rem);
    }
}

@media (min-width: 1200px) {
    /* Increase overall footer padding */
    .footer {
        padding: 6rem 3rem;
    }
    /* Increase horizontal padding on full rows */
    .footer__row--full {
        padding: 0 3rem;
    }
    /* Force the two columns to stay side by side with more gap */
    .footer__container {
        gap: 4rem;
        flex-wrap: nowrap;
    }
    /* Scale up heading and subtitle fonts */
    .footer__heading {
        font-size: 4rem;
    }

    .footer__contact-subtitle {
        font-size: 2rem;
    }
    /* Increase gap below logo by enlarging its size */
  /*  .footer__logo {
        width: clamp(20rem, 8vw, 40rem);
        height: clamp(20rem, 8vw, 40rem);
    }*/
    /* Adjust newsletter margin based on the larger logo size */
    .footer__newsletter {
        margin-top: calc(clamp(20rem, 8vw, 40rem) + 2rem);
    }
}





/*
    ======== Footer End========
*/
    .HomeRow {
        display: flex;
        flex-direction: row;
        /*grid-gap: 2rem;*/
        flex-wrap: wrap;
        justify-content: space-evenly;
        align-items: center;
    }

    .HomeRowItem {
        display: flex;
        flex-direction: column;
        /* flex:1;*/
        flex: 0 0 auto;
        width: 37.666667%;
    }

        .HomeRowItem picture {
            /*height: 55rem;*/
            aspect-ratio: 3/4;
        }

            .HomeRowItem picture img {
                object-fit: cover;
                object-position: center;
                height: 100%;
            }

    .FontBiger {
        font-size: 4rem;
    }

    .FontBig {
        font-size: 3rem;
    }

    .FontBigest {
        font-size: 6rem;
    }

    .FontMedium {
        font-size: 2rem;
    }

    .RoboFont {
        font-family: 'Roboto Mono', Roboto;
        font-weight: 800;
    }

    .FontThin {
        /* font-size: 3rem;*/
        font-weight: 200;
    }

    .FontSuperBig {
        font-size: 4rem;
    }

    .largeSpace {
        padding: 7rem 0;
    }

    .largeSpaceTop {
        padding: 12rem 0 0 0;
        margin-bottom: -7.3rem;
    }

    .MediumSpace {
        margin: 4rem 0;
    }

    #HomeDigi {
        background-image: url(/HomeDigiBackground.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        height: 20rem;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100vw;
        margin-left: -27%;
    }

    @media (max-width: 830px) {
        #HomeDigi {
            background-attachment: scroll;
        }
    }

    #HomeDigi h1 {
        font-family: "Rubik Glitch", system-ui;
        color: white;
        mix-blend-mode: difference;
        font-style: normal;
        font-size: 5rem;
        font-weight: 500;
    }

    .rubik-glitch-regular {
        font-family: "Rubik Glitch", system-ui;
        font-weight: 400;
        font-style: normal;
    }
    /*
        ===== General Style =====
    */
    .MyRow {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 3rem 3rem;
        align-items: center;
        position: relative; /* Needed for absolute positioning within */
    }

    .MyRow2 {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        align-items: center;
        position: relative; /* Needed for absolute positioning within */
    }

    .MyRow div {
        display: flex;
        flex-wrap: nowrap;
        text-wrap: nowrap;
        flex-direction: column;
        /* flex:1;*/
    }

    .RowToColumn {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem 2rem;
        align-items: center;
        position: relative; /* Needed for absolute positioning within */
    }

        .RowToColumn div {
            display: flex;
            flex: 1;
            flex-direction: column;
            /* flex:1;*/
        }

    /*
        ===== General Style End =====
    */

    .TeamRow {
        display: flex;
        flex-direction: row;
        margin: 3rem 0;
        align-items: center;
        position: relative; /* Needed for absolute positioning within */
    }

    .hidefirst {
        /*  visibility: hidden;
    display: none;*/
        width: 50%; /* Hide initially for animation */
        position: absolute;
    }

    .TeamRow img {
        position: sticky; /* Needed for absolute positioning within */
        z-index: 0; /* Behind the paragraph initially */
        width: 40%;
    }

    .LeftStart {
        right: 0; /* left: 0;*/
    }

    .RightStart {
        left: 0; /* right: 0;*/
    }

    .LeftStartbtn {
        left: -20px;
    }

    .RightStartbtn {
        right: -20px;
    }

    .TeamRow button {
        position: absolute;
        z-index: 999;
        border-radius: 50%;
    }

    .DarkBtn {
        display: inline-block;
        background-color: var(--c-text);
        color: var(--c-bg) !important;
        padding: 0.3rem 2rem;
    }

    html.inverted .logo .Footerlogo html.inverted .navbar-toggler {
        filter: invert(1);
    }


    .FontGardianColor {
        background: linear-gradient(88.32deg, #35C26D -57%, #3CD5F7 139.74%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .greenbutton {
        --start-color: #35C26D;
        --end-color: #3CD5F7;
        --border-blur-start: 7px;
        --border-blur-end: 20px;
        /*background-image: linear-gradient(var(--deg-start, 90deg), var(--start-color) -57%, var(--end-color) 139.74%);*/
        background-color: #ffffff34;
        color: white;
        border: 2px solid white;
        padding: 30px 30px;
        border-radius: 50%;
        cursor: pointer;
        /*animation: changeGradient 5s infinite alternate, changeBorderBlur 5s infinite alternate, wavyBorder 5s infinite alternate, gooeyTransform 3s infinite alternate ease-in-out;*/
    }

        .greenbutton:hover {
            background-image: linear-gradient(var(--deg-start, 90deg), var(--start-color) -57%, var(--end-color) 139.74%);
            border: none;
        }

    @keyframes changeGradient {
        0% {
            --deg-start: 90deg;
            --start-color: #35C26D;
            --end-color: #3CD5F7;
        }

        100% {
            --deg-start: 180deg;
            --start-color: #3CD5F7;
            --end-color: #35C26D;
        }
    }

    @keyframes changeBorderBlur {
        0% {
            box-shadow: 0 0 var(--border-blur-start) #3CD5F7;
        }

        100% {
            box-shadow: 0 0 var(--border-blur-end) #3CD5F7;
        }
    }

    @keyframes wavyBorder {
        0% {
            border-radius: 50%;
        }

        25% {
            border-radius: 49%;
        }

        50% {
            border-radius: 52%;
        }

        75% {
            border-radius: 47%;
        }

        100% {
            border-radius: 55%;
        }
    }

    @keyframes gooeyTransform {
        0% {
            transform: perspective(500px) scale(1) skewX(0deg) skewY(0deg) rotate(0deg);
        }

        25% {
            transform: perspective(500px) scale(1.01) skewX(0.10deg) skewY(0.5deg) rotate(0.5deg);
        }

        50% {
            transform: perspective(500px) scale(0.9) skewX(-0.10deg) skewY(-0.5deg) rotate(-0.5deg);
        }

        75% {
            transform: perspective(500px) scale(1.05) skewX(0.5deg) skewY(-0.10deg) rotate(0.10deg);
        }

        100% {
            transform: perspective(500px) scale(1) skewX(0deg) skewY(0deg) rotate(0deg);
        }
    }


    html {
        overflow-y: auto; /* Enable vertical scrolling when content exceeds viewport height */
        scroll-behavior: smooth; /* Apply smooth scrolling behavior */
        scroll-padding: 1rem 0; /* Apply padding to the scrolling area */
        scroll-snap-type: y mandatory; /* Enable mandatory scroll snapping along the vertical axis */
    }

        html div {
            transition: transform 0.4s ease; /* Apply transition to transform property for smooth movement */
        }
    /*html div {
        scroll-snap-align: center;*/ /* Snap to the start of each div when scrolling */
    /*transition: scroll-snap-align 0.4s linear 0.2s;*/ /* Delay the scroll-snap-align transition */
    /*}*/


    /*html div img {
            scroll-snap-align: center;*/ /* Snap to the start of each image inside a div when scrolling */
    /*}*/





    .workRow {
        display: flex;
        flex-direction: row;
        justify-content: center
    }
        /* Apply flex-direction: row-reverse to every 2nd div with .workRow class */
        .workRow:nth-child(4n+2) {
            flex-direction: row-reverse;
        }

        /* Apply flex-direction: column to every 4th div with .workRow class */
        .workRow:nth-child(4n) {
            flex-direction: column;
        }

    @media (max-width: 830px) {
        .FontBiger {
            font-size: 2.3rem;
        }

        .HomeRow {
            flex-direction: column
        }

        .HomeRowItem {
            flex: 0 0 auto;
            width: 100%;
            margin: 32px 0 !important;
        }

        .FontBig {
            font-size: 1rem;
        }

        .FontMedium {
            font-size: 1rem;
        }

        #HomeDigi h1 {
            font-size: 2.3rem;
        }

        .FontSuperBig {
            font-size: 2.6rem;
        }
        /*
        .logo {
            width: 6rem;
            margin: 3rem;
        }*/

        footer {
            flex-direction: column;
        }

        .greenbutton {
            padding: 5px 5px;
        }

        .TeamRow img {
            width: 100%;
        }

        h1 {
            font-size: 1rem;
            font-weight: 600;
        }

        p {
            font-size: 0.6rem;
        }

        .hidefirst {
            padding: 0 !important;
        }

        .largeSpace {
            padding: 3rem 0;
        }
    }

    .HomeRowItem img {
        width: 100%;
        visibility: hidden; /* Initially hidden */
        transform: translate3d(0px, 5px, 0px); /* Initially translated */
    }
    /* Initial CSS setup for opacity transition */
    img, .section, .greenbutton {
        opacity: 0;
        transition: opacity 0.2s ease-in-out; /* Adjust duration and easing as needed */
    }

    /*--------- Article List Page ---------*/
    /*--------- Article List Page ---------*/
    /*--------- Article List Page ---------*/
    .custom-container {
        display: block;
        position: relative;
        padding: 2px 5px;
        cursor: pointer;
        /* font-size: 22px;*/
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        color: var(--c-detail-alt);
    }

    .tags {
        display: flex;
        border: solid 1px var(--c-text);
        /* margin: 1rem;*/
        padding: 0.2rem 1rem;
        background-color: var(--c-bg);
    }

    #articleFilterList li {
        padding: 0.5rem;
    }
    /* Hide the browser's default checkbox */
    .custom-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

    /* Create a custom checkbox */
    .custom-checkmark {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        z-index: -1;
        background-color: var(--c-bg);
    }



    /* On mouse-over, add a grey background color 
.custom-container:hover input ~ .custom-checkmark {
    background-color: #ccc;
}*/
    /* When the checkbox is checked, add a green background */
    .custom-container input:checked ~ .custom-checkmark {
        /* background: linear-gradient(88.32deg, #35C26D -57%, #3CD5F7 139.74%);*/
        font-weight: 700;
    }

    /* Remove the default checkmark indicator */
    .custom-checkmark:after {
        content: "";
        position: absolute;
        display: none;
    }

    /* Show the custom checkmark/indicator */
    .custom-container input:checked ~ .custom-checkmark:after {
        display: none;
    }

    /* Style the label when the checkbox is checked */
    .custom-container input:checked + .custom-checkmark {
        font-weight: 700; /* Bold font weight */
    }
    /* Adjust the text color */
    .custom-container:has(input:checked) {
        color: var(--c-text);
    }

    #articleFilterList {
        display: flex;
        flex-flow: row;
        flex: 1;
        padding: 3rem 0 !important;
        justify-content: center;
        flex-wrap: wrap;
    }

    .project__img {
        transition: transform 0.1s ease-out;
        will-change: transform;
    }

    #article-list {
        /* width: 70%;
     display: flex;
    flex-flow: row;
    justify-content: space-around;
    align-items: stretch;  Items have the same height */
        display: grid;
        grid-template-columns: repeat(1,1fr);
        grid-gap: 2rem;
        padding-right: 2rem; /**/
    }


    .articleListA img {
        transition: transform 0.3s cubic-bezier(.25,.8,.25,1);
        animation: appear 0.5s linear both;
        animation-timeline: View(70%, 5%);
    }

    .articleListA:hover img {
        transform: scale(1.1) !important; /* Adjust scale as necessary */
    }

    .articleListA:hover {
        box-shadow: 0 0 0 var(--c-text), inset 0 -2px 0 var(--c-text), 4px 0 0 var(--c-text), 0 0 0 var(--c-text);
    }

    .articleListA {
        display: flex;
        flex: 1 0 calc(50% - 2rem);
        flex-flow: column;
        color: var(--c-text);
        overflow: hidden;
        margin: 10px;
        height: 20rem;
        /* opacity: 0;
    visibility: hidden;
    transform: translate3d(0px, -50px, 0px);*/
        animation: appeararticleListA linear both;
        animation-timeline: View();
    }

    @keyframes appeararticleListA {
        0% {
            opacity: 0;
            visibility: hidden;
            transform: scale(0.7);
        }

        40%, 55% {
            opacity: 1;
            visibility: visible;
            transform: scale(1);
        }

        100% {
            opacity: 0;
            visibility: hidden;
            transform: scale(0.7);
        }
    }

    @keyframes appear {
        from {
            opacity: 0;
            visibility: hidden;
        }

        to {
            opacity: 1;
            visibility: visible;
        }
    }

    .thumb-container {
        /* display: grid;
    grid-area: picture;
    grid-row-start: 1;  Change to 1 to start from the first row */
        /* grid-row-end: 2;  Change to 2 to end in the second row */
        aspect-ratio: 1.1 / 1; /* make thumbs taller */
        overflow: hidden;
        transform: scale(1) !important;
    }

        .thumb-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center center;
        }
    /* Align title and subtitle with image start */
    .thumb-title {
        font-size: clamp(1.05rem, 1.8vw, 1.25rem);
        line-height: 1.25;
        max-height: 2.6em; /* roughly two lines */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: var(--c-text);
        margin-bottom: 0.35rem;
    }

    .thumb-subtitle {
        font-size: clamp(0.95rem, 1.6vw, 1.05rem);
        line-height: 1.35;
        max-height: 2.7em; /* about two lines */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: var(--c-text);
        transition: opacity 0.3s;
    }
    /* Title and subtitle styles */
    .thumb-title,
    .thumb-subtitle {
        /* Add appropriate styling for title and subtitle */
        white-space: normal;
        overflow: hidden; /* Hide overflowing text */
        text-overflow: ellipsis; /* Display ellipsis for truncated text */
        display: -webkit-box;
        -webkit-line-clamp: 3; /* You can adjust this value to control the number of lines displayed */
        -webkit-box-orient: vertical;
    }

    @media (min-width: 800px) {
        /*  #article-list {
        grid-template-columns: repeat(2,1fr)
    }*/

        #Wd {
            grid-template-columns: repeat(2,1fr)
        }
    }
    /*
@media (min-width: 1300px) {
    #article-list {
        grid-template-columns: repeat(2,1fr)
    }
}

@media (min-width: 1700px) {
    #article-list {
        grid-template-columns: repeat(4,1fr)
    }
}

@media (min-width: 3000px) {
    #article-list {
        grid-template-columns: repeat(6,1fr)
    }
}*/
    /* Grid item styles */
    .thumb {
        position: relative;
        width: 100%;
        padding-bottom: 100%;
        background: var(--c-bg);
        overflow: hidden;
        transition-property: background;
    }


    #editor a {
        color: blue !important;
        text-decoration: underline !important; /* This adds an underline to make it look more like a traditional link */
    }

        #editor a:hover {
            color: darkblue !important; /* Changes color on hover */
        }



    .TeamRow img {
        aspect-ratio: 3 / 4 !important;
        object-fit: cover !important;
    }

    .AdminEditBlock:hover {
        filter: opacity(0.5);
        border: 2px solid red;
        border-radius: 5px;
        cursor: pointer;
    }

    .AdminEditBlock {
        min-height: 1.5rem;
        min-width: 1.5rem;
        flex: 1; /* Each item will equally share the available space */
    }

    .AdminSectionBlock {
        display: flex;
        gap: 10px; /* Optional spacing between items */
    }

    .AdminAlignCol-4 {
        flex: 0 0 auto;
        width: 46.33333333%;
    }

    #theContentPanel {
        position: fixed;
        bottom: 20px;
        width: 65%;
        background-color: rgb(132, 132, 132, 0.70);
        backdrop-filter: blur(5px);
        border-radius: 30px;
        padding: 20px 10px;
        max-height: 98%;
        overflow-y: scroll;
    }

    #editor {
        background-color: var(--c-bg);
    }

    .text-Left {
        text-align: left;
    }

    .text-Right {
        text-align: right;
    }

    .text-Center {
        text-align: center;
    }

    .text-Justify {
        text-align: justify;
    }

    .EditImage {
        width: 50%;
    }

    .EditImage-Cover {
        width: 100%;
    }

    .EditImage-Center {
        width: 50%;
        margin: 0 auto;
        display: flex;
    }

    .EditImage-Right {
        width: 50%;
        margin: 0 0 0 auto;
        display: flex;
    }

    .EditImage-Left {
        width: 50%;
        margin: 0 0 auto 0;
        display: flex;
    }

    .EditImage-FullWidth {
        width: 100vw;
        height: 25rem;
        object-fit: cover;
        margin-left: -46%;
    }