@import url(https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.6.0/css/theme/white.min.css);
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

.backgrounds {
    background-image: url(" ../img/png/background.png");
    background-size: cover;
    background-position: center;
}

.subtitle, .author, .date {
    font-weight: bold;
}

img {
    object-fit:contain !important;
 }
.bold {
    font-weight: bold;
}

#TOC {
    text-align: justify;
    font-size: 0.75em;
}

#TOC li {
    list-style-type : none;
}

#TOC > nav > ul > li > a{
    font-weight: bold;
}

a[id*="toc"] {
    color : black;

}

.math {
    font-style: italic;
    font-weight: bold;
}

.left {
    text-align : left !important;
}
.left > * {
    width : 100%;
}

mjx-container > svg {
    max-width: 100%;
}

mjx-container {
    margin : 0 !important;
}

p {
    height: fit-content;
}

.sourceCode {
    max-height: fit-content !important;
}

code {
    background-color: rgba(255, 255, 255, 0.5);
}
.cols {
    width : 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.col2 {
    padding: 0 2.5% 0 2.5%;
    width: 50%;
    max-height : 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.col3 {
    max-width: 33.33%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    word-wrap: break-word;
}

.col2 > p, .col3 > p {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    word-wrap: break-word;
    font-size: 0.5em;
}

.center{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wide > *, .wide {
    width: 100%;
}

*:has(> img[class*="center"]), *:has(> img[class*="center"]) > *  {
    display: flex;
    justify-content: center;
    text-align: center;
}
.cols img {
    max-height: 40vh;
}

.reveal section img {
    border: none;
    margin: 0;
    padding: 0;
    box-shadow: none;
    background: none;
}

.checkmark {
    width: 10%;
}

.reveal .r-stack > * {
    margin: 0;
}

svg[height="11.099ex"] {
    height: min-content;
}

.must-disappear:not(.current-fragment):not(:has(.fragment.current-fragment)){
    opacity: 0;
}

:root {
    --r-main-font: "Nunito Sans";
}

.reveal .slides section {
    font-family: var(--r-main-font), sans-serif;
}

.small, .small * {
    font-size: 0.5em;
}

.sls-algo-img {
    max-height: 45vh !important;
    clip-path: polygon(0 0, 100% 0, 100% 87.5%, 0 87.5%);
}

.instant {
    transition: none !important;
}

.row, .row > p {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width : 100%;
}

.row :not(th){
    padding: 0 2vw 0 2vw !important;
}

table th {
    border : 3px solid black !important;
}

.window {
    border-width: 5px !important;
    border-collapse: separate !important;
    border-spacing: 0;

}

.red-border {
    border-color: red !important;
    z-index: 1;
}

.adjacent-left {
    border-right-color: red !important;
}
.adjacent-right {
    border-left-color: red !important;
}
