﻿@import url('https://cdn.jsdelivr.net/npm/mycolorscheme@0.0.4/mytheme.min.css');

.center {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.author {
    text-decoration: none;
    color: var(--slate-600);
}

.author :hover{
    color: var(--slate-700)
}

/*footer {
    font-size: small;
}*/

.sidebar {
    width: 100%;
    height: 100%;
    display: flex;
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    background-color: transparent;
    color: #ffffff;
    transition: visibility 0.3s, opacity 0.3s, backdrop-filter 0.3s;
    backdrop-filter: blur(4px);
    user-select: none;
    pointer-events: none;
    -mox-user-select: none;
}

main {
    width: 100%;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

p {
    text-align: left;
}



.width-100 {
    min-width: 100%;
    max-width: 100%;
}

.block-dom {
    width: calc(100% - 350px);
    width: 100%;
    height: 100%;
    opacity: 50%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--slate-500);
}

.sidebar-content {
    width: 350px;
    width: 100%;
    opacity: 0;
    position: absolute;
    padding: 5px 20px;
    top: 0;
    bottom: 0;
    right: -350px;
    left: auto;
    background-color: transparent;
    background-color: #030712ed;
    color: #ffffff;
    outline: 4px solid #334155;
    border-radius: 4px 0 0 4px;
    overflow-y: scroll;
    transition: right 0.3s ease-in-out, opacity 0.3s ease-in-out;
    scroll-behavior: smooth;
    &::-webkit-scrollbar

{
    width: 10px;
}

&::-webkit-scrollbar-track {
    border-radius: 8px;
    box-shadow: inset 0 0 5px var(--slate-600);
}

&::-webkit-scrollbar-thumb {
    background-color: var(--slate-400);
}

    &::-webkit-scrollbar-thumb:hover {
        background-color: var(--slate-300);
    }

}

.sidebar.show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    user-select: auto;
    -mox-user-select: auto;
}

.reality {
    position: relative;
}

.sidebar.show .sidebar-content {
    opacity: 1;
    right: 0;
}

.close-sidebar {
    width: 5%;
    z-index: 102;
    display: flex;
    justify-content: center;
    align-items: center!important;
    top: 0;
    right: 0;
    color: var(--red-950);
    margin:auto;
    z-index:1001;
}
