@import "./navigation.css";

/* CUSTOM FONTS */
@font-face {
    font-display: swap;
    font-family: "Share Regular";
    src: url("../fonts/Share-Regular.woff") format("woff");
}

@font-face {
    font-display: swap;
    font-family: "Share Bold";
    font-weight: bold;
    src: url("../fonts/Share-Bold.woff") format("woff");
}

/* ##########################  default elements  ########################### */
*,
*::before,
*::after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}

html,
body {
    height: 100%;
    min-height: 100%;
}

html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-rendering: optimizeSpeed;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;

    /* 480px @ 16px and up */
    @media (min-width: 30em) {
        text-rendering: optimizeLegibility;
    }

    /* Retina screens and up */
    @media (min-device-pixel-ratio: 2),
        (-webkit-min-device-pixel-ratio: 2),
        (-o-min-device-pixel-ratio: 2/1),
        (min-resolution: 192dpi) {
        -moz-osx-font-smoothing: grayscale;
    }
}

body {
    -webkit-font-kerning: normal;
    font-kerning: normal;
    line-height: 1.5;
    padding: 0;
    margin: 0;
    text-align: center;
    position: relative;
    font-family: "Share Regular", Arial;

    @media print {
        font-family: serif;
    }
}

main {
    display: block;
}

body,
input,
textarea {
    color: #000;
    font-family: Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

img,
video {
    border-style: none;
    height: auto;
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #317ac5;
    font-family: "Share Regular", Arial;
    margin: 10px 0;
}

h1 {
    font-size: 2rem;
    line-height: 2rem;
    margin: 12px 0 20px 0;
}

@media (min-width: 64em) {
    h1 {
        font-size: 2.5rem;
        line-height: 2.5rem;
        margin: 24px 0 20px 0;
    }
}

h2 {
    font-size: 1.1rem;
    line-height: 1.2;
}

h3 {
    font-family: "Share Bold", Arial;
    font-size: 1.5rem;
    line-height: 1.5rem;
}

h4 {
    font-family: "Share Bold", Arial;
    font-size: 1rem;
    line-height: 1.5rem;
    color: #464646;
}

h1 a,
h2 a,
h3 a {
    text-decoration: none;
}

a:link,
a:visited {
    color: #317ac5;
}

a:hover,
a:active,
a:focus {
    background: #317ac5;
    color: #fff;
}

p {
    font-size: 1rem;
    line-height: 1.5rem;
    margin: 8px 0 20px 0;
}

.intro {
    font-family: "Share Bold", Arial;
}

em {
    display: inline-block;
}

figure {
    padding: 0;
    margin: 0;
}

figure a {
    display: inline-block;
}

figure a:hover,
figure a:active,
figure a:focus {
    background-color: transparent;
}

img {
    margin: 10px 0;
}

figure img {
    margin: 0;
}

figcaption {
    display: block;
    font-size: 0.75rem;
}

img + figcaption {
    margin-top: -15px;
}

/* ##########################  page  ########################### */
.page {
    border-bottom: 340px solid #ffd200;
    color: #343434;
    font-family: "Share Regular", Arial;
    line-height: 150%;
    margin: 0 auto;
    text-align: left;
    padding-bottom: 20px;
}

@media (min-width: 64em) {
    .columns {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
        flex-direction: row-reverse;
        max-width: 960px;
        margin: 0 auto;
    }
}

/* ##########################  header  ########################### */
.header {
    background: url("../images/jzc_header_home_volgende_editie_960_540px_16x9_180324.jpg")
        no-repeat top center;
    background-size: cover;
    /* border: 5px solid #007dc6;*/
    color: #fff;
    height: 55.4vw;
}

/*
@media (min-width: 40em) {
  .header {
    background-image: url(../images/jzc_header_960_540px_16_x_9_031119.png);
  }
}
*/

@media (min-width: 64em) {
    .header {
        background: #ffd200
            url("../images/jzc_header_home_volgende_editie_1680_472px_32x9_2_180324.jpg")
            no-repeat top center;
        background-size: auto;
        max-height: 472px;
    }
}

/* ##########################  navigation  ########################### */
.navigation {
    display: flex;
    align-items: center;
    position: relative;
    min-height: 40px;
    padding: 0 0 0 20px;
    box-shadow: 0 1px 4px rgb(146 161 176 / 15%);
    background-color: #ffd200;
}

.navigation__current {
    display: flex;
    align-items: center;
    text-decoration: none;
    outline: none;
    color: #333;
    font-weight: bold;
    cursor: default;
}

.checkbox,
.hamburger {
    display: block;
    height: 32px;
    width: 32px;
    padding: 5px 2px;
    position: absolute;
    top: 3px;
    right: 15px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.checkbox {
    z-index: 5;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.hamburger__line {
    display: block;
    height: 3px;
    width: 100%;
    border-radius: 10px;
    background: #0e2431;
    transform-origin: left;
    margin-left: 6px;
}

.hamburger__line--1 {
    transition: transform 0.4s ease-in-out;
}

.hamburger__line--2 {
    transition: transform 0.2s ease-in-out;
}

.hamburger__line--3 {
    transition: transform 0.4s ease-in-out;
}

.checkbox:checked ~ .navigation__inner {
    transform: translateX(0);
}

.checkbox:checked ~ .hamburger .hamburger__line.hamburger__line--1 {
    transform: rotate(45deg);
}

.checkbox:checked ~ .hamburger .hamburger__line.hamburger__line--2 {
    transform: scaleY(0);
}

.checkbox:checked ~ .hamburger .hamburger__line.hamburger__line--3 {
    transform: rotate(-45deg);
}

.navigation__inner {
    background-color: #fff;
    height: 100vh;
    left: 0;
    position: absolute;
    top: 40px;
    transform: translateX(-150%);
    transition: transform 0.5s ease-in-out;
    width: 100%;
    z-index: 3;
}

.navigation__list {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
}

.navigation__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33%;
    height: 100px;
    background-color: #fff;
}

.navigation__item--active {
    /* display: none; */
}

.navigation__link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    height: 100%;
    width: 100%;
    text-decoration: none;
    outline: none;
    text-align: center;
}

.navigation__link:link,
.navigation__link:visited {
    color: #343434;
}

.navigation__link:hover,
.navigation__link:active,
.navigation__link:focus {
    background-color: #297ec62e;
}

.navigation__item--active .navigation__link {
    background-color: #ffd200;
    color: #333;
    font-weight: bold;
    cursor: default;
}

.navigation__item--active .navigation__link:visited {
    color: grey;
}

.navigation__item--active .navigation__link:hover,
.navigation__item--active .navigation__link:active,
.navigation__item--active .navigation__link:focus {
    background-color: #ffd200;
}

@media (min-width: 64em) {
    .navigation {
        padding: 20px 10px 0 0;
        width: 25%;
        font-size: 0.875rem;
        box-shadow: none;
        background-color: #fff;
    }

    .navigation__inner {
        position: relative;
        transform: translateX(0);
        top: 0;
        transition: none;
    }

    .navigation__current,
    .checkbox,
    .hamburger {
        display: none;
    }

    .navigation__item--active {
        display: block;
    }

    .navigation__item {
        display: block;
        width: 100%;
        height: auto;
    }

    .navigation__link {
        justify-content: flex-start;
        text-align: left;
        padding: 7px 4px 7px 20px;
    }
}

/* ##########################  main  ########################### */
.main {
    margin: 0 auto 20px auto;
    max-width: 960px;
    padding: 0 20px;
}

@media (min-width: 64em) {
    .main {
        margin: 0;
        max-width: none;
        padding: 0 30px 0 0;
        width: 75%;
    }
}

/* ##########################  footer & facebook  ########################### */
.footer {
    padding: 0 20px;
}

@media (min-width: 64em) {
    .footer {
        padding: 0;
        max-width: 960px;
        margin: 20px auto;
    }
}

.visually-hidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* ##########################  contact  ########################### */
.faq {
    margin-bottom: 30px;
}

.faq h2 {
    color: #717171;
}

/* ##########################  icon-block (facebook/pdf download)  ########################### */
.icon-block {
    display: inline-block;
}

.social-media-icons {
    background-color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 0.875rem;
    line-height: 1.1;
    padding: 6px 20px 6px 6px;
}

.social-media-icons img,
.social-media-icons svg {
    margin: 5px 10px 5px 5px;
}

.facebook_font a,
.facebook_font {
    font-family: "Share Bold", Arial;
    font-size: 1.125rem;
    color: #317ac5;
    text-decoration: none;
    background-color: #ffffff;
}

.gallery {
    margin-top: 30px;
    margin-bottom: 30px;
}

.gallery table {
  align: "center";
  border-spacing: 5px;
}

.gallery td, tr {
  padding: 0;
}

.gallery img {
  margin: 0 0;
  display: block;
}
