@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&family=Oxygen:wght@300;400;700&display=swap');

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

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

img {
   object-fit: cover !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;
}
.left > * {
    width : 100%;
}

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

mjx-container {
    margin : 0 !important;
}

p {
    height: fit-content;
}

.cols {
    width : 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.col2 {
    padding: 0 10% 0 10%;
    width: 50%;
    max-height : 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    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;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    word-wrap: break-word;
    font-size: 0.5em;
}

.center{
    display: flex;
    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;
}

.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;
}
.row > p > img {
    padding: 0 5% 0 5%;
}

.rows {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.row3 > p {
    display: flex;
    flex-direction: row;
    height: 33%;
    justify-content: space-evenly;
    align-items: center;
}

.row2 > p {
    display: flex;
    flex-direction: row;
    height: 25%;
    justify-content: space-evenly;
    align-items: center;
}