/* Google Fonts, Josefin Sans import (for weights 400, 600 and 700) and Roboto (for weights 400 and 700) */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;600;700&display=swap');

/* Define global font and palette variables */
:root {
    /* Core Palette */
    --white: rgb(255, 255, 255);
    --grey: rgb(164, 176, 190);
    --grey-transparent: rgba(164, 176, 190, 0.3);
    --black: rgb(19, 18, 22);
    --black-transparent: rgba(19, 18, 22, 0.75);

    /* Additional Color Palette */
    --blue-dark: rgb(31, 57, 105);
    --pink: rgb(227, 28, 121);
    --pink-transparent: rgba(227, 28, 121, 0.3);
    --pink-pearl: rgb(222, 172, 197);
    --red: rgb(234, 87, 71);

    /* Component Variables */
    --topbar-height: 90px;
    --topbar-picto-height: 25px;
    --paragraph-spacer: 15px;
    --circle-size: 100px;

    /* Define font variables */
    --fonts-josefin-sans: 'Josefin Sans', Helvetica, sans-serif;
    --fonts-roboto: 'Roboto', Helvetica, sans-serif;
}

/* Define HTML components */
h1, h2, h3 {
    margin: 0;
    font-family: var(--fonts-josefin-sans);
    font-size: 2em;
    color: var(--white) !important;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
}


/* Page header component */
header {
    background-color: var(--white);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
}

/* Styling for navigation components */
nav div.site-logo a {
    transition: opacity 0.15s ease-out;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 2px;
    text-underline-offset: 1px;
    transform: all 0.15s ease-out;
}
nav div.site-logo a:hover {
    opacity: 0.65;
    text-decoration-color: var(--red);
}
nav .nav-ul li {
    height: 22px;
    margin: 0 20px;
    padding: 0 5px;
}
nav .nav-ul li:last-of-type {
    margin-right: 8px;
}
nav .nav-ul li > a {
    font-family: var(--fonts-roboto);
    font-size: 0.9em;
    text-transform: uppercase;
    transform: translateY(-1px);
}
nav .nav-ul li > a::after {
    content: ' ';
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.15s ease-out;
}
nav .nav-ul li > a:hover {
    color: var(--black) !important;
}
nav .nav-ul li > a:hover::after {
    border-bottom-color: var(--red);
}
nav .nav-ul li.current-menu-item {
    background-color: var(--red);
}
nav .nav-ul li.current-menu-item a {
    color: var(--white) !important;
    font-weight: 600;
}
nav .nav-ul li.current-menu-item::after {
    content: ' ';
    position: absolute;
    top: -3px;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background-color: var(--red);
    transform: translateX(-4px);
}
footer {
    box-shadow: 0px -4px 4px 0px rgba(0, 0, 0, 0.05);
}
footer ul.mn-footer-menu li {
    display: inline-block;
    margin-left: 20px;
    font-size: 0.85em;
}
footer ul.mn-footer-menu li:first-of-type {
    margin-left: 0;
}

/* Styling for specific page ID's */
/* Homepage (/homepage) */
body.page-id-7 div.wrapper {
    background: url('/wp-content/themes/mn/assets/img/bgr-light-blue.svg') 0 1400px repeat-x, url('/wp-content/themes/mn/assets/img/bgr-waves-three.svg') 0 700px repeat-x, url('/wp-content/themes/mn/assets/img/bgr-dots.png') 0 0 repeat, var(--blue-dark);
    background-size: cover, 1100px, 15%, auto;
}
body.page-id-7 div.nv-title-tagline-wrap p.site-title::before {
    content: ' ';
    position: absolute;
    top: -4px;
    left: -2px;
    width: 28px;
    height: 28px;
    background: url('/wp-content/themes/mn/assets/img/icon-clouds.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: -1;
}
body.page-id-7 div.mn-object-like {
    position: absolute;
    top: 0;
    left: 99%;
    background-image: url('/wp-content/themes/mn/assets/img/object-like-white.svg');
}
div.mn-journey {
    position: absolute;
    top: 20px;
    left: calc(50% - 520px);
    width: 300px;
    height: 235px;
    background: url('/wp-content/themes/mn/assets/img/object-journey.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
body.page-id-7 div#flink div.vce-asset-background-simple-item {
    background-size: 500px;
}
body.page-id-7 div#graduation div.vce-asset-background-simple-item {
    background-size: 95%;
}
body.page-id-7 div.mn-workcard-wrap.placeholder div.mn-workcard {
    max-width: 320px;
    height: 100px;
    border-color: var(--black);
}
body.page-id-7 div.mn-workcard-wrap.placeholder div.mn-workcard h2 {
    bottom: 32px;
    color: var(--black) !important;
}
body.page-id-7 div.mn-workcard-wrap.placeholder div.mn-workcard::after {
    top: -15px;
    left: calc(50% - 17px);
    width: 34px;
    height: 34px;
    border-color: var(--black);
}

/* About Page (/about) */
body.page-id-105 div.wrapper {
    background:
        url('/wp-content/themes/mn/assets/img/bgr-waves-orange.svg') 0 700px repeat-x,
        url('/wp-content/themes/mn/assets/img/bgr-black-stars.jpg') 0 0 repeat-x,
        rgb(2, 0, 1); /* rgb(255, 214, 188); */
    background-size:
        1100px,
        1280px,
        auto;
}

.mn-planet-wrap {
    position: relative;
    height: 650px;
}
.mn-planet {
    position: absolute;
    left: calc(50% - 410px);
    width: 820px;
    height: 650px;
    background:
        url('/wp-content/uploads/frame-photo1.png') 0 0 no-repeat,
        url('/wp-content/themes/mn/assets/img/planet-center.svg') 0 0 no-repeat;
    background-position:
        calc(50% + 165px) 100px,
        50% -120px;
    background-size:
        140px,
        800px;
    transform-origin: top center;
    animation-name: mn-planet-slow;
    animation-duration: 15.2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    z-index: 10;
}
.mn-planet div.text {
    width: 280px;
    padding-top: 200px;
    margin: 0 auto;
}
.mn-planet div.text h1 {
    color: var(--black) !important;
}
.mn-planet div.text p {
    margin-top: 15px;
    font-family: var(--fonts-josefin-sans);
    text-align: center;
}
.mn-planet div.clip {
    position: absolute;
    top: calc(50% - 134px);
    left: calc(50% + 148px);
    width: 80px;
    height: 80px;
    transform: rotate(-35deg);
    background-image: url('/wp-content/themes/mn/assets/img/object-clip.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.mn-planet-small {
    position: absolute;
    top: 0;
    left: 12%;
    width: 120px;
    height: 215px;
    background-image: url('/wp-content/themes/mn/assets/img/planet-small.svg');
    background-repeat: no-repeat;
    background-position: 0 -40px;
    background-size: cover;
    transform-origin: top center;
    animation-name: mn-planet-one;
    animation-duration: 8.1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    z-index: -5;
}
.mn-planet-big {
    position: absolute;
    top: 0;
    right: -3%;
    width: 250px;
    height: 600px;
    background-image: url('/wp-content/themes/mn/assets/img/planet-big.svg');
    background-repeat: no-repeat;
    background-position: 0 -160px;
    background-size: cover;
    transform-origin: top center;
    animation-name: mn-planet-two;
    animation-duration: 11.3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    z-index: -5;
}
.mn-object-like {
    position: absolute;
    top: 0;
    right: 15%;
    width: 75px;
    height: 140px;
    background-image: url('/wp-content/themes/mn/assets/img/object-like.svg');
    background-repeat: no-repeat;
    background-position: 0 -40px;
    background-size: cover;
    z-index: 50 !important;
}
.mn-sign-contact-wrap {
    position: relative;
    height: 620px;
}
.mn-sign-contact {
    width: 500px;
    height: 650px;
    padding: 40px 100px 0 70px;
    background-image: url('/wp-content/themes/mn/assets/img/object-frame.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.mn-sign-contact > h2 {
    font-size: 1.8em;
    font-weight: bold !important;
    color: var(--black) !important;
    line-height: 1.3;
}
.mn-sign-contact > p {
    font-family: var(--fonts-josefin-sans);
    font-size: 0.9em;
    text-align: center;
}
.mn-sign-contact > div.wpcf7 {
    margin-top: 20px;
}
.mn-sign-contact label {
    width: 100%;
    margin-bottom: 0px;
}
.mn-sign-contact span.label {
    position: relative;
    top: 10px;
    width: 80px;
    font-family: var(--fonts-josefin-sans);
    font-size: 0.9em;
    font-weight: bold;
    text-align: right;
    display: block;
    float: left;
}
.mn-sign-contact span.wpcf7-list-item-label {
    position: relative;
    bottom: 2px;
    font-size: 0.7em;
}
.mn-sign-contact input[type="text"],
.mn-sign-contact input[type="email"],
.mn-sign-contact textarea {
    width: 220px;
    padding: 5px 10px !important;
    font-size: 0.8em;
    float: right;
}
.mn-sign-contact input[type="checkbox"] {
    margin-right: 10px;
}
.mn-sign-contact textarea {
    height: 150px;
}
.mn-sign-contact input[type="submit"] {
    padding: 8px 20px 6px;
    border-radius: 50px;
    background: var(--white);
    font-size: 0.6em;
    font-weight: normal;
    color: var(--black);
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.2);
    float: right;
}

/* Work Page (/work) */
body.page-id-99 div.wrapper {
    background: url('/wp-content/themes/mn/assets/img/bgr-light-blue.svg') 0 1400px repeat-x, url('/wp-content/themes/mn/assets/img/bgr-waves-three.svg') 0 700px repeat-x, url('/wp-content/themes/mn/assets/img/road-reverse.svg') 50% -150px no-repeat, url('/wp-content/themes/mn/assets/img/bgr-dots.png') 0 0 repeat, var(--blue-dark);
    background-size: cover, 1100px, 1100px, 15%, auto;
}

/* Custom page components */
p.site-title {
    font-family: var(--fonts-josefin-sans) !important;
    font-size: 1.4em;
    font-weight: 600;
    line-height: 1;
    transform: translateY(2px);
}
div.mn-car-svg {
    text-align: center;
}
div.mn-car-svg svg {
    max-height: 460px;
}
div.mn-car-svg svg #car-group {
    transform-origin: center;
    animation-name: mn-anim-car;
    animation-duration: 12s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}
div.mn-car-svg svg #cloud-1,
div.mn-car-svg svg #cloud-2,
div.mn-car-svg svg #cloud-3 {
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}
div.mn-car-svg svg #cloud-1 {
    animation-name: mn-anim-cloud;
    animation-duration: 10.123s;
}
div.mn-car-svg svg #cloud-2 {
    animation-name: mn-anim-cloud;
    animation-direction: reverse;
    animation-duration: 20.345s;
}
div.mn-car-svg svg #cloud-3 {
    animation-name: mn-anim-cloud;
    animation-duration: 15.891s;
}
div.mn-workcard-wrap {
    display: flex;
    padding: 15px 0;
    justify-content: center;
    filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.20));
    -webkit-filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.20));
}
div.mn-workcard-wrap.placeholder {
    filter: none;
    -webkit-filter: none;
}
div.mn-workcard-wrap.placeholder div.mn-workcard {
    border: 2px dashed var(--white);
    position: relative;
}
div.mn-workcard-wrap.placeholder div.mn-workcard::after {
    content: ' ';
    position: absolute;
    top: -20px;
    left: calc(50% - 20px);
    width: 39px;
    height: 39px;
    border-radius: 100%;
    border: 2px dashed var(--white);
    transform: rotate(45deg);
}
div.mn-workcard-wrap.placeholder div.mn-workcard p {
    position: absolute;
    top: 30px;
    left: calc(50% - 85px);
    width: 170px;
    font-family: var(--mn-fonts-josefin-sans) !important;
    font-size: 1.4em;
    font-weight: 600 !important;
    color: var(--white);
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
    opacity: 0.6;
}
div.mn-workcard {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 380px;
    box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.2);
    background-position: center top;
    background-repeat: no-repeat;
    mask-image: url('/wp-content/themes/mn/assets/img/workcard.svg');
    mask-size: cover;
    mask-position: 50% 0;
    -webkit-mask-image: url('/wp-content/themes/mn/assets/img/workcard.svg');
    -webkit-mask-size: cover;
    -webkit-mask-position: 50% 0;
    transform-style: preserve-3d;
    cursor: pointer;
}
div.mn-workcard.big {
    max-width: 710px;
    height: 480px;
}
div.mn-workcard h2 {
    position: absolute;
    bottom: 48px;
    width: 100%;
    font-size: 1.5em;
    font-weight: bold !important;
}
div.mn-workcard.black h2 {
    color: var(--black) !important;
}
div.mn-workcard.pink h2 {
    color: var(--pink) !important;
}
div.mn-workcard.big h2 {
    bottom: 76px;
}
div.mn-workcard div.date,
div.mn-workcard div.text {
    position: absolute;
    left: 50%;
    bottom: 15px;
    text-align: center;
    transform: translateX(-50%);
    font-size: 0.8em;
    color: var(--white);
}
div.mn-workcard div.text {
    width: 60%;
    font-family: var(--fonts-josefin-sans);
    line-height: 1.2;
}
div.mn-workcard.big div.date {
    bottom: 32px;
}
div.mn-workcard.big div.text {
    bottom: 26px;
}
div.mn-workcard.black div.date,
div.mn-workcard.black div.text {
    color: var(--black);
}
div.mn-workcard.pink div.date,
div.mn-workcard.pink div.text {
    color: var(--pink);
}
div.mn-workcard div.date::before,
div.mn-workcard div.text::before {
    content: ' ';
    position: absolute;
    bottom: 26px;
    left: 50%;
    width: 20px;
    height: 1px;
    transform: translateX(-10px);
    background-color: var(--white);
}
div.mn-workcard.big div.date::before {
    bottom: 32px;
}
div.mn-workcard.big div.text::before {
    bottom: 40px;
}
div.mn-workcard.black div.date::before,
div.mn-workcard.black div.text::before {
    background-color: var(--black);
}
div.mn-workcard.pink div.date::before,
div.mn-workcard.pink div.text::before {
    background-color: var(--pink);
}

/* General Custom Page Components */
.mn-row {

}
.mn-spacer {

}
.mn-content {
    max-width: 100% !important;
}
.mn-content-half {
    max-width: 450px !important;
}
.mn-background-left div.vce-asset-background-simple-item,
.mn-background-right div.vce-asset-background-simple-item {
    background-repeat: no-repeat;
}
.mn-background-left div.vce-asset-background-simple-item {
    background-position-x: calc(50% - 300px);
}
.mn-background-right div.vce-asset-background-simple-item {
    background-position-x: calc(50% + 300px);
}
.mn-text > div {
    margin-bottom: 0;
}
.mn-text h1,
.mn-text h2,
.mn-text h3 {
    margin-bottom: 20px;
}
.mn-text p {
    margin-bottom: var(--paragraph-spacer);
    font-family: var(--fonts-josefin-sans);
    line-height: 1.6;
}
.mn-text p:last-of-type {
    margin-bottom: 0;
}
.mn-overlay-pulldown {
    position: absolute;
    top: 0px;
    left: calc(50% - 40px);
    width: 80px;
    height: 45px;
    background: url('https://www.martijnnooijen.com/wp-content/themes/mn/assets/img/overlay-pulldown.svg');
    background-position: center -35px;
    background-size: 80px 80px;
    background-repeat: no-repeat;
}
.mn-overlay-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--black-transparent);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease-out;
    opacity: 0;
    display: none;
}
.mn-overlay-wrap.active {
    display: flex;
}
.mn-overlay-wrap.visible {
    opacity: 1;
}
.mn-overlay-contact {
    position: relative;
    top: 20px;
    width: 350px;
    height: 205px;
    background: url('https://www.martijnnooijen.com/wp-content/themes/mn/assets/img/bgr-dots.png') 0 0 repeat, var(--red);
    background-size: 300px, auto;
    box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-out;
    opacity: 0;
    display: none;
}
.mn-overlay-contact.active {
    display: block;
}
.mn-overlay-contact.visible {
    top: 0;
    opacity: 1;
}
.mn-overlay-contact div.close {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    background: url('https://www.martijnnooijen.com/wp-content/themes/mn/assets/img/cross-red.svg') center center no-repeat, rgba(255, 255, 255, 0.8);
    background-size: 40%, auto;
    transition: opacity 0.1s ease-out;
    opacity: 1;
    cursor: pointer;
}
.mn-overlay-contact div.close:hover,
.mn-overlay-contact div.close:active {
    opacity: 0.8;
}
.mn-overlay-contact h2 {
    margin: 20px 0 0 0;
    font-size: 1.2em;
}
.mn-overlay-contact h2::after {
    content: ' ';
    position: absolute;
    top: 4px;
    left: 106px;
    width: 40px;
    height: 40px;
    background: url('https://www.martijnnooijen.com/wp-content/themes/mn/assets/img/object-tape.png') center center no-repeat;
    background-size: contain;
}
.mn-overlay-contact p.subtitle {
    margin-bottom: 20px;
    font-family: var(--fonts-josefin-sans);
    font-size: 0.75em;
    color: var(--white);
    text-align: center;
}
.mn-overlay-contact p.numbers {
    padding: 0 20px;
    font-family: var(--fonts-josefin-sans);
    font-size: 1.5em;
    font-weight: 600;
    color: var(--white);
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
}
.mn-overlay-wip {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100vw;
    height: 90vh;
    max-height: 590px;
    background: url('https://www.martijnnooijen.com/wp-content/themes/mn/assets/img/bgr-wip.svg') center center no-repeat, url('https://www.martijnnooijen.com/wp-content/themes/mn/assets/img/bgr-dots.png') 0 0 repeat, var(--red);
    background-size: contain, 300px, auto;
    box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.6s ease-out;
    display: none;
}
.mn-overlay-wip.active {
    display: block;
}
.mn-overlay-wip.visible {
    top: 0;
}
.mn-overlay-wip div.close {
    position: absolute;
    bottom: -40px;
    left: calc(50% - 40px);
    width: 80px;
    height: 80px;
    background: url('https://www.martijnnooijen.com/wp-content/themes/mn/assets/img/overlay-pullup.svg');
    background-position: center;
    background-size: 80px 80px;
    background-repeat: no-repeat;
    cursor: pointer;
}
.mn-overlay-wip h2 {
    position: absolute;
    top: 22%;
    left: 50%;
    font-weight: 800 !important;
    letter-spacing: 1px;
    transform: translateX(-50%);
}
.mn-overlay-wip p {
    position: absolute;
    top: 30%;
    left: 50%;
    font-family: var(--fonts-josefin-sans);
    font-size: 0.8em;
    color: var(--white);
    line-height: 1.4;
    text-align: center;
    transform: translateX(-50%);
}

/* Privacy Policy (/privacybeleid) */
body.page-id-3 main h1,
body.page-id-3 main h2,
body.page-id-3 main h3 {
    color: var(--black) !important;
    margin: 35px 0 12px;
    text-align: left;
}
body.page-id-3 main p {
    margin-bottom: 20px !important;
}

/* Mobile Overwrites for Custom Page Components */
@media screen and (max-width: 767px) {

    /* Disable "max-width" on mobile */
    .mn-content,
    .mn-content-half {
        max-width: none !important;
    }
}


/* Portfolio Page Components */
div.mn-portfolio-topbar {
    height: var(--topbar-height);
    box-shadow: 0 1px 3px var(--grey-transparent);
    z-index: 5;
}
div.mn-portfolio-topbar.type-pink {
    box-shadow: 0 1px 3px var(--pink-transparent);
}
div.mn-portfolio-topbar div.mn-picto-back {
    max-width: 100px;
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    mask: url('/wp-content/uploads/arrow-left.svg') no-repeat center;
    mask-size: 16px;
    -webkit-mask: url('/wp-content/uploads/arrow-left.svg') no-repeat center;
    -webkit-mask-size: 16px;
}
div.mn-portfolio-topbar.type-pink div.mn-picto-back {
    background: var(--pink);
}
div.mn-portfolio-topbar.type-black div.mn-picto-back {
    background: var(--black);
}
div.mn-portfolio-topbar div.mn-picto-back > div,
div.mn-portfolio-topbar div.mn-picto-back img {
    height: var(--topbar-picto-height);
}
div.mn-portfolio-topbar div.mn-picto-back a {
    position: relative;
    bottom: 8px;
    width: 30px;
    height: 40px;
    display: block;
}
div.mn-portfolio-topbar div.mn-portfolio-name {
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
div.mn-portfolio-topbar div.mn-portfolio-name > div {
    height: 45px;
}
div.mn-portfolio-topbar div.mn-portfolio-name h1 {
    margin-bottom: 0;
    color: var(--white) !important;
    font-size: 1em;
    text-transform: uppercase;
    line-height: 1;
}
div.mn-portfolio-topbar.type-pink div.mn-portfolio-name h1 {
    color: var(--pink) !important;
}
div.mn-portfolio-topbar.type-black div.mn-portfolio-name h1 {
    color: var(--black) !important;
}
div.mn-portfolio-topbar div.mn-portfolio-name span::before {
    content: ' ';
    position: absolute;
    bottom: 13px;
    left: calc(50% - 8px);
    width: 16px;
    border-top: 1px solid var(--white);
    opacity: 0.8;
}
div.mn-portfolio-topbar.type-pink div.mn-portfolio-name span::before {
    border-color: var(--pink);
}
div.mn-portfolio-topbar.type-black div.mn-portfolio-name span::before {
    border-color: var(--black);
}
div.mn-portfolio-topbar div.mn-portfolio-name span {
    position: relative;
    bottom: 4px;
    color: var(--white);
    font-size: 0.5em;
    opacity: 0.8;
}
div.mn-portfolio-topbar.type-pink div.mn-portfolio-name span {
    color: var(--pink);
}
div.mn-portfolio-topbar.type-black div.mn-portfolio-name span {
    color: var(--black);
}
div.mn-portfolio-image {
    width: 100%;
    height: var(--topbar-height);
}
div.mn-portfolio-image > div {
    width: inherit;
    height: inherit;
    background-repeat: no-repeat;
    background-size: auto 25px;
    background-position: calc(100% - 30px) center;
}
div.mn-portfolio-image.size-large > div {
    background-size: auto 35px;
}
div.mn-block-roles > div {
    text-align: center;
}
div.mn-block-roles ul.roles li {
    display: inline-block;
    font-size: 0.8em;
    font-weight: 500;
    color: var(--black);
}
div.mn-block-roles ul.roles li:not(:last-of-type)::after {
    content: '•';
    font-weight: 400;
    color: inherit;
    margin: 0 4px 0 8px;
}
div.mn-block-roles p.description {
    margin-top: 17px;
    font-family: var(--fonts-josefin-sans);
    font-size: 0.9em;
    line-height: 1.4;
}
div.mn-block-roles p.description::before {
    content: ' ';
    position: absolute;
    top: 34px;
    left: calc(50% - 8px);
    width: 16px;
    border-top: 1px solid var(--black);
    opacity: 0.8;
    display: block;
}
div.mn-block-image div {
    width: 100%;
    height: 100%;
}
div.mn-block-image img {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
}
div.mn-block-text h2 {
    margin-bottom: 20px;
    font-family: var(--fonts-josefin-sans);
    font-size: 1.5em;
    color: var(--black) !important;
    letter-spacing: -1px;
    text-align: left;
}
div.mn-block-text p {
    margin-bottom: 20px;
    font-family: var(--fonts-josefin-sans);
    font-size: 0.9em;
    line-height: 1.6;
}
div.mn-block-text p:last-of-type {
    margin-bottom: 0;
}

/* Wordpress Overwrites */
.navbar-toggle:focus {
    outline: none;
}

/* Additional Components */
.use-circle::after {
    content: ' ';
    position: absolute;
    top: calc(100% - (var(--circle-size) / 2));
    left: 50%;
    width: var(--circle-size);
    height: var(--circle-size);
    background: inherit;
    border-radius: var(--circle-size);
    transform: translateX(-50%);
    z-index: 10;
}
.use-circle-top {
    margin-top: -65px;
    padding-top: 135px !important;
    mask: url('/wp-content/themes/mn/assets/img/circle-top.svg') no-repeat top;
    mask-size: 100%;
    -webkit-mask: url('/wp-content/themes/mn/assets/img/circle-top.svg') no-repeat top;
    -webkit-mask-size: 100%;
    z-index: 10;
}
.use-circle-bottom {
    margin-bottom: -65px;
    padding-bottom: 135px;
    mask: url('/wp-content/themes/mn/assets/img/circle-bottom.svg') no-repeat bottom;
    mask-size: 100%;
    -webkit-mask: url('/wp-content/themes/mn/assets/img/circle-bottom.svg') no-repeat bottom;
    -webkit-mask-size: 100%;
    z-index: 10;
}
.use-dotted-top {
    margin-top: -15px;
    mask: url('/wp-content/themes/mn/assets/img/dots-top.svg') no-repeat top;
    mask-size: 140%;
    -webkit-mask: url('/wp-content/themes/mn/assets/img/dots-top.svg') no-repeat top;
    -webkit-mask-size: 140%;
    z-index: 5;
}
.use-dotted-bottom {
    margin-bottom: -15px;
    mask: url('/wp-content/themes/mn/assets/img/dots-bottom.svg') no-repeat bottom;
    mask-size: 140%;
    -webkit-mask: url('/wp-content/themes/mn/assets/img/dots-bottom.svg') no-repeat bottom;
    -webkit-mask-size: 140%;
    z-index: 5;
}
.use-semi-transparent > div.vce-content-background-container::after {
    content: ' ';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: var(--black-transparent);
}

/* Element animation keyframes */
@keyframes mn-anim-car {
    0% {
        transform: rotate(-2deg);
    }
    50% {
        transform: rotate(18deg);
    }
    100% {
        transform: rotate(-2deg);
    }
}
@keyframes mn-anim-cloud {
    0% {
        transform: translateY(-15px);
    }
    50% {
        transform: translateY(15px);
    }
    100% {
        transform: translateY(-15px);
    }
}
@keyframes mn-planet-slow {
    0% {
        transform: rotate(2.5deg);
    }
    50% {
        transform: rotate(-2.5deg);
    }
    100% {
        transform: rotate(2.5deg);
    }
}
@keyframes mn-planet-one {
    0% {
        transform: rotate(12deg);
    }
    50% {
        transform: rotate(-12deg);
    }
    100% {
        transform: rotate(12deg);
    }
}
@keyframes mn-planet-two {
    0% {
        transform: rotate(-8deg);
    }
    50% {
        transform: rotate(8deg);
    }
    100% {
        transform: rotate(-8deg);
    }
}
