/*
Theme Name: Wux Theme
Author: Wux
Author URI: https://wux.nl/
Description: Wux is het custom wordpress thema van Wux - Internetbureau
Version: 2.0
Requires PHP: 8.3.0
Text Domain: wuxnl-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

/* @font-face {
    font-family: "Switzer";
    src: url('/app/themes/wuxnl-theme/assets/fonts/Switzer-Regular.ttf') format('truetype'),
         url('/app/themes/wuxnl-theme/assets/fonts/Switzer-Regular.woff') format('woff'),
         url('/app/themes/wuxnl-theme/assets/fonts/Switzer-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
} */

:root {
    --fs: 1.4rem;
    --lh: 1.6;
    
    /* Custom beziers */
    --cb--smooth: cubic-bezier(.58,.22,.2,.96);

    /* Color variables */
    --clr-primary: #F07E32;
    --clr-primary-rgb: 240, 126, 50;
    --clr-primary-light: #FFAC75;
    --clr-primary-dark: #D86E21;
    
    --clr-secondary: #2B4570;
    --clr-secondary-rgb:43, 69, 112;
    --clr-secondary-light: #95A2B7;

    --clr-dark: #151515;

    --clr-heading: var(--clr-dark);
    --clr-text: var(--clr-dark);


    --clr-light: #FFEFE4;
    --clr-light-secondary: #E8EEF9;

    --clr-border: #AEAEAE; 
    
    --clr-danger: #8B1D1D;
    --clr-info: #3d9cd2;
    --clr-success: #1CB435;

    /* Font variables */
    --font-primary: 'Poppins', sans-serif;

    /* Container max-width variables */
    --container-width: 100%;
    --container-width--sm: 540px;
    --container-width--md: 720px;
    --container-width--lg: 960px;
    --container-width--xl: 1140px;
    --container-width--xxl: 1320px;
    --container-width--xxxl: 1440px;

    --ts-duration: var(--ts-25);
    --ts-function: var(--cb--smooth);

}

@media (min-width: 768px) {
    :root {
        --fs: 1.5rem;
    }
}
@media (min-width: 1200px) {
    :root {
        --fs: 1.7rem;
    }
}

body { font-family: var(--font-primary); }

/*** ---------- Typography ---------- ***/
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {  color: var(--clr-heading); }
h1, .h1 { --fs: clamp(3.2rem, 5vw, 6.4rem); --lh: 1.2; }
h2, .h2 { --fs: clamp(2.8rem, 4vw, 4.8rem); --lh: 1; }
h3, .h3 { --fs: clamp(2rem, 3vw, 2.4rem); --lh: 1; }
h4, .h4 { --fs: 1.8rem; --lh: 2rem; }

h1 strong{ color: var(--clr-primary); }

/*** ---------- Whitespace ---------- ***/
[class*="wpb-wst"] { --pt: 0; padding-top: var(--pt); }
[class*="wpb-wsb"] { --pb: 0; padding-bottom: var(--pb); }

.wpb-wst--none { --pt: 0; }
.wpb-wst--small { --pt: 1.8rem; }
.wpb-wst--medium { --pt: 2.5rem; }
.wpb-wst--large { --pt: 4rem; }

.wpb-wsb--none { --pb: 0; }
.wpb-wsb--small { --pb: 1.8rem; }
.wpb-wsb--medium { --pb: 2.5rem; }
.wpb-wsb--large { --pb: 4rem; }

@media (min-width: 992px) {
    .wpb-wst--small { --pt: 6.4rem; }
    .wpb-wst--medium { --pt: 8rem; }
    .wpb-wst--large { --pt: 11rem; }
    
    .wpb-wsb--small { --pb: 6.4rem; }
    .wpb-wsb--medium { --pb: 8rem; }
    .wpb-wsb--large { --pb: 11rem; }
}

/*** ---------- Background colors ---------- ***/
.wpb-bg-clr--primary { background-color: var(--clr-primary); }
.wpb-bg-clr--secondary { background-color: var(--clr-secondary); }

/*** ---------- Buttons ---------- ***/
.btn, .gform_button, .gform_next_button, .gform_previous_button, .button { --lh: 1; --br: 1rem; font-weight: 500; }

.btn.btn--primary, .button { --clr: rgb(255,255,255); --bg-clr: var(--clr-primary); --border: 1px solid transparent; --hover-bg-clr: var(--clr-secondary); }
.btn.btn--secondary { --clr: #fff; --bg-clr: var(--clr-secondary); --border: 1px solid transparent; --hover-clr: var(--clr-dark); --hover-bg-clr: transparent; --hover-border: 1px solid var(--clr-secondary-light); }
.btn.btn--outline { --clr: var(--clr-dark); --border: 1px solid var(--clr-primary-light); --hover-bg-clr: var(--clr-primary); --hover-border: 1px solid transparent; }

/*** ---------- Header ---------- ***/
/* .wpb-header { --gc: 1; --gap: 3.2rem; } */
.wpb-header.wpb-header--home { background: linear-gradient(to right,rgb(var(--clr-primary-rgb), 0), rgb(var(--clr-primary-rgb), .3), rgb(var(--clr-secondary-rgb), .2), rgb(var(--clr-secondary-rgb), 0.05)); position: relative; }
.wpb-header.wpb-header--home::before{ content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(to bottom, #fff9, #fff0 70%, #fff9); z-index: 1; pointer-events: none; }
.wpb-header.wpb-header--home .container{ z-index: 2; }
.wpb-header.wpb-header--home .container .wpb-text{ text-align: center; }
.wpb-header.wpb-header--home .container .wpb-text p{ font-size: clamp(1.6rem, 2vw, 2rem); }
.wpb-header.wpb-header--home .container .btn-group{ --mt: 3.2rem; justify-content: center; }

@media (min-width: 992px) {
    /* .wpb-header.wpb-header--home { --gc: 2; } */
}

/*** ---------- Footer ---------- ***/
.wpb-footer {  }
.wpb-footer.wpb-footer--primary {  }

.by-wux { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; transition: opacity var(--ts-25) ease; }
.by-wux span { font-size: 1.2rem; line-height: 1; }
.by-wux img { width: 4.7rem; height: 1.6rem; filter: invert(1); }
.by-wux:hover{ opacity: .7; }