.code-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 3rem;
    max-height: 300px;
    position: relative;
}

.code-actions {
    display: flex;
    gap: 0.5rem;
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    z-index: 10;
}

.code-block {
    background-color: #282C34;
    border-radius: 0.5rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: stretch;
    max-height: none;
    overflow-x: auto;
    padding: 2em 1em 1em 1em;
    transition: all 0.3s ease;
}

.code-block code {
    display: block;
    flex-grow: 1;
    height: 100%;
    width: 100%;
}

.code-overlay {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    height: 100vh;
    justify-content: center;
    left: 0;
    padding: 2rem;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 9999;
}

.code-overlay-content {
    background-color: #282C34;
    border-radius: 0.5rem;
    color: #ffffff;
    max-height: 90vh;
    max-width: 90vw;
    width: 90vw;
    overflow: auto;
    padding: 2rem;
    position: relative;
}

.code-overlay-content .btn-close-overlay,
.code-overlay-content .btn-copy-code {
    position: absolute;
    top: 1rem;
    z-index: 10000;
}

.btn-close-overlay {
    right: 1rem;
}

.btn-copy-code {
    right: 5rem;
}

.btn-copy-inline i.copied,
.btn-copy-code i.copied {
    animation: pulse 0.4s ease;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 576px) {
    .code-actions {
        align-items: flex-end;
        flex-direction: column;
    }
}

.config-files {
    background: var(--dark-1);
    color: var(--gray-2);
    padding: 10px 20px 10px 30px;
}
body {
    background: rgba(var(--gray-2-rgb), 0.4);
}
/* aside sidebar conflict */
header {
    background-color: initial;
    color: initial;
    display: initial;
    height: initial;
    padding: initial;
    position: initial;
}
/* aside section*/
aside {
  height: initial; 
  left: 0;
  position: initial;
  top: 0px;
  width: 320px;
}
aside .app-title {
  font-size: 22px;
}
.index {
    background: white;
    border-radius: 24px;
    padding: 20px;
    position: fixed;
    top: 100px;
}
.index.sticky {
    border-radius: 24px;
    background: white;
    top: 30px;
    padding: 30px 20px;
}
.index-items {
    list-style: none;
    max-height: 700px;
    overflow-y: auto;
    padding: 0;
}
.index-item {
    margin: 0;
}
.index-sub-items {
    list-style: none;
    padding: 0;
}
/* main content section */
main {
  background-color: transparent;
  flex: 1;
  margin-left: 0px !important;
  margin-top: 0px;
  min-height: 0px !important;
  min-width: initial !important;
  padding: 0px !important;
}
main .container {
  min-width: initial !important;
}
.divider {
  border-top-color: var(--gray-2) !important;
}
/* footer section */
footer {
  bottom: 0;
  padding-bottom: 16px;
  position: initial !important;
  width: 100%;
}
