﻿html, body {
    background-color: #d1ad7e;
    font-family: Oxygen, sans-serif;
    font-size: 1.1rem;
    font-weight: normal;
    font-style: normal;
    color: #523225;
}

a {
    color: blue;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

.page {
    margin: auto;
    margin-top: 20px;
    background-color: #f0e5cf;
    line-height: 1.42;
    border-radius: 10px;
    display: flex;
}

.navcolumn {
    min-width: 325px;
    max-width: 325px;
    background-color: #523225;
    color: white;
    border-radius: 10px 0px 10px 10px;
    height: 100%;
    margin: 10px 0 10px 10px;
    display: block;

}

    .navcolumn > ul {
        list-style: none;
        padding: 5px;
        margin: 0;
    }
    .menu_item > a {
        color: white;
        background-size: 100% 100%;
        padding: 6px 15px 7px 15px;
        display: block;
        border: 1px solid transparent;
    }

    .menu_box > .selected > a,
    .menu_box > .menu_item:hover > a {
        color: black;
        background-image: linear-gradient(to bottom, #8c8c8c, #b0b9b6);
        border-radius: 10px;
        border: 1px solid black;
        box-shadow: none;
        text-decoration: none;
    }
.logobox {
    background-color: #d1ad7e;
    width: 289px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}
.slogan {
    text-align: center;
    margin: 10px 5px 0 5px;
    padding-bottom: 10px;
    color: black;
    font-weight: 700;
}

.headerimage {
    height: 263px;
    background-image: url(../images/headerimg.jpg);
    border-radius: 0px 10px 10px 0px;
    background-size: auto;
    background-position: top left;
    background-repeat: no-repeat;
    margin-right: 10px;
    border: 2px solid #523225;
    border-left: 0;
}

h1 {
    font-size: 4rem;
    font-weight: 700;
    font-style: normal;
    color: #523225;
    margin: 0;
}

h2 {
    color: #523225;
}

.maincontent {
    width: 1225px;
    margin: auto;
    margin-top: 10px;
}

p {
    text-align: justify;
    margin: 0.75em 0;
}

    p.sectionhead {
        text-align: center;
        font-size: 1.7rem;
        font-weight: bold;
    }

.footer {
    color: black;
    margin: auto;
    margin-top: 10px;
    background-color: #f0e5cf;
    border-radius: 10px;
}

    .footer > div {
        text-align: center;
        margin: 10px 0 10px 0;
    }

.copyright {
    font-size: small;
    color: black;
    text-align: center;
    padding: 5px;
    margin-top: 20px;
}

.paraheader {
    font-weight: bold;
    font-size: 1.6rem;
}

.contactblock {
    display: flex;
    width: 100%;
}

    .contactblock > p {
        flex: 1;
    }

.pagetext {
    margin: 0 10px;
}
@media only screen and (min-width: 900px) {
    .page {
        width: 80%;
        max-width: 1550px;
        min-width: 900px;
    }

    .hamburger-menu {
        display: none;
    }

    .footer {
        display: flex;
        width: 80%;
        max-width: 1550px;
        min-width: 900px;
    }

        .footer > div {
            flex: 1;
        }
}

@media only screen and (max-width: 900px) {
    .menuwrapper {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: #d1ad7e;
        background-image: url(../images/logosml.png);
        background-size: auto;
        background-position: top right;
        background-repeat: no-repeat;
        height: 40px;
    }
    #menu_toggle {
        opacity: 0;
    }

        #menu_toggle:checked + .menu_btn > span {
            transform: rotate(45deg);
        }

            #menu_toggle:checked + .menu_btn > span::before {
                top: 0;
                transform: rotate(0deg);
            }

            #menu_toggle:checked + .menu_btn > span::after {
                top: 0;
                transform: rotate(90deg);
            }

        #menu_toggle:checked ~ .menu_box {
            left: 0 !important;
        }

    .menu_btn {
        position: fixed;
        top: 20px;
        left: 20px;
        width: 26px;
        height: 26px;
        cursor: pointer;
        z-index: 1;
    }

        .menu_btn > span,
        .menu_btn > span::before,
        .menu_btn > span::after {
            display: block;
            position: absolute;
            width: 100%;
            height: 2px;
            background-color: white;
            transition-duration: .25s;
        }

            .menu_btn > span::before {
                content: '';
                top: -8px;
            }

            .menu_btn > span::after {
                content: '';
                top: 8px;
            }

    .menu_box {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        height: 100%;
        margin: 0;
        padding: 80px 0;
        list-style: none;
        background-color: #523225;
        box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
        transition-duration: .25s;
    }
    .menu_item {
        display: block;
        padding: 12px 24px;
        color: #333;
        font-size: 20px;
        font-weight: 600;
        text-decoration: none;
        transition-duration: .25s;
    }

    .navcolumn {
        display: none;
    }
    .headerimage {
        height: 150px;
        border-radius: 10px;
        margin-right: 10px;
        margin-left: 10px;
        border: 2px solid #523225;
        background-position: center left;
    }
    .page {
        margin-top: 50px;
    }
    .footer {
        display: none;
    }
    .contactblock{
        flex-direction: column;
    }
    h1 {
        font-size: 3rem;
    }

}
@media only screen and (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }
}
