@import url(/assets/css/base.css);

::-webkit-scrollbar {
    width: 5px !important;
    height: 5px !important;
}
::-webkit-scrollbar-track {
    background: #2527444d !important;
}
::-webkit-scrollbar-thumb {
    background-color: #39347a52 !important;
    border: 0px !important;
    border-radius: 0px !important;
}

.clr-dark {
    background-color: #14161a !important;
}

.clr-dark input.clr-color {
    background-color: #0d0d0d !important;
}

:root {
    --navbar-size: 70px;
    --avatar-size: 200px;
    --banner-height: 180px;
    --banner-main-height: 350px;
    --current-avatar-glow: #00000080;
}

/* -=-=-=- 🔨✂️ General -=-=-=- */

.pagination-link {
    min-width: 32px;
    min-height: 32px;
    max-width: 32px;
    max-height: 32px;
}

.hover-wrapper .hover-wrapper-element {
    opacity: 0;
    transition: 0.4s;
}

.hover-wrapper:hover .hover-wrapper-element {
    opacity: 1;
}

.file-name {
    border-radius: 0px 20px 20px 0px;
}

.file-label {
    border-radius: 20px;
}

.is-disabled {
    filter: grayscale(70%) !important;
}

.is-locked {
    filter: grayscale(100%) !important;
}

.is-selected {
    border: 3px var(--back-input-focus) solid;
}

.select:not(.is-multiple):not(.is-loading)::after {
    inset-inline-end: 2em;
}

.is-scroll-x {
    overflow-y: visible;
    overflow-x: auto;
}

.force-fullheight {
    position: fixed;
    min-width: 50%;
    min-height: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    overflow: hidden;
}

.small-spacing + .small-spacing {
    margin-left: 5px;
}

.medium-spacing + .medium-spacing {
    margin-left: 10px;
}

.big-spacing + .big-spacing {
    margin-left: 20px;
}

@media screen and (min-width: 1024px) {
    .big-spacing-tablet + .big-spacing-tablet {
        margin-left: 20px;
    }
}

.sticky-content .dropdown-trigger {
    position: fixed;
    bottom: 20px;
    right: 10px;
    width: 32px;
    height: 32px;
    z-index: 99;
    opacity: 20%;
}

.sticky-content .dropdown-trigger:hover {
    opacity: 100%;
}

.sticky-content {
    position: fixed;
    bottom: 48px;
    right: -32px;
    width: 280px;
    height: auto;
    z-index: 1000;
}

.dropdown-item blockquote {
    margin-bottom: 0.5em !important;
    padding: 0.5em 0.5em;
}

.cell {
    overflow: hidden;
}

.cell iframe {
    overflow: hidden;
}

.list {
    columns: 400px;
    padding-left: 4em;
    padding-right: 4em;
}

.list .section {
    padding: 0.1em;
    padding-top: 3em;
}

/* -=-=-=- 📃📊 Generic/Layouts -=-=-=-  */

.column {
    padding: 0.5rem !important;
}

.column-menu {
    align-items: center;
    justify-items: center;
}

.columns {
    padding: 0px;
    margin: 0px;
}

@media (max-width: 768px) {
    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }
    thead {
        display: none;
    }
    td {
        padding-left: 50%;
        position: relative;
    }
    td::before {
        position: absolute;
        left: 0.5rem;
        top: 0;
        white-space: nowrap;
        font-weight: bold;
        content: attr(data-label);
    }
}

@media only screen and (max-width: 1024px) {
    .columns {
        display: block !important;
    }

    .column-menu {
        min-width: 100% !important;
        max-width: 100% !important;
    }
}

@media only screen and (min-width: 1024px) {
    .columns {
        display: flex !important;
    }

    .column-menu {
        max-width: 300px !important;
        min-width: 200px !important;
    }
}

/* -=-=-=- 🎵🔔 Notifications -=-=-=- */

.notification {
    margin: 0px !important;
}

/* -=-=-=- 🦡⭐ Badges -=-=-=- */

.badges {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    opacity: 0;
    animation: slide_in_top_fade 1s 0.5s forwards alternate;
}

.badges-to-choose {
    display: flex;
    width: 100%;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
}

.badges.box {
    position: relative;
    padding-top: 5px;
    padding-bottom: 0px;
    padding-left: 5px;
    padding-right: 5px;
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.7);
}

/* -=-=-=- 🍷🍸 Navbar -=-=-=-=- */

.navbar.main-screen {
    background: linear-gradient(rgb(20 22 26), rgb(255 255 255 / 0%));
}

.navbar-item {
    gap: 0.1em !important;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-items: center;
    transition: all 0.8s !important;
}

.navbar-item:hover {
    transition: all 0.8s !important;
    background-color: transparent;
    box-shadow:
        rgba(19, 19, 19, 0.274) 0px 30px 60px -12px inset,
        rgba(0, 0, 0, 0.37) 0px 18px 36px -10px inset,
        rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset,
        rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset,
        rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset,
        rgba(0, 0, 0, 0.06) 0px 2px 1px,
        rgba(0, 0, 0, 0.09) 0px 4px 2px,
        rgba(0, 0, 0, 0.09) 0px 8px 4px,
        rgba(0, 0, 0, 0.15) 0px 16px 8px,
        rgba(0, 0, 0, 0.09) 0px 32px 16px;
    z-index: 99;
}

.navbar-item:focus {
    background-color: transparent;
}

/* -=-=-=- 👤🖼️ Profile and Home -=-=-=- */

@media screen and (min-width: 1024px) {
    .starchild-panel {
        display: flex !important;
        margin-top: -55px !important;
    }
}

.color-bubble {
    display: block;
    background-color: white;
    border-radius: 50%;
    margin: 5px;
    min-width: 32px;
    min-height: 32px;
    border: 2px solid #2e2e2e;
}

.starchild-panel {
    justify-content: center;
    justify-items: center;
    display: flex;
}

.user-avatar {
    display: flex;
    height: var(--avatar-size);
    width: var(--avatar-size);
    background-image: url('/public/assets/images/no-avatar.jpg');
    background-position: center;
    background-repeat: no-repeat;
    object-fit: cover;
    margin-top: -7rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 30px 5px var(--current-avatar-glow);
    /* box-shadow: 0px 0px 50px 10px rgba(0, 0, 0, 0.5); */
    opacity: 0;
    animation: slide_in_left_fade 1s forwards alternate cubic-bezier(0.19, 1, 0.22, 1);
}

.video-avatar {
    margin-top: calc(var(--avatar-size) * -1) !important;
}

.user-edit {
    display: flex;
    width: 40px;
    height: 40px;
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.7);
    margin-top: -40px;
    margin-left: 150px;
    position: relative;
    z-index: 2;
    border-radius: 50%;
    overflow: visible;
    opacity: 0;
    animation: slide_in_top_fade 0.5s 0.25s forwards alternate;
}

.banner {
    background-image: url('/assets/images/banner.webp');
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    height: var(--banner-height);
    align-content: center;
}

.title.is-main-title {
    display: block;
    font-size: larger;
    padding-top: 10px !important;
    margin-bottom: 5px;
}

small.is-light {
    font-weight: lighter !important;
    font-style: italic !important;
    display: flex;
}

.banner.main-screen {
    margin-top: calc(var(--navbar-size) * -1);
    height: var(--banner-main-height);
    padding-top: calc(var(--navbar-size)) !important;
}

.banner-image {
    position: relative;
    width: 146px;
    height: 256px;
}

.banner video {
    position: relative;
    width: 460px;
    height: 260px;
    right: 30px;
    box-shadow: rgb(70, 90, 116) 0px 0px 55px 30px;
}

/* -=-=-=- 🧩 Projects -=-=-=- */

.projects {
    display: block;
    overflow: hidden;
    max-width: 400px;
    max-height: 512px;
    padding: 0px;
}

.projects img {
    overflow: hidden !important;
    max-width: 400px;
    max-height: 512px;
    flex-grow: 8 !important;
    position: relative;
    object-fit: cover;
}

.wip-block {
    display: block;
    width: 100%;
    height: 100%;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
}

.project-box {
    height: 350px;
    max-height: 350px;
    max-width: 350px;
    align-content: end;
    justify-content: end;
    align-items: center;
    justify-items: center;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    /* border-radius: 50px; */
}

.description-box {
    background: linear-gradient(to top, rgb(12, 12, 12), rgba(12, 12, 12, 0.781), transparent);
    align-items: center;
    justify-items: center;
    align-content: center;
    justify-content: center;
    width: 100% !important;
    padding: 10px;
    padding-top: 80px;
    overflow: hidden;
}

/* -=-=-=- 📰🗞️ News -=-=-=- */

.news {
    display: block;
    max-height: fit-content;
    max-width: fit-content;
    overflow: hidden;
}

.news img {
    overflow: hidden !important;
    max-height: fit-content;
    max-width: fit-content;
    width: 100%;
    flex-grow: 8 !important;
    position: relative;
}

/* -=-=-=- 🔑🔐 Auth Block -=-=-=-  */

.btn-flip {
    opacity: 1;
    outline: 0;
    color: #070707;
    line-height: 40px;
    position: relative;
    text-align: center;
    letter-spacing: 1px;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
}
.btn-flip:hover:after {
    opacity: 1;
    transform: translateY(0) rotateX(0);
    border-radius: 5px;
}
.btn-flip:hover:before {
    opacity: 0;
    transform: translateY(50%) rotateX(90deg);
}
.btn-flip:after {
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    color: #d1d1d1;
    display: block;
    transition: 0.5s;
    position: absolute;
    background: #724dfa54;
    content: attr(data-back);
    transform: translateY(-50%) rotateX(90deg);
}
.btn-flip:before {
    top: 0;
    left: 0;
    opacity: 1;
    color: #dfdfdf;
    display: block;
    padding: 0 30px;
    line-height: 40px;
    transition: 0.5s;
    position: relative;
    background: #4746a9;
    content: attr(data-front);
    transform: translateY(0) rotateX(0);
    font-weight: bold;
    border-radius: 10px;
}

.register-button {
    display: flex !important;
    height: 25px;
    display: initial;
    background-color: rgb(59, 57, 189);
    font-size: small;
    transition: all 0.5s;
    width: 60%;
}

.register-button:hover {
    background-color: rgb(143, 141, 255);
    color: rgb(3, 3, 3);
}

/* -=-=-=- 🏢👨‍💼 Office Block -=-=-=-  */

.office-item {
    animation: small-scale 1s alternate infinite;
}

/* -=-=-=- 🎒📦 Inventory Block -=-=-=-  */

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 64px);
    gap: 0.2rem;
    justify-content: center;
    align-content: center;
    align-items: center;
    justify-items: center;
}

.inventory-cell {
    border: 2px solid var(--back-inventory-cell-outline);
    border-radius: 20%;
    overflow: hidden;
    background-color: var(--bulma-scheme-main);

    img {
        width: 60px !important; /* coz 2px border */
        height: 60px !important; /* coz 2px border */
    }
}

.inventory-text {
    color: var(--back-status-text);
    position: absolute;
    transform: translateY(-20px);
    font-size: small;
    pointer-events: none;
}

.inventory-text.box {
    padding: 0px 3px;
    overflow: hidden;
    max-width: 55px;
    border-start-start-radius: 0px;
    border-end-end-radius: 0px;
    box-shadow: 1px 1px 1px 1px var(--back-inventory-cell-outline) !important;
}

/* -=-=-=- ⭐🌠 Supernova from Inventory -=-=-=-  */

.circular-progress {
    --size: 250px;
    --half-size: calc(var(--size) / 2);
    --stroke-width: 20px;
    --radius: calc((var(--size) - var(--stroke-width)) / 2);
    --circumference: calc(var(--radius) * pi * 2);
    --dash: calc((var(--progress) * var(--circumference)) / 100);
    animation: progress-animation 1.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0s 1 forwards;
    --actual-progress: 0;
}

.circular-progress circle {
    cx: var(--half-size);
    cy: var(--half-size);
    r: var(--radius);
    stroke-width: var(--stroke-width);
    fill: none;
    stroke-linecap: round;
}

.circular-progress circle.back {
    stroke: #ddd;
}

.circular-progress circle.fore {
    transform: rotate(-90deg);
    transform-origin: var(--half-size) var(--half-size);
    stroke-dasharray: var(--dash) calc(var(--circumference) - var(--dash));
    transition: stroke-dasharray 0.3s linear 0s;
    stroke: rgb(101, 99, 255);
}

@property --progress {
    syntax: '<number>';
    inherits: false;
    initial-value: 0;
}

@keyframes progress-animation {
    from {
        --progress: 0;
    }
    to {
        --progress: var(--actual-progress);
    }
}
