html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    margin: 0;
    font-size: var(--font-size-default);
    background: var(--body-background-color);
    background-image: var(--body-background-image);
    background-repeat: no-repeat;
    background-attachment: fixed;
    /*background-blend-mode: color;*/
}

.centertext{
    text-align: center;
}

.sectiondivider{
    height: 2px;
    display: block;
    width: 100%;
    background: var(--section-divider-color);
    margin-top: 40px; 
}

.sectiontitle{
    font-family: var(--main-font-family);
    text-align: center;
}

#contentpage{
    width: 100%;
    margin-left:0;
    margin-right:0;
    margin-bottom:50px;
}

#mainimage{
    object-fit:cover;
    height: 500px;
    border-radius:0%;
    z-index: -999;
    /*border: 100px solid cornflowerblue;*/
    border: 40px solid var(--main-image-color);
    margin-bottom: -50px;
}

#mainimageholder {
    width: 100%;
    display: block;
    text-align: center;
}

#maincontent{
    width:70%;
    margin-top: 10px;
    margin-left:15%;
    margin-right:15%;
    background:var(--content-pane-color);
    position: relative;
    z-index: 555;
    /*border-top-left-radius: 20%;
    border-top-right-radius: 20%;*/
    /*border-top:20px solid white;*/
    box-shadow: 0px 5px 5px 2px lightgray;
}

.sectionlink{
    color: var(--section-link-color);
}

@media only screen and (max-width : 1000px) 
{
    #mainimage{
        height: auto;
        width: calc(100% - 80px);
        border: 40px solid var(--main-image-color);
    }

    #maincontent{
        width:100%;
        margin-top: -10%;
        margin-left:0;
        margin-right:0;
    }
}

@media only screen and (max-width : 770px) 
{
}

@media only screen and (max-width : 500px) 
{
    #mainimage{
        width: calc(100% - 20px);
        border: 10px solid var(--main-image-color);
    }
}
