/* By Sofiya */

/* dark-theme.css */
/* @import url(' '); */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css');
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
@import url('https://fonts.googleapis.com/css?family=Philosopher:400,700&display=swap&subset=cyrillic-ext');
@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');
/* font-family: "Fira Sans", sans-serif;  default */
/* font-family: 'Philosopher', sans-serif; */
/* font-family: 'Recursive', serif; */
@font-heading: "Jost", sans-serif;
@font-serif: "IBM Plex Serif", serif;
@font-sans: "Inter", sans-serif;
@font-monospace: "IBM Plex Mono", monospace;

:root {
 /* --catppuccin-latte-rosewater: #dc8a78;
  --catppuccin-latte-flamingo: #dd7878;
  --catppuccin-latte-pink: #ea76cb;
  --catppuccin-latte-mauve: #8839ef;
  --catppuccin-latte-red: #d20f39;
  --catppuccin-latte-maroon: #e64553;
  --catppuccin-latte-peach: #fe640b;
  --catppuccin-latte-yellow: #df8e1d;
  --catppuccin-latte-green: #40a02b;
  --catppuccin-latte-teal: #179299;
  --catppuccin-latte-sky: #04a5e5;
  --catppuccin-latte-sapphire: #209fb5;
  --catppuccin-latte-blue: #1e66f5;
  --catppuccin-latte-lavender: #7287fd;
  --catppuccin-latte-text: #4c4f69;
  --catppuccin-latte-subtext1: #cad3f5;
  --catppuccin-latte-subtext0: #6c6f85;
  --catppuccin-latte-overlay2: #7c7f93;
  --catppuccin-latte-overlay1: #8c8fa1;
  --catppuccin-latte-overlay0: #9ca0b0;
  --catppuccin-latte-surface2: #acb0be;
  --catppuccin-latte-surface1: #bcc0cc;
  --catppuccin-latte-surface0: #ccd0da;
  --catppuccin-latte-base: #eff1f5;
  --catppuccin-latte-mantle: #e6e9ef;
  --catppuccin-latte-crust: #dce0e8; */

  --catppuccin-macchiato-rosewater: #f4dbd6;
  --catppuccin-macchiato-flamingo: #f0c6c6;
  --catppuccin-macchiato-pink: #f5bde6;
  --catppuccin-macchiato-mauve: #c6a0f6;
  --catppuccin-macchiato-red: #ed8796;
  --catppuccin-macchiato-maroon: #ee99a0;
  --catppuccin-macchiato-peach: #f5a97f;
  --catppuccin-macchiato-yellow: #eed49f;
  --catppuccin-macchiato-green: #a6da95;
  --catppuccin-macchiato-teal: #8bd5ca;
  --catppuccin-macchiato-sky: #91d7e3;
  --catppuccin-macchiato-sapphire: #7dc4e4;
  --catppuccin-macchiato-blue: #8aadf4;
  --catppuccin-macchiato-lavender: #b7bdf8;
  --catppuccin-macchiato-text: #cad3f5;
  --catppuccin-macchiato-subtext1: #6e738d;
  --catppuccin-macchiato-subtext0: #a5adcb;
  --catppuccin-macchiato-overlay2: #939ab7;
  --catppuccin-macchiato-overlay1: #8087a2;
  --catppuccin-macchiato-overlay0: #6e738d;
  --catppuccin-macchiato-surface2: #5b6078;
  --catppuccin-macchiato-surface1: #494d64;
  --catppuccin-macchiato-surface0: #363a4f;
  --catppuccin-macchiato-base: #24273a;
  --catppuccin-macchiato-mantle: #1e2030;
  --catppuccin-macchiato-crust: #181926;
  
  --theme: var(--catppuccin-macchiato-base);  
  --base-color: #4c4f69;
  --code-background-color: #cdd6f3;
  --border-color: #cdd6f3;
  --overlay-color: #cdd6f3;
  --sidebar-background-color: #181825;
  --background-color: #1e2030;
  --text-color: #cdd6f4;
  --accent-color: #c09bef;

}

.list {
  background: var(--theme);
}

.dark {
  --theme: var(--catppuccin-macchiato-base);
}

.dark.list {
  background: var(--theme);
}

@media (prefers-color-scheme: dark) {
    :root {
  --catppuccin-macchiato-rosewater: #f4dbd6;
  --catppuccin-macchiato-flamingo: #f0c6c6;
  --catppuccin-macchiato-pink: #f5bde6;
  --catppuccin-macchiato-mauve: #c6a0f6;
  --catppuccin-macchiato-red: #ed8796;
  --catppuccin-macchiato-maroon: #ee99a0;
  --catppuccin-macchiato-peach: #f5a97f;
  --catppuccin-macchiato-yellow: #eed49f;
  --catppuccin-macchiato-green: #a6da95;
  --catppuccin-macchiato-teal: #8bd5ca;
  --catppuccin-macchiato-sky: #91d7e3;
  --catppuccin-macchiato-sapphire: #7dc4e4;
  --catppuccin-macchiato-blue: #8aadf4;
  --catppuccin-macchiato-lavender: #b7bdf8;
  --catppuccin-macchiato-text: #cad3f5;
  --catppuccin-macchiato-subtext1: #6e738d;
  --catppuccin-macchiato-subtext0: #a5adcb;
  --catppuccin-macchiato-overlay2: #939ab7;
  --catppuccin-macchiato-overlay1: #8087a2;
  --catppuccin-macchiato-overlay0: #6e738d;
  --catppuccin-macchiato-surface2: #5b6078;
  --catppuccin-macchiato-surface1: #494d64;
  --catppuccin-macchiato-surface0: #363a4f;
  --catppuccin-macchiato-base: #24273a;
  --catppuccin-macchiato-mantle: #1e2030;
  --catppuccin-macchiato-crust: #181926;
       
  --base-color: #4c4f69;
  --code-background-color: #cdd6f3;
  --border-color: #cdd6f3;
  --overlay-color: #cdd6f3;
  --sidebar-background-color: #181825;
  --background-color: #1e2030;
  --text-color: #cdd6f4;
  --accent-color: #c09bef;
    }
  }

body {
    background: var(--background-color) !important;
    color: var(--text-color) !important;
}

a {
   /* color: #a6adc7 !important; */
    align-items: normal !important;
}

/* text-decoration: underline; */
a:hover, a:focus {
    color: #cba6f7 !important;  
}

.sidebar .menu {
    font-family: "Jost", sans-serif;
    font-size: 32px;
}

/* цвет текста в баре */
.sidebar li a {
    color: #cdd6f4;
}

.sidebar .contact-list {
    font-size: 24px;
}

/* цвет текста в баре соц-сети */
.sidebar .contact-list a {
    display: block;
    color: #cdd6f4;
    text-decoration: none;
}

.sidebar-toggle-wrapper {
    background-color: #1e2030 !important;
}

 /* часть сидебара с кнопками */
.wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #1e2030 !important;
    color: #cdd6f4;
}

/* линия бара */
* {
    scrollbar-color: #a3aac5 #2f3234 !important;
}

/* надписи */
/* p {
    background-color: #18182500 !important;
    display: block;
} */

.fa-solid {
    font-weight: 900;
}

/* кнопка переключения тем */
.btn-toggle {
    background: #18182505;
    color: #a6adc8;
    height: auto;
    display: block;
    padding: 1px 8px 1px 8px;
    border: 1px solid #a6adc8;
    border-radius: 50px;
    margin-right: 10px;
}
/* .btn-toggle:hover {
   color: #fff9b5;
   transition: 0.5s; 
} */

.btn {
    display: inline-block;
    padding: 2px 10px 2px 10px;
    border: 1px solid #a6adc8;
    border-radius: 8px;
    background-color: #18182505 !important;
    color: #a6adc7 !important;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

 .btn:hover {
    background-color: #26074b !important;
    transition: 0.5s;
}

.btn:focus {
    background-color: #021635 !important;
    transition: 0.7s;
}

/* .btn:active {
    background-color: #021635 !important;
    transition: 0.5s;
} */

.search-toggle .icon {
    fill: #a6adc8 !important;
}

.navicon {
    background: #a6adc8 !important;
}
.navicon::before, .navicon::after {
    background: #a6adc8 !important;
}

.site-title {
    display: flex;
    line-height: normal !important;
}

.sub-title {
    color: #8838ef !important;
    font-size: 12px;
    font-weight: normal;
  }

h1, h2, h3, h4, h5, h6 {
    font-family: "Jost", sans-serif !important;   
}

.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
    color: #bac2de !important;
}

html {
    font-family: "Inter", sans-serif !important;
}

kbd {
    display: inline-block !important;
    margin: 0 0.125em !important;
    padding: 0.125em 0.5em !important;
    border: 1px solid #6e768166 !important;
    border-radius: 6px !important;
    color: #a6adc7 !important;
    background-color: #181825 !important;
    text-shadow: 0 0px 0px #4c4f69 !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25), inset 0 -1px 0 #6e768166 !important;
}

code, pre {
    font-size: 1em;
    color: #bac2de !important;
    background-color: #181825cc !important;
}

.navicon-button {
  min-height: 35px !important;
  line-height: 0.90em !important;  
}

/* .icon--github {
    fill: var(--base-color) !important;
}

.icon--email {
    fill: var(--base-color) !important;
}

.icon--twitter {
    fill: var(--base-color) !important;
}

.icon--youtube {
    fill: var(--base-color) !important;
} */

th, td, tr {
    border: 1px solid #797b8f !important;
} 

div.highlighter-rouge,
figure.highlight {
  position: relative !important;
  margin-bottom: 1em !important;
  background: #181926 !important;
  color: #4c4f69 !important;
  font-family: Menlo, Consolas, Monaco, "Courier New", Courier, monospace !important;
  line-height: 1.8 !important;
 /* border-radius: 6px !important; */
 /* border: 1px solid #45475a !important; */ 

  > pre,
  pre.highlight {
    margin: 0 !important;
    padding: 1em;
  }
}
.highlight pre {
    width: 100% !important; 
}
pre {
    padding: 8px !important;
    word-break: break-all !important;
    word-wrap: break-word !important;
    /* color: #a6adc8 !important; */
    /* background-color: #181926; */
}

header {
    display: block;
    background-color: #1e2030;
}

/* @media screen and (min-width: 1280px) {
    .intro-title {
        font-size: 70px !important;
    }
} */

.intro-title {
    margin-bottom: 1rem;
    color: #a6adc8 !important;
    line-height: 1;
}

.entry:not(:last-child) {
    border-bottom: 1px solid #4c4f69 !important;
}

.taxonomy-section:not(:last-child) {
    border-bottom: solid 1px #4c4f69 !important;
}

.taxonomy-index a {
    border-bottom: 1px solid #797b8f !important;
}

.taxonomy-count {
    color: #797b8f !important;
}

.site-footer {
    margin-top: 4rem;
    color: #9495a5 !important;
    font-size: 80% !important;
}

.footer-main {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    left: 12.4%;
    margin-top: -76px;
    position: absolute;
}

/* setting background image in footer */
#footer {
   /* border-top: 1px solid #45475a; */
    padding: 100px 0px 15px;
    background-size: 100% 100% !important;
    background: url(/assets/footer/footer_transparent.png) no-repeat;
    background-color: #181825;
}

.back-to-top {
    display: block;
    color: #4c4f69 !important;
    font-size: 0.75em;
    text-transform: uppercase;
    text-align: right;
    text-decoration: none;
}

/* divider line */
&::after {
      position: absolute;
      bottom: 0;
      width: 1.5em;
      height: 1px;
      background-color: #1e1e2e !important;
      content: "";
}

@media screen and (min-width: 1280px) {
    .search-content .search-input {
        padding-left: 15px !important;
        width: 400px;
        height: 50px;
        margin: 0;
        color: #a6adc8;
        line-height: 50px;
        background-color: #181926 !important;
        border: 1px solid #797b8f !important;
        border-radius: 30px;
    }
}

::selection {
    background: #c6a0f6 !important;
    color: black !important;
    text-shadow: none;
}

/* всплывающая подсказка */
[title-tooltip] {
  position: relative;
  cursor: pointer;
  width: max-content;
}

[title-tooltip]:hover::after,
[title-tooltip]:hover::before {
  opacity: 1;
  visibility: visible;
}

[title-tooltip]::after,
[title-tooltip]::before {
  position: absolute;
  left: 50%;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: .5s;
  transform: translateX(-50%);
}

[title-tooltip]::after {
  bottom: -50px;
  content: attr(title-tooltip);
  padding: 8px;
  border-radius: 6px;
  background: #cba6f7;
  color: #1e1e2e;  
  text-align: center;
  width: max-content;
  font-size: 12px;
  font-weight: 400;  
}

[title-tooltip]::before {
  bottom: -20px;
  content: '';
  border: 6px solid transparent;
  border-bottom: 6px solid #cba6f7;
}

.basil--sun-solid {
  display: block;
  content: "";  
  width: 21px;
  height: 21px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23cec11a' d='M12 1.25a.75.75 0 0 1 .75.75v1a.75.75 0 0 1-1.5 0V2a.75.75 0 0 1 .75-.75m0 5a5.75 5.75 0 1 0 0 11.5a5.75 5.75 0 0 0 0-11.5M5.46 4.399a.75.75 0 0 0-1.061 1.06l.707.707a.75.75 0 1 0 1.06-1.06zM22.75 12a.75.75 0 0 1-.75.75h-1a.75.75 0 0 1 0-1.5h1a.75.75 0 0 1 .75.75m-3.149-6.54a.75.75 0 1 0-1.06-1.061l-.707.707a.75.75 0 1 0 1.06 1.06zM12 20.25a.75.75 0 0 1 .75.75v1a.75.75 0 0 1-1.5 0v-1a.75.75 0 0 1 .75-.75m6.894-2.416a.75.75 0 1 0-1.06 1.06l.707.707a.75.75 0 1 0 1.06-1.06zM3.75 12a.75.75 0 0 1-.75.75H2a.75.75 0 0 1 0-1.5h1a.75.75 0 0 1 .75.75m2.416 6.894a.75.75 0 0 0-1.06-1.06l-.707.707a.75.75 0 0 0 1.06 1.06z'/%3E%3C/svg%3E");
  /* background-image: url("/assets/icons/basil--sun-solid.svg"); */
}

input, textarea {
  margin: 0.2em !important;
  font-family: "Jost", sans-serif !important;
  display: block !important;
  background-color: #1e2030 !important;
  color: #a6adc8 !important;  
}

ul.podcast-links li:hover {
    color: #8839ef;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-name: rec;
}
@keyframes rec {
  from {
    color: #8839ef; }
  50% {
    color: transparent; }
  to {
    color: #8839ef; } }

.list-inline>li {
    display: inline-block;
    padding-right: 5px;
    padding-left: 5px;
    font-size: 1.4em;
    border-radius: 50%;
    background-color: #a6adc8;
    list-style: none;
    
   .icon--github, .icon--email, .icon--twitter, .icon--youtube, .icon--rss {
      fill: #181825;
   }
}

.list-inline>li:hover {
    background-color: #8839ef;
    transition: 0.3s;
}

/* blockquote {
  font-style: italic !important;
  border-left: 4px solid #c09bef !important;
  margin: 20px !important;
  padding: 10px !important;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1) !important;
  font-family: 'Georgia', serif !important;
} */

.page__comments-title {
    margin-top: 2rem;
    margin-bottom: 10px;
    padding-top: 2rem;
    font-size: .75em;
    border-top: 1px solid #3a3c4a;
    text-transform: uppercase;
}

/* .copy-code-button {
    display: grid;
    grid-auto-flow: column;
    align-items: center;
    grid-column-gap: 4px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px 8px;
    background-color: #18182505;
    color: #a6adc7;
    margin-left: auto;

   /* &::before {
        content: "Copy";
    }

    &::after {
        content: "📋";
        display: block;
    }

    // This class will be toggled via JavaScript
    &.copied {
        &::before { content: "Copied!"; }
        &::after { content: "✔️"; }
    }
} */

/* code_copy */
pre.highlight > button {
    background-color: #181825cc;
    color: #bac2de;   
    opacity: 0;
    position: absolute;
    right: 4px;
    top: 4px;
    transition: all 0.2s ease-out;
    padding: 2px 5px 2px 5px;
    border: 1px solid #a6adc8;
    border-radius: 6px;
}

pre.highlight:hover > button {
    opacity: 1;
}

pre.highlight > button:active,
pre.highlight > button:focus {
    opacity: 1;
}

.fa-check {
    color: #009200;
}
/* End code_copy */

blockquote, q {
    color: #797b8f !important;
}

blockquote {
  font-style: italic !important;
 /* border-left: 4px solid !important; */
 /* margin: 20px !important; */
  padding: 10px !important;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1) !important;
  font-family: 'Georgia', serif !important;
}

blockquote.prompt-tip::before {
    content: " tip";
    color: #0fa40fcf;
    font: normal 400 1em/1 "Font Awesome 6 Free";
    letter-spacing: .050em;
}
blockquote.prompt-tip {
    background-color: #7bf79026;
    border: 1px solid #0fa40f;
}
blockquote.prompt-tip {
    border-left: solid 0.25rem #0fa40fcf;
    border-radius: 6px;
}

blockquote.prompt-info::before {
    content: " info";
    color: #0075d1;
    font: normal 900 1em/1 "Font Awesome 6 Free";
    transform: rotate(180deg);
    letter-spacing: .050em;
}
blockquote.prompt-info {
    background-color: #073b6842;
    border: 1px solid #0c8bbd;
}
blockquote.prompt-info {
    border-left: solid 0.25rem #0075d1;
    border-radius: 6px;
}

blockquote.prompt-warning::before {
    content: " warning";
    color: #ffa500cc;
    font: normal 900 1em/1 "Font Awesome 6 Free";
    letter-spacing: .050em;
}
blockquote.prompt-warning {
    background-color: #765b0345;
    border: 1px solid #c3bd2b;  
}
blockquote.prompt-warning {
    border-left: solid 0.25rem #ffa500cc;
    border-radius: 6px;
}

blockquote.prompt-danger::before {
    content: " danger";
    color: #cd0202;
    font: normal 900 1em/1 "Font Awesome 6 Free";
    letter-spacing: .050em;
}
blockquote.prompt-danger {
    background-color: #c9152530;
    border: 1px solid #eb1212;  
}
blockquote.prompt-danger {
    border-left: solid 0.25rem #cd0202;
    border-radius: 6px;
}

blockquote.prompt-important::before {
    content: " important";
    color: #aa55ff;
    font: normal 900 1em/1 "Font Awesome 6 Free";
    letter-spacing: .050em;
}
blockquote.prompt-important {
    background-color: #4d2e6c42;
    border: 1px solid #a74fff;
}
blockquote.prompt-important {
    border-left: solid 0.25rem #aa55ff;
    border-radius: 6px;
}
