
/* --------------------------------- */
/* fonts */

@font-face {
    font-family: CogitoLight;
    src: url(../fonts/Cogito-Light.otf);
    font-weight:200;
}
@font-face {
    font-family: Cogito;
    src: url(../fonts/Cogito-Regular.otf);
    font-weight:400;
}
@font-face {
    font-family: CogitoLightItalic;
    src: url(../fonts/Cogito-LightItalic.otf);
    font-weight:400;
}

/* --------------------------------- */
/* all */

* {
    box-sizing: border-box;
    margin: 0;
}

/* --------------------------------- */
/* rem */

html {
    font-size: 16px;
}

@media (min-width: 1500px) {
    html {
        font-size: 20px;
    }
}

/* --------------------------------- */
/* body */

body {
    font-family: Cogito;
    color: #383838;
    background-color: #f8f8f8;
}

@media (min-width: 768px) {
    body {
        max-width: 56rem;
        margin-left:  auto;
        margin-right: auto;
        padding-bottom: 9.3rem;
        padding-left:  1.25rem;
        padding-right: 1.25rem;
    }
}

#page-content {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-bottom: 3.125rem;

}

/* --------------------------------- */
/* typography */

p {
    line-height: 1.4em;
    padding-bottom: 1em;
}
h1, h2, h3, h4, h5, h6, figure {
    padding-bottom: 0.83em;
}

/* --------------------------------- */
/* img */

img {
    display: block;
    width: 100%;
}

/* --------------------------------- */
/* a */

a {
    text-decoration: none;
    color: inherit;
}
a img {
    transition: opacity 0.2s ease-out;
}
a:hover p, a:hover h1, a:hover h2, a:hover h3, 
a:hover h4, a:hover h5, a:hover h6 {
    opacity: 0.6;
}
a:hover img {
    opacity: 0.8;
}
