.reveal pre code
{
    max-height: 650px;
}

.reveal pre
{
    box-shadow: none;
    font-family: 'sourcecodepro-light', textbook-light, Arial;
}

.reveal pre.code
{
    display: block;
    padding: 5px;
    overflow: auto;
    word-wrap: normal;
    color: #dcdcdc;
    background: rgba(63, 63, 63, 0.6);
}

.green
{
    color: green;
}

.toggle-near-container img
{
    display: inline-block;
}

section.size-L,
section .size-L,
pre.size-L
{
    font-size: 60px;
    line-height: 90px;
}

section.size-M,
section .size-M,
pre.size-M,
.yandex section
{
    font-size: 50px;
    line-height: 75px;
}

section.size-S,
section .size-S,
pre.size-S
{
    font-size: 40px;
    line-height: 60px;
}

section.size-XS,
section .size-XS,
pre.size-XS
{
    font-size: 30px;
    line-height: 45px;
}

section.size-XXS,
section .size-XXS,
pre.size-XXS
{
    font-size: 20px;
    line-height: 30px;
}

section.size-XXXS,
section .size-XXXS,
pre.size-XXXS
{
    font-size: 15px;
    line-height: 20px;
}

.reveal pre
{
    width: 100%;
    margin: 0;
    box-shadow: none;
}

.reveal p.fact
{
    background-color: #2a2a2a;
    text-align: left;
    padding: 10px;
}

.magenta
{
    color: #a0a0f0 !important;
}

mark, mark *
{
    color: black !important;
}

.reveal code
{
    font-family: monospace, textbook, Arial;
}

.author small::first-letter
{
    color: red;
}

.shadow
{
   color: #808080 !important;
}

.reveal pre code {
    font-family: 'sourcecodepro-light', textbook-light, Arial;
    background: rgba(63, 63, 63, 0.6);
    padding: 10px;
}

.green {
    color: #a1b56c !important;
}

.grey {
    color: #777;
}

.title-highlight {
    display: inline-block;

    padding: 0 20px !important;

    background: rgba(63, 63, 63, 0.6);
    border-radius: 5px;
}

.textbook {
    font-family: 'textbook-light';
}

.reveal .slide-number {
    font-size: 1em;
}

pre.join-bottom code{
    padding-bottom: 0 !important;
}
pre.join-bottom ~ pre:not(:last-child) code {
    padding-top: 0 !important;;
    padding-bottom: 0 !important;;
}



.animation1 ~ img {
    position: absolute;

    margin-left: -189px !important;
    z-index: 1;

    transition: all 0.5s;
}

.fader {
    position: absolute;
    z-index: 2;
    width: 294px;
    height: 293px;
    transform: scale(.3) translate(960px, -330px);
}

.animation1.visible ~ img {
    margin-left: 0 !important;
    opacity: .5;
    transform: scale(.3) translate(960px, -330px);
}

.animation1.visible ~ .fader:hover ~ img {
    opacity: 1;
    transform: scale(1) translate(320px, -110px);
}

.animation1 ~ pre {
    opacity: 0;
    transition: opacity 0.5s 0.5s;
}

.animation1.visible ~ pre {
    opacity: 1;
}


.spoiler {
    background: rgba(238, 238, 238, 1);
    transition: background 0.5s;
}


.spoiler:hover {
    background: rgba(238, 238, 238, 0);
}


.code-row {
    display: flex;
    flex-direction: row;
    align-content: space-between;
    width: 100%;
}

.code-row pre {
    font-size: 50%;
    margin-right: 60px;
    max-width: 50%;
}

.preprocessor pre {
    margin-right: 60px;
}

.vertical-pos {
    min-width: 55%;
}

.wide pre:first-child {
    margin-left: -50px; !important;
}

.preprocessor pre,
.preprocessor pre code {
    max-height: 700px; !important;
}

.none-margin pre {
    display: block;
}

.none-margin pre code{
    margin-top: 0; !important;
    margin-bottom: 0; !important;
}

.preprocessor pre code {
    font-size: 22px; !important;
    line-height: 27px; !important;
    padding: 0 30px; !important;
}

.hero {
    width: 80%; !important;
}

.progress {
    height: 7px !important;
}

.slide-number {
    font-size: 35px !important;
}

.author {
    text-align: center;
}

.author small::first-letter {
    color: red;
}

.img-post,
.img-pre {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: solid 3px yellow; !important;
}
.img-pre .box,
.img-pre .pr-arrow,
.img-pre .text,
.img-post .box,
.img-post .text,
.img-post .pr-arrow,
.img-post p {
    margin: 0; !important;
    padding: 0; !important;
    display: inline-block;
}

.text {
    text-decoration: underline;
}

.img-pre .pr-arrow {
    margin: 10px 0 20px;
}

.img-post .pr-arrow {
    font-size: 45px;
}

.box {
    max-width: 60%;
    min-width: 40%;
    margin: auto 0; !important;
}

.box.blue {
    border: solid 3px blue; !important;
}

.box.red {
    border: solid 3px red;
}

.img-pre {
    margin-top: 60px; !important;
}

#settings {
    width: 85%
}

#chrome {
    width: 80%;
}

img#webstorm {
    width: 1000px; !important;
    max-width: 1300px; !important;
}

pre.wide-code {
    width: 1100px; !important;
    margin-left: -40px;
}

code.css.small-font.hljs {
    font-size: 19px; !important;
}

mark,
mark span {
    color: black !important;
}

.marg {
    margin-left: -50px !important;
}

.video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

span.red {
    color: red;
}

.reveal .left-align {
    text-align: left;
}

.reveal .font-small {
    font-size: 0.7em;
}