@charset "utf-8";

/*
 * Page-specific presentation rules.
 *
 * These intentionally preserve the original visual treatment as closely as
 * possible, while adding responsive fallbacks for narrower screens.
 */

/* -------------------------------------------------------------------------- */
/* Intro                                                                       */
/* -------------------------------------------------------------------------- */

.intro-image {
    float: right;
    width: 300px;
    margin-left: 10px;
    margin-bottom: 10px;
}

/* -------------------------------------------------------------------------- */
/* Història                                                                    */
/* -------------------------------------------------------------------------- */

.historia-image {
    max-width: 100%;
    height: auto;
}

.historia-image--left {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

.historia-image--right {
    float: right;
    margin-left: 10px;
    margin-bottom: 10px;
}

/* -------------------------------------------------------------------------- */
/* Responsive adjustments                                                      */
/* -------------------------------------------------------------------------- */

@media screen and (max-width: 900px) {
    .intro-image,
    .historia-image--left,
    .historia-image--right {
        float: none;
        display: block;
        margin: 0 auto 1rem auto;
        width: auto;
        max-width: 100%;
    }

    footer > p {
        margin-right: 0;
    }
}
