.slidecenter{
    position: relative;
    top: 40%;
    -webkit-transform: translateY(-55%);
    -ms-transform: translateY(-55%);
    transform: translateY(-55%);
}



.center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    flex-direction: column;
}


.cols{
    display: flex;
    flex-flow: row wrap;
    /* position: relative; */
    /* top: 35%;
    -webkit-transform: translateY(-55%);
    -ms-transform: translateY(-55%);
    transform: translateY(-55%); */
}
.cols_two{
    flex: 1 0 0;
}
.cols_one{
    flex: 1 100%;
}

.reveal ol.ans{
    margin-top: 1em;
    list-style-type: upper-latin;
}

.reveal p.question{
    font-size: 1.5em;
    margin-bottom: 1em;
}

.reveal .slides>section, .reveal .slides>section>section {
    height: 100%;
    width: 90%;
    left: 5%
}
.reveal h1 {
    margin-top: 30px;
    font-size: 2.2em;
}
.reveal h3 {
    font-style: italic;
    font-size: 1.25em;
    color: #888;
}

.reveal .push-down {
    margin-top: 1.5em;
}

.reveal table.no-hborders td{
    border: none;
}

.reveal li > h3 {
    color:darkslategray;
}

.reveal .footer {
    position: absolute;
    bottom: 30px;
    left: 0%;
    display: flex;
    justify-content: space-around;
    font-size: 0.5em;
    width: 100%;
}
.slidecenter > pre.code-wrapper,
.slidecenter > div.fragment > pre.code-wrapper,
.slidecenter > div.auto-animated > pre.code-wrapper,
.slidecenter > div.push-down > pre.code-wrapper,
.slidecenter > div > div.push-down > pre.code-wrapper,
.slidecenter > ul > li > pre.code-wrapper,
.cols pre.code-wrapper{
    width: fit-content;
    padding: 20px;
}
.cols pre.code-wrapper > code.hljs:not(:first-child).fragment,
.slidecenter  pre.code-wrapper > code.hljs:not(:first-child).fragment{
    top: 20px;
    left: 20px;
    height: fit-content;
    min-height: fit-content;
    width: fit-content;
}

.reveal code {
    font-size: 1.2em;
}

.slidecenter table pre.code-wrapper {
    width: fit-content;
    margin: auto 0;
}

tr.highlight-line{
    background-color:rgba(243, 243, 118, 0.25);
    background-blend-mode:multiply;
}

span.inline-func {
    font-family: var(--r-code-font);
    color: #6f42c1;
}
span.inline-var {
    font-family: var(--r-code-font);
    color: #6f42c1;
}

span.inline-key {
    font-family: var(--r-code-font);
    color: #d73a49;
}

span.inline-oth {
    font-family: var(--r-code-font);
    color: #24292e;
}

span.inline-num {
    font-family: var(--r-code-font);
    color: #005cc5;
}

span.highlight-yellow {
    background-color:rgba(243, 243, 118, 0.25);
    background-blend-mode:multiply;
}

span.italics,  div.italics, p.italics{
    font-style: italic;
}

span.bold, div.bold, p.bold {
    font-weight: bold;
}

span.bolditalics, div.bolditalics, p.bolditalics {
    font-style: italic;
    font-weight: bold;
}

/* custom fragments */
/* .reveal .slides section .fragment.bold {
    font-weight: normal;
} */

.reveal .slides section .fragment.font-bold,
.reveal .slides section .fragment.background-yellow,
.reveal .slides section .fragment.background-green {
	opacity: 1;
	visibility: inherit;
}
.reveal .slides section .fragment.background-yellow.visible {
    background-color:rgba(243, 243, 118, 0.25);
    background-blend-mode:multiply;
}

.reveal .slides section .fragment.background-green.visible {
    background-color:rgba(43, 245, 70, 0.35);
    font-weight: bold;
    /* background-blend-mode:multiply; */
}

.reveal .slides section .fragment.font-bold.visible {
    font-weight: bold;
}