/*************************************************** GENERIC CSS FOR EVERY PAGE *********************************************************/
:root {
    --rotate-card: -2deg;
}

* {
    box-sizing: border-box;
}

i {
    font-style: normal;
}

html {
    box-sizing: border-box;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font-size: 15px;
    font-family: "Work Sans", sans-serif;
}

body,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Work Sans", sans-serif
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 30px
}

h3 {
    font-size: 24px
}

h4 {
    font-size: 20px
}

h5 {
    font-size: 18px
}

h6 {
    font-size: 16px
}

.hover-text-grey:hover {
    color: #333;
}

body {
    font-family: "Work Sans", sans-serif;
    max-width: 1920px;
    color: #000 !important;
    background-color: #f1f1f1 !important;
    margin: 0;
    padding: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: none;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    border: none;
    color: inherit;
    background-color: inherit;

}

.default-container:after,
.default-container:before,
.w3-row:after,
.w3-row:before {
    content: "";
    display: table;
    clear: both
}

.default-container {
    padding: 0 16px;
}

.float-right {
    float: right !important
}

.float-left {
    float: left !important
}

.w3-jumbo {
    font-size: 64px !important
}

.w3-xxlarge {
    font-size: 36px !important
}

.w3-padding {
    padding: 8px 16px !important
}

.w3-grey,
.w3-hover-grey:hover,
.w3-gray,
.w3-hover-gray:hover {
    color: #000 !important;
    background-color: #9e9e9e !important
}

.w3-row:after,
.w3-row:before,
.w3-row-padding:after,
.w3-row-padding:before {
    content: "";
    display: table;
    clear: both
}

.w3-row-padding,
.w3-row-padding>.w3-half,
.w3-row-padding>.w3-third,
.w3-row-padding>.w3-twothird,
.w3-row-padding>.w3-threequarter,
.w3-row-padding>.w3-quarter,
.w3-row-padding>.w3-col {
    padding: 0px
}

.w3-rest {
    overflow: hidden
}

.w3-col,
.w3-half,
.w3-third,
.w3-twothird,
.w3-threequarter,
.w3-quarter {
    float: left;
    width: 100%
}


/********************************************************* ABOUT / CONTACT PAGE *********************************************************************/
.contact-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 8px;
    grid-row-gap: 8px;
}

.contact-grid-child {
    background-color: #fff;
    padding: 6px;
}

#text-form {
    grid-area: form;
    /*grid-area: 1 / 2 / 3 / 3;*/
}

#img-form {
    grid-area: img;
    /*grid-area: 1 / 1 / 2 / 2;*/
}

.form-label {
    font-weight: bold;
}

.form-input {
    padding: 8px;
    border: none;
    border-bottom: 1px solid #ccc;
    width: 100%;
    resize: none
}


@media (min-width: 900px) {
    .contact-grid-container {
        grid-template-columns: repeat(2, 50%);
        grid-template-rows: 1fr;
        grid-template-areas:
            "form img"
    }
}

@media (max-width: 899px) {
    .contact-grid-container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "form"
            "img"
    }
}


/********************************************************** HOME / INDEX PAGE *************************************************************/

.home-button {
    font-family: "Work Sans";
    border: none;
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: white;
    background-color: #333;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 2px;
}

.home-button.is-active {
    background-color: #000;
    color: #fff;
}

.home-button:hover {
    color: black;
    background-color: #DECADE;
}

.home-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    grid-column-gap: 8px;
    grid-row-gap: 8px;
}

.home-grid-child {
    background-color: #fff;
    padding: 6px;
}

#linksboven {
    height: 100%;
    /*dont remove anders trippen je images op desktop als je landscape met portrait mixt!!*/
    grid-area: topimage;
    /*grid-area: 1 / 2 / 3 / 3;*/
}

#rechtsboven {
    grid-area: welcome;
    /*grid-area: 1 / 1 / 2 / 2;*/
}

#linksonder {
    grid-area: contact
        /*grid-area: 3 / 2 / 4 / 3;*/
}

#rechtsonder {
    grid-area: bottomimage
        /*grid-area: 2 / 1 / 4 / 2;*/
}

@media (min-width: 800px) {
    .home-grid-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
        grid-template-areas:
            "welcome topimage"
            "bottomimage topimage"
            "bottomimage contact"
    }
}

@media (max-width: 799px) {
    .home-grid-container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "welcome"
            "topimage"
            "contact"
            "bottomimage"
    }
}

/********************************************************** HOME & CONTACT SHARED CSS *************************************************************/
.grid-img-container {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.grid-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    min-width: 100%;
    min-height: 100%;
}

#fadey {
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0;
}

.grid-text {
    padding: 16px;
    text-align: justify;
}


/******************************************************* PROJECT SPECIFIC PAGE *********************************************************/
/* project-specific page sticky header on large monitors*/
@media (min-height:850px) and (min-width:993px) {
    header {
        background: #f1f1f1;
        position: sticky !important;
        top: 0;
        z-index: 999;
    }
}

/*breadcrumbs*/
ul.breadcrumb {
    display: flexbox;
    list-style: none;
    padding: 0;
}

ul.breadcrumb li {
    display: inline;
    font-size: 18px;
    color: #666;
}

ul.breadcrumb li+li:before {
    font-family: 'FontAwesome';
    content: "\f105";
}

.breadcrumb-item {
    padding: 4px 6px;
}

/* a breadcrumb zijn klikbare previous steps, i breadcrumb is de huidige pagina (niet klikbaar)*/
a.breadcrumb-item {
    border-radius: 4px;
}

a.breadcrumb-item:hover {
    color: black;
    background-color: #DECADE;
    transition: background-color 0.2s;
}

i.breadcrumb-item {
    color: black;
    font-weight: bold;
}

/* image gallery / slideshow */
.prev,
.next {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    cursor: pointer;
    position: absolute;
    bottom: 45%;
    width: 50px;
    align-items: center;
    height: 50px;
    padding: 16px;
    font-size: 18px;
    opacity: 0.8;
    transition: 0.2s ease;
    user-select: none;
    border: none;
}

.prev {
    left: 0;
    border-radius: 0 5px 5px 0;
}

.next {
    right: 0;
    border-radius: 5px 0px 0px 5px;
}

.prev:hover,
.next:hover {
    color: #000;
    background-color: rgba(255, 255, 255, 0.5);
}

.slideshow-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    background-color: #222;
    height: 100%;
    width: 100%;
    max-height: 80vh;
}

.slide {
    overflow: hidden;
    text-align: center;
    display: block;
    margin: 0 auto;
    line-height: 0;
    height: 50vw;
    width: auto;
    max-height: 80vh;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

#numbertext {
    color: #000;
    background-color: #f1f1f1;
    border-radius: 0px 0px 5px 0px;
    font-size: 16px;
    font-weight: 700;
    padding: 8px 12px;
    position: absolute;
    text-align: center;
    top: 1;
    overflow: visible;
    white-space: nowrap;
    z-index: 1;
    width: 75px;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.2s;
}

.dot:hover {
    background-color: #444;
}

.dot.active {
    background-color: #222;
}


/* video viewer */
.videowrapper {
    float: none;
    clear: both;
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}

.videowrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* project description */
.intro {
    width: 49%;
    text-align: justify;
}

.description {
    padding-left: 0.5%;
    padding-right: 0.5%;
}

.description a {
    text-decoration: underline;
    font-weight: 700;
}

.description a:hover {
    color: #888;
}

.description>p {
    text-align: justify;
}

.description>p:first-child {
    margin-top: 0;
}

.description>p:last-child {
    margin-bottom: 0;
}

/*************************************************************** NAVBAR / SIDE MENU *****************************************************************/
.sidebar {
    height: 100%;
    width: 250px;
    background-color: #decade;
    position: fixed !important;
    z-index: 999;
    overflow: auto;
    transition: transform 400ms;
}

.w3-margin-right {
    margin-right: 16px !important
}

.footer {
    position: absolute;
    padding: 8px;
    bottom: 0px;
    font-size: 10px;
}

/* social media icons shit*/
.socials-panel {
    padding: 0 16px;
    cursor: default;
    margin-top: 16px;
    margin-bottom: 16px
}

.social-media-icon {
    color: black;
    fill: black;
}

.social-media-icon:hover {
    color: #777777 !important;
}

.social-media-icon:hover polygon {
    fill: #777777 !important;
}

/* navbar menu items */
.menu-block .menu-item {
    padding: 12px 16px;
    width: 100%;
    display: block;
    text-align: left;
    vertical-align: middle;
    overflow: hidden;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.unlinkify {
    text-decoration: none;
    border: none;
    white-space: normal;
}

.menu-item:hover {
    color: #000 !important;
    background-color: #fff !important;
}

/* sidebar overlay on small screens */
.overlay {
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 888;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 300ms, opacity 300ms linear;
}

.visible {
    visibility: visible !important;
    opacity: 1 !important;
    transition: opacity 300ms linear !important;
}

#hamburger-menu-button {
    border: none;
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap
}


/*************************************************************** PROJECT OVERVIEW PAGE *****************************************************************/
/** header stuff **/
.FA-tab-margin {
    margin-right: 8px !important
}

.dividing-bar {
    padding-top: 8px;
    border-bottom: 6px solid #ccc !important
}

.main {
    margin-top: 0 !important;
    margin-left: 250px;
    transition: margin-left .4s;
    padding: 8px;
    padding-top: 0px;
    padding-bottom: 0px;
    height: 100%
}

.tabs-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px;
}

.projects-container-title {
    padding-top: 8px;
    padding-bottom: 4px;
    font-weight: 700;
    font-style: normal !important;
    font-size: 14px;
    color: #000;
}

#projects-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    white-space: pre;
}

#projects-container:empty::after {
    content: "\aLoading projects..."
}

.project {
    float: left;
    width: 25%;
    padding: 4px;
    background-clip: content-box;
    background-color: white;
    transition: transform .2s;
    white-space: normal;
}

.project:hover {
    transform: scale(1.05) rotate(calc(var(--rotate-card) * 1deg));
}

.container__title {
    font-weight: 700;
    font-size: 14px;
    color: #000;
}

.sort-filter-option {
    padding: 12px 12px;
    padding-top: 0;
}

#sort-filter-container {
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
    box-sizing: border-box;
    /* Opera/IE 8+ */
}

#sort-filter-container-wrapper {
    display: block;
}

#sort-filter-subsection {
    background-color: #ccc !important;
}

#sort-filter-button {
    background-color: inherit;
    padding: 8px 12px;
    border: none;
    cursor: pointer;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    width: 100%;
}

#sort-filter-container {
    background: #ccc;
    -moz-transition: height .3s;
    -ms-transition: height .3s;
    -o-transition: height .3s;
    -webkit-transition: height .3s;
    transition: height .3s;
    overflow: hidden;
}

.project-preview {
    overflow: hidden;
    width: 100%;
    text-align: center;
    display: block;
    margin: 0 auto;
    line-height: 0;
    height: 200px;
    max-height: 200px;
}

.project-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.project-column {
    padding: 6px;
}

.project-content {
    padding: 8px;
}

.project-title {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-tag {
    display: inline-block;
    font-size: 14px;
    margin-right: 3px;
    margin-bottom: 3px;
    padding: 2px 4px;
    color: #717171;
    border: 1px solid #9b9b9b;
    border-radius: 3px;
    white-space: nowrap;
}

.project-status {
    vertical-align: bottom;
    margin-bottom: 8px;
}

.project-footer {
    text-align: right;
    margin-top: auto;
}

.labels-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5px;
}

.labels-container:empty::after {
    font-size: 13px;
    content: "[No filters available]";
}

.tab-button,
.label-button {
    font-family: "Work Sans";
    border: none;
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: black;
    background-color: white;
    text-align: center;
    cursor: pointer;
    white-space: nowrap
}

.label-button {
    font-size: 13px;
    padding: 4px 6px;
}

.tab-button {
    padding: 8px 12px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 2px;
}

.label-button.is-active,
.tab-button.is-active {
    background-color: #333;
    color: #fff;
}

.label-button:hover,
.tab-button:hover {
    color: black;
    background-color: #DECADE;
}

/* voorkomen dat FA icon de button deels onklikbaar maakt */
button>i {
    pointer-events: none;
}

.label-button {
    font-size: 13px;
}

.hide-on-featured {
    display: none;
}

/*** responsive layout grid, 4 projects on each row is default ***/
/* three column-layout*/
@media screen and (max-width: 1600px) {
    .project {
        width: 33.333%;
    }
}

/* two column-layout */
@media screen and (max-width: 1200px) {
    .project {
        width: 50%;
    }
}

/* single column layout*/
@media screen and (max-width: 600px) {
    .project {
        width: 100%;
    }
}

/********************************************* DEVICE SPECIFIC LAYOUTS / RESPONSIVE STUFF ********************************************************/
/* desktop layout*/
@media (min-width:900px) {

    /* hamborgir menu icon enzo */
    .hide-on-large-screens {
        display: none !important;
        opacity: 0;
    }

    .description {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        column-gap: 4%;
    }

    .w3-half {
        width: 50%;
    }

    .w3-third {
        width: 33.33333%;
    }

    .w3-twothird {
        width: 66.66666%
    }

    #Random {
        display: inline-block;
        margin-left: auto;
    }
}

/* mobile layout*/
@media (max-width:899px) {
    .hide-on-small-screens {
        display: none !important;
        opacity: 0;
    }

    /* remove extra margon on main div*/
    .main {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }

    /*animation to collapse navbar on mobile (default)*/
    .sidebar {
        transform: translateX(-250px);
    }

    /*animation to expand navbar on mobile*/
    .sidebar.opened {
        transform: translateX(0px);
    }
}
