/*!
Theme Name: joona
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
*/

@font-face {
  font-family: "Aspekta";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url("https://joonahamalainen.com/wp-content/themes/joona/fonts/Aspekta-100.woff2") format("woff2");
}
@font-face {
  font-family: "Aspekta";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("https://joonahamalainen.com/wp-content/themes/joona/fonts/Aspekta-200.woff2") format("woff2");
}
@font-face {
  font-family: "Aspekta";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("https://joonahamalainen.com/wp-content/themes/joona/fonts/Aspekta-300.woff2") format("woff2");
}
@font-face {
  font-family: "Aspekta";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://joonahamalainen.com/wp-content/themes/joona/fonts/Aspekta-400.woff2") format("woff2");
}
@font-face {
  font-family: "Aspekta";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("https://joonahamalainen.com/wp-content/themes/joona/fonts/Aspekta-500.woff2") format("woff2");
}
@font-face {
  font-family: "Aspekta";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("https://joonahamalainen.com/wp-content/themes/joona/fonts/Aspekta-600.woff2") format("woff2");
}
@font-face {
  font-family: "Aspekta";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://joonahamalainen.com/wp-content/themes/joona/fonts/Aspekta-700.woff2") format("woff2");
}
@font-face {
  font-family: "Aspekta";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("https://joonahamalainen.com/wp-content/themes/joona/fonts/Aspekta-800.woff2") format("woff2");
}
@font-face {
  font-family: "Aspekta";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("https://joonahamalainen.com/wp-content/themes/joona/fonts/Aspekta-900.woff2") format("woff2");
}
@font-face {
  font-family: "Aspekta";
  font-style: normal;
  font-weight: 1000;
  font-display: swap;
  src: url("https://joonahamalainen.com/wp-content/themes/joona/fonts/Aspekta-1000.woff2") format("woff2");
}


/*** UNIVERSAL ***/
* {
    box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
    opacity: 0;
    margin: 0;     
    background:var(--dark);
    overflow-x: hidden;
    font-weight: 300;
    font-family: "Geologica", sans-serif;
}
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: var(--dark);
}
::-webkit-scrollbar-thumb {
    background: var(--orange);
    border-radius: 40px;
    border: solid 4px var(--dark);
}

img {
    display: block;
}
a:focus, button:focus, input:focus {
	outline:none;
}
:root {
    --black:#000000;
    --dark: #160d0a;
    --white: #ffffff;
    --light: #fefae0;
    --light-green: #65db2b;
    --light-orange: #f1937a;
    --orange: #e8653b;
    --clamp-large-headline: clamp(52px, 7vw, 164px);
    --clamp-headline: clamp(36px, 4.5vw, 76px);
    --clamp-small-headline: clamp(24px, 2.5vw, 52px);
    --clamp-text: clamp(24px, 1.4vw, 42px);
    --max-width: 100%;
}
p, li {
    font-size: 20px;
    line-height: 1.6;
    letter-spacing:0.4px;
}
p strong {
    color:var(--black);
}
h1, h2, h3, h1 a, h2 a, h3 a, h4, h5, h6, h4 a, h5 a, h6 a {
    margin:0;
    font-family: "Aspekta";
    font-weight: 600;
    letter-spacing:1px;
}
h1 {
    font-size: 5vw;
    line-height: 6vw;
}
h2 {
    font-size: var(--clamp-headline);
    margin-bottom: 40px;
    line-height:1.1;
}
h3 {
    font-size: var(--clamp-headline);
    line-height: 1.3;
    margin-bottom:40px;
}
h4 {
    font-size: var(--clamp-small-headline);
}
h5 {
    font-size: 32px;
    line-height: 42px;
}
h6 {
    font-size: 22px;
    line-height: 32px;
}
.post, .page {
	margin:0;
}

/*** CURSOR ***/
.custom-cursor {
    width: 3px;
    height: 3px;
    background: var(--white);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none; 
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
}

/*** HEADER ***/
#headercontainer {
	position: fixed;
	width:100%;
	max-width: 100%;
	z-index: 9999;
	transition: 0.2s all ease-in-out;
}
.site-header {	
	position: relative;
	height:160px;
    max-width: var(--max-width);
	margin: 0 auto;
	transition: 0.2s all ease-in-out;
}
.site-header.active-site-header {
    height: 100px;
}
.site-title {
    position: absolute;
    bottom:10px;
    left: 160px;
    z-index: 1;
}
.site-title a {
    color: var(--light);
    font-size: 40px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: "Aspekta";
}
.studio {
    transition:0.3s all ease-in-out;
}
.active-studio {
    opacity:0 !important;
}
.jmh {
    transition: 0.3s all cubic-bezier(0.6, 0, 0.4, 1);
}
.jmh.active-jmh {
    margin-left: -130px;
}

/*** AVAILABLE ***/
.main-navigation li.menu-contact:after, .overlay li.menu-contact:after {
    content: '';
    position: absolute;
    bottom: 15px;
    right: 2px;
    border-radius: 50%;
    height: 12px;
    width: 12px;
    transform: scale(1);
    background: var(--light-green);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 1);
    animation: pulse-white 4s infinite;
}
@keyframes pulse-white {
  0% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
  }
  
  50% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  
  100% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/*** MOBILE MENU ***/
.mobile-menu {  
    display: none;
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);        
    z-index: 102;
    transition: 0.2s all ease-in-out;
}
#nav-icon {
  display: none;
}
.toggle {
  position: relative;
  width: 34px;
  height: 34px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition-duration: .5s;
}
.bars {
  width: 100%;
  height: 2px;
  background:var(--light);
  border-radius: 4px;
}
#bar2 {
  transition-duration: .8s;
}
#nav-icon:checked + .toggle .bars {
  position: absolute;
  transition-duration: .5s;
  background:var(--dark);
}
#nav-icon:checked + .toggle #bar2 {
  transform: scaleX(0);
  transition-duration: .5s;
}
#nav-icon:checked + .toggle #bar1 {
  width: 100%;
  transform: rotate(45deg);
  transition-duration: .5s;
}
#nav-icon:checked + .toggle #bar3 {
  width: 100%;
  transform: rotate(-45deg);
  transition-duration: .5s;
}
#nav-icon:checked + .toggle {
  transition-duration: .5s;
  transform: rotate(180deg);
}



/*** MAIN MENU ***/
.main-navigation {
    position: absolute;
    top:90px;
    right:160px;
    border-radius:10px;
    transition: all 0.2s ease-in-out;
}
.site-header.active-site-header .main-navigation {
    top: 35px;
}
.main-navigation ul {
    padding: 2px 20px 0 20px;
}
.main-navigation ul li {
    list-style-type: none;
    display: inline-block;
    position: relative;
    margin:0;
    line-height: 32px;
    z-index: 999;
}
.main-navigation ul li:last-of-type {
    margin-right:18px;
}
.main-navigation ul li a {
    position: relative;
    color: var(--light);
    font-size: 20px;
    text-decoration: none;
    padding: 22px;
    letter-spacing:0.4px;
    z-index: 3;
    transition: all 0.3s ease-in-out;
    font-weight: 300;
}
.main-navigation ul li a:hover {
	color:var(--light-orange);
}
.current-menu-link a {
    color:var(--light-orange) !important;
}
.main-navigation ul li.menu-item-has-children:hover > ul {
    transform: translateX(-50%) scaleY(1);
    opacity: 1;
    visibility: visible;
}
ul.sub-menu {
    position: fixed;
    right: -118px;
    width: 552px;
    top: 164px;
    border-radius: 10px;
    background: var(--light);
    padding: 40px;
    transform: translateX(-50%) scaleY(0);
    opacity: 0;
    visibility: hidden;
    transition: transform .2s, opacity .2s, visibility .2s;
    transform-origin: 50% 0;
}
.site-header.active-site-header ul.sub-menu {
    top: 105px;
}
.main-navigation ul ul li a {
    display: block;
    font-size: 20px;
    padding: 0;
    color: var(--orange);
    font-weight:400;
}
.main-navigation ul ul li a span {
    display: block;
    margin-top: 10px;
    font-size: 18px;
    color: var(--dark);
    line-height: 28px;
}
.progress-container {
    width: 552px;
    height: 66px;
    position: absolute;
    background: transparent;
    left: 50%;
    transform: translateX(-50%);
    top: 0px;
    z-index: 0;
    border-radius: 10px;
    overflow: hidden;
}
.progress-bar {
    height: 66px;
    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(10px);
    width: 0%;
}

/*** SIDENAV ***/
.menu {
    padding-left: 0;
}
.menu-paamenu-container {
    width:100%;
}
.overlay {
    background: var(--light);
    height: auto;
    width: 400px;
    position: fixed;
    z-index: 1;
    padding: 40px;
    padding-top: 140px !important;
    visibility: hidden;
    opacity: 0;
    right: 20px;
    top: 20px;
    transition: 0.2s;
    overflow: auto;
    border-radius:10px;
}
.overlay-background {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgb(7 8 8 / 70%);
    opacity: 0;
    visibility: hidden;
    z-index: 3;
    transition: 0.2s all ease-in-out;
}
.show-overlay-background {
    opacity: 1 !important;
    visibility: visible !important;
}
.overlay ul.menu {
    padding:0;
    margin:0;
}
.overlay ul.menu li {
    margin:0;
    margin-bottom: 10px;
    cursor:pointer;
    list-style-type: none;
    position: relative;
}
.overlay ul.menu li a {
    position: relative;
    text-decoration: none;
    color:var(--dark);
    font-size: 26px;
    line-height: 36px;
    font-weight: 500;
    transition: 0.2s all ease-in-out;
}
.overlay ul.menu li a:hover {
    color:var(--orange);
}
.overlay ul.menu li a:hover:after {
    left: calc(100% + 20px);
    opacity: 1;
}
.open-menu {
	visibility: visible;
    opacity: 1;
}
.open-body {
    overflow:hidden;
}
.menu-some {
    margin-top: 20px;
    border-top: solid 1px var(--dark);
}
.menu-some ul {
    padding: 0;
    list-style: none;
}
.menu-some ul li {
    line-height:2;
}
.menu-some ul li a {
    color:var(--dark);
    text-decoration:none;
    font-weight:400;
    transition:0.2s all ease-in-out;
}
.menu-some ul li a:hover {
    color:var(--orange);
}

/*** CONTENT ***/
.dark-container {
    background:var(--dark);
    position: relative;
    z-index: 1;
}
.dark-container h1, .dark-container h2, .dark-container h3, .dark-container h4, .dark-container h5, .dark-container h6, .dark-container a {
    color:var(--light);
}
.dark-container p, .dark-container li {
    color:var(--light);
}
.site-content {
    width:100%;
    max-width: var(--max-width);
    padding: 160px;
    margin:0 auto;
    position: relative;
    z-index: 1;
}
.full-width {
    max-width: 100%;
}
.no-top {
    padding-top:0 !important;
}
.no-bottom {
    padding-bottom: 0 !important;
}
.no-right {
    padding-right: 0 !important;
}
.no-left {
    padding-left: 0 !important;
}
.flex-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
    position: relative;
    width:100%;
    z-index: 2;
}
.flex-container img {
	width:100%;
}
.left {
    text-align: left;
}
.center {
    text-align: center;
    max-width:991px;
    margin:0 auto;
}
.right {
    text-align: right;
}
.flex-start {
	justify-content: start;
}
.flex-center {
    justify-content: center;
}
.flex-end {
	justify-content: end;
}
.align-start {
    align-items: start;
}
.align-center {
    align-items: center;
}
.align-end {
    align-items: end;
}
.flex-100 {
    width:100%;
}
.flex-80 {
    width:80%;
    position: relative;
}
.flex-75 {
    width:75%;
    position: relative;    
}
.flex-66 {
    width:calc(66.66% - 20px);
    position: relative;
}
.flex-60 {
    width:60%;
    position: relative;
}
.flex-50 {
    width:calc(50% - 40px);
    position: relative;
}
.flex-40 {
    width:40%;
    position: relative;
}
.flex-33 {
    width:calc(33.33% - 20px);
    position: relative;
}
.flex-25 {
    width:25%;
    position: relative;
}
.flex-20 {
    width:20%;
    position: relative;
}


/*** BANNER ***/
.banner-container {
    position: relative;
    overflow: hidden;
    min-height: 1000px;    
}
.banner-content {
    position: absolute;
    left: 50%;
    transform:translateX(-50%);
    bottom: 20vh;
    max-width: var(--max-width);
    padding: 160px;
}
.banner-content h2, .banner-content p {
    margin:0;
}
.large-text {
    display: block;
    margin: 0;
    font-size:var(--clamp-large-headline);
    color:var(--light);
    font-family: "Aspekta";
    transition:0.3s all ease-in-out;
    font-weight:700;
    line-height:1.2;
    overflow: hidden;
}
.large-text:first-of-type {
    margin-bottom: -1vh;
}
.large-text span {
  display: block;
  animation: reveal 1.5s cubic-bezier(0.77, 0, 0.175, 1) 0s;
}
@keyframes reveal {
  0% {
    transform: translate(0,100%);
  }
  100% {
    transform: translate(0,0);
  }
}
.large-text-first { 
    transition:0.3s all ease-in-out;
    position: absolute;
}
.large-text-second {
    opacity:0;
    transition:0.3s all ease-in-out;
}
.show-large-text-second {
    opacity:1 !important;
}
.hide-large-text-first {
    opacity:0;
}
.show-large-text-first {
    opacity:1;
}
.banner-info {
    width:552px;
}
.banner-text {
    width:100%;
}


/*** SERVICES ***/
.service-container {
    margin-top: 120px;
}
.tab-content p.number {
    font-family: "Aspekta";
    font-weight: 500;
    font-size:var(--clamp-small-headline);
    color: var(--orange) !important;
    line-height: 1.3;
    letter-spacing:0.6px;
    margin-bottom: 20px;
    margin-top:0;
}
.tab-btn {  
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 20px;
    padding:0;
    font-family: "Aspekta";
    font-weight: 500;
    letter-spacing:0.6px;
    font-size:var(--clamp-small-headline);
    color:var(--light);
}
.tab-btn {    
    transition:0.3s all ease-in-out;
    opacity:0.3;
}
.tab-btn:hover {
    opacity:1;
}
.tab-btn.active {
    opacity:1;
}
.tab-wrapper {
    position: relative;
    overflow:hidden;
    border-radius: 10px;
}
.tab-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(150px);
    transition: transform 0.6s ease, opacity 0.6s ease;
    z-index: 0;
    pointer-events: none;
}
.tab-content.slide-out {
    transform: translateY(-150px) !important;
    opacity: 0 !important;
    z-index: 0;
}
.tab-content.active {
    transform: translateY(0) !important;
    opacity: 1 !important;
    z-index: 1;
    pointer-events: all;
}

/*** PARALLAX ***/
.parallax-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.main-banner-container.parallax-container {
    height:120vh;
}
.img-parallax {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    position: absolute;
    top: 50%;
    left: 50%;
    pointer-events: none;
}
.parallax-container .img-parallax {    
    height: 130vh;
}
.parallax-content {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    height: 100%;
}
.image-overlay {
    background:linear-gradient(180deg, rgb(22 13 10 / 40%), rgb(22 13 10 / 70%), rgb(22 13 10 / 100%));
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    transition:0.3s all ease-in-out;
}
.small-headline {
    color: var(--orange) !important;
    font-size: var(--clamp-small-headline);
    line-height:38px;
    letter-spacing:0.4px;
    margin-top:20px;
}
.card {
    width: 670px;
    margin-right: 40px;
    opacity: 0.3;
    transition: opacity 0.3s ease-in-out;
}
.card-background {
    position: relative;
}
.card-background img {
    width: 100%;
    object-fit:cover;
    object-position: center;
    border-radius:10px;
    transition:0.2s all ease-in-out;
}
.card-content a {
    padding: 5px 20px;
    background: var(--orange);
    border-radius: 4px;
}
.card-content a img {
    width: 20px;
    height: 20px;
    border-radius:0;
    filter: grayscale(1) invert(1);
}
.card-content a:hover img {
    background:var(--orange);
    filter:none;
}
.card-content {
    opacity:0;
    visibility:hidden;
    position: relative;
    transition:0.3s all ease-in-out;
    margin-top:10px;
}
.card h4 {
    display:none;
}
.card.is-selected .card-content {
    opacity:1;
    visibility:visible;
}
.card-content ul {
    display: inline-block;
    margin: 0;
    padding:0;
}
.card-content ul li {
    display: inline-block;
    list-style-type: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    border-radius: 4px;
    letter-spacing:0.4px;
    padding: 9px 12px 8px 12px;
    margin-right: 8px;
    font-size: 13px;
    line-height: 13px;
    font-weight: 500;
}


/*** CONTACT ***/
.site-content.contact {
    padding-top:240px;
    padding-bottom:240px;
}
#drag-image {
    position: absolute;
    background:var(--white);
    top:50%;
    left:50%;  
    transform:translate(-50%,-50%);
    z-index: 4;
    cursor:grab;
    text-align:left;
    border-radius:40px;
}
#drag-image img {
    width:500px;
    height:500px;
    object-fit:cover;
    border-radius:20px;
}
#drag-image p {
    font-size:18px;
    color:var(--black);
    font-style:italic;
}
a.cta {
    display: inline-block;
    padding: 13px 40px 12px 40px;
    background: var(--orange);
    color: var(--black) !important;
    text-decoration: none;
    letter-spacing: 0.4px;
    transition: 0.2s all ease-in-out;
    border-radius: 6px;
    font-size: 20px;
    overflow: hidden;
    font-weight: 500;
    position: relative;
    margin-top:30px;
    margin-right:20px;
}
a.cta:hover {
    background: var(--orange);
    color:var(--white) !important;
}
p.reveal-text.outro {
    font-weight: 400;
    letter-spacing:1px;
    font-size: var(--clamp-small-headline);
    color: var(--light);
    line-height: 1.5;
    font-family: "Aspekta";
}


/*** FOOTERCONTAINER ***/
#footercontainer {
    border-top:solid 1px rgba(255,255,255,0.1);
}
#footercontainer h5 {
    margin-bottom: 40px;
}
#footercontainer p {
    margin-top: 0;
}
#footercontainer ul {
	padding:0;
	margin:0;
}
#footercontainer ul li, #footercontainer p {
    list-style-type: none;
    margin:0;
}
#footercontainer ul li a {
	text-decoration: none;
    transition:0.2s all ease-in-out;
}
#footercontainer ul li a:hover {
    color:var(--light-orange);
}
.footer-smallprint {
    margin-top: 80px;
    padding-top: 80px;
    border-top: solid 1px rgba(255, 255, 255, 0.1);
}
.footer-smallprint p {
    font-size:15px;
}
.footer-smallprint span {
    padding: 0 20px;
}

/*** CLOCK ***/
#clock {
    color: var(--light);
    font-size: 32px;    
    line-height:1;
    letter-spacing: 0.3px;
    font-family: "Aspekta";
    font-weight:600;
    transition:0.3s all ease-in-out;
}

/*** CV ***/
img.cv-image {
    border-radius: 50%;
    aspect-ratio: 1;
    object-fit: cover;
    max-width: 250px;
}
.cv-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 40px;
    backdrop-filter: blur(10px);
    margin-top: 40px;
}
.page-template-cv .main-navigation {
    display:none;
}
.page-template-cv ul {
    padding:0;
}
.cv-box ul {
    margin: 0;
}
.page-template-cv .main-content ul li {
    list-style-type:none;
    margin-bottom: 3px;
}
.page-template-cv h4 {
    margin-top: 40px;
    margin-bottom: 40px;
}
.page-template-cv h5 {
    margin-bottom: 20px;
}
.page-template-cv h6 {
    margin-bottom: 20px;
}
.page-template-cv .banner-container {
    height: unset;
}
.page-template-cv .parallax-container .img-parallax {
    height: 100%;
}
.page-template-cv .banner-container .image-overlay {
    backdrop-filter: blur(10px);
}
.page-template-cv .site-content {
    padding-top:360px;
}

/*** MEDIA QUERIES ***/
@media(max-width:1920px){
}
@media(max-width:1650px){ 
    .site-title {
        left:80px;
    }
    .main-navigation {
        right:80px;
    }
    ul.sub-menu {
        right:-198px;
    }
    .site-content {
        padding:160px 80px;
    }
    .flex-50 {
        width: calc(50% - 80px);
    }
    .banner-content {
        padding:80px;
    }
    .banner-text {
        width: 100%;
        margin-top: 40px;
        order:2;
    } 
}

@media(max-width:1367px){
    p, li {
        font-size:18px;
    }
    a.cta {
        font-size:18px;
    }
    .main-navigation ul li a {
        font-size:18px;
    }
    .progress-container {
        width: 523px;
    }
    ul.sub-menu {
        width: 523px;
        right: -182px;
    }
}

@media(max-width:1200px){
    .main-navigation {
        display: none;
    }
    .mobile-menu {
        display: block;
    }
    .site-title {
        top:50%;
        transform: translateY(-50%);
        bottom: unset;
    }
    .available {
        right:280px;
    }
    .flex-50 {
        width: calc(50% - 40px);
    }
    p.large-text:first-of-type {
        margin-bottom: -1vh;
    }
}

@media(max-width:991px){
    .site-title {
        left:60px;
    }
    .mobile-menu {
        right:60px;
    }
    .site-content {
        padding:120px 60px;
    }
    .flex-50 {
        width: calc(50% - 60px);
    }
    .banner-content {
        padding:60px;
    }
    .banner-header {
        margin-bottom:60px;
    }
    .flex-40 {
        width: 100%;
    }
    .flex-50.flex-image {
        width: 100%;
        margin-top: 40px;
        max-height: 600px;     
    }
    .flex-50 {
        width: 100%;
    }
    .service-container {
        margin-top: 60px;
    }
    .tab-wrapper {
        margin-top:40px;
        min-height: 240px;
    }
    .tab-btn {
        display:inline-block;
        margin-right:20px;
    }
    .card {
        width: 500px;
        margin-right: 30px;
    }
    div#drag-image {
        display:none;
    }
    .move-text {
        display: none;
    }
    .flex-50.center {
        text-align: left;
    }
    .site-content.contact {
        padding-top: 120px;
        padding-bottom: 120px;
    }
    a.cta {
        padding: 12px 40px 11px 40px;
        margin-right: 10px;
    }  
}

@media(max-width:768px){
    .overlay {
        padding:40px;
    }
    .main-banner-container.parallax-container {
        height:100vh;
    }
    .banner-container {
        min-height:unset;
    }
    .overlay {
        width:calc(100% - 40px);
    }
    .large-text:first-of-type {
        margin-bottom:0;
    }
    p, li {
        font-size: 16px;  
    }
    a.cta {
        font-size:16px;
    }
    h5 {
        font-size: 20px;
        line-height: 30px;
    }
    h6 {
        font-size: 18px;
        line-height: 28px;
    }
    .site-title {
        left:40px;
    }
    .mobile-menu {
        right:40px;
    }
    .site-content {
        padding:80px 40px;
    }
    .banner-content {
        bottom: unset;
        top:180px;
        padding:40px;
    }
    .banner-text {
        margin-top:0;
    }
    .banner-header {
        margin-bottom:40px;
    }
    p.large-text {
        font-size: 46px;
        line-height: 1.5;
    }
    .flex-25 {
        width: calc(50% - 20px);
    }
    .site-content.contact {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    #footercontainer .flex-25:nth-of-type(3){
        display:none;
    }
    #footercontainer .flex-25:nth-of-type(4){
        margin-top: 40px;
    }
    .flex-66 {
        width:100%;
    }
    .flex-33 {
        width:100%;
    }
    .page-template-cv .flex-33 {
        order:2;
    }
    .page-template-cv .flex-66 {
        order:1;
        margin-bottom:30px;
    }
    .page-template-cv .site-content {
        padding-top:240px;
    }
    .page-template-cv h4 {
        margin-bottom: 20px;
    }
}

@media(max-width:520px){
    h2 {     
        margin-bottom: 0px;
    }
    .overlay {
        padding: 30px;
    }    
    .overlay ul.menu li {
        margin-bottom:6px;
    }
    .overlay ul.menu li a {
        font-size: 20px;
        line-height: 32px;
    }
    .site-title {
        left:30px;
    }
    .site-title a {     
        font-size: 32px;
    }
    .jmh.active-jmh {
        margin-left: -105px;
    }
    .mobile-menu {
        right:30px;
    }
    .site-content {
        padding:60px 30px;
    }
    .banner-content {
        padding:30px;
    }
    .banner-header {
        margin-bottom:30px;
    }
    .small-headline {
        font-size: 24px;
        line-height: 32px;
    }
    a.cta {
        padding: 10px 32px 9px 32px;
        margin-right: 10px;
    }
    .card {
        width: 320px;
        margin-right: 20px;
    }
    .card-content {
        margin-top:8px;
    }
    .card-content ul li {
        padding: 6px 8px;
        font-size: 10px;
        margin-right:4px;
    }
    .card-content a {
        padding: 2px 14px 3px 14px;
    }
    #services .site-content {
        padding-bottom: 0;
    }
    .tab-btn {
        width:100%;
        text-align:left;
        margin-right:0;
        margin-bottom:10px;
    }
    .cv-box {
        padding:30px;
    }
}