@font-face {
    /* declare fonts */
    font-family: MuseoSans;
    src: url("../fonts/MuseoSans_500.otf");
    src: local("MuseoSans"), local("MuseoSans"), url("../fonts/MuseoSans_500.otf") format("opentype"),
}
@font-face {
    /* declare fonts */
    font-family: MontserraRegular;
    src: url("../fonts/Montserrat-Regular.eot");
    src: local("Montserrat-Regular"), local("Montserrat-Regular"), url("../fonts/Montserrat-Regular.eot") format("opentype"),
}
@font-face {
    /* declare fonts */
    font-family: MontserraRegular;
    src: url("../fonts/Montserrat-Regular.ttf");
    src: local("Montserrat-Regular"), local("Montserrat-Regular"), url("../fonts/Montserrat-Regular.eot") format("opentype"),
}
/* Grid layout specifics */

@media screen and (min-width: 601px) {
    body {
        padding: 0;
        margin: 0%;
        font-size: 18px;
    }
    figure,
    .image {
        float: right;
        width: 50%;
        overflow: hidden
    }
    figcaption,
    .figcaption {
        background: yellow;
    }
    img.m {
        width: 400px;
        float: left;
        margin: 0 1em 1em 0;
        border: 0px solid black;
        clear: both;
        /*box-shadow:2px 5px 10px 2px #888;*/
    }
    .title {
        font-size: 30px;
        color: #000;
        text-transform: none;
        font-style: normal;
        margin: 0;
        position: fixed;
        width: 99%;
        padding: 1% 3.5%;
        background: white;
    }
    .title a {
        width: 100%;
        float: left;
        text-decoration: none;
        color: black;
    }
    .element.o {
        background: #eee
    }
    .element ul,
    .element code {
        margin: 1% 1%;
        font-size: 150%;
    }
    .element p {
        margin: 1% 1%;
        font-size: 120%;
        max-width: 40em;
    }
    .element {
        float: left;
        margin-top: 1%;
        min-height: 500px;
        padding: 5% 2.5% 0.5%;
        width: 95%;
    }
    .element a {
        margin-top: 10px;
    }
    .element ul.toc,
    .element ul.about,
    .element ul.contact {
        font-size: 145%;
        list-style-type: none;
        padding: 0;
        max-width: 20em;
    }
    ul.about,
    ul.contact {
        margin-top: 1em;
    }
    ul > li {
        margin-bottom: .3em;
    }
    .element.o {
        /*background:url("../images/1.png") repeat-x;*/
    }
    .element.t {
        /*background:url("../images/1.png") repeat-x;*/
    }
    h1 {
        font: 32px/1"MontserraRegular", Helvetica, sans-serif;
        color: #000;
        text-transform: uppercase;
        letter-spacing: 12px;
        font-weight: 300;
        font-style: normal;
        /*margin: 1% 15%;*/
    }
    h2 {
        font: 40px Helvetica, sans-serif;
        color: #000;
        text-transform: uppercase;
        letter-spacing: 4px;
        margin: 1% 1% 2% 1%;
    }
}
@media screen and (max-width: 600px) {
    body {
        padding: 0;
        margin: 0;
        font-size: 14px;
    }
    figure,
    .image {} .image img {
        width: 320px;
    }
    .figcaption,
    figcaption {
        background: red;
    }
    .title {
        font-size: 25px;
        color: #000;
        text-transform: none;
        font-style: normal;
        margin: 0;
        position: fixed;
        width: 100%;
        background: white;
    }
    .title a {
        width: 100%;
        float: left;
    }
    .element ul,
    .element code,
    .element p {
        margin: 1% 1%;
        font-size: 120%;
    }
    .element {
        padding: .5%;
        padding-top: 2%;
        margin-top: 2%;
        float: left;
        width: 99%;
    }
    .element a {
        margin-top: 10px;
    }
    .element ul.toc,
    .element ul.about,
    .element ul.contact {
        margin-top: 1em;
        font-size: 25px;
        list-style-type: none;
        padding: 0;
    }
    .element.o {
        /*background:url("../images/1.png") repeat-x;*/
    }
    .element.t {
        /*background:url("../images/1.png") repeat-x;*/
    }
    h1 {
        font: 32px/1"MontserraRegular", Helvetica, sans-serif;
        color: #000;
        text-transform: uppercase;
        letter-spacing: 12px;
        font-weight: 300;
        font-style: normal;
        margin: 1% 1%;
    }
    h2 {
        font: 24px/1 Helvetica, sans-serif;
        color: #000;
        text-transform: uppercase;
        letter-spacing: 4px;
        font-weight: 300;
        font-style: normal;
        margin: 3% 1%;
    }
}