@font-face {
    font-family: 'Lato';
    src: url('https://images.pricerunner.com/files/fonts/Lato-Bold.woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('https://images.pricerunner.com/files/fonts/Lato-Regular.woff');
    font-weight: 400;
    font-style: normal;
}

/*! normalize.css v2.1.3 | MIT License | git.io/normalize */

/* ==========================================================================
   Wait... let's also reset some things
   ========================================================================== */

*:before, *:after{
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html,body,h1,h2,h3,h4,h5,h6,
p,blockquote,pre,
dl,dd,
form,
table,th,td,caption,
hr, figure {
    margin:0;
    padding:0;
}

/* ==========================================================================
   Base
   ========================================================================== */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
    font-family: sans-serif; /* 1 */
    -ms-text-size-adjust: 100%; /* 2 */
    -webkit-text-size-adjust: 100%; /* 2 */
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-kerning: auto;
    font-size: 100%;
    font: inherit;
}

/* ==========================================================================
   Links
   ========================================================================== */


/**
 * Remove the gray background color from active links in IE 10.
 */

a {
    text-decoration: none;
    background: transparent;
}

/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */

a:focus {
    outline: thin dotted;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
    outline: 0;
}

.header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 90px;
    padding-top: 40px;
    fill: #eb5864;
}

.main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
    font-family: 'Lato', sans-serif;
    color: rgba(0, 0, 0, 0.91);
    margin-bottom: 80px;
}

.info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 600px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
    margin: 0 15px;
}

.info__heading {
    font-size: 32px;
    font-weight: 500;
    text-align: center;
    margin: 0;
}

.info__paragraph {
    font-size: 18px;
    line-height: 1.33;
    margin: 18px 0 40px 0;
    text-align: center;
}

.info__goto-button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
    text-align: center;
    font-size: 16px;
    width: 240px;
    height: 40px;
    background-color: #207a88;
    color: rgba(255, 255, 255, 0.91);
    border-radius: 20px;
}

.info__goto-button:hover {
    background-color: #0F4952;
}

.section {
    max-width: 870px;
    margin: 80px 15px 0 15px;
}

.section__heading {
    font-size: 20px;
    font-weight: 500;
}

.section__divider {
    width: 100%;
    border-top: solid 1px #e1e4e6;
    margin: 16px 0;
}

.section__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    flex-wrap: wrap;
}

.category {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
    width: 100%;
    margin: 25px 0 16px 0;
}

.category__icon {
    display: inline-block;
    width: 90px;
    height: 60px;
    background-image: url('../assets/sprite-180x120.png');
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 auto;
}

.category__icon--phone {
    background-position: 0 60%;
}

.category__icon--fridge {
    background-position: 0 35%;
}

.category__icon--speaker {
    background-position: 0 75%;
}

.category__icon--computer {
    background-position: 0 20%;
}

.category__icon--game {
    background-position: 0 40%;
}

.category__icon--garden {
    background-position: 0 45%;
}

.category__icon--sport {
    background-position: 0 80%;
}

.category__icon--best {
    background-position: 0 0;
}

.category__link, .category__no-link {
    font-size: 13px;
    line-height: 1.23;
    color: rgba(0, 0, 0, 0.91);
    margin: 3px 0;
}

.category__link--icon, .category__no-link--icon {
    text-align: center;
    margin: 0;
}

.category__link:hover {
    color: #207a88;
}

.category__heading {
    font-size: 13px;
    font-weight: 500;
    margin: 10px 0;
}

.section__paragraph {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 15px;
}

@media (min-width: 478px) {
    .section__container {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .category {
        width: 50%;
    }
}

@media (min-width: 691px) {
    .category {
        width: 33%;
    }
}

@media (min-width: 950px) {
    .section__container {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .category {
        width: 25%;
    }
}
