#Shadertoy {
    position:fixed;
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    padding: 0;
    top:0;
    left:0;
}


#World {
    position:fixed;
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    padding: 0;
    top:0;
    left:0;
}



#Background {
    z-index: -1;
    position: fixed;
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;


    /*background-image: url("../images/penrose.png");*/
    /*background-repeat: repeat;*/

    /*background: rgb(82,31,31);*/
    /*background: linear-gradient(90deg, rgba(82,31,31,1) 0%, rgba(89,76,37,1) 32%, rgba(22,73,55,1) 61%, rgba(23,25,78,1) 80%, rgba(45,20,37,1) 100%);*/

    /*background: rgb(36,36,60);*/
    /*background: linear-gradient(90deg, rgba(36,36,60,1) 0%, rgba(0,0,0,1) 100%);*/

}




.definition {
     border-left-color: rgba(150,200,150, 1);
     background-color: rgba(25,50,25, 0.25);
 }


/*to make the print command only print the material*/
@media print {
    .sidebar, .menu, .footer { display: none; }
}

/*Introductory paragraph on main page*/
.intro {
    border-radius: 25px;
}

.glass{
    /*background:rgba(36,36,60,0.4);*/
    background:rgba(245,76,21,0.1);
    backdrop-filter: blur(6px);
}

.white{
    color: white;
}




/*For mathjax*/
code.has-jax {
    -webkit-font-smoothing: antialiased;
    background: inherit !important;
    border: none !important;
    font-size: 100%;
}





body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: libertinus-sans, sans-serif;
    font-size:1em;
    line-height: 125%;
}

p {
    font-family:libertinus-sans, sans-serif;
    font-size: 1.2em;
    line-height: 133%;
}

em {
    font-family: 'libertinus-sans-italic', arial, sans-serif;
    font-weight: normal;
    font-style: normal;
}

strong {
    font-family: 'libertinus-sans-bold', arial, sans-serif;
    font-weight: normal;
    font-style: normal;
}


/*Small image of me on blog post*/
.author-image {
    object-fit: cover;
    border-radius: 50%;
    width: 64px;
    height: 64px;
}

.max-900px {
    max-width: 900px;
}


/* Centered text */
.centered {
    padding: 25px;
}












@font-face {
    font-family: 'handwriting';
    src: url('../fonts/stevefont-webfont.woff2') format('woff2'),
    url('../fonts/stevefont-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.handwritten {
    font-family:'handwriting';
    line-height: 90%;
}


@font-face {
    font-family: 'libertinus-sans';
    src: url('../fonts/libertinussans-regular-webfont.woff2') format('woff2'),
    url('../fonts/libertinussans-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'libertinus-sans-bold';
    src: url('../fonts/libertinussans-bold-webfont.woff2') format('woff2'),
    url('../fonts/libertinussans-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}



@font-face {
    font-family: 'libertinus-sans-italic';
    src: url('../fonts/libertinussans-italic-webfont.woff2') format('woff2'),
    url('../fonts/libertinussans-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}



@font-face {
    font-family: 'libertinus-serif';
    src: url('../fonts/libertinusserif-regular-webfont.woff2') format('woff2'),
    url('../fonts/libertinusserif-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}








.card-text {
    font-size: calc(2em + 0.75vw);
}




.card:hover{
    box-shadow: 4px 4px 4px lightgray;
    transform:scale(1.02);
}

.card{
    transition:.3s;
}


.card-noclick:hover{
    transform:scale(1.0);
    box-shadow: 0px 0px 0px;
}
















.paper {
    background: #fff;
    padding: 30px;
    position: relative;
}

.paper,
.paper::before,
.paper::after {
    /* Styles to distinguish sheets from one another */
    box-shadow: 1px 1px 1px rgba(0,0,0,0.25);
    border: 1px solid #bbb;
}

.paper::before,
.paper::after {
    content: "";
    position: absolute;
    height: 95%;
    width: 99%;
    background-color: #eee;
}

.paper::before {
    right: 15px;
    top: 0;
    transform: rotate(-1deg);
    z-index: -1;
}

.paper::after {
    top: 5px;
    right: -5px;
    transform: rotate(1deg);
    z-index: -2;
}




.paper-color {
    background: #fcfcfa;
}



.frosted {
    backdrop-filter: blur(4px);
    opacity:0.8;
}


a:link { text-decoration: none; }
















.horizontal-group{
    overflow-x: scroll;
}

/* The heart of the matter */
.horizontal-group > .row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/*All children of .row inside a horizontal group, no matter which column class*/
.horizontal-group > .row > * {
    display: inline-block;
}














/* The progress container (grey background) */
.progress-container {
    position: fixed;
    top: 0;
    z-index: 99;
    width: 100%;
    height: 8px;
    background: #ccc;
}

/* The progress bar (scroll indicator) */
.progress-bar {
    height: 8px;
    background: #04AA6D;
    width: 0%;
}






.mathbox {
    padding: .2em 1em .2em 1em;
    margin: 0 0 1em 0;
    background-position: 1em .5em;
    background-size: 2em auto;
    background-repeat: no-repeat;
    border-radius: .25em;
    border: 0px solid #C0C0C0;
    background-color: #f7f7f7;
    border-left-width: 5px;
    border-left-color: #000000;
    min-height: 3em;
}

.mathbox.theorem {
    border-left-color: #347dec;
}

.mathbox.corollary {
    border-left-color: #347dec;
}

.mathbox.lemma {
    border-left-color: #347dec;
}

.mathbox.proposition {
    border-left-color: #347dec;
}

.mathbox.example {
    border-left-color: #17a2b8;
}

.mathbox.nonexample{
    border-left-color: #d36945;
}

.mathbox.exercise {
    border-left-color: #ffc107;
}

.mathbox.definition{
    border-left-color: #28a745;
}

.mathbox.fact {
    border-left-color: #c264a6;
}

.theorem-title::before {
    font-weight: bold;
    counter-increment: theorem; /* Increment the value of counter by 1 */
    content: "Theorem " counter(theorem) ":"; /* Display the class name followed by the counter */
}

.corollary-title::before {
    font-weight: bold;
    counter-increment: theorem; /* Increment the value of counter by 1 */
    content: "Corollary " counter(theorem) ":"; /* Display the class name followed by the counter */
}

.proposition-title::before {
    font-weight: bold;
    counter-increment: theorem; /* Increment the value of counter by 1 */
    content: "Proposition " counter(theorem) ":"; /* Display the class name followed by the counter */
}

.lemma-title::before {
    font-weight: bold;
    counter-increment: theorem; /* Increment the value of counter by 1 */
    content: "Lemma " counter(theorem) ":"; /* Display the class name followed by the counter */
}


.example-title::before {
    font-weight: bold;
    counter-increment: example; /* Increment the value of counter by 1 */
    content: "Example " counter(example) ":"; /* Display the class name followed by the counter */
}

.nonexample-title::before {
    font-weight: bold;
    counter-increment: example; /* Increment the value of counter by 1 */
    content: "Non-Example " counter(example) ":"; /* Display the class name followed by the counter */
}

.exercise-title::before {
    font-weight: bold;
    counter-increment: exercise; /* Increment the value of counter by 1 */
    content: "Exercise " counter(exercise) ":"; /* Display the class name followed by the counter */
}

.definition-title::before {
    font-weight: bold;
    counter-increment: definition; /* Increment the value of counter by 1 */
    content: "Definition " counter(definition) ":"; /* Display the class name followed by the counter */
}

.fact-title::before {
    font-weight: bold;
    content: "Fact:"; /* Display the class name followed by the counter */
}

.proof {
    padding: .2em .5em .2em .5em;
    margin: 0 0 1em 0;
    background-position: 1em .5em;
    background-size: 2em auto;
    background-repeat: no-repeat;
    /* border-radius: .25em; */
    border: 0px solid #FFFFFF;
    border-left-width: 2px;
    border-left-color: #bdbdbd;
    min-height: 3em;
}

.proof::before {
    font-style:italic;
    content: "Proof: "
}


