@font-face {

    font-family: Roboto;
    src: url('fonts/roboto/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {

    font-family: Roboto;
    src: url('fonts/roboto/Roboto-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {

    font-family: Roboto;
    src: url('fonts/roboto/Roboto-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {

    font-family: Roboto;
    src: url('fonts/roboto/Roboto-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

a, a:visited, a:hover, a:active {

    color: #1c75bc;
}

body, html {

    margin: 0;
    height: 100%;
    background: #eee;
}

img {

    display: block;
    max-width: 100%;
}

* {

    font-family: Roboto, Monospace;
    color: #212529; 
    font-size: 14px;
    line-height: 1.5em;
    letter-spacing: 1px;
}

h1 {

    font-size: 1.25em;
    margin: 0;
    color: #1c75bc;
}

p {

    margin: 0;
}

.container {

    display: flex;
    flex-direction: column;
}

header {

    position: sticky;
    top: 0;
    left: 0;
    background: #eee;
    border-bottom: 1px solid #cccccc;
}

.toggle {

    padding: 1em;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    user-select: none;
}

.hide {

    display: none;
}

nav {

    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

nav > a {

    display: block;
    padding: 1em;
    border-top: 1px solid #cccccc;
}

nav > a:last-of-type {

    border-bottom: 0;
}

nav > a,
nav > a:visited,
nav > a:hover,
nav > a:active {

    color: #000;
    text-decoration: none;
}

nav > a.passive,
nav > a.passive:visited,
nav > a.passive:active {

    background: #fff;
}

nav > a.active,
nav > a.active:visited,
nav > a.active:active,
nav > a.passive:hover {

    color: #fff;
    background: #1c75bc;
}

.language {

    display: flex;
    position: fixed;
    right: 1em;
    bottom: 1em;
    padding: 0.5em 0em 0.5em 0.5em;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0.25em;

}

.language a {

    margin-right: 0.5em;
}

.language img {

    display: block;
    width: 3em;
}

main {

    padding: 1em;
    background-color: #f9f8f6;
    border-bottom: 1px solid #cccccc;
}

footer {

    color: #fff;
    padding: 1em;
}

.white-container {

    display: flex;
    justify-content: center;
    background: #fff;
    padding: 2em;
    border-bottom: 1px solid #cccccc;
}

.photo {

    display: block;
    max-width: 33%;
    border-radius: 0.25em;
}

figure {

    display: flex;
    flex-direction: column;
    align-items: center;
}

figure > img {

    display: block;
    flex-shrink: 1;
    border-radius: 0.25em;
    margin-bottom: 0.5em;
    max-height: 427px;
}

figure > figcaption {

    font-size: 0.75em;
}

.center {

    margin: 0 auto 0 auto;
    max-width: 1250px;
}

.client {

    display: flex;
    justify-content: center;
    padding-top: 1em;
    padding-bottom: 2em;
}

.client img {

    max-width: 50%;
}

@media (min-width: 600px){

    .toggle {

        display: none;
    }

    .hide {

        display: flex;
    }

    main {

        padding: 5em;
    }

    header {

        padding: 1em 1em 0em 1em;
    }

    nav {

        flex-direction: row;
    }

    nav > a {

        padding: 1em;
    }

    nav > a,
    nav > a:visited,
    nav > a:hover,
    nav > a:active {

        padding: 1em;
        border: 0;
        margin-right: 1em;
    }

    /* Passive */
    nav > a.passive,
    nav > a.passive:visited,
    nav > a.passive:active {

        color: #212529; /* Black */
        background: transparent;

    }

    /* Active */
    nav > a.active,
    nav > a.active:visited,
    nav > a.active:active,
    nav > a.passive:hover {

        color: #212529; /* Black */
        background: transparent;
        border-bottom: 2px solid #1c75bc; /* Blue */
    }

    .language img {

        width: 4em;
    }

    .client {

        padding-top: 0;
        padding-bottom: 5em;
    }
}

@media (min-width: 900px){

    * {

        font-size: 20px;
    }
}

.hidden {

    display: none;
}
