body {
    margin: 0;
}

.cp-section {
    background: #fff;
    color: #4d4d4d;
    text-align: center;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.cp-wrapper {
    max-width: 64em;
    padding: 1em;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 100%; /* fix for IE */
}

.cp-logo {
    font-style: italic;
    margin-bottom: 2em;
}

.cp-logo > div,
.cp-logo > a {
    display: inline-block;
    vertical-align: top;
}

.cp-logo img {
    width: 8em;
    margin-left: 0.25em;
    filter: brightness(0.305);
}


.cp-slider {
    width: 80%;
    margin: 1em 0;
}

#cp-slider-handle {
    cursor: pointer;
    width: 9em;
    margin-left: -3em; /* source: https://stackoverflow.com/a/19162243 */
    margin-top: -1.2em;
    line-height: 2.4em;
    height: 2.4em;
    top: 50%;
    text-align: center;
    background: #3394A5;
    color: #fff;
    border: 1px solid #4d4d4d;
    font-weight: bold;
}

.cp-comparison {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: baseline;
    width: 100%; /* fix for IE */
}

.cp-comparison-item {
    flex: 0 1 25%;
    box-sizing: border-box;
    padding: 1em;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    max-width: 25%; /* fix for IE */
}

.cp-comparison-item span {
    font-size: 1.5em;
    font-weight: bold;
}

.cp-comparison-item div {
    width: 100%; /* fix for IE */
}

.cp-comparison-item img {
    filter: contrast(0.395);
}
