/* --- Resets: ----------------------------------------------------------------
------------------------------------------------------------------------------- */
@import url("./sterappel.css");

/* --- All: -------------------------------------------------------------------
------------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    padding: 0;
}

*:not(dialog),
*::before,
*::after {
    margin: 0;
}

/* --- Images: ----------------------------------------------------------------
------------------------------------------------------------------------------- */
img {
    max-height: 100%;
    max-width: 100%;
}

/* --- Lists: -----------------------------------------------------------------
------------------------------------------------------------------------------- */
ol,
ul,
menu {
    list-style-type: none;
}

/* --- Form-elements: ---------------------------------------------------------
------------------------------------------------------------------------------- */
input,
select,
button {
    font-size: inherit;
}

:root {
    --primary-green: #5e843a;
    --primary-red: #db2229;
    --whitesmoke: whitesmoke;

    font-family: "Calibri", Helvetica, Arial, "sans-serif";
    font-size: 16px;
}

/* --- header: ----------------------------------------------------------------
------------------------------------------------------------------------------- */
.logo {
    display: flex;
    justify-content: center;
}

.hero {
    display: flex;
    justify-content: center;
    position: relative;
    background-color: var(--primary-green);
}

.menu {
    position: fixed;
    top: calc(100px + 1rem);
    right: 1rem;
    /* transform: translate(0, -50%); */
    padding: 1rem;
    background-color: var(--whitesmoke);
    height: auto;
}

.main-menu li,
.menu-toggle li {
    margin-block: 0.5rem;
}

.main-menu a, 
.menu-toggle a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-green);
    text-decoration: none;
}

.main-menu a:hover {
    color: var(--primary-red);
}

.menu-m {
    position: absolute;
    top: 100px;
    right: 0;
    padding: 1rem;
    background-color: var(--whitesmoke);
    z-index: 10;
    height: auto;
}

button.navbar-toggle {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

.menu-toggle {
    display: none;
    padding: 1rem;
    background-color: var(--whitesmoke);
}

@media (max-width: 1240px) {
    .menu {
        display: none;
    }
}

@media (min-width: 1241px) {
    button.navbar-toggle {
        display: none;
    }
}

/* --- main: ----------------------------------------------------------------
------------------------------------------------------------------------------- */

#content {
    width: 100vw;
    /* min-height: 12em; */
    height: auto;
    margin: auto;
}

#content-both {
    width: 78vw;
    height: auto;
    display: block;
    float: left;
    margin: 1em;
    text-align: justify;
}

#content-left {
    width: 52%;
    height: auto;
    display: block;
    float: left;
    margin: 1em;
    text-align: justify;
}

#content-right {
    width: 26%;
    float: left;
    height: auto;
}

#content-both strong {
    color: var(--primary-green);
    padding-top: 1rem;
    font-size: 1.5rem;
}
@media (max-width: 1240px) {
    #content-left {
        width: 78vw;
        height: auto;
        display: block;
        float: left;
        margin: 1em;
        text-align: justify;
    }

    #content-right {
        width: 78vw;
        float: left;
        height: auto;
    }
}
