

body, html{
    min-height:100vh;
    background-color: var(--background-color);
    background-image: var(--background-image);
    background-blend-mode: screen;

    display: flex;
    flex-direction: column;
    margin:0;

}


.history {
    display: flex;
    justify-content: center; /* Centers the content horizontally */
    align-items: left;
    margin-bottom: 20px;
    flex-direction: row-reverse;
}

.history.reverse{
    flex-direction: row;
}

.history .image, .text {
    flex: 1;
    padding: 20px;
    box-sizing: border-box; /* Ensures padding does not affect size */
}

.history .text {
    text-align: right;
    display:flex;
    flex-direction: column;
    justify-content: center;
}

.history .image figure {
    margin: 0;
    text-align: left;
}


.history.reverse .text{
    text-align: left;
}

.history.reverse .image figure{
    text-align: right;
}



@media (max-width: 768px) {
    .history,
    .history.reverse {
        flex-direction: column;
    }

    .history .text {
        text-align: left;
    }
    
    .history .image figure {
        margin: 0;
        text-align: left;
    }
    
    
    .history.reverse .text{
        text-align: left;
    }
    
    .history.reverse .image figure{
        text-align: left;
    }
    

    .history .image, .text, figure {
        padding: 5px;
    }
}


.history img{
    border-radius:5px;
    max-width:80%;
}

.history h3{
    font-size:1.3rem;
}

.history p{
    font-size:1rem;
}


.history .contrast{
    color:#fc6763;
}

@media (min-width: 768px) {

    .vertical-center{
        display: flex;
        align-items: center;
    }

}


.wiki{
    padding-right:350px;
}

.wiki p2:after {
    content:"";
    display:block;
    clear:both;
}

.wiki .toc{
    max-width:300px;
    padding-right:20px;
    position:relative;
    margin-right:-300px;
    float:right;
}

@media only screen and (max-width: 1000px) {
    .wiki .toc{
      display: none;
    }
    .wiki{
        padding-right:0;
    }
}



.toc li, .toc ul, .toc ul li{
    list-style: outside none none !important;
}

.wiki img{
    border-radius:5px;
    margin:20px;
}