/**
 * termynal.js
 *
 * @author Ines Montani <ines@ines.io>
 * @version 0.0.1
 * @license MIT
 */

:root {

    /* Primary color shades */
    --md-primary-fg-color: #f5F7FA;
    --md-primary-fg-color--light: #EC0000;
    --md-primary-bg-color: #67717A;
    --md-text-link-color: hsla(231, 48%, 48%, 1);

    /* Accent color shades */
    --md-accent-fg-color: #EC0000;
    --md-accent-bg-color: #EC0000;
    --md-accent-bg-color--light: hsla(0, 0%, 100%, 0.7);
}
  
:root > * {
    /* Code block color shades */
    --md-code-bg-color: hsla(0, 0%, 96%, 1);
    --md-code-fg-color: hsla(200, 18%, 26%, 1);

    /* Footer */
    --md-footer-bg-color: #f5F7FA;
    --md-footer-bg-color--dark: #67717A;
    --md-footer-fg-color: #67717A;
    --md-footer-fg-color--light: hsla(0, 0%, 100%, 0.7);
    --md-footer-fg-color--lighter: hsla(0, 0%, 100%, 0.3);
}

.md-content {
    --md-typeset-a-color: #EC0000;
}

.md-nav__link--passed {
    color: rgb(202, 199, 199);
}

.md-search__input::placeholder {
    color: #67717A;
    font-weight: 400;
    opacity: 1;
}

.md-tabs__link {
    opacity: 1;
}

.md-ellipsis {
	font-weight: 300;
	font-size: .8rem;
	color: #66707A;
}

.md-header__button.md-logo img {
	height: 1.6rem;
}

.md-typeset h1 {
	font-weight: 400;
	color: #66707A;
}

p, td, span, li, strong, li strong, p strong, h4, h5 {
    color: #67717A;
}

h2 strong, h3 strong{
	font-weight: 300;
	color: #66707A;
}

.md-nav__link:hover, .md-tabs__link--active {
	color: #EC0000;
	font-weight: bold;
}

.md-tabs__item {
	color: #454C52;
}

.md-header {
	padding-top: 0.2rem;
	padding-bottom: 0.2rem;
}

.md-search__form {
	background-color: #F5F7FA;
	border: .1rem solid;
	border-color: #BBBBBB;
	border-radius: 0.2rem;
	font-weight: 300;
}

.md-search__input {
	font-size: .7rem;
	font-weight: 400;
}

.md-search__form:hover {
	background-color: #E1E6EB;
}

.md-footer__link--next .md-footer__title .md-ellipsis {
	font-weight: 400;
	font-size: 1rem;
	color: #EC0000;
}

.md-nav__list .md-nav__item .md-nav__link--active {
	font-weight: bold;
	color: #D31513;
}

[data-termynal] {
    width: 750px;
    max-width: 100%;
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 18px;
    /* font-family: 'Fira Mono', Consolas, Menlo, Monaco, 'Courier New', Courier, monospace; */
    font-family: 'Roboto Mono', 'Fira Mono', Consolas, Menlo, Monaco, 'Courier New', Courier, monospace;
    border-radius: 4px;
    padding: 75px 45px 35px;
    position: relative;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

[data-termynal]:before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    /* A little hack to display the window buttons in one pseudo element. */
    background: #d9515d;
    -webkit-box-shadow: 25px 0 0 #f4c025, 50px 0 0 #3ec930;
            box-shadow: 25px 0 0 #f4c025, 50px 0 0 #3ec930;
}

[data-termynal]:after {
    content: 'bash';
    position: absolute;
    color: var(--color-text-subtle);
    top: 5px;
    left: 0;
    width: 100%;
    text-align: center;
}

a[data-terminal-control] {
    text-align: right;
    display: block;
    color: #aebbff;
}

[data-ty] {
    display: block;
    line-height: 2;
}

[data-ty]:before {
    /* Set up defaults and ensure empty lines are displayed. */
    content: '';
    display: inline-block;
    vertical-align: middle;
}

[data-ty="input"]:before,
[data-ty-prompt]:before {
    margin-right: 0.75em;
    color: var(--color-text-subtle);
}

[data-ty="input"]:before {
    content: '$';
}

[data-ty][data-ty-prompt]:before {
    content: attr(data-ty-prompt);
}

[data-ty-cursor]:after {
    content: attr(data-ty-cursor);
    font-family: monospace;
    margin-left: 0.5em;
    -webkit-animation: blink 1s infinite;
            animation: blink 1s infinite;
}


/* Cursor animation */

@-webkit-keyframes blink {
    50% {
        opacity: 0;
    }
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}