/*!
* LICENSE - style only: CC BY-NC-SA
* @link https://creativecommons.org/licenses/by-nc-sa/3.0/
* Graphics copyright of Ryan Mulligan
* 
* Title: CSS CLI
* Author: Ryan Mulligan
* Website: https://hexagoncircle.com
* Twitter: @hexagoncircle
*
* View on Style Stage:
* @link https://stylestage.dev/styles/css-cli/
*/


@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600&display=swap');


:root {
  --border-radius: 0.25rem;

  --color-accent: hsl(0, 0%, 35%);
  --color-anchor: hsl(333, 84%, 60%);
  --color-anchor-focus: hsl(0, 0%, 100%);
  --color-background: hsl(241, 78%, 49%);
  --color-background-alt: hsl(71, 85%, 40%);
  --color-highlight: hsl(64, 92%, 52%);
  --color-os: hsl(195, 24%, 6%);
  --color-os-header: hsl(0, 0%, 0%);
  --color-os-close: hsl(4, 62%, 64%);
  --color-os-minimize: hsl(47, 66%, 59%);
  --color-os-fullscreen: hsl(98, 63%, 51%);
  --color-text: hsl(0, 0%, 80%);
  --color-warning: hsl(0, 75%, 62%);

  --font-main: Courier, "IBM Plex Mono", monospace;
  --font-system: "Helvetica Neue", sans-serif;
  --font-size: 1rem;
  --font-weight-normal: 400;
  --font-weight-bold: 600;
  --height-header: 50px;
  --space-xxs: 0.125rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-base: 1rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 2.5rem;
  --space-body: 5vmin;  
}

@media (min-width: 500px) {
  :root {
    --font-size: 1.25rem;
  }
}

html {
  overflow: hidden;
  height: 100%;
  background: linear-gradient(-35deg, var(--color-background), var(--color-background-alt));
  padding: var(--space-body);
}

body {
  position: relative;
  font-family: var(--font-main);
  font-size: var(--font-size);
  font-weight: var(--font-weight-normal);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-os);
  margin: 0 auto;
  padding: var(--space-body) var(--space-body) 0;
  max-width: var(--max-width-body);
  height: 100%;
  border-top: var(--height-header) solid var(--color-os-header);
  border-radius: var(--border-radius);
  overflow: scroll;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1), 
              0 2px 4px rgba(0,0,0,0.1), 
              0 4px 8px rgba(0,0,0,0.1), 
              0 8px 16px rgba(0,0,0,0.1),
              0 16px 32px rgba(0,0,0,0.1), 
              0 32px 64px rgba(0,0,0,0.1);
          box-shadow: 0 1px 2px rgba(0,0,0,0.1), 
              0 2px 4px rgba(0,0,0,0.1), 
              0 4px 8px rgba(0,0,0,0.1), 
              0 8px 16px rgba(0,0,0,0.1),
              0 16px 32px rgba(0,0,0,0.1), 
              0 32px 64px rgba(0,0,0,0.1);
}

/* Animation Start*/

.line-1{
  position: relative;
  top: 50%;  
  width: 24em;
  margin: 0 auto;
  border-right: 2px solid rgba(255,255,255,.75);
  font-size: 180%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  transform: translateY(-50%);    
}

.anim-typewriter{
animation: typewriter 4s steps(44) 1s 1 normal both,
           blinkTextCursor 500ms steps(44) infinite normal;
}
@keyframes typewriter{
from{width: 0;}
to{width: 24em;}
}
@keyframes blinkTextCursor{
from{border-right-color: rgba(255,255,255,.75);}
to{border-right-color: transparent;}
}

/* Animation End*/


/* Scroll Bar Start */
::-webkit-scrollbar {
    width: 5px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px transparent; 
    border-radius: 10px;
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: blue; 
    border-radius: 10px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #b30000; 
  }

  /* Scroll Bar End */

/* Section layout */
body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

body > * {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 100%;
          flex: 1 0 100%;
}

aside {
  margin-top: var(--space-xl);
}

@media (min-width: 800px) {
  body > aside {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 50%;
            flex: 1 0 50%;
  }
}

/* Elements */
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

h1,
h2,
h3,
h4,
p {
  font-size: unset;
  font-weight: unset;
  margin: unset;
}

ul {
  list-style-type: none;
  padding-left: unset;
}

ol li + li {
  margin-top: var(--space-sm);
}

svg {
  fill: currentcolor;
  width: 1em;
}

/* Remove animations for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
            animation-iteration-count: 1 !important;
    -webkit-transition-duration: 0.01ms !important;
            transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Blockquotes and files containerr */
#files .containerr,
blockquote {
  overflow: hidden;
  text-overflow: clip;
  border: 2px dashed var(--color-accent);
  max-width: 50ch;
  margin: var(--space-xl) auto;
  padding: var(--space-xl) var(--space-md);
  text-align: center;
}

blockquote strong {
  display: block;
  margin-bottom: var(--space-sm);
}

#files .containerr h3::before,
#files .containerr h3::after,
blockquote strong::before,
blockquote strong::after {
  content: "* * * * * * * *";
  display: block;
  color: var(--color-highlight);
  white-space: nowrap;
  font-weight: var(--font-weight-normal);
  -webkit-animation: marquee 2s linear infinite;
          animation: marquee 2s linear infinite;
}

@-webkit-keyframes marquee {
  0%   { content: "* * * * * * * * *" }
  10%  { content: "# * * * * * * * *" }
  20%  { content: "* # * * * * * * *" }
  30%  { content: "* * # * * * * * *" }
  40%  { content: "* * * # * * * * *" }
  50%  { content: "* * * * # * * * *" }
  60%  { content: "* * * * * # * * *" }
  70%  { content: "* * * * * * # * *" }
  80%  { content: "* * * * * * * # *" }
  90%  { content: "* * * * * * * * #" }
  100% { content: "* * * * * * * * *" }
}

@keyframes marquee {
  0%   { content: "* * * * * * * * *" }
  10%  { content: "# * * * * * * * *" }
  20%  { content: "* # * * * * * * *" }
  30%  { content: "* * # * * * * * *" }
  40%  { content: "* * * # * * * * *" }
  50%  { content: "* * * * # * * * *" }
  60%  { content: "* * * * * # * * *" }
  70%  { content: "* * * * * * # * *" }
  80%  { content: "* * * * * * * # *" }
  90%  { content: "* * * * * * * * #" }
  100% { content: "* * * * * * * * *" }
}

/* Links */
a {
  display: inline-block;
  color: var(--color-anchor);
}

a:hover,
a:focus {
  color: var(--color-anchor-focus);
}

a:focus {
  outline: 2px dashed var(--color-anchor-focus);
  outline-offset: 4px;
  text-decoration: none;
}

.skip-link {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  margin-bottom: var(--space-base);
}

.skip-link:not(:focus) {
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* containerr children spacing */
main .containerr > * + *:not(blockquote),
.page-footer .containerr > * + * {
  margin-top: var(--space-lg);
}

/* Header */
header p::before {
  content: "‣";
  display: inline-block;
  color: var(--color-highlight);
}

header nav .logo {
  width: 200px;
  height: 40px;
}

header .link-github {
  margin-top: var(--space-lg);
}

header .link-github {
  position: relative;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: var(--color-os);
  background-color: var(--color-highlight);
  padding: 0 var(--space-xs);
  text-decoration: none;
}

header .link-github:hover,
header .link-github:focus {
  color: var(--color-os);
}

header .link-github svg {
  position: relative;
  top: 0.125rem;
  margin-right: var(--space-xs);
}

header nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: fixed;
  top: var(--space-body);
  margin: 0 auto;
  margin-left: calc(var(--space-body) * -1);
  font-family: var(--font-system);
  font-size: 0.9rem;
  text-align: center;
  padding: var(--space-sm);
  width: calc(100% - var(--space-body) * 2);
  max-width: var(--max-width-body);
  height: var(--height-header);
}

header nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--space-base);
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-color: var(--color-os-close);
  border-radius: 50%;
  -webkit-box-shadow: var(--color-os-minimize) var(--space-md) 0,
    var(--color-os-fullscreen) calc(var(--space-md) * 2) 0;
          box-shadow: var(--color-os-minimize) var(--space-md) 0,
    var(--color-os-fullscreen) calc(var(--space-md) * 2) 0;
}

header h2 {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

header h2::before,
.page-footer::before {
  -webkit-box-ordinal-group: -1;
      -ms-flex-order: -2;
          order: -2;
  content: "~/$sudo";
  color: var(--color-accent);
}

header h2::after {
  -webkit-box-ordinal-group: 0;
      -ms-flex-order: -1;
          order: -1;
  content: "run index.html";
  margin-left: var(--space-sm);
  color: var(--color-highlight);
  font-weight: var(--font-weight-bold);
  font-style: italic;
}

/* Navigation 

nav {
  margin: var(--space-xl) 0 0;
}

nav ul,
.page-footer ul {
  -moz-column-width: 240px;
       -webkit-column-width: 240px;
          column-width: 240px;
  max-width: 45ch;
  margin: 0;
  padding: 0;
}

nav a {
  padding: var(--space-xxs) 0;
}
*/

main {
  outline: none;
}

/* Main */
main .containerr h2,
main .containerr h3,
#profile-title,
#styles h2 {
  color: var(--color-highlight);
  font-weight: var(--font-weight-bold);
}

/* Articles */
article .containerr {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 2px dashed var(--color-accent);
}

#about .containerr ul {
  -moz-column-width: 260px;
       -webkit-column-width: 260px;
          column-width: 260px;
  -moz-column-fill: auto;
       -webkit-column-fill: auto;
          column-fill: auto;
}

#about .containerr ul li {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 100%;
}

#about .containerr ul li::before {
  content: "*";
  margin-right: var(--space-sm);
  color: var(--color-accent);
}

#guidelines h3 {
  display: inline-block;
  padding: 0 var(--space-xs);
  color: var(--color-os);
  background-color: var(--color-warning);
}

#files .containerr h3 {
  color: var(--color-text);
  margin-bottom: var(--space-base);
}
#files .containerr a {
  margin-top: unset;
  padding: var(--space-xs);
}

/* Footer */
.page-footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-ordinal-group: 1;
      -ms-flex-order: 0;
          order: 0;
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-body);
  border-top: 2px dashed var(--color-accent);
}

.page-footer .containerr {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 100%;
          flex: 1 0 100%;
  margin-bottom: var(--space-xl);
}

.page-footer ul {
  margin: var(--space-xl) 0;
}

.page-footer ul a {
  padding: var(--space-xxs) 0;
}

.page-footer .link-github svg {
  position: relative;
  top: 0.15rem;
}

.page-footer::before {
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
}

.page-footer::after {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
  content: "";
  display: inline-block;
  position: relative;
  top: 0.25rem;
  margin-left: 0.5rem;
  width: 2px;
  height: 1.125em;
  background-color: var(--color-highlight);
  -webkit-animation: blink-cursor 1s steps(1, start) infinite;
          animation: blink-cursor 1s steps(1, start) infinite;
}

@-webkit-keyframes blink-cursor {
  0%,
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes blink-cursor {
  0%,
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

#sponsor-footer {
  margin-bottom: var(--space-body);
}

.carousel {
  display: flex;
  overflow-x: hidden;
  -ms-scroll-snap-type: x mandatory;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none
}

.carousel-vertical {
  flex-direction: column;
  overflow-y: scroll;
  -ms-scroll-snap-type: y mandatory;
  scroll-snap-type: y mandatory
}

.carousel-item {
  box-sizing: content-box;
  display: flex;
  flex: none;
  scroll-snap-align: start
}

.carousel-center .carousel-item {
  scroll-snap-align: center
}

.carousel-end .carousel-item {
  scroll-snap-align: end
}

.indicator {
  display: inline-flex;
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content
}

.indicator .indicator-item {
  z-index: 1;
  position: absolute;
  --tw-translate-x: 0;
  --tw-translate-x: 50%;
  --tw-translate-y: 0;
  --tw-translate-y: -50%;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  top: 0;
  right: 0;
  bottom: auto;
  left: auto
}

.indicator .indicator-item.indicator-start {
  left: 0;
  right: auto;
  --tw-translate-x: -50%
}

.indicator .indicator-item.indicator-center {
  right: 50%;
  left: 50%;
  --tw-translate-x: -50%
}

.indicator .indicator-item.indicator-end {
  right: 0;
  left: auto;
  --tw-translate-x: 50%
}

.indicator .indicator-item.indicator-bottom {
  bottom: 0;
  top: auto;
  --tw-translate-y: 50%
}

.indicator .indicator-item.indicator-middle {
  top: 50%;
  bottom: 50%;
  --tw-translate-y: -50%
}

.indicator .indicator-item.indicator-top {
  top: 0;
  bottom: auto;
  --tw-translate-y: -50%
}