* {
    font-family: "Open Sans";
    font-size: 1rem;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    margin: 0;
    min-height: 100%;
    width: 100vw;
    position: absolute;
    overflow-x: hidden;
    background-color: #D2B48C;
}

.background-img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    z-index: -5;
    top: 0;
}

/* HEADER */

header {
    position: fixed;
    width: 100vw;
    z-index: 5;
    top: 0;
}

.nav {
    position: absolute;
    height: 7rem;
    max-height: 120px;
    width: 100vw;
    background-color: #371108E8;
    white-space: nowrap;
}

.diag-logo {
    position: absolute;
    z-index: 6;
}

.diag-logo img {
    height: 8rem;
    max-height: 130px;
    padding: 0.5rem 1rem;
    background-color: #c4963f;
    /* margin: 1vh 0 1vh 2vh; */
}

.diag-logo-shape {
    height: 8rem;
    max-height: 130px;
    padding: 0.5rem 0;
    width: 3rem;
    background: linear-gradient(103deg, #c4963f 50%, transparent 50%);
    display: inline-block;
}

.nav-long {
    position: fixed;
    right: 0.5rem;
    top: 0;
}

.nav-link {
    display: inline-block;
    padding: 2.5rem 0 0.25rem;
    margin-right: 1.5rem;
    max-height: 80px;
    /* border-bottom: 3px #c4963f solid; */
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
}

.nav-link:hover {
    /* background: linear-gradient(103deg, transparent 15%, #c4963f 15%, #c4963f 85%, transparent 85%); */
    /* color: white; */
    border-bottom: 3px #c4963f solid;
    cursor: pointer;
}

.nav-link:active {
    color: #c4963f;
}

.menu-toggle {
    position: fixed;
    display: inline-block;
    cursor: pointer;
    top: 2rem;
    right: 2rem;
}

.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: white;
    border-radius: 3px;
    margin: 6px 0;
    transition: 0.4s;
}

.change .bar1 {
    transform: translate(0, 11px) rotate(-45deg);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -11px) rotate(45deg);
}

.nav-extended {
    display: none;
    position: absolute;
    background-color: #371108E8;
    width: 100vw;
    padding: 2vh 0 4vh;
    z-index: -4;
    top: min(120px, 7rem);
    /* transition: 0.4s; */
}

.change.nav-extended {
    display: block;
}

.nav-extended a {
    display: block;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    margin: 1.5rem auto 0;
    max-height: 80px;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    text-align: center;
}

.nav-extended a:hover {
    background-color: #c4963fE8;
    cursor: pointer;
}

.nav-extended a:active {
    color: #552a20;
}

@media screen and (max-width: 985px) {
    .nav-long {
        display: none;
    }
    .nav-short {
        display: block;
    }
}

@media screen and (min-width: 985px) {
    .nav-long {
        display: block;
    }
    .nav-short {
        display: none;
    }
}

/* MAIN */

main {
    background-color: #EFE8D4; /*#f1dabb; /*rgb(250, 234, 211); /*rgb(241, 221, 193);*/
    margin: 10rem max(calc(50vw - 400px), 10vw) 10rem;
    padding: 5vh 0;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.01rem;
    line-height: 1.5;
    width: min(800px, 80vw);
    border-radius: 5px;
    overflow-x: hidden;
}

main .top-image {
    max-width: 1000px;
    /* padding: 0 1vw; */
    margin: 0 auto;
}

.top-image img {
    width: 100%;
    margin-top: -1rem;
    margin-bottom: -1.375rem;
}

.page-logo {
    display: block; 
    width: 80%;
    margin: 0 10%;
}

.intro-logo {
    /* display: block;  */
    width: min(80vw, 600px);
    margin: calc(50vh - min(210px, 40vw) - 3rem) max(10vw, calc(50vw - 300px));
}

.ils-bottom, .ils-top, .ils-banner, .ils-logo {
    position: absolute;
    width: inherit;
    opacity: 0;
}

.animStart {
    transition: 0.8s;
    opacity: 1;
}

main p {
    text-indent: 2rem;
    text-align: justify;
    max-width: 1000px;
    padding: 0 4vw;
    margin: 0 auto;
}

.highlight-start {
    letter-spacing: initial;
    display: block;
    max-width: 1000px;
    padding: 0 4vw;
    margin: 0 auto;
    font-size: 1.75rem;
    font-weight: 600;
    color: black /*#d4a03f*/;
}

hr {
    max-width: 1000px;
    padding: 0 4vw;
    margin: 1rem auto;
    border: 1px solid #552a20;
    background-color: #552a20;
}

.contact-form {
    width: 500px;
    display: inline-block;
    vertical-align: top;
}

.contact-info {
    /* max-width: 1000px; */
    /* padding: 0 4vw; */
    /* margin: 1.5rem auto; */
    max-width: 250px;
    display: inline-block;
}

.contact-info-wide {
    max-width: 1000px;
    padding: 0 4vw;
    margin: 1.5rem auto;
}

.contact {
    display: inline-block;
    margin: 0.75rem 0 0.75rem 0; /* 2rem left */
    min-width: 250px;
    /* width: calc(50% - 2rem - 2vw); */
    /* vertical-align: text-top; */
}

.contact-name{
    font-weight: 600;
}

@media screen and (max-width: 950px) {
    .contact-form {
        width: 100%;
        display: block;
    }

    .contact-info {
        max-width: 1000px;
        padding: 0 4vw;
        margin: 1.5rem auto;
        /* width: 250px; */
        display: block;
    }

    .contact {
        margin-left: 2rem;
        width: calc(50% - 2rem - 2vw);
        /* vertical-align: text-top; */
    }
}

main a {
    color: #552a20;
    text-decoration: underline;
    font-weight: bold;
}

main ul {
    max-width: 1000px;
    padding: 0 4vw 0 6vw;
    margin: 0 auto;
}

main ol {
    max-width: 1000px;
    padding: 0 2rem 0;
    margin: 0 auto;
    font-style: italic;
    list-style-type: none;
}

main li {
    text-align: justify;
}

main li::marker {
    color: #552a20;
}

#map {
    border: 3px solid #D2B48C;
    border-radius: 5px;
    margin: 20px auto 0;
    height: 400px;
    /* The height is 400 pixels */
    width: 100% /* min(80%, 800px) */;
    /* The width is the width of the web page */
}


/* FOOTER */

footer {
    position: absolute;
    bottom: 0;
    height: 6rem;
    width: 100vw;
    /* background-color: #b89669; */
    background-color: #D2B48C;
    color: black;
    font-weight: 600;
    text-align: center;
    align-items: center;
}

.center-contents {
    top: 50%;
}

.powered-by-csc {
    position: absolute;
    bottom: 0;
    height: 6rem;
    width: 100vw;
    padding-right: 2rem;
    text-align: right;
}

.powered-by-csc a {
    color: black;
    text-decoration: none;
}

.powered-by-csc hr {
    max-width: 25rem;
    margin: 0.25rem auto;
    display: none;
    background-color: #333;
    border-color: #333;
}

@media screen and (max-width: 985px) {
    footer {
        height: 7rem;
    }

    .powered-by-csc hr {
        display: block;
    }

    .powered-by-csc br {
        display: none;
    }

    .powered-by-csc {
        bottom: 0.625rem;
        width: 100vw;
        padding-top: 4rem;
        padding-right: 0;
        text-align: center;
    }
}