body, html{
    margin: 0; padding: 0;
    font-family: 'Courier Prime', monospace;
    font-size: 1em;
}
button, p {
    all: unset;
}
main {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}
section  {
    display: block;
    z-index: 100;
    min-height: 100vh;
    width: 100%;
}
#logo {
    position: absolute; 
    left: 50%; right: 0; bottom: 0; top: 50%;
    width: 62vw;
    height: 10vw;
    margin-left: -31vw;
    margin-top: -5vw;
    background-image: url('../images/logo.svg');
    background-size: contain;
}
#object {
    height: 50vh;
    width: 50vh;
    position: fixed;
    left: 50%; top: 50%;
    margin-left: -25vh;
    margin-top: -25vh;
}

#object video {
    width: 100%;
    height: auto;
    max-height: 100%;
    z-index: -100;
}

#declaration {
    font-size: 2.8vmin;
}
#declaration-text {
    position: relative;
    max-width: 120vh;
    padding: 2em 5em 0;
    text-align: justify;
    line-height: 1.5em;
    margin: auto;
}
#declaration-text p {
    display: block;
    margin: 1em 0;
}
#declaration-reload {
    position: relative;
    left: 50%; margin-left: -1.5em;
    width: 2em;
}
#declaration-reload:hover {
    cursor: pointer;
}
#declaration-reload img {
    width: 100%;
}

#content article {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    padding: 1em;
    margin-bottom: 1.5em;
    font-size: max(2.2vmin, 16px);
}
.image-container {
    width: 95%;
    max-width: 510px;
}
.image-container img {
    width: 100%;
}
.text-container {
    width: 95%;
    max-width: 510px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}
.text-container p {
    display: block;
    margin-bottom: 1rem;
}
.text-container p:first-child{
    padding-top: 1em;
}
a {
    text-decoration: none;
    color: #007bff;
}
a:hover {
    text-decoration: underline;
    color: darkblue;
}
.cursivetext {
    font-style: italic
}
article.new {
    margin-top: 1.5em;
}
article.notext {
    margin-bottom: 0 !important;
}

#contact {
    text-align: center;
    min-height: 0;
    margin-top: 5em;
    margin-bottom: 2em;
}
#contact a {
    color: black;
}
#contact a:hover {
    color: black;
}
#contact p {
    display: block;
    margin-bottom: 1em;
    font-size: max(2.3vmin, 16px);
}
.contact-small {
    font-size: max(1.9vmin, 14px) !important;
}

@media only screen and (min-width: 770px) {
    #content article {
        flex-flow: row-reverse wrap;
        margin-bottom: 0.5em;
    }
    .text-container {
        width: 31%;
        max-width: 65vh;
        text-align: left;
        margin-right: 1.5em;
    }
    .image-container {
        width: 62%;
        max-width: 65vh;
    }
    .image-container.small {
        width: 60%;
        max-width: 60vh;
    }
    .image-container.full-width {
        width: 90%;
        max-width: 100vh;
    }
    #content article:nth-child(even) {
        flex-flow: row wrap;
    }
    #content article:nth-child(even) .text-container {
        flex-flow: row wrap;
        margin-left: 1.5em;
        margin-right: 0;
    }
    article.new {
        margin-top: 3em;
    }
    article.notext {
        justify-content: flex-start !important;
    }
    article.notext .image-container {
        width: 95%;
        max-width: 130vh;
        margin: 0 1em;
    }
    article.notext .text-container {
        width: 5%;
    }
    article.top {
        align-items: flex-start !important;
    }
    article.top .text-container {
        width: 45%;
    }
    article.top .image-container {
        width: 45%;
    }
    article.top p:first-child {
        padding-top: 0 !important;
    }
}
@media only screen and (min-width: 1080px) {
    .text-container, .image-container {
        max-width: 80vh;
    }
}
@media only screen and (min-width: 1250px) {
    .text-container, .image-container {
        max-width: 90vh;
    }
}