

:root {
    font-size: 16px;
}

* {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

body {
    background-color: #252525;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #252525;
    line-height: 1.5;
}

h1, h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
    line-height: 1.15;
    letter-spacing: 1px;
}

span {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    text-transform: uppercase;
}

.span-bottom {
    display: inline-block;
    margin-bottom: 20px;
}

ul {
    list-style-type: none;
}

a {
    color: #fff;
    text-decoration: none;
}

img {
    max-width: 100%;
}

button {
    background: none;
    cursor: pointer;
}

header, footer {
    width: 100%;
}

.flex {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}

.header-main {
    height: 70px;
    background-color: #252525;
}

.header-sub {
    height: 70px;
    background-color: transparent;
}

.container {
    width: 50%;
    min-width: 70rem;
    max-width: 120rem;
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    margin-left: 40px;
    transition: all 0.3s ease-in-out;
}

.nav-link:hover {
    display: inline-block;
    background: #fff;
    color: #252525;
    padding: 5px 12px;
    border-radius: 25px;
    transition: all 0.3s ease-in-out;
}

.nav-link-active {
    display: inline-block;
    background: #fff;
    color: #252525;
    padding: 5px 12px;
    border-radius: 25px;
}

.nav-column {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-mobile {
    display: none;
}

.nav-container-mobile {
    display: none;
}

.nav-column:first-child {
    margin-right: 1.25rem;
    justify-content: flex-start;
}

.nav-menu {
    margin-left: 1.25rem;
    justify-content: flex-end;
}

.logo {
    margin-right: 1.25rem;
}

.logo > a > img {
    display: block;
    height: 56px;
    width: 56px;
    margin: 0 auto;
}

.font-light {
    color: #fff;
}

.font-dark {
    color: #252525;
}

.slogan, .slogan span{
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #fff;
    line-height: 1.5;
    text-transform: none;
}

.slogan .letter {
    display: inline-block;
    line-height: 1.5;
}

main {
    position: relative;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
    background: #fff;
}

.main-page {
    padding-top: 80px;
    padding-bottom: 80px;
}

.cards {
    justify-content: center;
}

.card {
    height: 100%;
    min-height: 600px;
    width: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center; 
}

.card-adving {
    background-image: url('img/adving.jpg');
    margin-right: 20px;
}

.card-consulting {
    background-image: url('img/consulting.jpg');
    margin-left: 20px;
}

.card-overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: auto;
    padding-top: 40px;
    padding-bottom: 40px;
}

.overlay-light {
    background-color: rgb(255, 255, 255, 0.45);
}

.overlay-dark {
    background-color: rgb(37, 37, 37, 0.45);
}

.card-overlay > h2 {
    margin-bottom: 40px;
}

#btn-to-top {
    visibility: hidden;
    opacity: 0;
    display: flex;
    position: fixed;
    bottom: 204px;
    right: 40px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    z-index: 100;
    background-color: #F6F7F7;
}

.show {
    visibility: visible!important;
    opacity: 1!important;
    transition: all 0.3s ease-in-out;
}

.icon-rotate-up {
    transform: rotate(180deg);
}

.btn-circle {
    text-align: center;
    background: transparent;
    padding: 0;
    height: 3.5rem;
    width: 3.5rem;
    border-radius: 56px;
    transition: all 0.3s ease-in-out;
}

.btn-circle:hover {
    transition: all 0.3s ease-in-out;
}

.btn-dark {
    border: 2px solid #252525;
}

.card-overlay > .btn-dark:hover {
    background-color: #252525;
}

.btn-light {
    border: 2px solid #fff;
}

.card-overlay > .btn-light:hover {
    background-color: #fff;
}

.arrow, .icon {
    display: inline-block;
    height: 1.5rem;
    width: 1.5rem;
    vertical-align: middle;
}

.icon-light {
    fill: #fff;
}

.icon-dark {
    fill: #252525;
}

footer {
    background-color: #252525;
    color: #fff;
    padding-top: 40px;
    padding-bottom: 80px;
}

footer > .container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.footer-column {
    flex: 1;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
}

.footer-text {
    margin-top: 5px;
    margin-bottom: 20px;
}

.footer-column:first-child {
    margin-right: 1.25rem;
}

.footer-column:last-child {
    margin-left: 1.25rem;
}

.social-links {
    display: inline-block;
    padding-top: 20px;
}

.social-links-mobile {
    display: none;
}


/* sub-pages */

.hero {
    position: absolute;
    width: 100%;
    z-index: -99;
    top: 0;
    color: #fff;
    height: auto;
    min-height: 300px;
    text-align: center;
}

.hero-adving {
    background-image: url('img/adving.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-consulting {
    background-image: url('img/consulting.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-partnership {
    background-image: url('img/partnership.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-overlay {
    background-color: rgb(37, 37, 37, 0.45);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay > .container > h1 {
    margin-top: 40px;
}

.sub-page {
    margin-top: 230px;
}

p {
    margin-bottom: 1rem;
}

.section-padding {
    padding-top: 40px;
    padding-bottom: 40px;
}

.txt-center {
    text-align: center;
}

.section-two {
    display: flex;
    justify-content: space-between;
}

.section-two-col:first-child {
    width: 60%;
    display: flex;
    flex-flow: column nowrap;
}

.section-two-col:last-child {
    width: 30%;
}

.section-two-col > ul {
    margin-bottom: 1rem;
}

.section-two-col > ul, .section-two-col > p {
    margin-top: 0.5rem;
}

.white-bg {
    background-color: #fff;
}

.grey-bg {
    background-color: #F6F7F7;
}

.two-grid, .three-grid, .four-grid {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.three-grid-col {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.two-grid-col {
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.four-grid-col {
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adving-travel {
    background-image: url('img/travel.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 200px;
}

.adving-automotive {
    background-image: url('img/automotive.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 200px;
}

.adving-home-lifestyle {
    background-image: url('img/home-lifestyle.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 200px;
}

.btn-adving {
    display: inline-block;
    background: rgb(37, 37, 37, 0.45);
    color: #fff;
    padding: 5px 12px;
    border-radius: 25px;
}

.cases, .testimonials {
    align-items: flex-start;
}

.testimonials {
    text-align: left;
    margin-bottom: 20px;
}

.case, .testimonial {
    flex-flow: column wrap;
    margin-bottom: 40px;
}
    
.testimonial > img {
    margin-bottom: 10px;
}

.testimonial > span {
    display: block;
    width: 100%;
    text-transform: none;
}

.case > img {
    max-width: 100%;
    height: auto;
}

.case-text {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
}

#platforms > .container > p {
    text-align: left;
}

.line-spacer {
    border-top: 2px solid #F6F7F7;
    padding: 1.25rem 0;
}

ul {
    margin-bottom: 20px;
    line-height: 1.25rem;
}

li {
    list-style: none;
    margin-bottom: 10px;
}

li:last-child {
    margin-bottom: 0;
}

input[type="checkbox"] {
    margin-top: 10px;
    margin-right: 15px;
    float: left;
}

label {
    display: inline-block;
    max-width: 90%;
}

code {
    color: #fff;
    font-size: 16px;
    background: #f7f7f7;
    padding: 3px 5px;
    border-radius: 3px;
    border: 1px solid #ebebeb;
}

button#ihavecookiesBtn {
    margin-left: 0px !important;
}

/* Cookie Dialog */
#cookie-message {
    position: fixed;
    right: 30px;
    bottom: 30px;
    max-width: 375px;
    background-color: #252525;
    padding: 20px;
    box-shadow: 0 6px 6px rgba(0,0,0,0.25);
    margin-left: 30px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #fff;
    line-height: 1.5;
    z-index: 100;
}

#cookie-message h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 10px;
    text-transform: uppercase;
}

#cookie-message h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 10px;
}
#cookie-message p, #cookie-message ul {
    color: #fff;
    font-size: 1rem;
    line-height: 1.5;
}
#cookie-message p:last-child {
    margin-bottom: 0;
    text-align: right;
}
#cookie-message li {
    width: 49%;
    display: inline-block;
}
#cookie-message a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(255,255,255,0.75);
    transition: all 0.3s ease-in-out;
}
#cookie-message a:hover {
    color: #fff;
    border-bottom-color: #fff;
    transition: all 0.3s ease-in-out;
}
#cookie-message button,
button#ihavecookiesBtn {
    border: none;
    background: #252525;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    line-height: 1.5;
    padding: 5px 12px;
    border-radius: 25px;
    margin-left: 15px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
}
#cookie-message button:hover {
    background: #fff;
    color: #252525;
    transition: all 0.3s ease-in-out;
}
button#cookie-accept {
    background: #fff;
    color: #252525;
}
#cookie-message button:disabled {
    opacity: 0.3;
}
#cookie-message input[type="checkbox"] {
    float: none;
    margin-top: 0;
    margin-right: 5px;
}

@media only screen and (max-width: 1200px) {

    body {
        background-color: #fff;
    }

    h1, h2 {
        font-size: 1.5rem;
    }

    .flex {
        flex-flow: column nowrap;
        flex-grow: 1;
    }

    .container {
        width: 100%;
        min-width: 15rem;
    }

    .main-page {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    #btn-to-top {
        bottom: 80px;
        right: 10px;
    }

    .card {
        width: 100%;
        height: auto;
        min-height: 150px;
    }

    .card-overlay {
        width: 100%;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .card-overlay > h2 {
        font-size: 2.5rem;
    }

    .card-adving {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .card-consulting {
        margin-left: 0;
        margin-top: 10px;
    }

    .nav-container {
        flex-grow: 1;
    }

    .nav-column > h3 {
        display: none;
    }

    .nav-menu {
        display: none;
    }

    .nav-mobile {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .nav-btn-mobile {
        cursor: pointer;
        color: #fff;
    }

    .nav-container-mobile {
        display: block;
        background: #252525;
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
        overflow: auto;
        color: #fff;
        text-align: center;
        transform: translate(-100%, 0);
        transition: 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        -webkit-font-smoothing: antialiased;
    }

    .nav-container-mobile-toggle {
        transform: none;
    }

    .nav-container-mobile > .container:first-child {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        height: 70px;
    }

    .nav-column-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu-mobile {
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
    }

    .nav-menu-mobile > .nav-link {
        margin-left: 0;
        margin-bottom: 20px;
    }

    .nav-column-footer-mobile {
        width: 100%;
        padding-bottom: 40px;
    }

    .nav-column-footer-mobile > hr {
        margin-bottom: 20px;
    }

    .nav-column-footer-mobile > h3 {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .nav-column-footer-mobile > ul {
        margin-top: 5px;
        margin-bottom: 20px;
    }

    footer > .container {
        flex-flow: column nowrap;
    }

    .footer-column:first-child {
        margin-right: 0;
    }
    
    .footer-column:last-child {
        margin-left: 0;
    }

    .hero {
        text-align: left;
        min-height: 250px;
    }

    .hero-overlay {
        min-height: 250px;
    }

    .sub-page {
        margin-top: 180px;
    }

    .two-grid, .three-grid, .section-two {
        flex-flow: column nowrap;
        margin-top: 0;
    }

    .two-grid-col, .three-grid-col, .section-two-col {
        width: 100%!important;
    }

    .adving-travel {
        margin-top: 0;
    }

    .adving-automotive, .adving-home-lifestyle {
        margin-top: 20px;
    }

    .line-spacer {
        padding: 0.5rem 0;
    }

    .four-grid {
        flex-flow: row wrap;
    }

    .four-grid-col {
        flex-basis: 45%;
    }
    
    .social-links {
        display: none;
    }

    .social-links-mobile {
        display: inline-block;
        padding-top: 20px;
    }

    #cookie-message {
        width: 100%;
        bottom: 0;
        right: 0;
        margin-left: 0;
    }
} 

