* {
    box-sizing: border-box;
}

html {}

body {
    background-color: #f7f7f7;
    height: 100%;
}

p {
    line-height: 2;
}

.panel {
    font-size: 4rem;
    margin: 0 1rem;
    padding: 0.3rem 1.5rem;
    text-align: center;
    width: 6rem;
    height: 6rem;
    display: inline-block;
}

.color-strategy {
    color: #01416f;
}

.panel-strategy {
    color: #01416f;
    border: 2px solid #01416f;
}

.color-planning {
    color: #0a4e71;
}

.panel-planning {
    color: #0a4e71;
    border: 2px solid #0a4e71;
}

.color-administration {
    color: #19647b;
}

.panel-administration {
    color: #19647b;
    border: 2px solid #19647b;
}

.color-review {
    color: #257282;
}

.panel-review {
    color: #257282;
    border: 2px solid #257282;
}

.color-consulting {
    color: #2e8187;
}

.panel-consulting {
    color: #2e8187;
    border: 2px solid #2e8187;
}

.color-solutions {
    color: #38918b;
}

.panel-solutions {
    color: #38918b;
    border: 2px solid #38918b;
}

/* flex containers - row/column */

.body-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.row-container {
    padding: 2rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

nav {
    background-color: #fff;
}

nav.row-container {
    justify-content: space-around;
    align-items: center;
}

/* flex items */

.one-third {
    flex: 1;
}

.two-thirds {
    flex: 2;
}

.lead-lettering {
    flex: 1;
}

.home-copy {
    flex: 9;
}

/* regular containers */

.container {
    padding: 2rem;
}

.content-copy {
    width: 80%;
    margin: auto;
    font-size: 1.3rem;
    font-weight: 300;
}

.title-cards {
    border-bottom: 1px dashed #ccc;
    width: 80%;
}

.box-list {
    padding: 1rem;
    border-left: 1px dashed #ddd;
}

.box-list:last-child {
    border-right: 1px dashed #ddd;
}

section.value-cards {
    border-bottom: 1px dashed #ccc;
    margin: 0 1rem;
}

main {
    padding-bottom: 5rem;
}

footer {
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #cecac8;
    height: 5rem;
    display: flex;
    align-items: center;
}

footer span {
    padding-left: 10%;
}

/* helper */

.hidden {
    display: none;
}

/* typography */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: #333;
    font-size: 16px;
}

h3 {
    margin-top: 0;
}

/* components */

.menu-ul {
    list-style-type: none;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
}

.menu-ul li {
    display: inline;
    padding: 1rem 1rem;
}

.menu-ul a, .value-nav a {
    color: #444;
    text-decoration: none;
    display: inline-block;
    position: relative;
}

.menu-ul a:after, .value-nav a:after {
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 50%;
    position: absolute;
    background: #333;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}

.menu-ul a:hover:after .value-nav a:hover:after {
    width: 100%;
    left: 0;
}

.value-nav {
    padding: 0;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #ccc;
    justify-content: flex-start;
}

.value-nav a {
    display: inline;
    padding: 0 1rem;
}

.value-nav a:not(:first-child) {
    border-left: 1px solid #333;
}

.largeImage {
    display: none;
}
.smallImage {
    display: block;
}


@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    .title-cards {
        width: 100%;
    }

    .row-container-value {
        flex-direction: column;
    }
    .box-list {
        border-left: none;
        border-bottom: 1px dashed #ddd;
    }
    .box-list:last-child {
        border: none;
    }

    .largeImage {
        display: block;
    }
    .smallImage {
        display: none;
    }

    .value-nav {
        justify-content: center
    }
}