/* ALGEMEEN */

:root {
    /*Algemene kleurstelling:*/ 
    --bg-primary: #000000; 
    --bg-secondary: #ffffff1e; 
    --fg-primary: #FFFFFF; 
    --accent: #FFFF70; 

    /*Hamburgermenu*/ 
    --bar-width: 40px;
    --bar-height: 4px;
    --hamburger-gap: 8px;
    --foreground: #FFFFFF;
    --background: var(--bg-primary);
    --hamburger-margin: 24px;
    --animation-timing: 200ms ease-in-out;
    --hamburger-height: calc(var(--bar-height) * 3 + var(--hamburger-gap) * 2);
}

*,
*::before,
*::after {
    margin: 0px;
}

/* ALGEMEEN */

body {
    background-color: var(--bg-primary);
    color: var(--fg-primary);
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 16px;
}

p {
    line-height: 1.5;
    margin-bottom: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 1rem 0rem 1rem 0rem;
    font-weight: 300;
}

figcaption {
    font-size: 1.1rem;
    margin: 10px 0px 10px 0px;
}

h1 {
    font-size: 2rem;
    font-weight: 100;
}

h2 {
    font-size: 2rem;
    font-weight: 200;
}

strong {
    font-weight: 800;
    color: var(--accent);
}

.preload * {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}

a,
.knop {
    transition: 0.3s;
}

a:link {
    color: #FFFFFF;
}

a:hover {
    color: #FFFF00;
}

a:visited {
    color: #FFFFFF;
}

/* HEADER */

#homeheader {
    height: 100vh;
    background: none;
}

header {
    width: 100%; 
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(0deg, rgba(2, 0, 36, 0) 0%, rgba(0, 0, 113, 1) 64%, rgba(192, 0, 255, 1) 100%);
}

#BG-Video {
    top: 0px; 
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
}

#quote {
    font-family: Garamond, serif;
    font-size: 3rem;
    filter: drop-shadow(0px 0px 5px #000000);
    line-height: 60px;
}

#quote strong {
    font-family: 'Brush Script MT';
    font-size: 4rem;
    font-weight: 200;
    color: var(--accent);
}

/* HAMBURGER MENU */

menu {
    padding-inline-start: 0px; 
}

.hamburger-menu {
    --x-width: calc(var(--hamburger-height) * 1.4142135623730950488016887242097);
    display: flex;
    flex-direction: column;
    gap: var(--hamburger-gap); 
    width: max-content; 
    position: absolute;
    top: var(--hamburger-margin); 
    left: var(--hamburger-margin); 
    z-index: 2; 
    cursor: pointer; 
}

@media screen and (min-width: 955px) {
    .mobile, .hamburger-menu {
        display:none; 
    }

    #inleiding {
        width: 50%;
        justify-self: center;
    }

    #quote {
        font-size: 4rem;
    }
    #quote strong {
        font-size: 5rem;
    }

    h1 {
        font-size: 3rem;
    }
}   

.hamburger-menu:has(input:checked) {
    --foreground: #000000; 
    --background: #FFFFFF; 
}

.hamburger-menu:has(input:focus-visible)::before,
.hamburger-menu:has(input:focus-visible)::after,
.hamburger-menu input:focus-visible {
  border: 1px solid var(--background);
  box-shadow: 0 0 0 1px var(--foreground);
}

.hamburger-menu::before, 
.hamburger-menu::after, 
.hamburger-menu input {
    content: ""; 
    width: var(--bar-width); 
    height: var(--bar-height);
    background-color: var(--foreground);
    border-radius: 999999px;
    transform-origin: left center;
    transition: opacity var(--animation-timing), width var(--animation-timing),
    rotate var(--animation-timing), translate var(--animation-timing),
    background-color var(--animation-timing);
}

.hamburger-menu input {
    appearance: none;
    padding: 0;
    margin: 0;
    outline: none;
    pointer-events: none;
}

.hamburger-menu:has(input:checked)::before {
    rotate: 45deg;
    width: var(--x-width);
    translate: 0 calc(var(--bar-height) / -2);
}
  
.hamburger-menu:has(input:checked)::after {
    rotate: -45deg;
    width: var(--x-width);
    translate: 0 calc(var(--bar-height) / 2);
}
  
.hamburger-menu input:checked {
    opacity: 0;
    width: 0;
}

/* SIDEBAR */

.hamburger-menu:has(input:checked) + .sidebar {
    translate: 0;
}

aside {
    width: 100vw; 
    height: 100vh; 
}

.sidebar {
    transition: translate var(--animation-timing); 
    translate: -100%; /* Ook deze regel levert een error op, maar functioneert toch werkelijk prima. */ 
    padding-top: calc(var(--hamburger-height) + var(--hamburger-margin) + 3rem); 
    background-color: var(--foreground); 
    position: absolute; 
    z-index: 1; 
    top: 0px;
    display:flex; 
    flex-direction:column; 
    align-items:center; 
    gap: 30px;
    font-size: 1.2rem; 
}

.sidebar * {
    color: var(--background) !important; 
}

/* NAVIGATIEBALK */

nav {
    z-index: 1;
    position: fixed;
    display: flex;
    align-items: center;
    width: 100%;
    height: 80px;
    background-color: #00000060;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

nav:first-child > * {
    flex: 0px; 
}

nav * {
    margin: 0px; 
}

.knop {
    text-decoration: none;
    padding: 10px;
    background-color: #ffffff00;
    border-radius: 5px 5px 5px 5px;
    margin: 0px 5px 0px 5px;
}

.knop:link {
    color: #FFFFFF;
}

.knop:hover {
    color: var(--bg-primary);
    background-color: var(--fg-primary);
}

#nav-naam {
    text-align: center;
    z-index: 2;
}

menu {
    display: flex;
    list-style: none;
    margin: 0px 0px 0px 20px; 
}

#paraaf {
    display: block;
    height: 55px;
}

#nav-info {
    text-align: right;
    margin-right: 20px;
}

.outline {
    border: 2px solid var(--fg-primary);
}

/* MAIN */
main {
    margin: 0% 5% 2% 5%;
}

article {
    margin: 30px 0px 60px 0px;
}


.invert {
    filter: invert(1);
}

#signature {
    width: 150px;
    margin: 20px 10px 0px 10px;
}

/* FOOTER */
footer {
    margin: 30px 0px 0px 0px;
    padding: 50px 5% 30px 5%;
    background-color: var(--bg-secondary);
}

/* PORTFOLIO */
.gallery {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    margin: 25px 0px 30px 0px;
}

.gallery * {
    margin: 0px; 
}

.highlighted {
    padding: 10px;
    border-radius: 50px;
    background-color: #ffffff;
}

.highlighted * {
    color: #000000;
}

.highlighted .tag {
    background-color: rgba(0, 0, 113, 1);
    color: #FFFFFF;
}

#meer {
    display: none; 
}

#meer:checked ~ .extra {
    display: block;
}

#meer:checked ~ label {
    display: none;
}

.extra {
    display: none;
}

#portfolio h3 {
    text-align: center;
    font-size: 1.5rem; 
}

.gallery-item {
    margin: auto 10px auto 10px;
    padding: 15px 0px 15px 0px;
    min-width: 350px; 
}

.gallery-item img {
    width: 100%; 
}

.tag-container {
    margin-bottom: 10px;
    display: flex;
    justify-content: center; 
    overflow: hidden;
    white-space: nowrap;
}

.tag {
    display: block; 
    font-size: .9rem;
    margin: 5px; 
    padding: 5px 10px 5px 10px; 
    border-radius: 5px;
    color: #000000; 
    background-color: #FFFFFF;
}

#portfolio article {
    margin-bottom: 60px;
}

.gallery-audio {
    margin: 0px 15px 0px 15px;
    width: 600px;
}

iframe {
    width: 350px; 
    max-width: 90%; 
    aspect-ratio: 16/9;
    border: 1px solid #FFFFFF;
}

iframe.cine {
    aspect-ratio: 12/5;
}

.gallery-audio iframe {
    border: none;
    width: 100%;
}

.poster {
    margin: 0px auto 0px auto;
    max-width: 400px;
    max-height: 250px;
    object-fit: contain;
    filter: drop-shadow(0px 0px 80px #ffffff80);
    transition: 0.4s; 
    overflow: auto;
}

/*.poster:hover {
    max-width: 550px; 
    max-height: none;
    transition: 0.4s; 
}*/

#portfolioknop {
    margin-top: 25px;
}

#meerknop {
    width: 150px; 
    text-align: center;
}

.center {
    display: flex;
    justify-content: center;
}

/* REFERENTIES */
.referentie {
    max-width: 300px;
    max-height: 200px;
}

/* CONTACT */
#contact {
    display: flex;
    flex-direction: column;
}

form {
    margin: 20px 0px 0px 0px;
}

textarea {
    color: #FFFFFF;
    background-color: #00000000;
    margin: 5px 0px 10px 0px;
    padding: 10px;
    border: 1px solid #FFFFFF;
}

input,
select {
    margin: 0px 0px 5px 0px;
    color: #FFFFFF;
    background-color: #00000000;
}

option {
    background-color: #000000;
}

#map {
    width: 100%;
    border: none;
}

@media screen and (max-width: 955px) {
    .desktop {
        display:none; 
    }

    .poster:hover {
        max-width: 100vw; 
        transition: 0.4s; 
    }

    .gallery-item {
        width: 90vw; 
    }

    
}