/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/*
 Theme Name:   All on Scale
 Theme URI:    https://clarq.nl
 Template:     generatepress
 Version:      0.1
*/

:root {
    --grey: #0A0A0A;
    --light-grey: #272727;
    --blue: #121482;
    --red: #ED1C24;
    --white: #FFFFFF;

    --dark-blue: #060741;
    --medium-blue: #CDDAFF;
    --light-blue: #F7F8FF;
    --red-dark: #C04C51;
    --grey-blue: #F1F3FB;
    --gold: #CDAC8E;
	
}


/* Fonts */
@font-face {
    font-family: Inter;
    src: url('assets/fonts/Inter.ttf');
}

html {
  scroll-behavior: smooth;
}

body {
    font-family: Inter, Arial, sans-serif;
    font-size: 18px;
    line-height: 140%;
    background-color: var(--white);
}

#main-content {
	position: relative;
}

body::before {
    content: '';
    background-image: url("/wp-content/themes/generatepress_child/images/background-lines.png");
    width: 100%;
    max-width: 2600px;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
    right: 0;
}


/* General Styles */
section {
    max-width: 2600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.boxed {
    max-width: 1520px;
    margin: 0 auto;
    padding: 80px 40px;
}

h1 {
    font-size: 60px;
    line-height: normal;
}

h2 {
    font-size: 60px;
    line-height: 64px;
    letter-spacing: -3px;
}

p, a, li {
}

.image img {
    border-radius: 20px;
}

span > strong {
    color: #ff4401 !important;
}

/* Colors */
body * {
    color: var(--blue);
}

.bg-dark-blue * {
    color: var(--white);
}

.bg-dark-blue {
    background-color: var(--dark-blue);
}

.bg-light-blue {
    background-color: var(--light-blue);
}

.bg-grey-blue {
    background-color: var(--grey-blue);
}


/* Buttons */
.btn-group {
    display: flex;
	flex-wrap: wrap;
    gap: 12px;
}

.btn-group.position-right {
    justify-content: flex-end;
}

.btn {
    display: flex;
    align-items: center;
    padding: 16px 26px;
    text-align: center;
    text-decoration: none;
    border-radius: 16px;
    max-width: fit-content;
    height: fit-content;
}

.bg-light-blue .btn-primary, .bg-none .btn-primary {
    background-color: var(--red);
    color: var(--white);
}

.bg-light-blue .btn-secondary {
    color: var(--blue);
    border: 1px solid var(--blue);
    background-color: transparent;
}


.bg-none .btn-secondary {
    color: var(--blue);
    border: 1px solid var(--blue);
    background-color: var(--white);
}

.has-background-image .btn-primary, .has-background-video .btn-primary, .bg-dark-blue .btn-primary {
    background-color: var(--white);
    color: var(--grey);
}

.has-background-image .btn-secondary, .has-background-video .btn-secondary, .bg-dark-blue .btn-secondary {
    color: var(--white);
    border: 1px solid var(--white);
    background-color: transparent;
}

/* Header */
.site-header .header-image {
    max-width: 65vw;
}


/* Content */
.content ul {
    list-style: none;
}

.content ul li {
    position: relative;
    margin-bottom: 30px;
}

.bg-dark-blue .content ul li strong {
    color: var(--white);
}

.bg-dark-blue .content ul li {
    color: var(--medium-blue);
}

.content ul li::before {
    position: absolute;
    left: -53px;
    top: -1px;
    content: '';
    display: block;
    background-image: url("images/general/list-style-general.png");
    background-repeat: no-repeat;
    background-size: 30px 30px;
    width: 30px;
    height: 30px;
}

.content.list-lightning-bolt ul {
    list-style: none;
    max-width: 450px;
}

.content.list-lightning-bolt ul li {
    margin-bottom: 30px;
    font-size: 30px;
    line-height: 37.5px;
    letter-spacing: 0.5px;
}

.content.list-lightning-bolt ul li::before {
    position: absolute;
    left: -53px;
    top: -1px;
    content: '';
    display: block;
    background-image: url("images/general/anchor.png");
    background-repeat: no-repeat;
    background-size: 30px 30px;
    width: 30px;
    height: 30px;
}

/* Single portfolio */
.single-portfolio .featured-image {
	    max-width: 1950px;
    mask-repeat: no-repeat;
    mask-size: contain;
    width: 100%;
    height: 100%;
    object-fit: contain;
    -webkit-mask-image: url('/wp-content/themes/generatepress_child/images/mask.png');
    mask-image: url('/wp-content/themes/generatepress_child/images/mask.png');
    background-size: cover;
    background-position: center;
    aspect-ratio: 1950 / 535;
    background-repeat: no-repeat;
}

.single-portfolio .featured-image img {
    aspect-ratio: 1950 / 535;
	object-fit: cover;
	width: 100%;
}

@media (max-width: 700px) {
.single-avada_portfolio .text-media.has-background-image {
    background-size: cover !important;
    width: 100%;
    max-height: 300px;
	mask-size: cover;
}
}

/* Responsive */
@media (max-width: 550px) {
    h1 {
        font-size: 40px;
        line-height: normal;
    }

    h2 {
        font-size: 40px !important;
        line-height: 42px !important;
        letter-spacing: -2px !important;
    }
    .boxed {
        padding: 40px 20px !important;
    }
    .btn {
        padding: 9px 18px;
        font-size: 14px !important;
    }
    p, a, li {
        font-size: 18px !important;
        line-height: normal !important;
    }
}

/* Header */
.custom-header {
    position: relative;
}

.custom-header .boxed {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-header .boxed .custom-menu {
    background-color: var(--light-blue);
    border-radius: 60px;
    height: 76px;
    display: flex;
    align-items: center;
    padding: 8px 22px;
    position: relative;
    z-index: 100;
}

.custom-header .boxed .custom-menu ul {
    margin: 0;
    display: flex;
    gap: 10px;
}

.custom-header .boxed .custom-menu li {
    list-style: none;
}

.custom-header .boxed .custom-menu li a,
.custom-header .boxed .custom-menu li:hover a {
    padding: 17px 38px;
    text-decoration: none;
    border-radius: 32px;
    font-weight: 600;
}

.custom-header .boxed .custom-menu li:hover a,
.current-menu-item a {
    background-color: var(--white);
}

.custom-header .boxed .custom-extra-link {
    display: flex;
    justify-content: flex-end;
}

.custom-header .boxed .custom-extra-link a {
    position: relative;
    padding: 0;
    display: inline-block;
    text-decoration: none;
    color: #121482;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
}

.custom-header .boxed .custom-extra-link .underline-svg {
    position: absolute;
    left: 3px;
    bottom: -20px;
    width: 100%;
    height: 12px;
    overflow: visible;
}

.underline-svg path {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: draw 6s ease-out infinite;
}

@keyframes draw {
    0%   { stroke-dashoffset: 500; }
    80%  { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 0; }
}

/* Standaard: desktop */
.custom-header .boxed .custom-menu,
.custom-header .boxed .custom-extra-link {
    display: none;
}
.trp-shortcode-switcher {
	margin-bottom: -3px;
}

.trp-language-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    text-decoration: none;
    min-height: 28px;
    box-sizing: content-box;
}
.trp-language-item img {
	width: 41px !important;
    height: 28px !important;
    border-radius: 10px !important;
}

#aos-hamburger {
    display: block;
}
@media (max-width: 1280px) {
    .custom-header {
        z-index: 1000;
    }
}

@media (min-width: 1280px) {
    .custom-header .boxed .custom-menu,
    .custom-header .boxed .custom-extra-link {
        display: flex;
    }

    #aos-hamburger {
        display: none;
    }

    #aos-mobile-nav {
        display: none !important;
    }
}

/* Mobiel menu basis */
.aos-mobile-nav {
    position: fixed;
    z-index: 999;
    inset: 0;
    background-color: #fff;
    display: none;
    padding: 80px 20px 20px;
    /* max-height: 700px; */
}

.aos-mobile-nav .menu {
    padding-top: 165px;
}

.aos-mobile-nav.open {
    display: block !important;
}

.aos-mobile-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.aos-mobile-nav li {
    padding: 0 0 10px 0;
    display: block;
}

.aos-mobile-nav li a {
    display: block;
    font-size: 5vw;
    line-height: 1.4;
    text-decoration: none;
}

.aos-mobile-nav .sub-menu a::before {
    content: "–  ";
}

@media (min-width: 768px) and (max-width: 1279px) {
    .aos-mobile-nav li a {
        font-size: 40px;
    }
}

@media (max-width: 550px) {
    .aos-mobile-nav li a {
        font-size: 8vw !important;
    }
    .aos-mobile-nav {
        max-height: 600px;
    }
    .aos-mobile-nav .menu {
        padding-top: 80px;
    }
}

/* Hamburger styling */
#aos-hamburger {
    background: transparent;
    border: 0;
    padding: 0;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    margin: 1em;
}

#aos-hamburger .square-box {
    position: relative;
    width: 8vw;
    max-width: 60px;
    min-width: 40px;
    margin: 0 auto;
}

#aos-hamburger .square-box:before {
    content: "";
    display: block;
    padding-top: 100%;
}

#aos-hamburger .square-content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
}

#aos-hamburger span {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    display: block;
    height: 3px;
    background-color: #121483;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#aos-hamburger span:nth-of-type(2) {
    top: 50%;
}

#aos-hamburger span:nth-of-type(3) {
    top: 80%;
}

/* Kruisje wanneer open */
#aos-hamburger.open span:nth-child(1) {
    top: 50%;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}

#aos-hamburger.open span:nth-child(2) {
    opacity: 0;
    left: +20vw;
}

#aos-hamburger.open span:nth-child(3) {
    top: 50%;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

/* Footer */
.site-footer {
    background-color: #060741;
    padding-bottom: 30px;
}

.site.footer-widgets {
    background-color: #060741;
    padding-bottom: 30px;
}

.site.footer-widgets .grid-container {
    padding: 120px 40px 60px 40px;
}

.site-info {
    background-color: #060741;
    border-bottom: 2px solid #ED1C24;
}

.inside-footer-widgets {
    gap: 20px;
}

.inside-footer-widgets .footer-widget-1 {
    min-width: 35%
}

.inside-footer-widgets .footer-widget-1 * p {
    font-size: 18px;
    color: #CDDAFF;
    line-height: 26px;
    margin-bottom: 45px;
}

.inside-footer-widgets .wp-block-social-links .wp-block-social-link.wp-social-link {
    background-color: #ED1C24;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
}

.inside-footer-widgets .wp-block-social-links .wp-block-social-link.wp-social-link svg path {
    color: white;
    width: 26px;
    height: 26px;
}

.inside-footer-widgets .footer-widget-2 h2,
.inside-footer-widgets .footer-widget-3 h2,
.inside-footer-widgets .footer-widget-4 h2 {
    color: var(--white);
    font-size: 30px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 14px;
    letter-spacing: normal;
    font-family: Inter, Arial, sans-serif;
}

.inside-footer-widgets .footer-widget-2 a,
.inside-footer-widgets .footer-widget-3 a,
.inside-footer-widgets .footer-widget-4 a,
.inside-footer-widgets .footer-widget-4 p {
    color: #CDDAFF;
    text-decoration: none;
    list-style: none;
    margin: 0 0 8px 0;
    background: transparent;
}

.footer-bar {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.footer-bar * {
    text-decoration: none;
    color: #CDDAFF;
}


.footer-bar .made-by a {
    text-decoration: none;
    color: #ED1C24;
    font-weight: 600;
}