﻿html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, menu, nav, section, time, mark, audio, video, details, summary {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-weight: normal;
    vertical-align: baseline;
    background: transparent;
}

main, article, aside, figure, footer, header, nav, section, details, summary {
    display: block;
}

/* Handle box-sizing while better addressing child elements:
   http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

/* consider resetting the default cursor: https://gist.github.com/murtaugh/5247154 */

/* Responsive images and other embedded objects */
/* if you don't have full control over `img` tags (if you have to overcome attributes), consider adding height: auto */
img,
object,
embed {
    max-width: 100%;
}

/*
   Note: keeping IMG here will cause problems if you're using foreground images as sprites.
	In fact, it *will* cause problems with Google Maps' controls at small size.
	If this is the case for you, try uncommenting the following:

#map img {
		max-width: none;
}
*/

/* force a vertical scrollbar to prevent a jumpy page */
html {
    overflow-y: scroll;
}

/* we use a lot of ULs that aren't bulleted.
	you'll have to restore the bullets within content,
	which is fine because they're probably customized anyway */
ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

    blockquote:before,
    blockquote:after,
    q:before,
    q:after {
        content: '';
        content: none;
    }

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom: 1px dotted #000;
    cursor: help;
}

/* tables still need cellspacing="0" in the markup */
table {
    border-collapse: separate;
    border-spacing: 0;
}

th {
    font-weight: bold;
    vertical-align: bottom;
}

td {
    font-weight: normal;
    vertical-align: top;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

input, select {
    vertical-align: middle;
}

pre {
    white-space: pre; /* CSS2 */
    white-space: pre-wrap; /* CSS 2.1 */
    white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
    word-wrap: break-word; /* IE */
}

input[type="radio"] {
    vertical-align: text-bottom;
}

input[type="checkbox"] {
    vertical-align: bottom;
}

.ie7 input[type="checkbox"] {
    vertical-align: baseline;
}

.ie6 input {
    vertical-align: text-bottom;
}

select, input, textarea {
    font: 99% sans-serif;
}

table {
    font-size: inherit;
    font: 100%;
}

small {
    font-size: 85%;
}

strong {
    font-weight: bold;
}

td, td img {
    vertical-align: top;
}

/* Make sure sup and sub don't mess with your line-heights http://gist.github.com/413930 */
sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

/* standardize any monospaced elements */
pre, code, kbd, samp {
    font-family: monospace, sans-serif;
}

/* hand cursor on clickable elements */
.clickable,
label,
input[type=button],
input[type=submit],
input[type=file],
button {
    cursor: pointer;
}

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea {
    margin: 0;
}

    /* make buttons play nice in IE */
    button,
    input[type=button] {
        width: auto;
        overflow: visible;
    }

/* scale images in IE7 more attractively */
.ie7 img {
    -ms-interpolation-mode: bicubic;
}

/* prevent BG image flicker upon hover
   (commented out as usage is rare, and the filter syntax messes with some pre-processors)
.ie6 html {filter: expression(document.execCommand("BackgroundImageCache", false, true));}
*/

/* let's clear some floats */
.clearfix:after {
    content: " ";
    display: block;
    clear: both;
}

/* -------------------- */

@font-face {
    font-family: "Muli";
    src: url('../fonts/Mulish-Regular.ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Muli";
    src: url('../fonts/Mulish-SemiBold.ttf');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Muli";
    src: url('../fonts/Mulish-SemiBold.ttf');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Muli";
    src: url('../fonts/Mulish-Bold.ttf');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Varela";
    src: url('../fonts/VarelaRound-Regular.ttf');
    font-weight: 400;
    font-style: normal;
}

/* -------------------- */

body {
    background-color: #fff;
    font-family: "Muli";
    font-size: 16px;
}

.text-black {
    color: #000;
}

.text-white {
    color: #fff;
}

.text-purple {
    color: #1D1152;
}

.text-pink {
    color: #D6D3E2;
}

.text-white-90 {
    color: #F1EFF6;
}

.text-washed {
    color: #7B7693;
}

.margin-bottom {
    margin-bottom: 2.78vw !important;
}

.margin-bottom-big {
    margin-bottom: calc(40px + 40 * ((100vw - 400px) / 1040)) !important;
}

.margin-left {
    margin-left: 2.78vw !important;
}
.margin-right {
    margin-right: 2.78vw !important;
}

@media (min-width: 768px) {
    .d-flex {
        display: flex;
    }

    .flex-wrap {
        flex-wrap: wrap;
    }

    .flex-50-container {
        margin-left: -3.5vw;
        margin-right: -3.5vw;
    }

    .flex-50-item {
        flex: 1 0 50%;
        flex: 1 0 calc(50% - 7vw);
        min-width: calc(50% - 7vw);
        padding: 0 3.5vw;
    }

    .flex-grid-container {
        display: flex;
        flex-wrap: wrap;
        margin-left: -1.39vw;
        margin-right: -1.39vw;
    }

    .flex-grid-item {
        flex: 1 0 50%;
        flex: 1 0 calc(50% - 2.78vw);
        max-width: calc(50% - 2.78vw);
        min-width: calc(50% - 2.78vw);
        padding: 1.39vw;
    }
}

@media (min-width: 1440px) {
    .flex-50 {
        flex: 1 0 calc(50% - 50px);
        padding: 0 50px;
    }

    .flex-container {
        margin-left: -50px;
        margin-right: -50px;
    }

    .margin-bottom-big {
        margin-bottom: 80px !important;
    }
}

@media (max-width: 1080px) {
    .hidden-tablet {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .hidden-mobile {
        display: none !important;
    }
}

/* -------------------- */

p, h1, h2, h3, h4 {
    max-width: 768px;
}

.tag {
    font-size: 18px;
    line-height: 1em;
    margin-bottom: 40px;
}

.h2 {
    font-size: 28px;
    font-size: clamp(28px, calc(28px + 14 * ((100vw - 400px) / 1040)), 42px);
    line-height: 1.23em;
    margin-bottom: 40px;
}

.h3 {
    font-size: 21px;
    line-height: 1.23em;
    margin-bottom: 16px;
}

.body-text {
    font-size: 16px;
    font-size: clamp(16px, calc(16px + 5 * ((100vw - 400px) / 1040)), 21px);
    line-height: 1.5em;
    margin-bottom: 24px;
}

.small-text {
    font-size: 16px;
    font-size: clamp(16px, calc(16px + 2 * ((100vw - 400px) / 1040)), 18px);
    line-height: 1.5em;
    margin-bottom: 24px;
}

@media (min-width: 1440px) {
    .h2 {
        font-size: 42px;
    }

    .body-text {
        font-size: 21px;
    }

    .small-text {
        font-size: 18px;
    }
}

/* -------------------- */

body {
    color: #252432;
}

.main {
    background-color: #fff;
    position: relative;
    width: 100%;
}

/* -------------------- */

.varela {
    font-family: "Varela";
    font-weight: 400;
}

/* -------------------- */

.section {
    min-height: 100vh;
}

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

.section-purple {
    background: #4126B5 url('../img/bg-waves-purple-big@2x.jpg') 100% 0 no-repeat;
    background-size: cover;
}

.section-purple-deep {
    background: #4126B5 url('../img/bg-waves-purple-deep@2x.jpg') 100% 0 no-repeat;
    background-size: cover;
}

.section-washed {
    background-color: #F9F4FC;
}

.section-waves {
    background: #fff url('../img/bg-waves-washed@2x.jpg') 100% 0% no-repeat;
    background-size: cover;
}

.container {
    flex: 1;
    margin: 0 auto;
    max-width: 1440px;
    padding: 60px 7vw;
}

@media (min-width: 768px) {
    .section {
        align-items: center;
        display: flex;
        /*min-height: 100vh;*/
    }

    .container {
        padding: 100px 7vw 120px;
    }
}

@media (min-width: 1440px) {
    .container {
        padding: 100px 100px 120px;
    }
}

/* -------------------- */

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 50px 11px rgba(13, 13, 13, 0.05);
    max-width: 960px;
}

.card-purple-shadow {
    box-shadow: 0px 0px 50px 11px rgba(102, 96, 167, 0.05);
}

.card-body {
    padding: calc(24px + 24 * ((100vw - 400px) / 1040));
}

.card-title {
    font-size: calc(18px + 6 * ((100vw - 400px) / 1040));
    margin-bottom: 16px;
}

.card-title-big {
    font-size: calc(18px + 10 * ((100vw - 400px) / 1040));
    margin-bottom: calc(16px + 8 * ((100vw - 400px) / 1040));
}

.card-text {
    font-size: calc(16px + 2 * ((100vw - 400px) / 1040));
    line-height: 1.5em;
    margin-bottom: 0;
}

.card-image {
    align-self: flex-start;
    height: auto;
    max-width: 145px;
    min-width: 145px;
}

.card-image-big {
    align-self: flex-start;
    height: auto;
    max-width: 240px;
    min-width: 240px;
}

@media (min-width: 768px) {
    .card {
        height: 100%;
    }
}

@media (min-width: 1440px) {
    .card-body {
        padding: 48px;
    }

    .card-title {
        font-size: 24px;
    }

    .card-title-big {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .card-text {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .card {
        margin-bottom: 2.78vw;
    }
}

/* -------------------- */

.illustration {
    height: auto;
    object-fit: cover;
    width: 100%;
}

.contact-card-image {
    align-self: flex-start;
    flex: 1 0 10vw;
    max-width: 10vw;
    min-width: 10vw;
}

.contact-card-name {
    font-size: calc(18px + 6 * ((100vw - 400px) / 1040));
    margin-bottom: 8px;
}

.contact-card-title {
    font-size: calc(16px + 2 * ((100vw - 400px) / 1040));
    line-height: 1.5em;
    margin-bottom: 24px;
}

.contact-card-text {
    font-size: calc(16px + 2 * ((100vw - 400px) / 1040));
    line-height: 1.5em;
}

@media (min-width: 1440px) {
    .contact-card-name {
        font-size: 24px;
    }

    .contact-card-title {
        font-size: 18px;
    }

    .contact-card-text {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .contact-card-image {
        height: auto;
        max-width: 140px;
        min-width: 140px;
    }
}

/* -------------------- */

.footer-logo {
    height: auto;
    width: 166px;
}

.footer-contact-item {
    display: block;
    margin-bottom: 24px;
}

.footer-contact-icon {
    margin: -4px 16px 0 0;
    vertical-align: middle;
}

.footer-email-symbol {
    margin: 0 -2px 0 2px;
    vertical-align: middle;
}

/* -------------------- */

.header {
    background-color: transparent;
    left: 0;
    position: fixed;
    right: 0;
    transition: all .5s ease-in-out;
    top: 0;
    z-index: 99;
}

.header--scrolled {
    background-color: #1d1152;
}

.header__container {
    margin: 0 auto;
    padding-top: 80px;
    padding-bottom: 80px;
    transition: all .5s ease-in-out;
}

.header__container--scrolled {
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo {
    height: 32px;
    display: block;
    margin: 0 auto;
    transition: all .5s ease-in-out;
    width: 166px;
}

.header__container--scrolled .logo {
    height: 24px;
    width: 124.5px;
}

.menu {
    display: none;
}

.menu-list__item {
    display: inline-block;
    margin-left: 24px;
}

.menu-link {
    display: block;
    font-size: 16px;
    font-size: calc(16px + 6 * ((100vw - 780px) / 672));
    opacity: .9;
    line-height: 24px;
    padding: 8px 0;
    position: relative;
    text-decoration: none;
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
    transition: all .2s ease-in-out;
}

    .menu-link:hover {
        opacity: 1;
    }

    .menu-link:after {
        background: #fff;
        content: '';
        display: block;
        height: 2px;
        left: 0;
        opacity: 0;
        position: absolute;
        top: 100%;
        transition: all .2s ease-in-out;
        width: 0%;
    }

    .menu-link:hover:after {
        opacity: 1;
        width: 100%;
    }

@media (min-width: 960px) {
    .header__container {
        align-items: center;
        display: flex;
        justify-content: space-between;
        padding-top: 80px;
        padding-bottom: 24px;
    }

    .header__container--scrolled {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .logo {
        height: 32px;
        margin: initial;
        width: 166px;
    }

    .menu {
        display: block;
    }
}

@media (min-width: 1440px) {
    .menu-link {
        font-size: 21px;
    }
}

/* -------------------- */

.hero {
    align-items: center;
    background: #000 url('../img/hero1@2x.jpg') 50% 100% no-repeat;
    background-attachment: fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero:before {
    background: #4126B5;
    bottom: 0;
    content: '';
    display: block;
    left: 0;
    opacity: .2;
    position: absolute;
    right: 0;
    top: 0;
}

.hero-image {
    display: none;
}

.hero-text {
    font-size: calc(32px + 32 * ((100vw - 400px) / 1040));
    line-height: 1em;
    margin: 0 auto;
    max-width: 860px;
    text-align: center;
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1440px) {
    .hero-text {
        font-size: 64px;    
    }
}

/* -------------------- */