        body{
            font-family: "Red Hat Text", serif;
            font-optical-sizing: auto;
            font-weight: 500;
            font-style: normal;
            display: flex;
            flex-direction: column;
            /*justify-content: center;*/
            /*align-items: center;*/
            height: 100vh;
            width: 100vw;
            overflow-x: hidden;
        }

        h1{
            font-family: "Red Hat Display", serif;
            font-optical-sizing: auto;
            font-weight: 600;
            font-style: normal; 
            font-size: calc(1.5rem + .3vw) !important;;
        }

        h1.large{
            font-family: "Red Hat Display", serif;
            font-size: calc(2.5rem + .3vw) !important;;
        }

        h2{
            font-family: "Red Hat Text", serif;
            font-optical-sizing: auto;
            font-weight: 600;
            font-style: normal; 
            font-size: calc(1.3rem + .3vw) !important;
        }

        img.h2{ height: calc(1.0rem + .3vw); margin-right:1vw; }
        img.h3{ height: calc(0.7rem + .3vw); margin-right:1vw; }

        h3{
            font-family: "Red Hat Text", serif;
            font-optical-sizing: auto;
            font-weight: 500;
            font-style: normal; 
            font-size: calc(1.1rem + .3vw) !important;
        }

        h3 img{ display:flex; width: auto; height: calc(1.0rem + .3vw) !important; }
        h3 span{
            font-size: calc(1.0rem + .3vw) !important; 
            margin-right:.7vw
        }

        h4{
            font-family: "Red Hat Text", serif;
            font-optical-sizing: auto;
            font-weight: 550;
            font-style: normal; 
            font-size: calc(0.9rem + .3vw) !important;
        }

        header nav{
            background: white;
        }

        footer{
            min-height: 7vh;
            display: flex;
        }

        section.insider{
            padding: 5vh 10vw 5vh 10vw;
            margin-top: 7vh;
            min-height: 86vh;
            overflow: auto;
            display: block;
        }

        section.page{
            padding: 5vh 5vw 5vh 5vw;
        }

/*        input:user-valid {
          border: 1px solid green;
        }

        input:user-valid + span::before {
          content: "✓";
          color: green;
        }*/

        .bd-bg-none{
            border: none;
            background: none;
        }

        .copy-to-clipboard {
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
            border-color: var(--bs-border-color);
            background-image: url('/static/svg/clipboard.svg') !important;
            background-repeat: no-repeat !important;
            background-position: center !important;
            background-size: 50% !important;
            width: 38px;
            border-left: none;
            padding-top: 4px;
            padding-bottom: 8px;
            background: inherit;
        }

        .autosave {
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
            border-color: var(--bs-border-color);
            background-image: url('/static/svg/save2.svg') !important;
            background-repeat: no-repeat !important;
            background-position: center !important;
            background-size: 50% !important;
            width: 38px;
            border-left: none;
            padding-top: 4px;
            padding-bottom: 8px;
            background: inherit;
        }

        .check{
            background-image: url('/static/svg/check.svg') !important;
        }

        .box{
            margin-top:5vh;
        }

        .gray{
            background: rgba(0,0,0,0.05);
            padding:2rem 1rem 2rem 1rem;
        }

        .pr3{
            padding-right:10vw;
            font-family: "Red Hat Text", serif;
            font-optical-sizing: auto;
            font-weight: 400;
            font-style: normal; 
            font-size: calc(0.8rem + .3vw) !important;
        }

        .ico{
            width:10%;
        }

        [data-bs-theme="dark"] .invert {
           filter: invert(1) brightness(2);
        }

        [data-bs-theme="dark"] .ico {
           filter: invert(1) brightness(2);
        }

        [data-bs-theme="dark"] h3 img {
           filter: invert(1) brightness(2);
        }

        .mono{
            font-family: "Red Hat Mono", serif;
            font-optical-sizing: auto;
            font-weight: 300;
            font-style: normal;
            font-size: small;
        }

        .black{
            background: black;
        }

        .white{
            color: white;
        }

        .f1{ font-size: small !important; }
        .f2{ font-size: x-small !important; }

        .login-checkboxes{ max-width:25vw; }

        .error__content .mono{
            font-size: calc(.5rem + .25vw) !important;
        }

        .mono b{
            font-weight: 600;
        }

        .w100{
            width: 100%;
        }

        .poster{
            max-width: 90vw;
        }

        .card-body{
            min-width: 30vw;
            max-width: 100%;
        }

        .visible{
            display: block;
            margin: 0.5em 0px 0px 0px;
        }

        .fingerprint{
            max-width: 15vw;
        }

        .container{
            max-width: 90vw;
        }

        .logo{
            max-height: 8vh;
            width: 15vw;    
            margin-bottom:3vh;        
        }

        .navbar .logo{
            max-height: 1.5vh;
            width: 12vw;
            margin-bottom: auto;
        }

        .forbidden img{
            max-height: 3vh;
        }

        .forbidden div div{
            min-height: 3vh;
        }


        @property --t {
          syntax: "<number>";
          initial-value: 180;
          inherits: true;
        }
        /* won't be needed once Chrome supports round() */
        @property --s {
          syntax: "<integer>";
          initial-value: 0;
          inherits: true;
        }
        .countdown {
          /* when Chrome supports round(), this can be simplified */
          /* more on this rounding trick
           * https://css-tricks.com/using-absolute-value-sign-rounding-and-modulo-in-css-today/ */
          --s: calc(var(--t)/1);
          display: grid;
          margin: 1em auto;
          width: 10em;
          height: 10em;
          animation: t 180s linear infinite;
        }
        .countdown::after {
          grid-column: 1;
          grid-row: 1;
          place-self: center;
          font: 3em/2 "Red Hat Text", serif, ubuntu mono, consolas, monaco, monospace;
          counter-reset: s var(--s);
          content: "" counter(s, decimal-leading-zero);
        }

        @keyframes t {
          to {
            --t: 0 ;
          }
        }
        svg {
          grid-column: 1;
          grid-row: 1;
        }

        [r] {
          fill: none;
          stroke: silver;
        }
        [r] + [r] {
          --k: calc(var(--t)/180);
          transform: rotate(-90deg);
          stroke-linecap: round;
          stroke: color-mix(in hsl shorter hue, #69ff47 calc(var(--k)*100%), #7ec56e);
          stroke-dasharray: var(--k) 1;
        }


:root {
    --sidebar-width: 280px;
    --sidebar-width-collapsed: 80px;
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

.nav{
    overflow: hidden;
}

.nav img{
    height: 2em;
    fill: white;
}

nav .head div{
    text-align: left !important;
    padding-left: 10%;
}
nav .logo{
    width: 50% !important;
}

nav.collapsed .logo{
    width: 120% !important;
    margin: 53px 0px 0px 0px;
}

nav a span{
    margin: 3px 0px 0px 10px;
    display: inline-flex;
}

.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(135deg, #1a1c2e 0%, #16181f 100%);
    background: black;
    transition: all 0.3s ease;
}

.sidebar.collapsed {
    width: var(--sidebar-width-collapsed);
}

.sidebar.collapsed .toggle-btn img{
    margin: -3px 0px 0px -4px !important;
}

.sidebar-link {
    color: #a0a3bd;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 4px 16px;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.sidebar-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.logo-text {
    background: linear-gradient(45deg, #6b8cff, #8b9fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.3s ease;
}

.notification-badge {
    background: #ff6b6b;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.7rem;
}

.profile-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.main-content {
    display: flex;
    padding-left: var(--sidebar-width);
    min-height: 100vh;
    transition: all 0.3s ease;
}

.collapsed~.main-content {
    padding-left: var(--sidebar-width-collapsed);
}

.toggle-btn {
    position: absolute;
    right: -15px;
    top: 20px;
    background: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 100;
    cursor: pointer;
    transition: transform 0.3s ease;
    color: black;
    font-size: 1em;
}

.toggle-btn img {
    margin: -2px 0px 0px -4px !important;
    transform: rotate(180deg);
}

.collapsed .toggle-btn {
    transform: rotate(180deg);
}

.collapsed .hide-on-collapse {
    opacity: 0;
    display: none;
}

.collapsed .logo-text {
    opacity: 0;
}

.collapsed .profile-info {
    opacity: 0;
}

.collapsed .sidebar-link {
    text-align: center;
    padding: 1rem !important;
    margin: 4px 8px;
}

.collapsed .sidebar-link i {
    margin: 0 !important;
}

.profile-info {
    transition: opacity 0.2s ease;
}

.profile-section img{
    height: 2.5em;
}

.email-truncated {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

/* this is needed to make the content scrollable on larger screens */
@media (min-width: 576px) {
    .h-sm-100 {
        height: 100%;
    }

    .poster{
        max-width: 35vw;
    }

    .container: ;{
        max-width: 45vw;
    }
}

@media (min-width: 700px) {
    .poster{
        min-width: 256px;
        max-width: 45vw;
    }
}