@font-face {
  font-family: Roboto;
  src: url('roboto.ttf');
}

body {
    font-family: Roboto;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;

}

header {
    height: 86px;
    display: flex;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    margin-bottom: 30px;

    img {
        max-height: 80px;
    }

    > div {
        display: flex;
        flex-direction: row;
        padding: 2px 20px 2px 20px;
        justify-content: center;
        align-items: center;
        flex-grow: 1;

        > nav {
            min-width: 50%;
            flex-grow: 1;

            a {
                font-size: 20px;
                color: #474747;
                text-decoration: none;

                &:hover {
                    text-decoration: underline;
                }
            }

            > ul {
                &.smallnav {
                    display: none;
                }
                display: flex;
                flex-direction: row;
                list-style: none;
                gap: 20px;
                justify-content: right;
                align-items: center;

                .smallmenu {
                    height: 40px;
                }
            }
        }
    }
}

div.box {
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

div.content {
    display: flex;
    flex-direction: column;

    h1 {
        text-transform: uppercase;
        font-size: 30px;
        line-height: 1.2;
    }

    img {
        max-width: 100%
    }
    > div *:not(.banner) {
        padding-left: 15px;
        padding-right: 15px;

        strong, a {
            padding: unset;
        }
    }
}


footer {
    margin-top: 30px;
    background: #474747;
    color: white;
    font-size: 20px;
    padding: 30px;

    a {
        color: #ffffff;
    }

    > div {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;

        > div {
            flex-grow: 1;
            display: flex;
            flex-direction: column;

            &.right {
                gap: 5px;
            }
        }
    }
}


@media screen and (max-width: 850px) {

    header > div > nav > ul {
        &.smallnav {
            display: flex;
        }
        &.bignav {
            display: none;
            flex-direction: column;
            gap: 20px;
            background: white;
            font-size: 30px;
            left: 10px;
            padding: 20px;
            width: calc(100% - 60px);
            top: 60px;
            position: absolute;
            box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
        }
    }

    footer > div {
        flex-direction: column;
        gap: 20px;
    }

}
