@import url('https://fonts.googleapis.com/css2?family=Inclusive+Sans:ital,wght@0,300..700;1,300..700&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

* {
    /*    display: block;*/
    margin: 0;
    padding: 0;
    --background: #F6EDE6;
    --background-dark: #F1E6DE;
    --text: #2a2a2a;
    --highlight: #DE4102;
    --highlight2: #9a2c00;
    --grey: #534c4c;
    font-size: 8px;
    box-sizing: border-box;
}


body {
    background-color: var(--background);
    color: var(--text);
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;

}


/*TYPOGRAPHY*/
h1 {
    font-size: 5.12rem;
    padding-top: 8rem;
}



h2 {
    font-size: 3.2rem;
    margin-bottom: 0;
}

h3 {
    font-size: 2.6rem;
}


h4,
p,
li {
    font-size: 1.65rem;
}

h5 {
    font-size: 1.2rem;
}


h3 {
    color: var(--highlight);
}

h1,
h2 {
    font-weight: 700;
}

h3,
h4,
h5,
p,
li {
    font-weight: 200;
}


h5,
nav a {
    text-transform: uppercase;
}


h4 {
    color: var(--grey);
}

h5 {
    color: var(--highlight);
    font-weight: 400;
}

a {
    text-decoration: none;

    color: var(--highlight);
    font-size: inherit;
}

a:hover {
    color: var(--highlight2);
}

a.active {
    color: var(--highlight2);
}

ul {
    list-style-type: "–   ";
    list-style-position: outside;
    /*
    margin-block-start: 1em;
    margin-block-end: 1em;
*/
    padding-inline-start: 20px;
    padding-bottom: 2rem;
}

.referencelist ul {
    list-style-type: none;

    padding-inline-start: 0;
    padding-bottom: 0;
}


blockquote {
    width: 70%;
    margin: 0 auto;
    color: var(--highlight);
    text-align: center;
    padding: 5rem 0;
}

blockquote p {
    font-size: 3rem;
}

p > cite {
    font-size: 1.2rem;
}

.italicword {
    font-family: "IBM Plex Serif", serif;
    font-weight: 400;
    font-style: italic;
    font-size: inherit;
}

/*LAYOUT*/
hr {
    border-color: var(--highlight);
    border: 0.25px solid var(--highlight);
    background-color: var(--highlight);
    margin: 10rem 0 10rem 0;
}

img {
    max-width: 500px;
    height: auto;
}

.two-col {
    margin-bottom: 4rem;

}


h1,
h3,
h6 {
    margin: 0 0 2rem 0;
}


h4 {
    margin-bottom: 2rem;
}

h5 {
    margin: 0;
}

p {
    margin: 0 0 2rem 0;
}


li {
    padding: 0 0 1rem 0;

}

li:last-child {
    padding: 0;
}

main,
.intro-section,
.mainpage,
footer {
    width: 80%;
    margin: 0 auto 0 auto;
}

title {
    display: none;
}

header img {
    width: auto;
    height: 20px;
}

footer p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

footer hr {
    margin-bottom: 1rem;
}

.info-panel {
    background-color: var(--background-dark);
    border-radius: 20px;
    padding: 1rem 2rem 1rem 2rem;
    margin: 1rem 0 4rem 0;
}

.two-col img {
    width: 60vw;
    height: auto;
    display: block;
    margin: 0 auto 0 auto;
    align-content: center;
    padding: 4rem;
}


.two-col {
    padding-bottom: 4rem;
}

header {

    padding: 0 0;
    background-color: var(--background);
    /*    min-height: 5rem;*/

    display: flex;

    align-items: center;
    box-shadow: 0 5px 20px 0 rgba(154, 44, 0, 0.07);
    min-height: 6rem;

}

nav {
    display: flex;
    flex-direction: row;
    flex: 1;
    justify-content: space-evenly;
    align-items: center;


}

header img,
.intro-section img {
    display: none;
}

a {
    font-weight: 400;
}

nav a {
    font-size: 1.4rem;
    padding: 0.5rem;
    font-weight: 400;
    text-align: center;
}




/*media query*/

@media screen and (min-width: 1100px) {
    * {

        font-size: 10px;
    }

    .mainpage {
        padding: 4rem 0;
        background-image: url(main-page.png);
        width: 100%;
        background-size: contain;
        background-attachment: scroll;
        background-repeat: no-repeat;
        min-height: 100vh;
        background-position: right;
    }

    #maintext {
        margin-left: 10%;
        width: 40%;
    }

    h1 {
        padding-top: 0;
    }
}

@media screen and (min-width: 900px) {





    .two-col {
        margin-bottom: 4rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 10rem;
        padding: 4rem 0;
        vertical-align: middle;
    }

    .two-col .left,
    .two-col .right {
        align-self: center;
    }

    .left img,
    .right img {
        width: 20vw;
        height: auto;
        /*        padding: 0;*/
    }

    .intro-section img {
        display: block;
        max-width: 700px;
        width: 40vw;
        height: auto;
    }

    img.manualrz {
        width: 40vw;
    }

    .info-block {
        margin-bottom: 8rem;
    }



    .left {
        grid-column: 1/2;
        grid-row: 1;
    }

    .right {
        grid-column: 2/3;
        grid-row: 1;
    }



    footer hr {
        margin-bottom: 0;
    }


    img#bulbimage {
        max-width: 500px;
    }

    header img {
        display: block;
    }

    header {
        position: sticky;
        top: 0;
        min-height: 6rem;
        padding: 0 10%;
        margin: 0 auto;
    }

    nav {
        justify-content: right;
        align-items: right;
    }

    nav a {
        font-size: 1.2rem;
        margin: 0 0 0 2rem;

    }

    blockquote {
        width: 40%;
    }

}
