/* GLOBALS */
:root {
    --dark01: rgb(70, 70, 70);
    --dark02: rgb(100, 100, 100);
    --light01: rgb(248, 248, 248);
    --yellow: rgb(241, 201, 0);
    --yellow-dark: rgb(236, 181, 0);
}

html, .root {
    font-size: 16px;
    line-height: 24px;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1em;
    line-height: 1.5em;
    color: var(--dark02);
    margin: 0;
}

@font-face {
    font-family: IBM Plex Sans;
    src: url(../assets/fonts/IBMPlexSans-Regular.ttf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: IBM Plex Sans;
    src: url(../assets/fonts/IBMPlexSans-Bold.ttf);
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: IBM Plex Sans;
    src: url(../assets/fonts/IBMPlexSans-Italic.ttf);
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: IBM Plex Sans;
    src: url(../assets/fonts/IBMPlexSans-BoldItalic.ttf);
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: Work Sans;
    src: url(../assets/fonts/WorkSans-Medium.ttf);
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: Work Sans;
    src: url(../assets/fonts/WorkSans-MediumItalic.ttf);
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: Shadows Into Light;
    src: url(../assets/fonts/ShadowsIntoLight-Regular.ttf);
    font-weight: normal;
}

h1 {
    font-family: 'Work Sans', sans-serif;
    font-weight: bold;
    font-size: 2.5em;
    color: var(--dark01);
    line-height: 1.5em;
    margin-top: 0;
    margin-bottom: 0.5em;
}

h2 {
    font-family: 'Work Sans', sans-serif;
    font-weight: bold;
    font-size: 1.75em;
    color: var(--dark01);
    line-height: 1.5em;
    margin-top: 0;
    margin-bottom: 0.5em;
}

h3 {
    font-family: 'Work Sans', sans-serif;
    font-weight: bold;
    font-size: 1.25em;
    color: var(--dark01);
    line-height: 1.5em;
    margin-top: 0;
    margin-bottom: 0.5em;
}

p {
    margin-top: 0em;
    margin-bottom: 1.5em;
}

a {
    text-decoration: none;
    color: var(--dark02);
    padding: 0.5em 0;
}

a:hover {
    border-bottom: 4px solid var(--yellow) !important;
}

ul {
    list-style-type: circle;
}

ol {
	counter-reset: li;
	margin-left: 0;
	padding-left: 0;
}
ol > li {
	position: relative;
	margin: 0 0 6px 2em;
	padding: 8px 0 8px 32px;
	list-style: none;
}
ol > li:before {
	content:counter(li);
	counter-increment: li;
	position: absolute;
	top: 0.05em;
	left: -2em;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	width: 2.5em;
    height: 2.5em;
    text-align: center;
	margin-right: 8px;
	padding: 0.35em 0.5em 0.5em;
	color:#666;
	border: 2px solid var(--yellow);
    font-family: Work Sans, sans-serif;
	text-align: center;
    border-radius: 2.5em;
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2em;
        line-height: 1.5em;
        margin-bottom: 0.5em;
    }
    
    h2 {
        font-size: 1.5em;
        line-height: 1.5em;
        margin-bottom: 0.5em;
    }
    
    h3 {
        font-size: 1.125em;
        line-height: 1.5em;
        margin-bottom: 0.5em;
    }

    p {
        margin-bottom: 1.5em;
    }
}

/* NAVBAR */

.navbar {
    max-width: 936px;
    display: flex;
    align-items: center;
    margin: 1em auto;
}

nav {
    flex: 1;
}

nav ul {
    padding: 0;
}

nav ul li {
    list-style: none;
    display: inline-block;
    margin-right: 1em;
}

#current-page {
    border-bottom: 2px solid var(--dark02);
}

@media screen and (max-width: 968px) {
    .navbar {
        margin: 0 64px;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        margin: 0 24px;
    }
}


/* HERO */

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 936px;
    margin: 6.5em auto 9.5em;
}

.hero-text {
    flex-basis: 50%;
    position: relative;
}

.arrow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 300px;
}

.arrow-icon {
    flex-basis: 20%;
    position: relative;
    margin-right: 10px;
}

.arrow-text {
    font-family: 'Shadows Into Light', sans-serif;
    font-size: 1.25em;
    line-height: 1em;
    flex-basis: 80%;
    position: relative;
}

.hero-image {
    flex-basis: 50%;
    position: relative;
}

.hero-image img {
    max-width: 350px;
}

.dl-button {
    max-width: 150px;
}

@media screen and (max-width: 968px) {
    .hero {
        margin: 3em 64px 7.5em;
    }
    
    .hero-image svg {
        max-width: 400px;
    }

    .hero-image img {
        max-width: 300px;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        flex-direction:column-reverse;
        margin: 1.5em 24px 4em;
    }

    .hero-about {
        flex-direction:column;
    }

    .hero-image svg {
        max-height: 16em;
    }
}

/* CASE STUDIES HORIZONTAL */

.cs-card-hor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 936px;
    margin: 2em auto 6em;
}

.cs-text {
    flex-basis: 50%;
    position: relative;
    padding-right: 32px;
}

.cs-label {
    font-size:0.875em;
    font-weight: bold;
    margin-bottom: 1em;
}

.cs-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 175px;
    padding: 1em;
    border: none;
    background-color: var(--yellow);
    font-family: 'Work Sans', sans-serif;
    font-weight: bold;
    color: var(--dark01);
    text-decoration: none;
}

.cs-button:hover {
    background-color: var(--yellow-dark);
    border: none !important;
}

.cs-button-icon svg {
    flex-basis: 20%;
    position: relative;
    color: var(--dark01);
}

.cs-image img {
    flex-basis: 50%;
    position: relative;
    max-width: 456px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
}

.cs-image a:hover {
    border: none !important;
}

@media screen and (max-width: 968px) {
    .cs-card-hor {
        margin: 3em 64px 7.5em;
    }
    
    .cs-image img {
        max-width: 400px;
    }
}

@media screen and (max-width: 768px) {
    .cs-card-hor {
        flex-direction: column-reverse;
        margin: 1.5em 24px 3em;
    }

    .cs-button {
        padding: 0.75em;
    }

    .cs-image img{
        max-width: 100%;
        margin-bottom: 2em;
    }
}

/* CASE STUDIES */

.case-studies-hero {
    width: 100%;
    background-color: #332B2B;
    display: flex;
    justify-content: center;
    margin: 1em 0 4em;
}

.case-studies-hero img{
    max-width: 768px;
    width: 75%;
    margin: 0 auto;
}

.summary {
    font-size: 1.5em;
    line-height: 1.5em;
}

.body-image {
    width: 99%;
    display: flex;
    justify-content: center;
    margin: 1% 0;
}

.body-image-gallery {
    float: left;
    width: 49%;
    margin-right: 1%;
}

.threes{
    width: 32.5%;
    margin-right: 0.75%;
}


.body-image-gallery img {
    width: 100%;
    height: auto;
}

.body-image-gallery a:hover {
    border: none !important;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
    margin-bottom: 2em;
}

blockquote {
    font-size: 1.5em;
    line-height: 1.5em;
    border-left: 4px solid var(--yellow);
    margin: 1em 0;
}

blockquote p {
    padding-left: 1em;
}

.summary-overview {
    width: 100%;
    background-color: var(--light01);
    padding: 2.5em 0 2em;
    margin: 3em 0 4em;
}

.summary-points {
    display: flex;
    flex-wrap: wrap;
    max-width: 768px;
    margin: 0 auto;
}

.summary-item {
    display: flex;
    margin-right: 32px;
}

.summary-icon {
    position: relative;
    margin-right: 16px;
}

.section-divider {
    background-color: var(--yellow);
    border: 2px solid var(--yellow);
    margin: 4em 0 0.5em;
    width: 75px;
}

@media screen and (max-width: 968px) {
    .case-studies-hero {
        margin: 0.5em 0 3em;
    }
    
    .summary-overview {
        margin: 2.5em 0;
    }

    .summary-points {
        margin: 0 96px;
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .case-studies-hero {
        margin: 0.5em 0 1.5em;
    }

    .summary, blockquote {
        font-size: 1.25em;
    }

    .summary-points {
        margin: 0 24px;
    }

    .body-image-gallery {
        width: 100%;
    }
}

/* TEXT CONTENT */

.text-content {
    max-width: 768px;
    margin: 0 auto 4em;
}

.text-content ul, .summary-item ul {
    padding: 0 1em;
}

.split-lists, .split-ordered-list li {
    display: flex;
    justify-content: space-between;
    align-items:flex-start;
    max-width: 680px;
}

.split-list-left, .split-list-right, .split-ordered-list li h3, .split-ordered-list li p {
    flex-basis: 50%;
    position: relative;
    padding-right: 32px;
}

@media screen and (max-width: 968px) {
    .text-content {
        margin: 0 96px;
    }
}

@media screen and (max-width: 768px) {
    .text-content {
        margin: 0 24px;
    }

    .split-lists, .split-ordered-list li {
        flex-direction: column;
    }

    .split-list-left, .split-list-right, .split-ordered-list li h3, .split-ordered-list li p {
        padding: 0;
    }
}

/* CASE STUDIES NAVIGATION */

.cs-navigation-container {
    background-color: var(--light01);
    padding: 4em 0;
    margin: 0 auto 4em;
}

.cs-navigation {
    display: flex;
    justify-content: flex-start;
    align-items:flex-start;
    max-width: 936px;
    margin: 0 auto;
}


.cs-navigation a {
    margin-right: 32px;
    border-bottom: 4px solid rgba(0, 0, 0, 0);
}

.cs-navigation h3 {
    color: var(--dark02);
}

@media screen and (max-width: 968px) {
    .cs-navigation-container {
        padding: 2em 0;
    }

    .cs-navigation {
        flex-direction: column;
        margin: 0 64px;
    }

    .cs-navigation a {
        margin-bottom: 2em;
    }

}

@media screen and (max-width: 768px) {
    .cs-navigation-container {
        margin: 3em 0;
    }

    .cs-navigation {
        margin: 0 24px;
    }
}


/* FOOTER */

footer {
    max-width: 936px;
    margin: 0 auto 7.5em;
}

footer hr {
    margin-bottom: 2em;
    border-color: var(--yellow);
}

.link-outside {
    color:var(--yellow);
}

@media screen and (max-width: 968px) {
    footer {
        margin: 4em;
    }
}

@media screen and (max-width: 768px) {
    footer {
        margin: 3em 24px;
    }
}