/*
 Theme Name:   De Gezinsadvocaat
 Theme URI:    https://generatepress.com
 Description:  De Gezinsadvocaat theme
 Author:       Clarq
 Author URI:   https://clarq.nl
 Template:     generatepress
 Version:      0.1
*/

:root {
    --white: #FFFFFF;
    --grey: #5E4F9C31;
    --dark-grey: #00000033;
    --soft-black: #161615;
    --black: #000000;
    --light-purple: #877BB5;
    --soft-purple: #5E4F9CBE;
    --purple: #5E4F9CD9;
    --dark-purple: #5E4F9C;
    --green: #707070;
    --yellow: #F2B936;
}

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

body {
    font-family: 'Open Sans', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'FaunaOne', Arial, sans-serif;
}


/* General */
section {
    max-width: 2600px;
    margin: 0 auto;
}

.boxed {
    padding: 50px 20px;
}

section .boxed {
    max-width: 1560px;
    margin: 0 auto;
}

p, a, li {
    color: var(--black);
    font-size: 18px;
    line-height: 24px;
}


h1 {
    font-size: 54px;
    line-height: 74px;
    font-weight: 700;
}

h2 {
    font-size: 32px;
}

h2, h3, h4 {
    color: var(--dark-purple);
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 45px;
}

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

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


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

.btn {
    display: flex;
    align-items: center;
    padding: 15px 11px;
    font-size: 20px;
    line-height: 33px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 51px;
    letter-spacing: 0;
    max-width: fit-content;
}

.btn-primary {
    background-color: var(--dark-purple);
    color: var(--white);
    text-decoration: none;
}

.btn-secondary {
    text-decoration: none;
    color: var(--dark-purple);
    border: 3px solid var(--dark-purple);
}

.btn-secondary:hover {
    color: var(--yellow);
    border: 3px solid var(--yellow);
}


/* Top bar */
.top-bar {
    background-color: var(--light-purple);
    color: var(--white);
    font-size: 14px;
    padding: 8px 0;
    text-align: center;
    max-height: 65px;
    border-bottom: 2px solid var(--yellow);
}

.top-bar .wp-block-columns > div:first-child {
    width: 260px;
}

.top-bar .wp-block-columns * {
    font-size: 16px;
    font-weight: 700;
}


/* Header */
.site-header {
    background-size: 40% auto;
    background-repeat: no-repeat;
    background-position: top right;
}

.main-navigation {
    background: transparent;
}

.main-navigation .main-nav ul li a {
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.8em;
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a,
.main-navigation .main-nav ul li a:hover{
    color: var(--yellow);
}


.main-navigation .main-nav ul li:last-child a {
    padding-right: 0px;
}

.inside-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0px 20px;
    padding: 60px 20px;
    height: 100%;
    margin-top: 65px;
}

.site-logo {
    grid-column: 1;
    grid-row: 1 / span 2;
}

#site-navigation {
    grid-area: 1 / 2;
    align-self: end;
}

.header-widget {
    grid-column: 2;
    grid-row: 2;
    flex-basis: inherit!important;
}

.header-widget h1 {
    margin: 0;
    color: white;
}

.nav-float-right #site-navigation {
   margin-left: 0;
}

@media (max-width: 1020px) {
    .has-inline-mobile-toggle .inside-header {
        flex-wrap: nowrap;
    }
    .has-inline-mobile-toggle .mobile-menu-control-wrapper {
        order: 2;
    }

    .has-inline-mobile-toggle .header-widget, .has-inline-mobile-toggle #site-navigation {
        flex: 1;
    }
    .nav-float-right .header-widget {
        margin-left: 0px;
    }

    .main-navigation .menu-toggle {
        display: flex;
    }

}

@media (max-width: 768px) {

    .site-header .header-widget {
        margin-top: 0em;
    }

    .header-widget h1 {
        font-size: 20px;
        text-align: left;
    }

}



/* Sticky navbar */
.nav-float-right .navigation-stick {
    background-color: var(--white);
    color: var(--dark-purple);
}

.navigation-stick .main-nav ul li a, .navigation-stick .main-nav ul li[class*="current-menu-"] > a {
    color: var(--dark-purple);
}

.navigation-branding img {
    height: 10vw!important;
    max-height: 180px!important;
}

.navigation-branding img {
    padding: 20px 0!important;
}

.nav-float-right .navigation-stick .navigation-branding {
    margin-right: 0;
    min-width: 270px;
}

.main-navigation.navigation-stick.has-sticky-branding .inside-navigation.grid-container {
    flex-wrap: nowrap;
}

.sticky-enabled .main-navigation.is_stuck {
    box-shadow: 0 2px 20px 11px rgba(0, 0, 0, .2)!important;
    margin-top: 65px!important;
}

/* Topbar */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
}

.top-bar .wp-block-social-links {
    justify-content: flex-end;
}

@media (max-width: 1020px) {
    .top-bar .inside-top-bar {
        justify-content: right;
    }

    .top-bar .inside-top-bar {
        display: block!important;
        width: 100%;
    }

    .top-bar .inside-top-bar .widget {
        display: block;
    }

    .top-bar  aside > .wp-block-columns {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 20px;
    }

    .top-bar .wp-block-column {
        display: block!important;
        width: 100% !important;
        flex-grow: 0!important;
    }

    .top-bar .wp-block-column:first-child p {
        text-align: end;
    }

    .top-bar .wp-block-column:last-child {
        display: flex !important;
        align-items: center;
        justify-content: end;
        max-height: fit-content;
    }

    .inside-navigation {
        position: inherit;
    }
}

@media (max-width: 768px) {
    .top-bar .wp-block-columns * {
        font-size: 14px;
        font-weight: 700;
    }
}

/* mobile menu */

@media (max-width: 1020px) {
    .inside-navigation #primary-menu {
        position: absolute;
        top: 168px;
        left: 0;
        width: 100%;

    }
    .inside-navigation #primary-menu > ul {
        background-color: #5e4f9c;
        padding-bottom: 50px;
    }


}




/* Footer */
.footer-widgets-container {
    padding-top: 65px;
    padding-bottom: 65px;
}

.site-footer .footer-widgets {
    background-color: var(--dark-purple);
}

.site-footer .footer-widget-1 {
    position: relative;
}

.site-footer .footer-widget-1 aside {
    margin-bottom: 20px;
}

.site-footer .footer-widget-1 #block-17 {
    position: absolute;
    bottom: 0;
}

.site-footer .footer-widget-1 #block-17 li, .site-footer .footer-widget-1 #block-17 li svg {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-footer .footer-widget-1 #block-17 li svg {
    width: 35px;
    height: 35px;
}

.site-footer .footer-widget-2 *, .site-footer .footer-widget-3 * {
    color: var(--white);
    font-weight: 700;
}

.site-footer .footer-widget-2 * {
    font-size: 20px;
    line-height: 24px;
    text-decoration: none;
}

.site-footer .footer-widget-2 ul li {
    margin-bottom: 30px;
}

/* Copyright */
.site-info {
    background: var(--dark-purple);
}

.inside-site-info {
    display: flex;
    justify-content: flex-end;
}

.inside-site-info .copyright-bar {
    margin: 0 !important;
}

.inside-site-info .copyright-bar * {
    font-size: 20px;
    line-height: 24px;
    color: var(--white);
}

@media (max-width: 880px) {
    .site-footer .footer-widget-1 h2 {
        font-size: 30px !important;
    }
    .site-footer .footer-widget-1 h3 {
        font-size: 18px !important;
        line-height: normal !important;
    }
}

@media (max-width: 1020px) {
    .inside-header {
        display: flex;
    }
    h1 {
        font-size: 37.5px;
        line-height: 45.5px;
    }
    .site-header .header-image {
        width: 120px;
    }
    .site-header {
        background-size: auto 65%;
        min-height: 100%;
        background-position: bottom right;
    }
    .main-navigation.toggled .main-nav li {
        margin-bottom: 12px;
    }
    .gp-icon svg {
        height: 2em !important;
        width: 2em !important;
        fill: var(--white) !important;
    }
    .inside-header {
        padding: 40px 20px;
    }
    .site-footer .footer-widget-1 #block-17 {
        position: relative;
    }
}