/*
 * This CSS contains all style informations for main area of the page
 * (CSS style for small screens is on the bottom of this file)
 */

.pageContainer
{
    display: flex;
}

.pageMain
{
    width: 80%;

    margin: 5px;

    background-color: white;

    padding-left: 25px;
    padding-right: 25px;
    padding-top: 5px;
    padding-bottom: 10px;

    text-align: justify;
}

.pageMain .image
{
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

    /* fall-back image height, when no image height is set inside the markdown image link */
    height: 150px;
}

.pageMain > .referencePage .text
{
    text-align: left;
    width: 65%;
}

.pageMain > .referencePage > .image
{
    position: absolute;
    background-position: right;

    right: calc(38px + 20%);

    height: 250px;
    width: 25%;
}


.doubleImage
{
    height: 500px;

    background-size: cover;
}

.doubleImage > .image[alt="2"]
{
    background-position: left;
}

.doubleImage > .image[alt="3"]
{
    background-position: right;
}

.mainPageText
{
    text-align: center;
    font-size: 2em;
    font-weight: bold;
}

@media only screen and (max-width: 820px)
{
    .pageContainer
    {
        display: block;
    }

    .pageMain
    {
        width: auto;
    }

    .pageMain > .referencePage > .image
    {
        right: 38px;
    }
}
