@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

 

* {
    margin: 0;
    padding: 0;
    font-family: "IBM Plex Sans", sans-serif;
}

html, body {
    background-color: rgb(45,45,45);/*rgb(211,209,203);*/
    color: black;
    width: 100vw;
    height: 100vh;
    font-family: "IBM Plex Sans", sans-serif;
}
.logo{
    margin: 10px 0;
    padding: 0;
    color: white;
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    opacity: 0.8;
    font-weight: 500;
}
.floating-circle, .lucid {
  position: fixed;
  width: 50vh;
  height: 50vh;
  bottom: 20vh;
  right: -20vw;
  background: black;
  border-radius: 50% 47% 53% 50% / 50% 45% 55% 50%;
  z-index: 0;
  opacity: 0.07;
  pointer-events: none;
  animation: morph 4s ease-in-out infinite, drift 30s ease-in-out infinite;
  filter: blur(6px);
}

.lucid{
    background: white;
    background-color: white;
    width: 15px;
    height: 15px;
    opacity: 0.8;
    position: relative;
    bottom: inherit;
    right: inherit;
    filter: blur(0px);
    margin-right: 5px;
    padding: 0;
    z-index: 10;
    animation: morph 4s ease-in-out infinite;
}

@keyframes morph {
  0% {
    border-radius: 50% 47% 53% 50% / 50% 45% 55% 50%;
    transform: scale(1);
  }
  25% {
    border-radius: 60% 40% 65% 35% / 60% 40% 60% 40%;
    transform: scale(1.04);
  }
  50% {
    border-radius: 45% 55% 40% 60% / 42% 58% 45% 55%;
    transform: scale(0.96);
  }
  75% {
    border-radius: 58% 42% 55% 45% / 50% 60% 40% 50%;
    transform: scale(1.05);
  }
  100% {
    border-radius: 50% 47% 53% 50% / 50% 45% 55% 50%;
    transform: scale(1);
  }
}
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(-1vw, 0.5vh) scale(1.02); }
  50%  { transform: translate(-1.5vw, -1vh) scale(0.98); }
  75%  { transform: translate(-0.5vw, 1vh) scale(1.01); }
  100% { transform: translate(0, 0) scale(1); }
}

/* main content + menus/bar */
.app-container {
    width: 100%;
    background-color: transparent;
    z-index: 1;
}

/* main content only */
.content-area {
    padding: 15px 15px 100px 15px;
    z-index: 1;
    box-sizing: border-box;
}
/* a certain menu page content or dynamic */
.page-content {
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}


/* Navigation menus */
.sidebar-menu,
.bottom-menu {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color:  white;
    z-index: 1000;
    background-color: #1C1C1C;
}

/* Sidebar menu (desktop) */
.sidebar-menu {
    width: 60px;
    flex-direction: column;
    justify-content: flex-start;
    height: 100vh;
    padding: 40px 0 20px 0;
    box-sizing: border-box;
    display: none; /* Hidden by default, shown on desktop */
    position: fixed;
    left: 0;
    top: 0;
    margin: 0;
}

.sidebar-menu .menu-icon {
    margin: 15px 0;
}

/* Bottom menu (mobile) */
.bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    flex-direction: row;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    padding: 0 10px;
}

.bottom-menu .menu-icon {
    text-align: center;
}

/* Menu icons */
.menu-icon {
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 4px;
    padding: 10px;
}

.menu-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.menu-icon.active img {
    opacity: 1;
}

.menu-icon:hover img {
    opacity: 0.7;
}

.menu-icon.active {
    background-color: rgb(50,50,50);
}

.loader {
    width: 100%;
    height: auto;
    display: block;
}

.loader div {
    width: 98%;
    height: 200px;
    margin: 10px 0;
    border-radius: 4px;
    box-sizing: border-box;
    background: #E7E5DD;
    animation: fade 1.2s infinite ease-in-out;
}

.loader div:nth-child(2) { animation-delay: 0.2s; height:150px }
.loader div:nth-child(3) { animation-delay: 0.4s; height:75px  }

@keyframes fade {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}
 



/* Media query for desktop */
@media screen and (min-width: 768px) {
    .sidebar-menu {
        display: flex;  
    }
    .sidebar-menu .menu-icon:last-child {
        margin-top: auto;
        margin-bottom: 40px;
    }    
    .bottom-menu {
        display: none; 
    }
    
    .page-content {
        padding-bottom: 20px;  
        width: calc(100% - 60px);
    }
    .menu-icon img {
        width: 20px;
        height: 20px;
    }
    .content-area {
        height: 100%;
        width: calc(100vw - 60px);
        margin-left: 60px;        
        padding:  20px 20px 100px 20px ;
    } 
    .loader{
        margin-left: 100px;
    }
    .loader div {
        width: 40%;
    }
    .loader div:nth-child(2) { animation-delay: 0.2s; width:20% }
    .loader div:nth-child(3) { animation-delay: 0.4s; width:30%  }   

    .floating-circle{
        width: 50vw;
        height: 50vw;    
        bottom: 20vh;
        right: 20vw;          
    }      
}



/* When PWA is installed(must have standalone on manifest) */
@media all and (display-mode: standalone) {
  .bottom-menu {
    height: 100px !important;
  }

}

