:root {
    /* --------------- base colors -------------- */
    --brand-color: rgb(243, 111, 33);
    --darkest-grey: rgb(80, 80, 80);
    --dark-grey: rgb(68, 68, 68);
    --light-grey: rgb(51, 51, 51);
    --lighter-grey: rgb(122, 122, 122);
    --lightest-grey: rgb(207, 207, 207);

    /* -------------- designations -------------- */
    --header-background: black;
    --header-textcolor: white;

    --link-color: var(--brand-color);

    --nav-textcolor: var(--lighter-grey);
    --nav-textcolor-highlighted: var(--brand-color);

    --nav-burger-textcolor: black;
    --nav-burger-background: var(--brand-color);

    --content-header: var(--darkest-grey);
    --content-text: var(--lighter-grey);

    --sticky-info-background: var(--lighter-grey);
    --sticky-info-textcolor: var(--lightest-grey);

    --footer-background: var(--dark-grey);
    --footer-textcolor: var(--lightest-grey);
}

* {
    box-sizing: border-box;
}

html {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;

    font-size: 26px;
    line-height: 1.3;

}

body {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;

    min-height: 100vh;


}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: lightgray;
    height: 100px;
    overflow: hidden;
    background-color: var(--header-background);
    color: var(--header-textcolor);
}

footer {
    background-color: var(--footer-background);
    color: var(--footer-textcolor);
    text-align: center;
    font-size: 0.8em;
}

main {
    flex: auto;
    display: flex;
    justify-content: center;

    color: var(--content-text);

    margin-bottom: 40px;
}

.sticky-info {
    display: flex;
    background-color: var(--sticky-info-background);
    color: var(--sticky-info-textcolor);
    justify-content: center;
}
.sticky-info div {
    font-size: 0.7rem; 
    float: right; 
    text-align: right; 
    margin-top: 30px; 
    margin-bottom: 20px;
}

main a {
    color: var(--link-color);
    text-decoration: none;
}

main a:hover {
    text-decoration: underline;
}

main p {
    text-align: justify;
    text-justify: inter-word;
}

main h1 {
    color: var(--content-header);
    border-bottom: 4px solid var(--brand-color);
    margin-top: 40px;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

main img.align-right {
    float: right;
    width: 300px;
    padding-left: 40px;
    margin-bottom: 20px;
}

main img.align-left {
    float: left;
    width: 300px;
    padding-right: 40px;
    margin-bottom: 20px;
}

main .footnote {
    font-size: 0.8em;
}
.inner {
    width: 1150px;
}

.imagerow {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    margin-top: 35px;
    text-align: center;
}

.imagerowitem {
    flex: 1;


}

.imagerowitem img {
    width: 100%
}

.imagerowitem p {
    text-align: center;
    font-size: 0.9em;
    margin-top: 5px;
}

header .logo img {
    width: 350px;
    float: left;
}

header nav {
    margin-top: 0px;
    float: right;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

header nav ul li {
    float: left;
}

header nav ul li a {
    color: var(--nav-textcolor);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 13px 20px;
}

header nav ul li a:hover {
    color: var(--nav-textcolor-highlighted);
    border-bottom: 4px solid var(--nav-textcolor-highlighted);
}

header nav ul li a.active {
    color: var(--nav-textcolor-highlighted);
    border-bottom: 4px solid var(--nav-textcolor-highlighted);
}

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

    main , .sticky-info {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    main h1 {
        font-size: 1.2rem;
    }

    main p {
        font-size: 0.8rem;
    }

    main img.align-right,
    main img.align-left {
        width: 25% !important;
        min-width: 100px;
    }

    main img.align-right {
        padding-left: 20px;
        margin-bottom: 10px;
    }

    main img.align-left {
        padding-right: 20px;
        margin-bottom: 10px;
    }


    .imagerow {}

    header {
        padding-left: 20px;
    }

    .imagerowitem p {
        font-size: 0.55rem;
        margin-top: 0px;
    }

}

@media only screen and (max-width: 850px) {
    .logo {
        display: flow-root;
        text-align: center;
    }

    main p {
        font-size: 0.6rem;
    }

    .logo img {
        max-width: calc(100% - 75px) !important;
    }

    nav.horizontal {
        display: none;
    }

    nav.burgermenu {
        display: block !important;
    }
}

/* --------- burger ----------- 
 * Heavily inspired from https://codepen.io/erikterwan/pen/EVzeRP by Erik Terwan under MIT License
 */
nav.burgermenu {
    display: none;
    position: absolute;
    right: 25px;
    top: 40px;
}



#menuToggle {
    display: block;
    position: relative;
    top: 0px;
    left: 0px;

    z-index: 1;

    -webkit-user-select: none;
    user-select: none;
}

#menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;

    cursor: pointer;

    opacity: 0;
    z-index: 2;

    -webkit-touch-callout: none;
}

#menuToggle span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;

    background: #cdcdcd;
    border-radius: 3px;

    z-index: 1;

    transform-origin: 4px 0px;

}

#menuToggle input:checked~ul {
    display: block;
}

#menuToggle span:first-child {
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
}

#menuToggle input:checked~span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: var(--nav-burger-textcolor);
}

#menuToggle input:checked:hover~span {
    background: white;
}

#menuToggle input:checked~span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked~span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);
}

#menu {
    position: fixed;
    top: 0;
    right: 0;
    display: none;
    width: auto;
    padding: 50px;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    background-color: var(--nav-burger-background);
}

#menu li {
    padding: 10px 0;
    font-size: 0.8rem;
    width: 100%;
    color: var(--nav-burger-textcolor);
}

#menu a:hover li {
    color: white;
}
/* FORM STYLING */

main input[type=text], main input[type=submit], main textarea {
    font-family: "Roboto", sans-serif;
    width: 100%;
    border: 1px solid #666;
    border-radius: 3px;
    padding: .5rem .5rem;
    font-size: 15px;
    margin-bottom: 10px;
}

main input[type=submit]:hover {
    opacity: 0.8;
    cursor: pointer;
}

main textarea {
    min-height: 100px;
}
main ::placeholder {
    color: #aaa;
    opacity: 1;
}

main label {
    font-size: 0.6rem;
}


main input[type=submit] {
    background-color: var(--brand-color);
    color: white;
    font-weight: 600;
    min-height: 40px;
    border: none;
    width: 100%;
}
